WECON Technology Co., Ltd.
16
Program example:
16.2 Normal 32 bit Counters
The 32 bit counter C200 counts (up-count, down-count) according to the ON/OFF
state of M8200. In the example program shown on the previous page C200 is being
used to count the number of OFF ~ ON cycles of input X4.
The output contact is set or reset depending on the direction of the count, upon
reaching a value equal (in this example) to the contents of data registers D1,D0 (32 bit
setting data is required for a 32 bit counter).
The output contact is reset and the current value of the counter is reset to ‘0’ when
input X3 is turned ON.
16.3 High Speed Counters