beautypg.com

2 instructions, Operation of differentiated instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 78

background image

2 Instructions

2-42

CP1E CPU Unit Instructions Reference Manual(W483)

Operation of Differentiated Instructions

If there is a differentiated instruction (DIFU, DIFD, or instruction prefixed by @ or %) between IL(002)
and ILC(003) instructions, that instruction will be executed when the interlock is cleared if the differenti-
ation condition of the instruction is satisfied by means of a change in the input condition between start-
ing and clearing of the interlock.

Example:
When a DIFFERENTIATE UP (DIFU(013)) instruction is used and the input condition is OFF when the
interlock starts and ON when the interlock is cleared, the DIFFERENTIATE UP (DIFU(013)) instruction
will be executed when the interlock is cleared.

i

Reference:
An IL(002) instruction operates in the same way as an MILH(517) instruction in relation to differentiated
instruction operation.

Timing Chart

IL

ILC

DIFU

10.00

1. When 0.00 is OFF (interlock starts), input condition 0.01 of DIFU is OFF.
2. Input condition 0.01 of DIFU goes from OFF to ON while 0.00 is OFF (interlock in effect),
3. When 0.00 goes from OFF to ON (interlock cleared), the DIFU instruction is executed if input condition 0.01 of DIFU is ON.

0.00

0.01

1 cycle

The DIFU(013) instruction is executed.

Not interlocked

Interlocked

ON

0.00

0.01

10.00

OFF

OFF

ON

ON Differentiation condition is satisfied

OFF

ON

OFF

Not interlocked

This manual is related to the following products: