Chapter 6: Instructions
93
Instruction
Mnemonic
Rotation Counter
Range
■
Bit
Word
RCT
Ring counter
Double words
Ladder
Description
1. When the input count condition (U input) turns on, the Present Value (PV) is incremented by
1. When the PV reaches the Set Value (SV), it is reset to 0, the output done contact is turned
On, and stays On until the next count input pulse is received.
2. When the reset input condition (R input) is On, the output done contact is turned Off. All
count input pulses are ignored and the Present Value stays reset to 0.
3. When the SV of the counter is 0, the output done contact is On unless the reset input is On.
4. The timer/counter channel can only be used once. It cannot be reused by other timer or
counter instructions (TIM, SST, TOF, UC, DC, UDC). The number of available channels is
256 (Ch 0 through Ch 255).
5. The counter can be set to a maximum value of 65,535.
Example
Program Expression
Time Chart
U input
(condition 1)
Reset
(condition 3)
Present
Value (PV)
Output
(TC)
Set Value
(SV)
R000.0
RCT
U CH = 50
R000.1
SV = 3
R
TC50
M1.0
(OUT)
RCT
condition U CH =
1
SV =
condition R
2
R000.0
R000.1
Present 0 1 2 0 1 2 0 1 2
Value (PV50)
Output (TC50)
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...