Visual kv series, Ladder program – KEYENCE Visual KV Series User Manual

Page 168

Advertising
background image

Chapter 4 KV-D20 Operator Interface Panel

1-144

4

Visual KV

Series

Ladder program

1. At the rising edge of input 0000, specify "#40000 (input relay 0000)" in the user

message DM (DM1950). Turn on (SET) special utility relay 2515 to display the
user message.

2. At the rising edge of input 0001, specify "#20010 (timer T010)" in the user

message DM (DM1950). Turn on (SET) special utility relay 2515 to display the
user message.

3. At the rising edge of input 0002, specify "#30100 (DM0100)" in the user message

DM (DM1950). Turn on (SET) special utility relay 2515 to display the user
message.
At the same time, turn on (SET) special utility relay 2511 to produce a beep
sound for three seconds.

Comment

Relay

Timer

Data memory

0000

T010

DM0100

Device

No.

Comment 1

~ T A R G E T F I G U R E

R E A C H E D

~ C A U T I ON ! !

O U T O F M A T E R I A L

~ 5 MO R E P R O D U C T S G O TO P R OD U C T B

4.3 Examples of Ladder Programs

0000

1000

DIFU

1000

0001

1001

DIFU

1001

0002

1002

DIFU

1002

2511

T000

T000

#00030

2515

SET

2515

SET

2515

SET

2511

RES

2511

SET

#30100

DW

#20010

DW

#40000

DM1950

DM1950

DM1950

DW

0001

1

2

3

4

0002

0003

0004

0005

0006

0007

0008

0009

0010

END

ENDH

Beep
sounds.

To display user messages

Display a user message (contact comment for input 0000).

Display a user message (contact comment for timer 010).

Display a user message (contact comment for DM0100)

and produce a beep sound.

Beep
sounds.

Message
No.

User
message
display

Message
No.

User
message
display

Beep
sounds.

Message
No.

User
message
display

KVHKA Chap 04.p65

08.3.11, 11:13 AM

144

Advertising