![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681249.webp)
1210
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
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...