Datasheet

CJ1 series CPU Units 169
Programmable
Controllers
Interlock Nesting (Unit Ver. 2.0 or Later Only)
(CX-Programmer Ver 4.0 or Higher)
The previous interlock instructions cannot be nested. In actual applica-
tions, however, the entire interlock condition is often combined with
partial interlock conditions. Multi-interlock instructions can be nested
to better handle real applications.
Applicable Instructions:
Sequence Control Instructions:
MULTI-INTERLOCK DIFFERENTIATION HOLD (MILH(517))
MULTI-INTERLOCK DIFFERENTIATION RELEASE (MILR(518))
MULTI-INTERLOCK CLEAR (MILC(519))
Easily Program Cam Switch Control (Unit Ver. 2.0 or Later
Only)
The EXPANDED BLOCK COMPARE (BCMP2(502)) instruction can be
used to compare data converted from Gray binary code to binary data,
BCD data, or an angle using the GRAY CODE CONVERT (GRY(474))
instruction. It can also compare data in ranges including 0, such as
angle data.
If the comparison data (S) is within an of the 256 ranges,
BCMP2(502) will turn ON the corresponding output bit in the results. If
the upper limit is less than the lower limit, the comparison range will
include 0.
Example of Compare Data
Angle Data
Controlling a Machine that Adjusts Timing According to Angles (Cam
Switch Control)
Repeatedly Starting a Timer
Controlling Machine Timing Directly (Rotary Timer Control)
Applicable Instructions:
Conversion instructions:
GRAY CODE CONVERT (GRY(474))
Comparison instructions:
EXPANDED BLOCK COMPARE (BCMP2(502))
BCMP2(502) is supported by Pre-Ver. 2.0 CJ1M CPU Units or later.
MILH 0
Emergency
stop switch
MILH 1
Worker
presence (a)
MILC 1
MILC 0
IL
ILC
IL
ILC
Emergency
stop switch
Emergency
stop switch
Worker
presence (a)
Using Existing IL Instructions Using Multi-interlock Instructions
Emergency
stop switch
1) Conveyor is operating.
2) When a worker is present, the N.O. contact turns ON,
and the product enters the conveyor.
3) When the emergency stop switch is pressed,
the conveyor and product entry stop.
Product enters on
N.O. contact
N.O. contact
Worker
Conveyor operation
Product entry
Conveyor operation
Product entry
Interlock status is easy to understand using
the software.
CX-Programmer Screen
POWER
PA205R
DC24V
AC240V
OUTPUT
RUN
INPUT
AC100-240V
L2/N
L1
CONTROLLER
CJ1G-CPU44
SYSMAC
PROGRAMMABLE
ERR/ALM
RUN
COMM
INH
PRPHL
OPEN
PERIPHERAL
BUSY
MCPWR
PORT
GRY
Converts Gray code to
binary, BCD, or
angle data
BCMP2
Compares whether
comparison data
is within the upper and
lower limits.
Input Unit
Parallel wiring
Absolute encoder
The interval during
which GRY(474) is
executing is the data
read response speed
of the absolute
encoder.
T+2+1
T+3
T+1
T+2N+2
T+4
T+2 0
T
N
D
S
Bit
Angle data
N = 255 max.
Range 0, A
Range 1, A
Range N, A
Range 0, B
Range 1, A
D + 15 max.
In range: ON (1)
Not in range: OFF (0)
Range N, B
Both A B and A > B
supported.
Value converted
using GRY(474)
Data com
p
ared usin
g
BCMP2
(
502
)
360°
10.00 s
180°
5.00 s
Angle: 0°
Time: 0.00 s
Output 0
Output 1
Output 2
Output 15
(Examples)
Y201-EN2-03.book Seite 169 Donnerstag, 30. März 2006 1:52 13