This article covers loggers related to Allen-Bradley device connections that were introduced in Ignition version 7.8.X.
Loggers in this article:
xopc.drivers.logix.LogixSubscriptionModel
- Provides a count of all existing tag subscriptions for the device and a count of requests for each tag group/scan class being used for the Allen-Bradley Logix driver.
- DEBUG log successfully providing a count of all existing tag subscriptions for the device and a count of requests for each tag group/scan class being used:
Optimizing and scheduling 4 items.
Scheduled 1 requests @ 5000ms.
Scheduled 1 requests @ 1000ms.
- DEBUG log successfully providing a count of all existing tag subscriptions for the device and a count of requests for each tag group/scan class being used:
xopc.drivers.logix.browse
A series of loggers monitoring all opc browsing to existing device connections using the Allen-Bradley Logix driver when first initialized.
xopc.drivers.logix.browse.LogixBrowse
- Provides information about all symbol folders discovered through an OPC browse.
- DEBUG log stating all discovered symbol folders from an OPC Browse when first initialized:
Browsing symbols in Controller:Global
Browsing symbols in Program:FunctionalTestStaticTag
Browsing symbols in Program:FunctionalTestProgram
Browsing symbols in Program:LargeWriteProgram
Browsing symbols in Program:ChildUDTProgram
Browsing symbols in Program:MainProgram
Browsing symbols in Program:StringProgram
Browsing symbols in Program:FBDProgram
Browsed 225 symbols in 48ms.
Browsed 43 templates in 353ms.
- DEBUG log stating all discovered symbol folders from an OPC Browse when first initialized:
xopc.drivers.logix.browse.LogixBrowseStateManager
- Will provide the current firmware version of the Allen-Bradley device we are connected to.
- DEBUG log stating the firmware version of the device when first initialized:
firmware v33.11
- DEBUG log stating the firmware version of the device when first initialized:
xopc.drivers.logix.request.ReadTags.Request
- Provides the current value of all tag subscriptions connected to Allen-Bradley devices using the Logix driver.
- TRACE log stating the current value of a tag subscribed to an Allen-Bradley device using the Logix driver. In this example, RUN_CMD exists as part of the opcItemPath for an existing Ignition tag. Will log at the rate of the tag group / scan class defined for the tag:
M1.RUN_CMD = 405
- TRACE log stating the current value of a tag subscribed to an Allen-Bradley device using the Logix driver. In this example, RUN_CMD exists as part of the opcItemPath for an existing Ignition tag. Will log at the rate of the tag group / scan class defined for the tag:
drivers.MicroLogixDriver[{DeviceConnectionName}]
A series of loggers monitoring ethernet connections and tag subscriptions using the MicroLogix driver.
drivers.MicroLogixDriver[{DeviceConnectionName}].ABMicroLogixReadRequest
- Will show requests and responses for every tag subscription at the rate of its defined tag group / scan class. {DeviceConnectionName} is denoted as the name of the specific MicroLogix device connection in the Ignition config.
- TRACE log for an individual tag subscription that is using a 1 second tag group / scan class. Due to scan class, these log events will appear based on that rate. In this example, index=0 describes the an index defined on the MicroLogix address B3:0:
Getting value for address=com.inductiveautomation.xopc.drivers.allenbradley.address.ABMicroLogixAddress@181236b5, index=0
- TRACE log for an individual tag subscription that is using a 1 second tag group / scan class. Due to scan class, these log events will appear based on that rate. In this example, index=0 describes the an index defined on the MicroLogix address B3:0:
-
- DEBUG log for each set of tags using a specific tag group / scan class. This is an example of a successful poll for all existing tags B3:0 to B3:10:
Received data for addresses B3:0 to B3:10: [ 0D 00 37 00 2D 00 00 00 00 00 00 00 00 00 19 00 1D 00 34 00 00 00 ]
- DEBUG log for each set of tags using a specific tag group / scan class. This is an example of a successful poll for all existing tags B3:0 to B3:10:
drivers.MicroLogixDriver[{DeviceConnectionName}].BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific MicroLogix device connection.
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
Adding {count} items.
Notifying callback of new subscription state: SubscriptionItem[{count}]
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
-
- TRACE log for an individual tag subscription that was created / restarted. B3:7 is the specific MicroLogix address for an existing tag’s opcItemPath:
Adding B3:7
Creating AggregateSubscriptionItem for B3:7
- TRACE log for an individual tag subscription that was created / restarted. B3:7 is the specific MicroLogix address for an existing tag’s opcItemPath:
drivers.MicroLogixDriver[{DeviceConnectionName}].RequestSchedule
- Provides a count of tag subscriptions being consolidated into a separate count of read requests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Optimized 4 items into 1 read requests.
Created new schedule for 4 items in 0ms.
Size of new schedule before optimization: 1
Canceling 0 ScheduledRequests.
Adding 1 new ScheduledRequests.
CRC match. correct == current (2928945580 == 2928945580).
Posting 1 ScheduledRequests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
drivers.PLC5EthernetDriver[{DeviceConnectionName}]
A series of loggers monitoring ethernet connections and tag subscriptions using the PLC5 driver.
drivers.PLC5EthernetDriver[{DeviceConnectionName}]
- Monitors the status of a PLC5 device connection when it is first established. {DeviceConnectionName} is denoted as the name of the specific PLC5 device connection in the Ignition config.
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
Acquired connect permit, calling connect().
[{DeviceConnectionName}] Attempting to connect using Direct protocol.
[{DeviceConnectionName}] Opening TCP connection...
Disconnected -> Connecting
[{DeviceConnectionName}] TCP connection successfully opened.
…
[{DeviceConnectionName}] Connected using Direct protocol.
Releasing connect permit.
Connecting -> Connected
…
Connected -> Disconnecting
Disconnecting -> Terminated
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
-
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
[{DeviceConnectionName}] Sent ByteBuffer [ 01 07 00 0E 03 6E 01 01 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
05 00 00 0F 00 0C 00 A2 06 05 87 00 00 ]
[{DeviceConnectionName}] Received 42 [ 02 07 00 0E 03 6E 01 01 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05
00 00 4F 00 0C 00 00 00 FF 00 63 00 ]
key=12, message=[B@1d9f68b8
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
drivers.PLC5EthernetDriver[{DeviceConnectionName}].BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific PLC5 device connection.
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
Adding {count} items.
Notifying callback of new subscription state: SubscriptionItem[{count}]
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
-
- TRACE log for an individual tag subscription that was created / restarted. C5:0.DN is the specific PLC5 address for an existing tag’s opcItemPath:
Adding C5:0.DN
Creating AggregateSubscriptionItem for C5:0.DN
- TRACE log for an individual tag subscription that was created / restarted. C5:0.DN is the specific PLC5 address for an existing tag’s opcItemPath:
drivers.PLC5EthernetDriver[{DeviceConnectionName}].RequestSchedule
- Provides a count of tag subscriptions being consolidated into a separate count of read requests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Optimized 4 items into 1 read requests.
Created new schedule for 4 items in 0ms.
Size of new schedule before optimization: 1
Canceling 0 ScheduledRequests.
Adding 1 new ScheduledRequests.
CRC match. correct == current (2928945580 == 2928945580).
Posting 1 ScheduledRequests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
drivers.SLCEthernetDriver[{DeviceConnectionName}]
A series of loggers monitoring ethernet connections and tag subscriptions using the SLC driver
drivers.SLCEthernetDriver[{DeviceConnectionName}]
- Monitors the status of a SLC device connection when it is first established. {DeviceConnectionName} is denoted as the name of the specific SLC device connection in the Ignition config.
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
Acquired connect permit, calling connect().
[{DeviceConnectionName}] Opening TCP connection…
Disconnected -> Connecting
[{DeviceConnectionName}] TCP connection successfully opened.
…
Releasing connect permit.
Connecting -> Connected
…
Connected -> Disconnecting
Disconnecting -> Terminated
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
-
- TRACE log providing additional details defined for the initialized connection. Will state the defined connection path if provided, the protocol being used, and details regarding data being sent and received during this process:
[{DeviceConnectionName}] Connection Path: .
…
Attempting to connect using CSP protocol.
[{DeviceConnectionName}] Sent ByteBuffer [ 01 01 00 00 00 00 00 00 00 00 00 00 00 04 00 05 02 00 00 00 00 00 00 00 00 00 00 00 ]
[{DeviceConnectionName}] Received 28 [ 02 01 00 00 03 6E 01 01 00 00 00 00 00 04 00 05 02 00 00 00 00 00 00 00 00 00 00 00 ]
key=2, message=[B@119a4428
…
[{DeviceConnectionName}] Connected using Direct protocol.
- TRACE log providing additional details defined for the initialized connection. Will state the defined connection path if provided, the protocol being used, and details regarding data being sent and received during this process:
-
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
[{DeviceConnectionName}] Sent ByteBuffer [ 01 07 00 0E 03 6E 01 01 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05
00 00 0F 00 0C 00 A2 06 05 87 00 00 ]
[{DeviceConnectionName}] Received 42 [ 02 07 00 0E 03 6E 01 01 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05
00 00 4F 00 0C 00 00 00 FF 00 63 00 ]
key=12, message=[B@1d9f68b8
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
drivers.SLCEthernetDriver[{DeviceConnectionName}]BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific SLC device connection.
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
Adding {count} items.
Notifying callback of new subscription state: SubscriptionItem[{count}]
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
-
- TRACE log for an individual tag subscription that was created / restarted. C5:0.PRE is the specific SLC address for an existing tag’s opcItemPath:
Adding C5:0.PRE
Creating AggregateSubscriptionItem for C5:0.PRE
- TRACE log for an individual tag subscription that was created / restarted. C5:0.PRE is the specific SLC address for an existing tag’s opcItemPath:
drivers.SLCEthernetDriver[{DeviceConnectionName}].RequestSchedule
- Provides a count of tag subscriptions being consolidated into a separate count of read requests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Optimized 4 items into 1 read requests.
Created new schedule for 4 items in 0ms.
Size of new schedule before optimization: 1
Canceling 0 ScheduledRequests.
Adding 1 new ScheduledRequests.
CRC match. correct == current (2928945580 == 2928945580).
Posting 1 ScheduledRequests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
drivers.ControlLogixDriver[{DeviceConnectionName}]
A series of loggers monitoring connection status and tag subscriptions using the legacy ControlLogix driver. {DeviceConnectionName} is denoted as the name of the specific ControlLogix device connection in the Ignition config.
drivers.ControlLogixDriver[{DeviceConnectionName}]
- Will show the output of the connection when it is first established.
- INFO log showing details about the specific processor and the initial OPC browse for nodes:
Processor info: Vendor=1, Product Type=14, Product Code=77, Revision=20.18, Product Name=1769-L32E/A LOGIX5332E
...
[{DeviceConnectionName}] Browse complete.
[{DeviceConnectionName}] Updating tagManager with edit version 1280 with 200 tags
- INFO log showing details about the specific processor and the initial OPC browse for nodes:
-
- INFO log showing a different outcome for browsing tags when an initial browse is not necessary due to cached tag data:
[DeviceConnectionName}] Using cached tag data, processor edit number(1280) matches cached edit number(1280).
- INFO log showing a different outcome for browsing tags when an initial browse is not necessary due to cached tag data:
-
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
Acquired connect permit, calling connect().
...
[{DeviceConnectionName}] Opening TCP connection…
Disconnected -> Connecting
[{DeviceConnectionName}] TCP connection successfully opened.
…
messageLength() called - length returned: 28
getRequestKey() called - key returned: 1 dec, 1 hex
…
[{DeviceConnectionName}] Looking for 1, Unconnected: <1>, Connected:
…
notifyConnectSucceeded().
Releasing connect permit.
Connecting -> Connected
...
messageLength() called - length returned: 70
getRequestKey() called - key returned: 7 dec, 7 hex
…
[{DeviceConnectionName}] Looking for 8, Unconnected: 0, Connected: , <8>
…
[{DeviceConnectionName}] Optimizing 4 read items.
…
Connected -> Disconnecting
Disconnecting -> Terminated
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
drivers.ControlLogixEthernetDriver[{DeviceConnectionName}].ABControlLogixBrowseRequest
- Monitors the process of browsing all addresses found on the ControlLogix device.
- DEBUG log showing the an initialized browse request to the device:
[{DeviceConnectionName}] Browse request created. - TRACE log showing details about each tag found during the browsing process:
Continuing browsing after tag M3
Partial browse response received for tag "M3".
…
Browsing tag StringProgram
Complete browse response received for tag "ADD_01".
Browsing tag LargeWriteProgram
Complete browse response received for tag "String2".
Browsing tag ChildUDTProgram
Complete browse response received for tag "LargeWriteArray".
…
Browsing complete. Added 202 tags.
Reading KT instance IDs.
Added 200 tags.
Reading KT instance attributes for 1bfa
Reading program references complete.
Reading KT instance attributes for 2420
…
Reading program instance attributes for 1f0
[{DeviceConnectionName}] Reading program cross references complete.
Reading program instance attributes for 2582
Reading program instance attributes for 7c0d
…
Reading template attributes for format code of 8efa
Reading program attributes complete.
Complete get template response received.
Reading template for format code of 8efa
Complete get template response received.
Processed template for format code of 8efa
…
Reading data type templates complete.
Reading tag attributes for test_tag
Reading tag attributes for ADD_01
Reading tag attributes for SUB_01
…
Added 118 template members
Processing tag attribute for FunctionalTestStaticTag.test_tag.
Processing tag attribute for FBDProgram.ADD_01.
Processing tag attribute for FBDProgram.SUB_01.
…
Reading tag attributes complete.
…
[{DeviceConnectionName}] Browse complete.
- DEBUG log showing the an initialized browse request to the device:
drivers.ControlLogixEthernetDriver[{DeviceConnectionName}].BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific ControlLogix device connection.
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
Processing transaction with sequence {...}
Adding {count} items.
...
Notifying callback of new subscription state: SubscriptionItem[{count}]
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
-
- TRACE log for an individual tag subscription that was created / restarted. M1.AMPS is the specific Control Logix address for an existing tag’s opcItemPath:
Adding Global.M1.AMPS
Creating AggregateSubscriptionItem for Global.M1.AMPS
- TRACE log for an individual tag subscription that was created / restarted. M1.AMPS is the specific Control Logix address for an existing tag’s opcItemPath:
drivers.ControlLogixEthernetDriver[{DeviceConnectionName}].RequestSchedule
- Provides a count of tag subscriptions being consolidated into a separate count of read requests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Optimized 4 items into 1 read requests.
Created new schedule for 4 items in 0ms.
Size of new schedule before optimization: 1
Canceling 0 ScheduledRequests.
Adding 1 new ScheduledRequests.
CRC match. correct == current (2928945580 == 2928945580).
Posting 1 ScheduledRequests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
drivers.CompactLogixDriver[{DeviceConnectionName}]
A series of loggers monitoring connection status and tag subscriptions using the legacy CompactLogix driver. {DeviceConnectionName} is denoted as the name of the specific CompactLogix device connection in the Ignition config.
drivers.CompactLogixDriver[{DeviceConnectionName}]
- Will show the output of the connection when it is first established.
- INFO log showing details about the specific processor and the initial OPC browse for nodes:
Processor info: Vendor=1, Product Type=14, Product Code=77, Revision=20.18, Product Name=1769-L32E/A LOGIX5332E
[{DeviceConnectionName}] Browse complete.
[{DeviceConnectionName}] Updating tagManager with edit version 1280 with 200 tags
- INFO log showing details about the specific processor and the initial OPC browse for nodes:
-
- INFO log showing a different outcome for browsing tags when an initial browse is not necessary due to cached tag data:
[DeviceConnectionName}] Using cached tag data, processor edit number(1280) matches cached edit number(1280).
- INFO log showing a different outcome for browsing tags when an initial browse is not necessary due to cached tag data:
-
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
Acquired connect permit, calling connect().
..
[{DeviceConnectionName}] Opening TCP connection…
Disconnected -> Connecting
[{DeviceConnectionName}] TCP connection successfully opened.
…
messageLength() called - length returned: 28
getRequestKey() called - key returned: 1 dec, 1 hex
…
[{DeviceConnectionName}] Looking for 1, Unconnected: <1>, Connected:
…
notifyConnectSucceeded().
Releasing connect permit.
Connecting -> Connected
...
messageLength() called - length returned: 70
getRequestKey() called - key returned: 7 dec, 7 hex
…
[{DeviceConnectionName}] Looking for 8, Unconnected: 0, Connected: , <8>
…
[{DeviceConnectionName}] Optimizing 4 read items.
…
Connected -> Disconnecting
Disconnecting -> Terminated
- DEBUG log showing a successful device connection when it is first created, then disabled in the Ignition config:
drivers.CompactLogixDriver[{DeviceConnectionName}]ABControlLogixBrowseRequest
- Monitors the process of browsing all addresses found on the CompactLogix device.
- DEBUG log showing the an initialized browse request to the device:
[{DeviceConnectionName}] Browse request created.
- DEBUG log showing the an initialized browse request to the device:
-
- TRACE log showing details about each tag found during the browsing process:
Continuing browsing after tag M3
Partial browse response received for tag "M3".
…
Browsing tag StringProgram
Complete browse response received for tag "ADD_01".
Browsing tag LargeWriteProgram
Complete browse response received for tag "String2".
Browsing tag ChildUDTProgram
Complete browse response received for tag "LargeWriteArray".
…
Browsing complete. Added 202 tags.
Reading KT instance IDs.
Added 200 tags.
Reading KT instance attributes for 1bfa
Reading program references complete.
Reading KT instance attributes for 2420
…
Reading program instance attributes for 1f0
[{DeviceConnectionName}] Reading program cross references complete.
Reading program instance attributes for 2582
Reading program instance attributes for 7c0d
…
Reading template attributes for format code of 8efa
Reading program attributes complete.
Complete get template response received.
Reading template for format code of 8efa
Complete get template response received.
Processed template for format code of 8efa
…
Reading data type templates complete.
Reading tag attributes for test_tag
Reading tag attributes for ADD_01
Reading tag attributes for SUB_01
…
Added 118 template members
Processing tag attribute for FunctionalTestStaticTag.test_tag.
Processing tag attribute for FBDProgram.ADD_01.
Processing tag attribute for FBDProgram.SUB_01.
…
Reading tag attributes complete.
…
[{DeviceConnectionName}] Browse complete.
- TRACE log showing details about each tag found during the browsing process:
drivers.CompactLogixDriver[{DeviceConnectionName}].BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific CompactLogix device connection.
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
Processing transaction with sequence {...}
Adding {count} items.
…
Notifying callback of new subscription state: SubscriptionItem[{count}]
- DEBUG log for created / restarted tag subscriptions where {count} is denoted as the number of tags being created / restarted:
-
- TRACE log for an individual tag subscription that was created / restarted. {...} is the specific CompactLogix address for an existing tag’s opcItemPath:
Adding {...}
Creating AggregateSubscriptionItem for {...}
- TRACE log for an individual tag subscription that was created / restarted. {...} is the specific CompactLogix address for an existing tag’s opcItemPath:
drivers.CompactLogixDriver[{DeviceConnectionName}].RequestSchedule
- Provides a count of tag subscriptions being consolidated into a separate count of read requests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Optimized 4 items into 1 read requests.
Created new schedule for 4 items in 0ms.
Size of new schedule before optimization: 1
Canceling 0 ScheduledRequests.
Adding 1 new ScheduledRequests.
CRC match. correct == current (2928945580 == 2928945580).
Posting 1 ScheduledRequests.
- DEBUG log successfully providing a count of tag subscriptions being consolidated into a separate count of read requests:
Comments
0 comments
Article is closed for comments.