I am working on Ignition Edge, PLC = CJ2M-CPU35, using Omron FINS/TCP driver.
Tag connections are fine, able to read and write.
However sometimes when gateway and plc are powered off and powered back, all the tag status would become uncertain, with the circle ? icon, even though device connection status is Connected.
Have tried to enable/disable the connection, on/off the plc, the tag status still remains as Uncertain.
The only way is to restart the gateway(ie restarting the pc).
Tried searching through the logs, but could only identify FinsWriteRequest warning:
java.util.concurrent.TimeoutException: timed out after 2000ms
at com.inductiveautomation.omron.fins.client.tcp.FinsTcpClient$sendCommand$timeout$1.run(FinsTcpClient.kt:103)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
at java.base/java.lang.Thread.run(Unknown Source)
Could someone advise how should i go about troubleshooting the problem?
Many thanks in advance!
You might try upgrading to the latest 8.1.x version.
8.1.5 contained a fix for an issue that sounds similar:
Fixed a bug that caused tags to get stuck with Bad_NotConnected or Uncertain_InitialValue quality on startup or reconnect.
I don't know for certain whether that affected 8.0.x versions or not.
However if the problem is just that the device isn't responding, which your original post with the timeout issue is showing, then you just have something misconfigured either in Ignition or on the PLC side.
1.The edge is connected to a mqtt server, version 8.0.16 as well. If i upgrade the edge to 8.1.x version, would there be any… ‘mismatch’ or causing any conflict in the communication?
Do you mean that the log i posted indicates that the device is not responding?
Well, a timeout is not a version issue, but if things are generally working except sometimes on startup or reconnect there is an Uncertain quality that sounded like an issue we fixed.
This issue has been observed in edge 8.1.7 as well, and i noticed the pattern.
Whenever the system has been restarted, all the tag quality would either go Uncertain_LastKnownValue or Bad
After a OPC-UA module restart, most of the quality would be back to normal.
However, there are still tags having uncertain/bad quality.
Follow up by a Omron Driver module restart, then only it solves the issue.
Is there any logs that i can monitor to identify the problem?
Hi Dion.botha, yea it is possible to resolve by restarting OPC-UA.
But the issue is that upon almost every system power restart, the tags would be unhealthy/uncertain again. Then again would have to restart the OPC-UA and Omron modules..
Hi Yin, no, since I restarted the OPC-UA module I have not had the issue come up again (and the system definitely has restarted a few time since then). Hope you are/were able to resolve.