187
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
  Sequence Control Instructions
3
    MILH/MILR/MILC
MILH/MILR/MILC
Applicable Program Areas
Operands
N: Interlock Number
The interlock number must be between 0 and 15. Match the interlock number of the MILH(517) (or
MILR(518)) instruction with the same number in the corresponding MILC(519) instruction.
The interlock numbers can be used in any order.
D: Interlock Status Bit
• ON when the program section is not interlocked.
• OFF when the program section is interlocked.
When the interlock is engaged, the Interlock Status Bit can be force-set to release the interlock.
Conversely, when the interlock is not engaged, the Interlock Status Bit can be force-reset to engage the
interlock.
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function 
code
Function
MULTI-INTERLOCK 
DIFFERENTIATION HOLD
MILH --- 517
Interlocks all outputs between MILH(517) and 
MILC(519) when the execution condition for 
MILH(517) is OFF.
MULTI-INTERLOCK 
DIFFERENTIATION RELEASE
MILR --- 518
Interlocks all outputs between  MILR(518) and 
MILC(519) when the execution condition for 
MILR(518) is OFF.
MULTI-INTERLOCK CLEAR MILC --- 519
Indicates the end of a multi-interlock range by 
means of an MILH or MILR instruction with the 
same interlock number.
Symbol
MILH MILR MILC
Area
Function block 
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or 
transition programs
Usage OK Not allowed Not allowed OK OK OK
Operand Description   Data type Size 
N Interlock number -- 1
D Interlock status bit BOOL --
Area 
Word addresses
Indirect DM/EM 
addresses
Con-
stants
Registers Flags 
Pulse 
bits
TR 
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect 
using IR
TK CF
N --- --- --- ---
--- --- --- --- --- ---
OK
--- ---
---
--- --- --- ---
D OKOKOKOK ---
OK
Name  Label  Operation  
Error Flag P_ER OFF
MILH(517)
N
D
N: Interlock Number
D:  Interlock Status Bit
MILR(518)
N
D
N: Interlock Number
D:  Interlock Status Bit
MILC(519)
N
N: Interlock Number