Application of w-ue instruction – KEYENCE Visual KV Series User Manual

Page 125

Advertising
background image

2.4 Instruction Details

1

2

3-101

Chapter 2 Instructions

Application of W-UE Instruction

Input sequence check
Output relay 0500 turns ON when input relay 0000 is ON and input 0001, 0002, and
0003 turn ON in this sequence.

Output relay 0500 turns OFF when input relay 0000 is OFF.

Coding

Timing diagram

Fork lift truck IN/OUT judgement
Checks the input sequence. Output relay 0500 turns ON when input relay 0000 turns
ON and then 0001 turns ON. Output relay 0501 turns ON when input relay 0001
turns ON and then 0000 turns ON.

Coding

Timing diagram

0000

0500

0001

1000

1000

0002

1001

1001

0003

1002

1002

Line No.

Instruction

Operand

0000

LD

0000

0001

W-UE

0001 1000

0002

LD

1000

0003

W-UE

0002 1001

0004

LD

1001

0005

W-UE

0003 1002

0006

LD

1002

0007

OUT

0500

ON

ON
OFF

ON
OFF

ON
OFF

ON
OFF

0003

0001

0000

0500

0002

0000

0500

0501

1001

1000

0001

1000

1001

0000

1001

Line No.

Instruction

Operand

Line No.

Instruction

Operand

0000

LD

0000

0005

LD

0001

0001

W-UE

0001 1000

0006

W-UE

0000 1001

0002

CON

0007

CON

0003

AND

1000

0008

AND

1001

0004

OUT

0500

0009

OUT

0501

ON

ON
OFF

ON
OFF

0500

0000

0501

0001

ON

Scan

Leave warehouse

Enter warehouse

Scan

W-UE

KVNKA Chap 02_4bP.p65

08.3.11, 0:00 PM

101

Advertising