Details of w-on and w-ue instructions – KEYENCE Visual KV Series User Manual
Page 124

2.4 Instruction Details
3-100
2
Chapter 2 Instructions
Details of W-ON and W-UE Instructions
A combination of W-ON, W-OFF, W-UE, and W-DE instructions is much more
effective when used in programs controlling sequential operation where the comple-
tion of one operational step starts the next step.
This section describes minute differences in the operation of these instructions.
■ Difference between W-ON and W-UE
W-ON:
Output relay 0500 turns ON when both input relays 0000 and 0001 turn
ON in any order.
W-UE:
Output relay 0501 turns ON only when input relay 0000 turns ON before
input relay 0001.
Note: An input operand relay No. for these instructions can be duplicated in a
program, but output operand relay Nos. cannot be duplicated.
As shown above, W-UE requires a certain order for turning ON relays 0000 and
0001, but W-ON does not. Therefore, W-UE is suitable for circuits to be executed at
every input; W-ON is suitable for circuits that go on to the next operation when a
certain condition is satisfied.
The operation of W-OFF and W-DE instructions are same as above by the operation
which turns relays OFF.
Output relay 0100 turns ON when both input relays
0000 and 0001 turn ON in any order.
Output relay 1001 turns ON only when input relay
0000 turns ON before input relay 0001.
0000
0100
0500
0001
ON
1000
0001
1001
1001
0501
ON
0000
0001
(W-ON)
(W-UE)
1000
0500
1001
0501
OFF
ON
OFF
ON
ON
ON
W-UE / W-DE
KVNKA Chap 02_4bP.p65
08.3.11, 0:00 PM
100