Digital Tag

image-20231226-002516.png

Digital tags are used to represent ON/OFF status, 0 or 1, True or False, or other values with only 2 possible states.

From data type, select BOOL to set the tag as digital tag.

Item

Description

Name

Enter the tag name.

Data Type

Displays the data type of the tag.

Description

Enter a description of the tag.

Device

Select the external device to associate the tag with. You can check the name of external devices using [Tools] - [I/O Device]. Not selecting the device will make this tag operate as a virtual tag.

Address

Enter the external device address to associate the tag with. You must enter the address using the device’s addressing method. If you have an I/O device assigned, you have to set the address to make the tag work as a real tag.

Assign as alarm tag

Select this item to trigger an alarm according to the tag’s value change. Selecting this item will add an [Alarm] tab.

Persist tag value

On CimonX termination, all of the tag properties are stored in the database file. Selecting this option will maintain the latest data of the tag on the next CimonX execution.

Virtual Tag

Only applied when the tag is a real tag. When running CimonX, use it when you want to operate only within the system while maintaining the set device and address.

Write initial value to I/O device

Only applied when the tag is a real tag. When CimonX runs, the initial value from [Advanced] tab will be written to the actual I/O device address.

Run tag action when tag value changes

Select this option to run an action when the tag’s value changes. Selecting the option will add [Tag Action] tab and you can write the script for the tag action. The script will only run when the tag value changes.

Data Logging

Select a data log model where the tag will belong to. The tag’s value will be logged according to the data log model settings.

Update

Registers the tag’s properties to the database.

Cancel

Cancels the tag edit and returns to the database window.

 

Advanced

Initial Value

Sets the tag’s initial value when CimonX runs. Select Off(0) or On(1).

Invert value from I/O device

This option is only valid when the tag is a real tag. If the I/O device’s value is 1, it will be processed as 0 in UltimateAccess Web and vice versa.

OFF Label

Enter the OFF label for the tag.

ON Label

Enter the ON label for the tag.

Generate data for reports

Selecting this option will register the tag’s value as the report’s data.