6. Function
AIO-121602LN-USB, AIO-120802LN-USB
81
Counter Function
1. Setting the Operating Conditions
This specifies the conditions for counter operation.
Operating conditions
The basic operation of the counter is to count an external input signal.
The counter includes a function to detect a count match and perform a specified operation when the
current count value reaches a preset count value.
Compare count values
The compare count load function automatically loads the next compare count value when a count match
occurs.
The figure above shows an example of using the compare count load function.
After the counter starts, the first count match occurs when the count reaches 1000.
When the count reaches 1000, the counter value at which the second compare count match is to occur
(2000) is set.
This continues with the next value from the array being set each time a count match occurs.
After the final value from the array is loaded, operation can start again from the beginning of the array.
Alternatively, loading can be halted (in which case, the compare count value remains at 2000).
Input signal
The external clock can be selected as the counter input signal.
Digital filter
A digital filter can be used on external input bits.
The filter time can be set to "don't use", 1
µ
s,
128
µ
s,
16ms by software.
Summary of Contents for AIO-120802LN-USB
Page 7: ...vi AIO 121602LN USB AIO 120802LN USB ...
Page 17: ...1 Before Using the Product 10 AIO 121602LN USB AIO 120802LN USB ...
Page 53: ...3 Connection and Installation 46 AIO 121602LN USB AIO 120802LN USB ...
Page 63: ...5 About C LOGGER 56 AIO 121602LN USB AIO 120802LN USB ...
Page 93: ...6 Function 86 AIO 121602LN USB AIO 120802LN USB ...
Page 104: ......