![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301244.webp)
1204
Block Programming Instructions
Section 3-32
Operation with an Operand
An operand bit, B, can be specified for WAIT(805) or WAIT NOT(805). If the
operand bit is OFF (ON for WAIT NOT(805)), the rest of the instructions in the
block program will be skipped. In the next cycle, none of the block program will
be executed except for the execution condition for WAIT(805) or WAIT(805)
NOT. When the execution condition goes ON (OFF for WAIT(805) NOT), the
instruction from WAIT(805) or WAIT(805) NOT to the end of the program will
be executed.
Flags
Precautions
WAIT(805) and WAIT(805) NOT can be used for step progressions inside
block programs.
An error will occur and the Error Flag will turn ON if WAIT(805) or WAIT(805)
NOT is not in a block program.
Note The program addresses of WAIT instructions with operands specified and the
program addresses of the first instruction creating the execution conditions for
WAIT instructions without operands are recorded in memory to enable execu-
tion to be continued based on the execution condition/bit operand. If online
editing performed from a Peripheral Device, however, the WAIT status will be
cleared and the block program will again be executed from the beginning.
Examples
When CIO 000000 is ON in the following example, block program 00 will be
executed. Execution would proceed as follows:
1,2,3...
1.
If CIO 000001 is OFF, none of the block program will be executed until
CIO 000001 turns ON. When CIO 000001 turns ON, “A” will be executed.
2.
If CIO 000002 is OFF after “A” is executed, the rest of the block program
will not be executed until CIO 000002 turns ON. When CIO 000002 turns
ON, “B” will be executed
3.
If CIO 000003 is OFF after “B” is executed, the rest of the block program
will not be executed until CIO 000003 turns ON. When CIO 000003 turns
ON, “C” will be executed and the execution process will be repeated.
Operand bit
OFF
Operand bit
OFF
Operand bit
ON
"A"
executed.
"B" executed.
"C" executed.
"C"
executed.
"C"
executed.
Wait
Name
Label
Operation
Error Flag
ER
ON if WAIT(805) or WAIT(805) NOT is not in a block pro-
gram.
OFF in all other cases.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...