1209
Block Programming Instructions Section 3-32
Program execution will flow from 2 to 3 to 4 and back to 2 during the 20 s
before “B” is executed, as shown in the following diagram.
3-32-8 COUNTER WAIT: CNTW(814) and CNTWX(818)
Purpose Delays execution of the rest of the block program until the specified count has
been achieved. Execution will be continued from the next instruction after
CNTW(814)/CNTWX(818) when the counter counts out.
Ladder Symbol PV Refresh Method: BCD
PV Refresh Method: Binary
Variations
Applicable Program Areas
Note CNTW(814)/CNTWX(818) must be used in block programming regions even
within subroutines and interrupt tasks.
Operands N: Counter Number
BCD: 0 to 4095 (decimal)
Binary: 0 to 4095 (decimal)
S: Set Value
BCD: #0000 to #9999 (BCD)
Binary: &0 to &65535 (decimal)
#0000 to #FFFF (hex)
1
2
3
4
CNTW(814) N
SV
I
N: Counter number
SV: Set value
I: Count input
CNTWX(818) N
SV
I
N: Counter number
SV: Set value
I: Count input
Variations Always Executed in Block Program
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK