beautypg.com

2 examples of ladder programs, Example of displaying user messages – KEYENCE KV-D20 User Manual

Page 51

background image

3. Examples of Ladder Programs

3

51

3.2

Examples of Ladder Programs

This section includes examples of ladder programs for actual use of the KV-D20,
along with the operator screen display and comment to be entered.
Refer to "Before creating ladder programs" on page 135 for the notes about contact
comment entry and details about the comment type and attributes.

Example of displaying user messages

Display user messages.
The user messages are displayed at the rising edge of inputs 0000 through 0002.
A beep sounds for three seconds only when input 0002 turns ON.
The user message is canceled by pressing the key of the KV-D20.

Operator screen

F1

F2

F3

F4

1

2

3

4

F1

F2

F3

F4

1

2

3

4

F1

F2

F3

F4

1

2

3

4

When input 0000 turns ON

OUT OF MATERIAL

When input 0001 turns ON

Beep

REACHED

TARGET FIGURE

When input 0002 turns ON

GO TO PRODUCT B

5 MORE PRODUCTS

kv_d20_manual.p65

08.3.10, 6:09 PM

51