![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301226.webp)
1186
Block Programming Instructions
Section 3-32
3-32 Block Programming Instructions
This section describes block programs and the block programming instruc-
tions.
3-32-1 Introduction
Block Programs
Up to 128 block programs within the overall user program (all tasks) with the
CS/CJ-series. The execution of each block program is controlled by a single
execution condition. All instructions between BPRG(096) and BEND<801) are
executed unconditionally when the execution condition for BPRG(096) is
turned ON. The execution of all the block programming instructions except for
BPRG(096) is not affected by the execution condition. This allow program-
ming that is to be executed under a single execution condition to be grouped
together in one block program.
Each block is started by one execution condition in the ladder diagram and all
instructions within the block are written in mnemonic form. The block program
is thus a combination of ladder and mnemonic instructions.
Block programs enable programming operations that can be difficult to pro-
gram with ladder diagrams, such as conditional branches and step progres-
sions.
Instruction
Mnemonic
Function code
Page
BLOCK PROGRAM BEGIN
BPRG
096
1191
BLOCK PROGRAM END
BEND
801
1191
BLOCK PROGRAM PAUSE
BPPS
811
1193
BLOCK PROGRAM RESTART
BPRS
812
1193
CONDITIONAL BLOCK EXIT
(NOT)
EXIT (NOT)
806
1199
IF (NOT)
IF (NOT)
802
1196
ELSE
ELSE
803
1196
IF END
IEND
804
1196
ONE CYCLE AND WAIT (NOT)
WAIT (NOT)
805
1202
HUNDRED-MS TIMER WAIT
TIMW (BCD)
813
1206
TIMWX (binary)
816
COUNTER WAIT
CNTW (BCD)
814
1209
CNTWX (binary) 818
TEN-MS TIMER WAIT
TMHW (BCD)
817
1212
TMHWX
(binary)
815
LOOP
LOOP
809
1215
LOOP END (NOT)
LEND (NOT)
810
1215
Содержание 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 ...