Image Select

<< Click to Display Table of Contents >>

Manual > Library Reference > Parts Library > Basic Parts >

Image Select

Image Select

 

parts_imageselect1_001

Image Select is a component for lamp display using image files.

Switches the display of up to 10 types of image files.

 

 

 

Specify the tag to be input in the input tag (_TagIn). It is possible to define up to 10 combinations of tag values and image files to display, and the image display will change depending on the tag value.

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

Image 1

_LampImage

Specifies the image to display when the tag value is 1. The types of image files that can be handled are the same as those for the ImageLight control.


Image 2

_LampImage2

Specifies the image to display when the tag value is 2.


Image 3

_LampImage3

Specifies the image to display when the tag value is 3.


Image 4

_LampImage4

Specifies the image to display when the tag value is 4.


Image 5

_LampImage5

Specifies the image to display when the tag value is 5.


Image 6

_LampImage6

Specifies the image to display when the tag value is 6.


Image 7

_LampImage7

Specifies the image to display when the tag value is 7.


Image 8

_LampImage8

Specifies the image to display when the tag value is 8.


Image 9

_LampImage9

Specifies the image to display when the tag value is 9.


Image 10

_LampImage10

Specifies the image to display when the tag value is 10.

Value Settings

Tag Value 1

_SelectValue

Specify the input tag value 1. It does not necessarily have to be a numeric sequence number, you can also specify a string.


Tag Value 2

_SelectValue2

Specifies input tag value 2 (same as above).


Tag Value 3

_SelectValue3

Specify input tag value 3 (same as above).


Tag Value 4

_SelectValue4

Specify input tag value 4 (same as above).


Tag Value 5

_SelectValue5

Specify input tag value 5 (same as above).


Tag Value 6

_SelectValue6

Specify input tag value 6 (same as above).


Tag Value 7

_SelectValue7

Specify input tag value 7 (same as above).


Tag Value 8

_SelectValue8

Specify input tag value 8 (same as above).


Tag Value 9

_SelectValue9

Specify input tag value 9 (same as above).


Tag Value 10

_SelectValue10

Specify an input tag value of 10 (same as above).

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.

 

parts_imageselect1_001

When the input tag has a tag value of 1, display image 1.

 

parts_imageselect1_002

When the input tag changes to tag value 2, display image 2.

 

If the quality flag of the input tag is BAD, a fault is displayed.

 

parts_imageselect1_003

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.

 

parts_imageselect1_002

When the fault identification tag is False, it will display as normal based on the value received in the input tag.

 

If the quality flag of the input tag is BAD, a fault is displayed.

 

parts_imageselect1_003

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 (any value from tag value 1 to tag value 10) 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.

 

hint

If you assign a value directly from a script, you cannot use a fault identification tag.

For more information about scripts, see "Scripts".