Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

This section will discuss Tag Editor features as well as the tag types available.

Table of Contents

Tag Editor Pane

To open the Tag Editor pane, click View > Tag Editor to open the Tag Editor pane.

...

When creating a tag, use a name that follows the criteria listed below:

  • The following special characters are not allowed: $, #, +, /, ?, ., {, }, [, ].

  • Tags are not case-sensitive (i.e. dig and DIG will give a duplicate name error).

  • The user cannot use the same tag name more than once in the same tag group. However, tags may use the same name if they are in different tag groups.

Tag Group Creation

If the user has too many tags in a single pane, finding and managing individual tags may be challenging. Tag groups allow the user to organize tags based on category, with a tree structure for subordinate tags. The grouped tags are displayed and managed in the Tag Editor pane.

To add a group, click Add tag group icon in the Tag Editor window to create a tag group. After pressing the icon, a text field will open in the Tag Editor window where a name for the tag group can be assigned.

...

Tag Creation

To add a new tag, click Add tag icon, and Edit Tag pop-up window will appear.

...

Item

Description

Tag Name

Input the desired tag name

Path

Outlines the group path of the tag

Type

Allows the user to select from 12 possible data types. The available fields in the advanced options tab will change based on the selected data type.

Info

Please refer to Tag Types for a detailed breakdown.

I/O Device

For remote tags, select the external device to associate the tag with. The user can check the name of external devices by clicking Tools > I/O Device Editor.

For shared tags, a Data Server must be set up to allow communication with these tags.

I/O Address

Enter the external device address to associate the tag with. The user must enter the address using the device’s addressing method. For example, for a CIMON PLC, valid bit addresses include “X00”, “Y1E”, etc. This field is enabled only when an I/O device is selected.

Persistent

When this option is true, the last state of the tag is stored when the project is closed. When the user executes the project again, the tag values will be reloaded.

Value Changed

With this option enabled, a user-defined script or action list will be performed when the tag value changes.

Quality Changed

With this option enabled, a user-defined script or action list will be performed when the quality of the tag changes. In this case, quality refers to the communications status of the tag.

...

Data Type

Description

BOOL

Represent ON/OFF status, 0 or 1, True or False, or other values with only two possible states. If a boolean tag is tied to a device address with more than one bit, then any value other than one will be treated as a one.

Do not have Advanced Settings section on the Edit Tag pop-up window.

Analog

Represent 8, 16, 32, or 64-bit numeric values. Choosing the correct data type for interpreting your data (INT16, UINT32, Float, etc.) is crucial.

Analog refers to multi-bit numeric values within Canvas but not necessarily values with an analog input source.

Analog Data Type

Description

Range

SINT(INT8)

Signed 8-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

-128 – 127

INT(INT16)

Signed 16-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

-32768 – 32767

DINT(INT32)

Signed 32-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

-2147483648 – 2147483647

LINT(INT64)

Signed 64-bit integer. Enables the Clamp Mode, Deadband Type, and Scale Mode advanced options.

-9223372036854775808 – 9223372036854775807

USINT(UINT8)

Unsigned (non-negative) 8-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

0 – 255

UINT(UINT16)

Unsigned (non-negative) 16-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

0 – 65535

UDINT(UINT32)

Unsigned (non-negative) 32-bit integer. Enables the Encoding, Clamp Mode, Deadband Type, and Scale Mode advanced options.

0 – 4294967295

ULINT(UINT64)

Unsigned (non-negative) 64-bit integer. Enables the Clamp Mode, Deadband Type, and Scale Mode advanced options.

0 – 18446744073709551615

REAL(FLOAT)

32-bit floating-point number. Enables the Clamp Mode, Deadband Type, and Scale Mode advanced options.

-3.403e+038 – 3.403e+038

LREAL(DOUBLE)

64-bit floating-point number. Enables the Clamp Mode, Deadband Type, and Scale Mode advanced options.

-1.798e+308 – 1.798e+308

STRING

Stores a string value composed of ASCII characters. For local tags, strings up to 22 characters long can be created. For remote tags, strings will use a contiguous data block on the target device.

...