Chapter 5 CPU Module
5-
9
5.2.6 Counter Processing
The counter counts the rising edges of pulses driving its input signal and counts once only when the input signal is switched
from off to on. MASTER-K series have 4 counter instructions such as CTU, CTD, CTUD, and CTR. The maximum counter
setting value is hFFFF ( = 65535). The followings shows brief information for counter operation.
1) Up counter (CTU)
The counter output relay is turned on when the current value reaches the preset value. After the counter relay output is
turned on, the current value will increase until it reaches the maximum counting value (hFFFF = 65535).
When the reset input is turned on, the counter output relay and current value is cleared as 0.
2) Down counter (CTD)
When the CPU is switched to the RUN mode, the current value is set as preset value.
1
The current value is decreased by
1 with the rising edge of counter input signal. The counter output relay is turned on when the current value reaches 0.
1
If the retentive counter area is used for down counter, the reset input has to be turned on to initialize counter.
U CTU Cxxx
R <S> xxxx
U CTD Cxxx
R <S> xxxx
Input condition
Reset condition
Input condition
Reset condition
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...