Hi all,
I'm facing an issue with a Modbus TCP device connection in the Ignition gateway. Here are the details:
1. Connection Settings:
Timeout: 10000ms
Radix: 10
2. Tag Configuration:
UDTs are created using the multi-instance wizard with the following OPC Item Path variables: {PanelName}, {Module}, and {Circuit}.
Multi-instance wizard setup:
Base Tag Name: Heater_
Tag Name Pattern: 1-30
Panel Parameters:
{PanelName} Pattern: MOB1, Size: 1
{Circuit} Pattern: 1-10, 1-10, 1-10, Size: 30
{Module} Pattern: 1*10, 2*10, 3*10, Size: 30
3. Modbus Address Configuration:
Below is an excerpt of the Modbus address configuration (this structure is repeated across all 30 devices, with each heater’s address incrementing by 190):
HTR_1__1_ 0 1 FALSE 1 HoldingRegisterUInt16 72
HTR_1__2_ 0 0 FALSE 1 HoldingRegisterUInt16 76
HTR_1__3_ 0 1 FALSE 1 HoldingRegisterUInt16 85
HTR_1__4_ 0 0 FALSE 1 HoldingRegisterUInt16 93
HTR_1__5_ 0 8 FALSE 1 HoldingRegisterUInt16 94
HTR_1__6_ 0 0 FALSE 1 HoldingRegisterUInt16 104
HTR_1__7_ 0 4 FALSE 1 HoldingRegisterUInt16 110
HTR_1__8_ 0 3 FALSE 1 HoldingRegisterUInt16 116
HTR_1__9_ 0 1 FALSE 1 HoldingRegisterUInt16 122
4. Issue Description:
The problem affects tags associated with Modbus address 110, 300, ... (HTR_1__7_, HTR_2__7_, ...).
If the device value changes, the tags may briefly update but then revert to their previous state. Additionally, values for other tags update unpredictably (no consistent tag or offset).
Dragging the problematic tag(s) directly from the OPC Browser into a new folder resolves the issue. Once dragged, both the newly created tag and the original UDT tag update as expected.
5. Additional Observations:
The OPC Item Path for the UDT tag and the dragged tag is identical.
No gateway errors are logged.
This behavior occurs across multiple devices, not just one.
Monitoring through Kepserver shows consistent updates for the address.
Restarting the gateway does not resolve the issue.
Request for Help:
Has anyone experienced similar behavior or could offer insights into:
Why UDT tags behave inconsistently until dragged from the OPC Browser.
What might be causing this issue with Modbus TCP devices and UDTs.
Any potential workarounds or diagnostics I may have missed.
Thanks in advance for your help!