Tags Reference
This reference guide covers data types, address formats, quality codes, and troubleshooting for tags.
Working with Shared Tags
Purpose: Access tags from other AI SCADA instances over the network.
Step 1: Create a Shared Channel
- Navigate to Shared Channels tab
- Click Add → AI SCADA Station
- Configure connection:
- Channel Name: Identifier for this remote station
- Server IP: IP address of the remote AI SCADA instance
- Port: Default
18000
- Click Confirm
📷 [Screenshot: Shared channel configuration dialog]
Step 2: Browse and Add Remote Tags
- Select the shared channel
- Click Browse Remote Tags
- Select tags from the remote station's tag tree
- (Optional) Set a Prefix to identify the source station (e.g.,
StationA_) - Click Add
Example:
| Local Tag Name | Remote Tag Name | Source |
|---|---|---|
StationA_Temperature | Temperature | Station A (192.168.1.10) |
StationB_Pressure | Pressure | Station B (192.168.1.20) |
💡 Tip: Use prefixes to avoid name conflicts when importing tags from multiple stations.
Quality Status Codes
| Code | Description | Action |
|---|---|---|
0 | Success | Normal operation |
1 | Tag name not found | Verify tag exists |
2 | Data type mismatch | Check data type compatibility |
3 | Device disconnected | Troubleshoot network/device |
4 | Other error | Check logs for details |
Troubleshooting
"Quality Status = 3" (Device Disconnected)
Cause: Communication failure with the device.
Solution:
- Verify network connectivity (ping the device IP)
- Check device power and status LEDs
- Verify IP address, port, and device ID match the device configuration
- Check firewall settings (allow port 502 for Modbus TCP)
- Review device logs for errors
"Quality Status = 2" (Data Type Mismatch)
Cause: Attempting to write a value that doesn't match the tag's data type.
Solution:
- Verify the value is within the data type's range
- Check for decimal values being written to integer tags
- Ensure string length doesn't exceed the configured limit
Tags Not Updating in Views
Cause: Poll Mode is set to "Page Usage" but the page is not open.
Solution:
- Change Poll Mode to "Service Running" for tags that must always update
- Or ensure the view using the tag is open
Address Overlap Warning
Cause: Two tags reference overlapping memory addresses.
Solution:
- Review the address configuration
- Adjust addresses to eliminate overlap
- Or acknowledge the overlap if intentional (e.g., reading a 32-bit value as two 16-bit values)
PDU Length Exceeded
Cause: A tag's data length exceeds the configured PDU limit.
Solution:
- Increase the PDU Length in the channel's advanced settings
- Or split the tag into smaller tags
Next Steps
- Understanding Tags: Review tag types and the Tag Manager interface
- Creating External Tags: Connect to PLCs and devices
- Creating Internal Tags: Set up Memory, I/O Mapping, and Logic tags
- Configuring Historian: Enable historical data logging
- Managing Alarms: Set up alerts based on tag values