An example:
The counter is set with “Set Counter” to the value 0x0000.0000
-0X1X.XXXX, 0x00, 0x00, 0x00, 0x00 are carried over as output value (carry over the control-byte and the new counter position),
-wait until the input value is 0X1X.XXXX, 0x00, 0x00, 0x00, 0x00 (the status-byte shows the loading feedback) ,
-carry over 0x00, 0x00, 0x00, 0x00, 0x00 as output value (release counter).
Wait for the first and further counting pulse | |
-the input value is XX00.XXXX, 0x00, 0x00, 0x00, 0x00 | (no counting pulse received) |
-the input value is XX00.XXXX, 0x00, 0x00, 0x00, 0x01 | (1 counting pulse received) |
-the input value is XX00.XXXX, 0x00, 0x00, 0x00, 0x02 | (2 counting pulses received) |
-.................
-the input value is XX00.XXXX, 0xFF, 0xFF, 0xFF, 0xFF (maximum counting position is reached)
-the input value is XX00.XXXX, 0x00, 0x00, 0x00, 0x00 (a further counting pulse causes an overflow)
-the input value is XX00.XXXX, 0x00, 0x00, 0x00 0x01, (a further counting pulse is received)
Notes: 0x23 is a value in hexadecimal form 0101.1001 is a value in binary form
“X” is used if the value at this position is without any significance.