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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
Description
142
When the execution condition for MILH(517) (or MILR(518)) with interlock
number N is OFF, the outputs for all instructions between that MILH(517)/
MILR(518) instruction and the next MILC(519) with interlock number N are
interlocked.
When the execution condition for MILH(517) (or MILR(518)) with interlock
number N is ON, the instructions between that MILH(517)/MILR(518) instruc-
tion and the next MILC(519) with interlock number N are executed normally.
Interlock Status
The following table shows the treatment of various outputs in an interlocked
section between MILH(517)/MILR(518) instruction and the next MILC(519).
Bits specified in OUT, OUT NOT, or OUTB(534)
TIM, TIMX(550), TIMH(015),
TIMHX(551), TMHH(540),
TMHHX(552), TIML(542), and
TIMXL(553)
Bits/words specified in all other instructions (See note.)
Note
Bits and words in all other instructions including TTIM(087), TTIMX(555),
MTIM(543), MTIMX(554), SET, RSET, CNT, CNTX(546), CNTR(012),
CNTRX(548), SFT, and KEEP(011) retain their previous status.
The MILH(517)/MILR(518) instruction turns OFF the Interlock Status Bit
(operand D) when the interlock is in engaged and turns ON the bit when the
interlock is not engaged. Consequently, the Interlock Status Bit can be moni-
tored to check whether or not the interlock for a given interlock number is
engaged.
MILH
Input condition
Interlocked program
section
MILC
Nesting
Interlocks are nested when an interlocked program section (MILH(517)/
MILR(518) and MILC(519) combination) is placed within another interlocked
program section (MILH(517)/MILR(518) and MILC(519) combination). Inter-
locks can be nested up to 16 levels.
Nesting can be used for the following kinds of applications.
Instruction
Completion Flag
PV
Input condition ON
(Normal operation) Input condition OFF
n
d
Normal
Outputs interlocked.
operation
(Outputs OFF,
Interlock
timers reset, etc.)
Status Bit
Interlock Status Bit
(d) ON
(d) OFF
n
Section 3-4
Treatment
OFF
OFF (reset)
Time set value (reset)
Retain previous status.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents