979
Block Programming Instructions Section 3-30
3-30-2 BLOCK PROGRAM BEGIN/END: BPRG(096)/BEND(801)
Purpose Define a block programming area. For every BPRG(096) there must be a cor-
responding BEND(801).
Ladder Symbols BLOCK PROGRAM BEGIN
BLOCK PROGRAM END
BEND(801)
Sequence
Control
Instructions
FOR(512)
and
NEXT(513)
FOR-NEXT LOOPS Use LOOP(809) and
LEND(810) (NOT).
BREAK(514) BREAK LOOP
IL(002) and
ILC(003)
INTERLOCK and INTER-
LOCK CLEAR
Divide the block program
into smaller blocks.
JMP(004)0
and
JME(005) 0
Multiple JUMP and Multi-
ple JUMP END
Use JMP(004 and
JME(005) (but the jump will
be made unconditionally).
END(001) END Use BEND(801).
Timer and
Counter
Instructions
TIM TIMER Use TIMW(813),
TIMWX(816), TMHW(815),
TMHWX(817),
CNTW(814), and
CNTWX(818). Other
instructions in the block
program will not be exe-
cuted until the timer times
out or the counter counts
out.
TIMH(015) HIGH-SPEED TIMER
TMHH(540) ONE-MS TIMER
TTIM(087) ACCUMULATIVE TIMER
TIML(542) LONG TIMER
MTIM(543) MULTI-OUTPUT TIMER
CNT COUNTER
CNTR(012) REVERSIBLE COUNTER
Subroutine
Instructions
SBN(092)
and
RET(093)
SUBROUTINE ENTRY
and SUBROUTINE
RETURN
None
Shift Instruc-
tions
SFT(010) SHIFT REGISTER Use other Shift Instruc-
tions.
Step Instruc-
tions
STEP(008)
and
SNXT(009)
STEP and STEP NEXT Use WAIT(805).
Data Con-
trol Instruc-
tions
PID(190) PID CONTROL None
Diagnostic
Instructions
FPD(269) FAILURE POINT DETEC-
TION
None
Upward and
Downward
Differenti-
ated Instruc-
tions
Mnemonics
with @
Upward Differentiated
Instructions
None
Mnemonics
with %
Downward Differentiated
Instructions
None
Instruction
group
Mnemonic Name Alternative
BPRG(096)
N
N: Block program number