This article covers loggers related to Siemens device connections that were introduced in Ignition version 7.8.X.
Loggers in this article:
drivers.S7{Generation}Driver[{DeviceConnectionName}]
A series of loggers monitoring connection status and tag subscriptions using one of the Siemens drivers. {Generation} is denoted as Siemen’s Step 7 line driver options (300,400,1200,1500). {DeviceConnectionName} is denoted as the name of the specific Siemens device connection in the Ignition config.
drivers.S7{Generation}Driver[{DeviceConnectionName}]
- Will show the output of the connection when it is first established.
- 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.
…
notifyConnectDone() success=true from current request: [NegotiatePDURequest key=2 timeout=2000].
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:
[{DeviceConnectionName}] Sent ByteBuffer [ 03 00 00 16 11 E0 00 00 00 01 00 C0 01 09 C1 02 4B 54 C2 02 03 01 ]
Found message of length 22 in buffer: [11 D0 00 01 00 08 00 C0 01 09 C1 02 4B 54 C2 02 03 01 ]
[{DeviceConnectionName}] Received 22 [ 03 00 00 16 11 D0 00 01 00 08 00 C0 01 09 C1 02 4B 54 C2 02 03 01 ]
Getting request key for message: [ 03 00 00 16 11 D0 00 01 00 08 00 C0 01 09 C1 02 4B 54 C2 02 03 01 ]
Returning key "1" from COTPConnectResponse: [ 03 00 00 16 11 D0 00 01 00 08 00 C0 01 09 C1 02 4B 54 C2 02 03 01 ]
key=1, message=[B@4f0b70f9
[{DeviceConnectionName}] Sent ByteBuffer [ 03 00 00 19 02 F0 80 32 01 00 00 00 02 00 08 00 00 F0 00 00 01 00 01 00 F0 ]
Found message of length 27 in buffer: [02 F0 80 32 03 00 00 00 02 00 08 00 00 00 00 F0 00 00 01 00 01 00 F0 ]
[{DeviceConnectionName}] Received 27 [ 03 00 00 1B 02 F0 80 32 03 00 00 00 02 00 08 00 00 00 00 F0 00 00 01 00 01 00 F0 ]
Getting request key for message: [ 03 00 00 1B 02 F0 80 32 03 00 00 00 02 00 08 00 00 00 00 F0 00 00 01 00 01 00 F0 ]
Returning key "2" from S7Header: [ 03 00 00 1B 02 F0 80 32 03 00 00 00 02 00 08 00 00 00 00 F0 00 00 01 00 01 00 F0 ]
key=2, message=[B@1390419a
- TRACE log providing additional details defined for the initialized connection:
-
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
[{DeviceConnectionName}] Sent ByteBuffer [ 03 00 00 2B 02 F0 80 32 01 00 00 00 03 00 1A 00 00 04 02 12 0A 10 02 00 05 00 00
81 00 00 00 12 0A 10 02 00 D2 00 00 82 00 00 00 ]
Found message of length 245 in buffer: [02 F0 80 32 03 00 00 00 03 00 02 00 E0 00 00 04 02 FF 04 00 28 3F 00 00 00 00 00
FF 04 06 90 D0 0B 48 65 6C 6C 6F 20 57 6F 72 6C 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
[{DeviceConnectionName}] Received 245 [ 03 00 00 F5 02 F0 80 32 03 00 00 00 03 00 02 00 E0 00 00 04 02 FF 04 00 28 3F 00
00 00 00 00 FF 04 06 90 D0 0B 48 65 6C 6C 6F 20 57 6F 72 6C 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Getting request key for message: [ 03 00 00 F5 02 F0 80 32 03 00 00 00 03 00 02 00 E0 00 00 04 02 FF 04 00 28 3F 00 00
00 00 00 FF 04 06 90 D0 0B 48 65 6C 6C 6F 20 57 6F 72 6C 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Returning key "3" from S7Header: [ 03 00 00 F5 02 F0 80 32 03 00 00 00 03 00 02 00 E0 00 00 04 02 FF 04 00 28 3F 00 00
00 00 00 FF 04 06 90 D0 0B 48 65 6C 6C 6F 20 57 6F 72 6C 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
key=3, message=[B@21aa74ed
- TRACE log stating the data being sent and received for the connection while tag subscriptions are actively polling:
drivers.S7{Generation}Driver[{DeviceConnectionName}].BasicTransactionProcessor
- Provides information about created / deleted tag subscriptions for a specific Siemens 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 1.
Adding {count} items.
- 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 Siemens 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 Siemens address for an existing tag’s opcItemPath:
drivers.S7{Generation}Driver[{DeviceConnectionName}].ReadRequest
- Monitors all active tag subscriptions being polled for reads on a specific Siemens device connection.
- TRACE log showing all specific opcItemPaths (mentioned under ReadAddressBlock[...]) that were polled for new values. Will update at the rate of applied tag group / scan class for Siemens tag subscriptions:
Sending ReadRequest: [ 03 00 00 2B 02 F0 80 32 01 00 00 00 26 00 1A 00 00 04 02 12 0A 10 02 00 05 00 00 81 00 00 00
12 0A 10 02 00 D2 00 00 82 00 00 00 ]
[ReadAddressBlock[IDI0, IW0, II0, ID0, IB0, IC0, IREAL0, IX0.0, IX0.1, IX0.2, IDI1, IW1, II1, IC1, ID1, IB1, IREAL1],
ReadAddressBlock[QSTRING0.208]]
- TRACE log showing all specific opcItemPaths (mentioned under ReadAddressBlock[...]) that were polled for new values. Will update at the rate of applied tag group / scan class for Siemens tag subscriptions:
drivers.S7{Generation}Driver[[{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.