![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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...