- Studio 5000 View Designer Help
- Add a graphic element to a project
- Graphic elements library
- Reuse content
- Add-On Graphics
- Change a property
- Bind properties
- Display Automatic Diagnostics
- Use the runtime application
StackLights
The
StackLights
category under GeneralEquipment > Indicators
in the Toolbox
contains stack light modules as well as poles, bases, and caps for the modules. Stack lights are commonly used in a manufacturing system.Use a stack light to display the status of a machine on the plant floor. For example, illuminate the green light when the machine is operating correctly, the red light when the machine is not operating correctly, and the blue light when the machine is being serviced. To animate the graphic element, bind the built-in animation properties to tags. The values in a controller illuminate the lights when certain values in the controller are read.
Built-in animation properties
Built-in animation properties appear under the
General
category of the Properties
window. Specify values for these properties in order to animate the graphic element or change the information the graphic element shows on the HMI device. Not all graphic elements in this category have the same properties. The built-in animation properties of a graphic element in this category depend on the graphic element selected. For example, the LightOn property for certain stack lights may be Light1On, Light2On, Light3On, Light4On, or Light5On, depending on the number of flights on the module. Configure the LightOn properties for a stack light to animate the indicated light on the graphic element.
Name | Category | Purpose | Accepted values |
LightOn | General | Specifies the on and off state of the light. |
|
Light1On | General | Specifies the one and off state of the single or bottom light. |
|
Light2On | General | Specifies the on and off state of the second light from the bottom. |
|
Light3On | General | Specifies the on and off state of the third light from the bottom. |
|
Light4On | General | Specifies the on and off state of the fourth light from the bottom. |
|
Light5On | General | Specifies the on and off state of the fifth light from the bottom. |
|
Unique properties are properties that not all graphic elements in the
Toolbox
share.Not all graphic elements in this category have the same properties. The unique properties of a graphic element in this category depend on the graphic element selected. For example, LightColor properties may include Light1Color, Light2Color, Light3Color, Light3Color, or Light5Color, depending on the stack light selected.
Name | Category | Purpose | Accepted values |
FillColor | Appearance | Specifies the fill color. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
LightColor | Appearance | Specifies the color of the light. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Light1Color | Appearance | Specifies the color the single or bottom light. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Light2Color | Appearance | Specifies the color of the second light from the bottom. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Light3Color | Appearance | Specifies the color of the third light from the bottom. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Light4Color | Appearance | Specifies the color of the fourth light from the bottom. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Light5Color | Appearance | Specifies the color the of the fifth light from the bottom. | Any selected color in the Color Picker or a Hex color value entered manually. The Hex value must be in the format #RRGGBB. R, G, and B are Hex digits from 0 through F and represent the color channel values for red, green, and blue. For example, #ffff00 produces yellow. |
Common properties exist for all graphic elements.
Property | Category | Purpose | Accepted Values |
Access | Security | Specifies if all users have access to the control element, or if access is inherited from the screen. |
|
Angle | Position and Size | Specifies the rotation angle. Enter 180 to display the graphic element upside down. If you enter a value larger than 360, the portion of numeric value that is over 360 becomes the value. For example, enter 380 to see a value of 20. If you enter a value less than 0, the negative value is subtracted from 360. For example, enter -30 to see a value of 330. |
|
Enabled | Appearance | Specifies if the graphic element is available on the HMI device and if the graphic element accepts touch and key input. |
|
Height | Position and Size | Specifies the height in pixels. | Any positive numeric value |
Opacity | Appearance | Specifies the transparency of the graphic element. | 0 (fully transparent) - 100 (fully opaque) |
Visible | Appearance | Specifies if the graphic element is visible on the HMI device. |
|
Width | Position and Size | Specifies the width in pixels. | Any positive number |
X | Position and Size | Specifies the horizontal coordinate, in pixels, from the upper left corner of screen to the upper left corner of a graphic element or group with no rotation. If the graphic element or group is rotated, the X property value does not change. | Any positive number |
Y | Position and Size | Specifies the vertical coordinate, in pixels, from the upper left corner of screen to the upper left corner of a graphic element or group with no rotation. If the graphic element or group is rotated, the Y property value does not change. | Any positive number |
Provide Feedback