Use of function modules with timer, counter, relay functions and I-O