Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controllogix L71_V33 Failure (Bad values) #9

Open
DAZ-NZ-Eng opened this issue Jan 12, 2022 · 0 comments
Open

Controllogix L71_V33 Failure (Bad values) #9

DAZ-NZ-Eng opened this issue Jan 12, 2022 · 0 comments

Comments

@DAZ-NZ-Eng
Copy link

I've have setup a simple flow with the 'PCC in' node without reading the register from the PLC and it appears a connection is established, however a "No response from PLC, restarting the communication" message keeps periodically popping up i.e. a green online icon comes up in the node. the controller is on Slot 0 and the Ethernet module is in Slot 2.

Below is the screenshot from the node-red verbose output:

[26419,81502679] Initiate Called - Connecting to PLC with address and parameters:
[26419,81693188] {
host: '172.17.227.246',
port: '44818',
routing: <Buffer 01 00 02 00>
}
[26419,84009126] Connection cleanup is happening
[26419,84146735 172.17.227.246] Clearing read PacketTimeouts
[26419,84277394 172.17.227.246] Clearing write PacketTimeouts
[26419,84896419 172.17.227.246]
[26419,84971326 172.17.227.246] Attempting to connect to host...
[26419,86562721 172.17.227.246] TCP Connection Established to 172.17.227.246 on port 44818 - Will attempt EIP Connection
[26419,91187291 172.17.227.246] EIP Register Session Response Received - connection confirmed
[26419,91418567 172.17.227.246] Session Handle is 0x1002F40C
[26419,91848530] Translation OK
[26420,93842130 172.17.227.246] Reading All Items (readAllItems was called)
[26420,94964908 172.17.227.246] Adding or Removing { arg: [], action: 'add' }
[26420,95464571 172.17.227.246] Adding
[26420,96428245 172.17.227.246] Calling SRP from RAI
[26420,97129472 172.17.227.246] SendReadPacket called
12 Jan 14:55:14 - [warn] [pccc endpoint:b56461294fe29b50] No response from PLC, restarting the communication
[26431,110633343 172.17.227.246] We Caught a read/write error ECONNRESET - resetting connection
[26431,110951250 172.17.227.246] ConnectionReset has been called to set the reset as pending
[26431,111094495] Scheduling the reset for 4.5 seconds later.
[26431,111493376 172.17.227.246] ConnectionReset has been called to set the reset as pending

Following this test, I've setup the node to read address F8:0 from the PLC and I get the following verbose output:

[26570,191288417] Initiate Called - Connecting to PLC with address and parameters:
[26570,191364828] {
host: '172.17.227.246',
port: '44818',
routing: <Buffer 01 00 02 00>
}
[26570,191773570] Connection cleanup is happening
[26570,191827122 172.17.227.246] Clearing read PacketTimeouts
[26570,191873113 172.17.227.246] Clearing write PacketTimeouts
[26570,192070301 172.17.227.246]
[26570,192117080 172.17.227.246] Attempting to connect to host...
[26570,193360497 172.17.227.246] TCP Connection Established to 172.17.227.246 on port 44818 - Will attempt EIP Connection
[26570,197457274 172.17.227.246] EIP Register Session Response Received - connection confirmed
[26570,197609094 172.17.227.246] Session Handle is 0x1002F70C
[26570,197947009] Translation OK
[26571,199684901 172.17.227.246] Reading All Items (readAllItems was called)
[26571,200436919 172.17.227.246] Adding or Removing { arg: [ 'Test' ], action: 'add' }
[26571,200585498 172.17.227.246] Adding Test
[26571,203008222 172.17.227.246] Clearing read PacketTimeouts
[26571,203283537 172.17.227.246] Calling SRP from RAI
[26571,203361933 172.17.227.246] SendReadPacket called
[26571,204138978] The A2 Returned Buffer is:
[26571,204208918] <Buffer a2 04 08 8a 00 00>
[26571,204392305] The returned buffer length is 6
[26571,204470792] The PCCC Encapsulation Header is:
[26571,204525731] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26571,204674882] The Returned buffer is:
[26571,204726357] <Buffer a2 04 08 8a 00 00>
[26571,205011467] Sending Read Packet SEQ 2
[26571,208623026] <Buffer 6f 00 18 00 0c f7 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
[26571,208935797] onResponse called with length 48
[26571,209198522] Valid EIP Data Response Received
[26571,209318325] Invalid response or response code in bytes 40-43.
[26571,209420503] Service not supported maybe? Bad path?
[26571,209530060] This can occur on power-up reconnection or missing PLC-ENI link using ENI.
[26571,209657916] <Buffer 6f 00 18 00 0c f7 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
[26574,205523050 172.17.227.246] PacketTimeout called with type read and seq 2
[26574,205903813 172.17.227.246] READ TIMEOUT on sequence number 2
[26574,206102363 172.17.227.246] ConnectionReset from read packet timeout.
[26574,206310317 172.17.227.246] ConnectionReset has been called to set the reset as pending
[26574,207315392 172.17.227.246] ReadResponse called
[26574,208449456 172.17.227.246] Timeout error - zero length packet
[26574,208663552 172.17.227.246] Read Time is 3 seconds and 5.2 ms.
[26574,208924102 172.17.227.246] Every packet done sending
[26574,210013098 172.17.227.246] Address F8:0 has value 0 and quality BAD 255
[26574,210342311 172.17.227.246] Calling reset from readResponse as there is one pending
[26574,210809652 172.17.227.246] ResetNOW is happening
[26574,210955447] Connection cleanup is happening
[26574,211147257 172.17.227.246] Clearing read PacketTimeouts
[26574,211286411 172.17.227.246] Clearing write PacketTimeouts
[26574,211696707 172.17.227.246]
[26574,211825185 172.17.227.246] Attempting to connect to host...
[26574,211937182 172.17.227.246] We are calling back our readDoneCallback.
[26574,212235856 172.17.227.246] Reading All Items (readAllItems was called)
[26574,212362971 172.17.227.246] Unable to read when not connected. Return bad values.
[26574,212484247 172.17.227.246] Calling SRP from RAI
[26574,212602324 172.17.227.246] SendReadPacket called
[26574,213013342] The A2 Returned Buffer is:
[26574,213126448] <Buffer a2 04 08 8a 00 00>
[26574,213402711] The returned buffer length is 6
[26574,213647874] The PCCC Encapsulation Header is:
[26574,213752284] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26574,213912318] The Returned buffer is:
[26574,214003666] <Buffer a2 04 08 8a 00 00>
[26574,214182878 172.17.227.246] Not Sending Read Packet because we are not connected - ISO CS is 1
[26574,214286465 172.17.227.246] Requesting PacketTimeout Due to ISO CS NOT 4 - READ SN 2
12 Jan 14:57:37 - [error] [pccc endpoint:b56461294fe29b50] Failure (Bad values)
[26574,216275178 172.17.227.246] PacketTimeout called with type read and seq 2
[26574,216401959 172.17.227.246] READ TIMEOUT on sequence number 2
[26574,216505385 172.17.227.246] ReadResponse called
[26574,216721676 172.17.227.246] Timeout error - zero length packet
[26574,216874096 172.17.227.246] Read Time is 0 seconds and 4.1 ms.
[26574,217020192 172.17.227.246] Every packet done sending
[26574,217218557 172.17.227.246] Address F8:0 has value 0 and quality BAD 255
[26574,217336649 172.17.227.246] We are calling back our readDoneCallback.
12 Jan 14:57:37 - [error] [pccc endpoint:b56461294fe29b50] Failure (Bad values)
[26574,218059634 172.17.227.246] TCP Connection Established to 172.17.227.246 on port 44818 - Will attempt EIP Connection
[26574,221653357 172.17.227.246] EIP Register Session Response Received - connection confirmed
[26574,221810016 172.17.227.246] Session Handle is 0x1002F80C
[26574,683854072 172.17.227.246] Timed reset has happened. Ideally this would never be called as reset should be completed when done r/w.
[26574,685509906 172.17.227.246] ResetNOW is happening
[26574,685803112 172.17.227.246] Clearing an earlier scheduled reset
[26575,201483335 172.17.227.246] Reading All Items (readAllItems was called)
[26575,201737941 172.17.227.246] Calling SRP from RAI
[26575,201840294 172.17.227.246] SendReadPacket called
[26575,202115983] The A2 Returned Buffer is:
[26575,202201884] <Buffer a2 04 08 8a 00 00>
[26575,202349361] The returned buffer length is 6
[26575,202432484] The PCCC Encapsulation Header is:
[26575,202498921] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26575,202607815] The Returned buffer is:
[26575,202674838] <Buffer a2 04 08 8a 00 00>
[26575,202977175] Sending Read Packet SEQ 2
[26575,205971536] <Buffer 6f 00 18 00 0c f8 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
[26575,206225774] onResponse called with length 48
[26575,206336942] Valid EIP Data Response Received
[26575,206430601] Invalid response or response code in bytes 40-43.
[26575,206511195] Service not supported maybe? Bad path?
[26575,206587452] This can occur on power-up reconnection or missing PLC-ENI link using ENI.
[26575,206673206] <Buffer 6f 00 18 00 0c f8 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
[26578,204096094 172.17.227.246] PacketTimeout called with type read and seq 2
[26578,204382012 172.17.227.246] READ TIMEOUT on sequence number 2
[26578,204610791 172.17.227.246] ConnectionReset from read packet timeout.
[26578,204977930 172.17.227.246] ConnectionReset has been called to set the reset as pending
[26578,205201750 172.17.227.246] ReadResponse called
[26578,205700297 172.17.227.246] Timeout error - zero length packet
[26578,205887231 172.17.227.246] Read Time is 3 seconds and 4 ms.
[26578,206148446 172.17.227.246] Every packet done sending
[26578,206372374 172.17.227.246] Address F8:0 has value 0 and quality BAD 255
[26578,206498634 172.17.227.246] Calling reset from readResponse as there is one pending
[26578,206928885 172.17.227.246] ResetNOW is happening
[26578,207046983] Connection cleanup is happening
[26578,207242039 172.17.227.246] Clearing read PacketTimeouts
[26578,207395734 172.17.227.246] Clearing write PacketTimeouts
[26578,207885487 172.17.227.246]
[26578,208001864 172.17.227.246] Attempting to connect to host...
[26578,208140278 172.17.227.246] We are calling back our readDoneCallback.
[26578,208288551 172.17.227.246] Reading All Items (readAllItems was called)
[26578,208429230 172.17.227.246] Unable to read when not connected. Return bad values.
[26578,208575969 172.17.227.246] Calling SRP from RAI
[26578,208697762 172.17.227.246] SendReadPacket called
[26578,209063738] The A2 Returned Buffer is:
[26578,209177299] <Buffer a2 04 08 8a 00 00>
[26578,209401771] The returned buffer length is 6
[26578,209603612] The PCCC Encapsulation Header is:
[26578,209725341] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26578,209922435] The Returned buffer is:
[26578,210056940] <Buffer a2 04 08 8a 00 00>
[26578,210289477 172.17.227.246] Not Sending Read Packet because we are not connected - ISO CS is 1
[26578,210416491 172.17.227.246] Requesting PacketTimeout Due to ISO CS NOT 4 - READ SN 2
12 Jan 14:57:41 - [error] [pccc endpoint:b56461294fe29b50] Failure (Bad values)
[26578,212804848 172.17.227.246] TCP Connection Established to 172.17.227.246 on port 44818 - Will attempt EIP Connection
[26578,213362095 172.17.227.246] PacketTimeout called with type read and seq 2
[26578,213514487 172.17.227.246] READ TIMEOUT on sequence number 2
[26578,213686715 172.17.227.246] ReadResponse called
[26578,213812563 172.17.227.246] Timeout error - zero length packet
[26578,213860585 172.17.227.246] Read Time is 0 seconds and 5 ms.
[26578,213932182 172.17.227.246] Every packet done sending
[26578,213999710 172.17.227.246] Address F8:0 has value 0 and quality BAD 255
[26578,214057907 172.17.227.246] We are calling back our readDoneCallback.
[26578,214121547 172.17.227.246] Reading All Items (readAllItems was called)
[26578,214176437 172.17.227.246] Unable to read when not connected. Return bad values.
[26578,214235381 172.17.227.246] Calling SRP from RAI
[26578,214290757 172.17.227.246] SendReadPacket called
[26578,214425778] The A2 Returned Buffer is:
[26578,214470812] <Buffer a2 04 08 8a 00 00>
[26578,214564288] The returned buffer length is 6
[26578,214626461] The PCCC Encapsulation Header is:
[26578,214682322] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26578,214770945] The Returned buffer is:
[26578,214821245] <Buffer a2 04 08 8a 00 00>
[26578,214912159 172.17.227.246] Not Sending Read Packet because we are not connected - ISO CS is 2
[26578,214967813 172.17.227.246] Requesting PacketTimeout Due to ISO CS NOT 4 - READ SN 2
12 Jan 14:57:41 - [error] [pccc endpoint:b56461294fe29b50] Failure (Bad values)
[26578,216477236 172.17.227.246] PacketTimeout called with type read and seq 2
[26578,216582583 172.17.227.246] READ TIMEOUT on sequence number 2
[26578,216654495 172.17.227.246] ReadResponse called
[26578,216792170 172.17.227.246] Timeout error - zero length packet
[26578,216849172 172.17.227.246] Read Time is 0 seconds and 2.5 ms.
[26578,216939174 172.17.227.246] Every packet done sending
[26578,217046932 172.17.227.246] Address F8:0 has value 0 and quality BAD 255
[26578,217098611 172.17.227.246] We are calling back our readDoneCallback.
12 Jan 14:57:41 - [error] [pccc endpoint:b56461294fe29b50] Failure (Bad values)
[26578,217501946 172.17.227.246] EIP Register Session Response Received - connection confirmed
[26578,217590086 172.17.227.246] Session Handle is 0x1002F90C
[26579,212890883 172.17.227.246] Reading All Items (readAllItems was called)
[26579,213229698 172.17.227.246] Calling SRP from RAI
[26579,213501217 172.17.227.246] SendReadPacket called
[26579,214119642] The A2 Returned Buffer is:
[26579,214300328] <Buffer a2 04 08 8a 00 00>
[26579,214707688] The returned buffer length is 6
[26579,214982217] The PCCC Encapsulation Header is:
[26579,215139477] <Buffer 4b 02 20 67 24 01 07 00 00 01 02 03 04 0f 00 12 34>
[26579,215360318] The Returned buffer is:
[26579,215486213] <Buffer a2 04 08 8a 00 00>
[26579,215936951] Sending Read Packet SEQ 2
[26579,218885154] <Buffer 6f 00 18 00 0c f9 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
[26579,219153022] onResponse called with length 48
[26579,219361157] Valid EIP Data Response Received
[26579,219557929] Invalid response or response code in bytes 40-43.
[26579,219708324] Service not supported maybe? Bad path?
[26579,219843821] This can occur on power-up reconnection or missing PLC-ENI link using ENI.
[26579,220003282] <Buffer 6f 00 18 00 0c f9 02 10 00 00 00 00 00 00 00 01 00 28 1e 4d 00 00 00 00 00 00 00 00 0a 00 02 00 00 00 00 00 b2 00 08 00 d2 00 01 01 15 03 01 00>
^C12 Jan 14:57:45 - [info] Stopping flows
[26581,554149927 172.17.227.246] We Caught a read/write error ECONNRESET - resetting connection
[26581,554388341 172.17.227.246] ConnectionReset has been called to set the reset as pending
[26581,554699252 172.17.227.246] ConnectionReset has been called to set the reset as pending

I've trolled through the internet to try and find a solution, however, I was unable to get it to work correctly.

Anyone out there have any suggestions?

@DAZ-NZ-Eng DAZ-NZ-Eng changed the title Controllogix V33 Failure (Bad values) Controllogix L71_V33 Failure (Bad values) Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant