This article covers loggers related to OPC-DA that were introduced in Ignition version 7.8.X.
Loggers in this article:
OPCCOM.DAServer[{ServerConnectionName}]
- Monitors the status of a specific OPC-DA server connection. {ServerConnectionName} is denoted as the name of the existing OPC-DA server connection defined in the Ignition config.
- INFO logger showing the initialization of an enabled, OPC-DA server connection by default. The same connection is then later disabled. Existing tag subscriptions created against the server will also be initializing as a COM subscription:
Creating new COM subscription 'Scanclass 'Default[default]''/1000
Server '{ServerConnectionName}' state set to [CONNECTING]
Attempting to connect COM server '{ServerConnectionName}'
…
Server '{ServerConnectionName}' state set to [CONNECTED]
…
Disconnecting server '{ServerConnectionName}', healthy: true
Server '{ServerConnectionName}' state set to [CLOSED]
- INFO logger showing the initialization of an enabled, OPC-DA server connection by default. The same connection is then later disabled. Existing tag subscriptions created against the server will also be initializing as a COM subscription:
-
- DEBUG log showing additional details for the initialization of a connection and it’s tag subscriptions once enabled, then later disabled:
Server is starting...
[{ServerConnectionName}] Subscription changed - Old/new rate:1000/1000 Removed: 0 Added: 15
…
Received clsid '{F8582CF2-88FB-11D0-B850-00C0F0104305}' for server '{ServerConnectionName}'
…
COMServerImpl.Shutdown
…
Server is disabled.
[{ServerConnectionName}] Subscription changed - Old/new rate:1000/1000 Removed: 0 Added: 15
- DEBUG log showing additional details for the initialization of a connection and it’s tag subscriptions once enabled, then later disabled:
-
- TRACE log showing the output for health checks against the connection. This will periodically log every few seconds:
[{ServerConnectionName}] Verifying connection state for COM server.
[{ServerConnectionName}] Server state verified successfully.
- TRACE log showing the output for health checks against the connection. This will periodically log every few seconds:
OPCCOM.wrapper.subscriptions.COMSubscription
- Monitors the status of all tag subscriptions pointing to specific OPC-DA server connections.
- INFO log showing a healthy shutdown of tag subscriptions for DA server that is disconnecting:
Shutting down subscription 'Scanclass 'Default[default]''. Is healthy shutdown: true
- INFO log showing a healthy shutdown of tag subscriptions for DA server that is disconnecting:
-
- DEBUG log showing the creation of tag subscriptions when either the DA server is started or when tags are created during a connection:
Registered keepalive. Requested rate: 2000 ms, revised rate from server: 2000
[Scanclass 'Default[default]'] Added 15 items.
[Scanclass 'Default[default]'] Set 15 items active.
- DEBUG log showing the creation of tag subscriptions when either the DA server is started or when tags are created during a connection:
-
- DEBUG log showing an instance of polled tag subscriptions’ returned qualified values from a specific DA server. Will log at the rate of the scan class / tag group applied:
[Scanclass 'Default[default]'] Data change event received by subscription after 20 ms.
Values: [[[52, 162/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [54, 26528/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[46, 63/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [56, 2691.03955078125/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[44, Tue Oct 05 21:37:02 PDT 2021/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [49, 10443/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[55, true/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [45, 10860.60206241/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[57, [Ljava.lang.Object;@771f97bd/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [47, 122530000/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[48, 183/Bad Quality, Tue Oct 05 14:37:02 PDT 2021, 0], [50, options/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[53, 26880/Good, Tue Oct 05 14:37:02 PDT 2021, 0], [51, [Ljava.lang.Object;@32afd58f/Good, Tue Oct 05 14:37:02 PDT 2021, 0],
[58, 11754/Good, Tue Oct 05 14:37:02 PDT 2021, 0]]]
- DEBUG log showing an instance of polled tag subscriptions’ returned qualified values from a specific DA server. Will log at the rate of the scan class / tag group applied:
-
- TRACE log notifying the gateway of connected tag subscriptions when the DA server is enabled, then later disabled:
[Scanclass 'Default[default]'/Scanclass 'Default[default]'_2] Subscription connected to COM object.
…
[Scanclass 'Default[default]'/Scanclass 'Default[default]'_2] Subscription disconnected from COM object.
- TRACE log notifying the gateway of connected tag subscriptions when the DA server is enabled, then later disabled:
Comments
0 comments
Article is closed for comments.