Displaying word state using multi-state lamps, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual
Page 238
6
PM Designer Operation Manual
6-4
CHAPTER 6 LAMPS
6.2. Displaying Word State Using Multi-state Lamps
6.2.1. Basic Operations
You can use a variable to control the appearance of a multi-state lamp.
A multi-state lamp can have up to 256 states. The maximum number of states that a multi-state lamp can have is
determined by the state type and the data type of the monitored variable. The following table shows the maximum in each
case.
16-bit Variable
32-bit variable
Bit
2
2
Value
256
256
State
Type
LSB
16
33
You need to specify the number of states for a multi-state lamp and the number must not exceed the allowed maximum.
You can set the appearance of a multi-state lamp for each of its states. At runtime, a multi-state lamp displays with the
appearance settings corresponding to the state of the monitored variable. The state of the monitored variable is
determined by the state type and value of the variable.
6.2.2. Operation Options
The following operation option can be added to a multi-state lamp. You need to select and set this option in the Multi-state
Lamp property sheet.
Options
Description
Visibility Control
The object can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.