Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 221

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Function
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) instruction 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)
TIMU(541), TIMUX(556),
TMUH(544), and TMUHX(557)
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
monitored to check whether or not the
interlock for a given interlock number is
engaged.
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). Interlocks can be nested up to 16 levels.
Nesting can be used for the following kinds of applications.
Example 1
Interlocking the entire program with one
condition and interlocking a part of the
program with another condition (1 nesting
level)
184
Instruction
Completion Flag
PV
Cannot be refer-
enced.
Treatment
OFF
OFF (reset)
Time set value (reset)
Retain previous status.
Input condition ON
(Normal operation)
MILH
Input condition
n
d
Interlocked program
section
MILC
n
Global interlock
(Emergency stop)
A1 (Peripheral processing)
Partial interlock
(Conveyor RUN)
A2 (Conveyor operation)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Input condition OFF
Normal
Outputs interlocked.
operation
(Outputs OFF,
Interlock
timers reset, etc.)
Status Bit
Interlock Status Bit
(d) ON
(d) OFF

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents