Setting customized lamps, Disabling the zero-suppression function, Changing numeric values individually – KEYENCE KV-D20 User Manual
Page 49

3. Examples of Ladder Programs
3
49
Setting customized lamps
Operator screen
Ladder program
Description
•
Customized lamp 1 illuminates while input 0000 is ON.
•
Customized lamp 2 illuminates while input 0001 is ON.
•
Customized lamp 3 illuminates while input 0002 is ON.
•
Customized lamp 4 illuminates while input 0003 is ON.
Disabling the zero-suppression function
Operator screen
Ladder program
Description
Display the value in DM0100 without the zero-suppression function.
Comment
Changing numeric values individually
Operator screen
Ladder program
Description
Among the displayed values of DM0100, DM0101, and DM0102, enable the
change in values only for DM0100.
Comment
F1
F2
F3
F4
1
2
3
4
0000
2504
0001
2505
0002
2506
0003
2507
F1
F2
F3
F4
1
2
3
4
2002
#30100
DM1580
DW
$2000
DM1680
DW
Data memory
DM0100
Device
No.
Comment 1
F1
F2
F3
F4
1
2
3
4
2002
#30000
DM1580
DW
$0000
DM1680
DW
#30001
DM1581
DW
$8000
DM1681
DW
#30002
DM1582
DW
$8010
DM1682
DW
TARGET:
PRODUCED:
OK RATIO:
Data memory
DM0000
DM0001
DM0002
Device
No.
Comment 1
T A R G E T :
P R O D U C E D :
O K R A T I O :
%
kv_d20_manual.p65
08.3.10, 6:08 PM
49