TagMonitor

TagMonitor

The TagMonitor is an advanced tracking tool that displays the real-time status of all tags, devices, and network connections (Networks) in your project within a hierarchical tree structure.

Common Use Cases

This object operates on a “Drag-and-Drop” basis and requires no extra configuration. As soon as you add it to the screen, it automatically detects and lists the entire tag structure of your project.

  • Hierarchical View: Displays tags grouped in a Network -> Device -> Tag hierarchy.
  • Connection Tracking: Indicates the connection status of PLCs or devices (Connected/Fault) using color codes.
  • Value Monitoring and Modification: You can monitor live tag values and, if you have the appropriate authority, change these values (Force/Write).

Properties Panel – Key Properties

Visible

  • Can be configured to make the table visible only when specific users (e.g., “Admin” or “Maintenance”) are logged in.

Advanced Panel – Key Properties

This panel is where you manage the color codes and write security for the table.

Settings (Status Colors and Security)

This section contains color settings that allow the operator to identify a fault or status at a glance:

  • StateEnableColor / StateDisableColor
    • Background colors for the administrative state (Enable/Disable) of the Device or Network.
    • Example: If a device is disabled for maintenance, it appears LightSalmon (Orange).
  • StatusConnectedColor
    • The color displayed when communication with the device is healthy (Online). (Usually Green).
  • StatusFaultColor
    • The color displayed when communication with the device is lost (Timeout/Error). (Usually Red).
  • StatusInactiveColor
    • The color displayed if the device has not been initialized yet or is passive. (Grey).
  • WritePasswordLevel (Security – Important)
    • The minimum authority level an operator must possess to change a tag’s value (Write) or disable a device via the table.
    • If set to 0, everyone can intervene.
Child Controls (Table Structure)
  • _ResultGrid / _ResultGridColumns
    • You can use these properties to translate column headers (e.g., changing “Last Read” to your local language) or to hide columns you do not wish to display.

Runtime Usage and Columns

On the Runtime screen, the table presents the following details for every object in the system:

  • Object
    • The name of the tag or device. The tree structure can be expanded or collapsed using the [+] icons.
  • State (Administrative)
    • Shows the enable/disable status of the device.
  • Status (Operational)
    • Shows the physical connection status of the device. It lights up green if connected and red if the connection is broken.
  • Value
    • The current value of the tag.
  • Write
    • When the operator enters a new value here and presses Enter, this value is sent to the PLC/Device. (Requires WritePasswordLevel authority).
  • Last Read
    • Shows exactly when data was last successfully read from the device (PLC) with millisecond precision. Used to track communication speed and data refresh frequency.
  • Last Write
    • Shows when data was last successfully written/sent to the device. This updates only when a value change is made by an operator or a script.
  • Comment
    • Description text added regarding the tag.

Leave a Reply