195
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sequence Control Instructions
3
MILH/MILR/MILC
Example Programming
When W0.00 and W0.01 are both ON, the instructions between MILH(517) with interlock number 0 and
MILC(519) with interlock number 0 are executed normally.
When W0.00 is OFF, the instructions between MILH(517) with interlock number 0 and MILC(519) with
interlock number 0 are interlocked.
When W0.00 is ON and W0.01 are OFF, the instructions between MILH(517) with interlock number 1
and MILC(519) with interlock number 1 are interlocked. The other instructions are executed normally.
i
W0.00
0.01
0.02
2.00
H0
OFF
OFF
W0.00 OFF
MILH
0
100.00
W0.01
MILH
1
100.01
CNT
1
#0010
SET
0.03
MILC
1
MILC
0
W0.00 and W0.01
both ON
W0.00 ON and W0.01
OFF
Executed
normally.
Executed
normally.
Outputs
interlocked.
Outputs
interlocked.
Held
Held
Executed
normally.