Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 1012

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents