|
<< Click to Display Table of Contents >> Manual > Library Reference > Parts Library > Basic Parts > Image Lamp |
Image Lamp
|
Image lamps are components for displaying lamps using image files. Switches between displaying two image files using the ON value and the OFF value.
|
Specify the tag to be input in the input tag (_TagIn). Depending on the tag value, the ON image or OFF image will be displayed.
In addition to the input tag, by specifying a tag for fault identification in the fault identification tag (_TagFault), it is also possible to display a fault based on signals such as equipment abnormalities received from downstream.
Custom Properties
Tag configuration |
Input Tags |
_TagIn |
Specify the tag path of the input tag. |
Fault Identification Tag |
_TagFault |
Specifies the tag path of the fault identification tag. |
|
Display settings |
ON Image |
_LampOnImage |
Specifies the image to display when ON. The types of image files that can be handled are the same as those of the ImageLight control. |
OFF Images |
_LampOffImage |
Specifies the image to be displayed when OFF is activated. |
|
Value Settings |
ON value |
_RaiseValue |
Set the value to be considered as ON. True is set by default (equivalently set to "1"). You can also set a value other than True according to the meaning of ON/OFF of the target signal. |
OFF value |
_LowerValue |
Set the value to be considered as OFF. False is set by default (it is also acceptable to set it to "0"). You can also set a value other than False according to the meaning of ON/OFF of the target signal. |
|
others |
Display value |
_Value |
You can directly assign a display value to this property from a script. |
Usage Example
1) Input tag specified/No fault identification tag
The image will be displayed based on the tag value specified in the input tag.
|
When the input tag has an OFF value, the OFF image is displayed. |
|
When the input tag is an ON value, the ON image is displayed. |
If the quality flag of the input tag is BAD, a fault is displayed.
|
The part will be framed in yellow and will flash. |
2) Input tag specified/Fault identification tag
If you specify a fault identification tag, you can receive the fault status of the device via the tag. For example, if you can receive a fault status (such as a sensor abnormality) from the downstream side as a signal separate from the device's measurement value, you can specify the tag path of that signal as the fault identification tag to display the fault along with the state of the quality flag of the input tag.
|
When the fault identification tag is False, it will display as normal based on the value received in the input tag. |
|
A fault is displayed when the fault identification tag is true or when the quality flag of the input tag is bad. The part will be framed in yellow and will flash. |
3) Assigning values via script
You can display an image by directly assigning any value (ON value or OFF value) from the script without specifying an input tag.
If you want to assign a value directly from a script, do so to the "_Value" property.
|
If you assign a value directly from a script, you cannot use a fault identification tag. For more information about scripts, see "Scripts". |