O
pe
ra
to
r
P
an
el
E
xa
m
ple
s
5--5
Programming Examples
In LED Separation mode, the LEDs in the corner of each momentary pushbutton
may be directly controlled by the PLC program. The example on the right shows a
segment of a program that lights button 2’s inset LED when input X7 is energized.
In
order for this example to work, the panel must be configured for LED separation and
button 2 must be a momentary pushbutton.
X7
C1
Button 2 inset LED
Indicator Lamp/LED Button On/Off Contol
Indicator Lamp/LED Button Flash Control
Button On/Off Status
Force Data and Commands
LSB
MSB
L6
B1
B2
B3
12
13
14
15
8
9
10
11
4
5
6
7
0
1
2
3
V40601
V40600
V40603
V40602
L4 L3
L5
L1
L2
B4
L1
L4 L3
L5
L2
L6
B1
B2
B3
B4
B1
B2
B3
F2
F1
B4
B1
B2
B3
B4
F3
OUT
To flash an inset LED, you must turn it on and set the associated flash bit. The
example below shows a program used to set the LED inset of button 1 to flash
whenever X2 is energized. The table below it shows LED operation with button 1 set
as alternate action.
C40
C0
Button 1 LED ON
Indicator Lamp/LED Button On/Off Contol
Indicator Lamp/LED Button Flash Control
Button On/Off Status
Force Data and Commands
LSB
MSB
L6
B1
B2
B3
12
13
14
15
8
9
10
11
4
5
6
7
0
1
2
3
V40601
V40600
V40603
V40602
L4 L3
L5
L1
L2
B4
L1
L4 L3
L5
L2
L6
B1
B2
B3
B4
B1
B2
B3
F2
F1
B4
B1
B2
B3
B4
F3
C20
Button 1 LED Flash
X2
OUT
OUT
Button State
X2 Status
LED Operation
Button State
X2 Status
LED Operation
Inactive
de--energized
Off
Inactive
energized
Off
Active
de--energized
On solid
Active
energized
Flashing
Lighting an Inset
LED
Flashing an Inset
LED