This article covers loggers related to Remote Tag Providers that were introduced in Ignition version 7.9.X.
Loggers in this article:
GatewayNetwork.Remote.TagProvider
- Provides information about the retrieval of existing Tag subscriptions on a connected Remote Tag Provider.
- DEBUG stating the retrieval of tags found on a successfully connected Remote Tag Provider. Mentions the name of the Remote Tag Provider existing on the local Gateway (tag-provider). Mentions the local project requesting these subscriptions under session-project. For this example of retrieval, Tags are being edited in the designer:
Start: getTag('[Ignition-WS_default]Testing/Bindings/Random/RandomBoolean1') request-origin=127.0.0.1, session-user=admin,
tag-provider=Ignition-WS_default, session-project=Test, session-id=28062902
End: getTag('[Ignition-WS_default]Testing/Bindings/Random/RandomBoolean1') request-origin=127.0.0.1, session-user=admin,
tag-provider=Ignition-WS_default, session-project=Test, session-id=28062902
Start: getTag('[Ignition-WS_default]Testing/Bindings/Random/RandomBoolean2') request-origin=127.0.0.1, session-user=admin,
tag-provider=Ignition-WS_default, session-project=Test, session-id=28062902
End: getTag('[Ignition-WS_default]Testing/Bindings/Random/RandomBoolean2') request-origin=127.0.0.1, session-user=admin,
tag-provider=Ignition-WS_default, session-project=Test, session-id=28062902
...
editTags() for 10 tags completed in 189 ms tag-provider=Ignition-WS_default
- DEBUG stating the retrieval of tags found on a successfully connected Remote Tag Provider. Mentions the name of the Remote Tag Provider existing on the local Gateway (tag-provider). Mentions the local project requesting these subscriptions under session-project. For this example of retrieval, Tags are being edited in the designer:
GatewayNetwork.Remote.TagProviderGW
A series of loggers monitoring connection status and data transfer for remote tag providers. Such data transfer includes tag subscriptions, value changes, and alarms.
GatewayNetwork.Remote.TagProviderGW
- Monitors the connection of the Remote Tag Provider.
- INFO log providing information about a connecting and disconnecting Remote Tag Providers:
Starting up remote tag service for gateway '_0:0:Ignition-WS' gw-name=_0:0:Ignition-WS
…
Shutting down remote tag service for gateway '_0:0:Ignition-WS' gw-name=_0:0:Ignition-WS
- INFO log providing information about a connecting and disconnecting Remote Tag Providers:
-
- DEBUG log providing more details about a successful connection and disconnect. Will also check if all Remote Tag Providers have been removed:
[_0:0:Ignition-WS] First remote provider added, starting gateway services. gw-name=_0:0:Ignition-WS
Tag provider service state has changed to 'Available' [server: Ignition-WS] gw-name=_0:0:Ignition-WS
…
[_0:0:Ignition-WS] Removed provider 'Ignition-WS_default' gw-name=_0:0:Ignition-WS
[_0:0:Ignition-WS] All providers removed, stopping services. gw-name=_0:0:Ignition-WS
- DEBUG log providing more details about a successful connection and disconnect. Will also check if all Remote Tag Providers have been removed:
GatewayNetwork.Remote.TagProviderGW.AlarmManager
- Monitors the status of queried alarms from remote gateways via Remote Tag Providers. Will appear when existing Designers and Clients are requesting alarm events from those providers.
- DEBUG log showing the request and result of remote provider alarms. Mentions the local project requesting these subscriptions under session-project. Mentions the name of the remote Gateway being requested for alarms (target-gw):
Querying gateway for alarms with filter: (_state_:[[Active, Unacknowledged, Active, Acknowledged, Cleared, Unacknowledged]] ,
_provider_:[[default]] ,) request-origin=127.0.0.1, session-user=admin, session-project=Test, target-gw=Ignition-WS, session-id=28062902
Query finished in 121 ms with 2 results request-origin=127.0.0.1, session-user=admin, session-project=Test, target-gw=Ignition-WS,
session-id=28062902
- DEBUG log showing the request and result of remote provider alarms. Mentions the local project requesting these subscriptions under session-project. Mentions the name of the remote Gateway being requested for alarms (target-gw):
GatewayNetwork.Remote.TagProviderGW.SubscriptionManager
- Monitors all values changes coming from the Tag subscriptions on Remote Tag Providers.
- TRACE log reporting tag change events. Mentions the full OPC Item Path of Tag subscriptions. Mentions the name of the remote Gateway gan-remote-gateway-name:
[Ignition-WS] Firing tag change event on '[Ignition-WS_default]Testing/Bindings/Random/RandomInteger1' :
com.inductiveautomation.ignition.common.sqltags.model.event.TagChangeEvent@5ab4c70b
[tagPath=[Ignition-WS_default]Testing/Bindings/Random/RandomInteger1,prop=Value,indexes=<null>] gan-remote-gateway-name=Ignition-WS
[Ignition-WS] Firing tag change event on '[Ignition-WS_default]Testing/Bindings/Random/RandomDouble2' :
com.inductiveautomation.ignition.common.sqltags.model.event.TagChangeEvent@527e84dd
[tagPath=[Ignition-WS_default]Testing/Bindings/Random/RandomDouble2,prop=Value,indexes=<null>] gan-remote-gateway-name=Ignition-WS
[Ignition-WS] Firing tag change event on '[Ignition-WS_default]Testing/Bindings/Random/RandomShort2' :
com.inductiveautomation.ignition.common.sqltags.model.event.TagChangeEvent@659e9a36
[tagPath=[Ignition-WS_default]Testing/Bindings/Random/RandomShort2,prop=Value,indexes=<null>] gan-remote-gateway-name=Ignition-WS
[Ignition-WS] Firing tag change event on '[Ignition-WS_default]Testing/Bindings/Random/RandomInteger2' :
com.inductiveautomation.ignition.common.sqltags.model.event.TagChangeEvent@44076d19
[tagPath=[Ignition-WS_default]Testing/Bindings/Random/RandomInteger2,prop=Value,indexes=<null>] gan-remote-gateway-name=Ignition-WS
- TRACE log reporting tag change events. Mentions the full OPC Item Path of Tag subscriptions. Mentions the name of the remote Gateway gan-remote-gateway-name:
GatewayNetwork.Remote.TagProviderGW.SubscriptionManager.ValueUpdates
- A logger that acts as a response to the log events of Remote.TagProviderGW.SubscriptionManager. For example, Tag change events that are retrieved by the local Gateway successfully will output a log of qualified value objects for each tag change event fired:
- TRACE log showing the result of the fired tag change events for the TRACE log above:
[Ignition-WS] Received tag change events after 1 seconds:
[[default]Testing/Bindings/Random/RandomInteger1.Value=[77, Good, Tue Sep 21 15:09:24 PDT 2021],
[default]Testing/Bindings/Random/RandomBoolean2.Value=[true, Good, Tue Sep 21 15:09:24 PDT 2021],
[default]Testing/Bindings/Random/RandomInteger2.Value=[31, Good, Tue Sep 21 15:09:24 PDT 2021],
[default]Testing/Bindings/Random/RandomShort1.Value=[91, Good, Tue Sep 21 15:09:24 PDT 2021]] gan-remote-gateway-name=Ignition-WS
- TRACE log showing the result of the fired tag change events for the TRACE log above:
Comments
0 comments
Article is closed for comments.