OPCClient object reconnection
- Last UpdatedJul 19, 2024
- 1 minute read
The OPC Client performs the following actions when connecting or reconnecting:
-
When the OPC Client starts, it tries to connect immediately.
-
If the OPC Client is already connected and gets disconnected, it immediately tries to reconnect, increasing the restart count by 1.
-
After the set restart period elapses (see RestartPeriod in OPCClient object configuration General tab), the OPC Client attempts to reconnect again, increasing the restart count by 1.
-
When the restart maximum count is reached (see RestartMax in OPCClient object configuration General tab), the restart alarm triggers and no further restarts are attempted.
-
When the OPC Client connects, the restart count gets set to zero (0) and lowers the restart alarm.
-
If the reset restart is set to TRUE, the restart count gets set to zero (0) and lowers the restart alarm. The OPC Client attempts to reconnect immediately. If it is already connected, setting the reset restart does not disconnect and reconnect the OPC Client.
-
If the reset restart is set to TRUE (see RestartReset in OPCClient object configuration General tab), the restart count gets set to zero (0) and lowers the restart alarm. The OPC Client attempts to reconnect immediately. If it is already connected, setting RestartReset does not disconnect and reconnect the OPC Client.
For general information on objects, including relationships, deployment, and alarm distribution, see the Integrated Development Environment (IDE) documentation.
For information on configuration options of object scripts, attributes, or features, click Attributes Help in the Help file header.