p-net icon indicating copy to clipboard operation
p-net copied to clipboard

Error code: 0x05 Device missed cyclic data deadline

Open hudieka opened this issue 1 year ago • 0 comments

I used two raspberries, one is the PLC, and the other one is the Device. I found the input from the buttons file can work fine, but the output to pnet_led_1.txt would reset the connection. Here is the log, the Error code: 0x05. Could you tell me how to fix it? Thanks a lot.


PLC connect indication. AREP: 1 Event indication PNET_EVENT_STARTUP AREP: 1 PLC write record indication. AREP: 1 API: 0 Slot: 1 Subslot: 1 Index: 123 Sequence: 2 Length: 4 Writing parameter "Demo 1" Bytes: 00 00 00 01 PLC write record indication. AREP: 1 API: 0 Slot: 1 Subslot: 1 Index: 124 Sequence: 3 Length: 4 Writing parameter "Demo 2" Bytes: 00 00 00 02 PLC dcontrol message (The PLC is done with parameter writing). AREP: 1 Command: PRM_END Event indication PNET_EVENT_PRMEND AREP: 1 Set initial input data and IOPS for slot 0 subslot 1 IOXS_GOOD size 0 "DAP Identity 1" Set initial input data and IOPS for slot 0 subslot 32768 IOXS_GOOD size 0 "DAP Interface 1" Set initial input data and IOPS for slot 0 subslot 32769 IOXS_GOOD size 0 "DAP Port 1" Set initial input data and IOPS for slot 1 subslot 1 IOXS_GOOD size 1 "Digital Input/Output" Set initial output IOCS for slot 1 subslot 1 IOXS_GOOD "Digital Input/Output" Application will signal that it is ready for data, for AREP 1. Event indication PNET_EVENT_APPLRDY AREP: 1 PLC ccontrol message confirmation (The PLC has received our Application Ready message). AREP: 1 Status codes: 0 0 0 0 Data status indication. AREP: 1 Data status changes: 0x35 Data status: 0x35 Run, Valid, Primary, Normal operation, Evaluate data status Event indication PNET_EVENT_DATA AREP: 1 Cyclic data transmission started

Event indication PNET_EVENT_ABORT AREP: 1 Error class: 0xfd Real-Time Acyclic Protocol Error code: 0x05 Device missed cyclic data deadline, device terminated AR Setting outputs to default values. Connection (AREP 1) closed PLC connect indication. AREP: 1 Event indication PNET_EVENT_STARTUP AREP: 1 PLC write record indication. AREP: 1 API: 0 Slot: 1 Subslot: 1 Index: 123 Sequence: 2 Length: 4 Writing parameter "Demo 1" Bytes: 00 00 00 01 PLC write record indication. AREP: 1 API: 0 Slot: 1 Subslot: 1 Index: 124 Sequence: 3 Length: 4 Writing parameter "Demo 2" Bytes: 00 00 00 02 PLC dcontrol message (The PLC is done with parameter writing). AREP: 1 Command: PRM_END Event indication PNET_EVENT_PRMEND AREP: 1 Set initial input data and IOPS for slot 0 subslot 1 IOXS_GOOD size 0 "DAP Identity 1" Set initial input data and IOPS for slot 0 subslot 32768 IOXS_GOOD size 0 "DAP Interface 1" Set initial input data and IOPS for slot 0 subslot 32769 IOXS_GOOD size 0 "DAP Port 1" Set initial input data and IOPS for slot 1 subslot 1 IOXS_GOOD size 1 "Digital Input/Output" Set initial output IOCS for slot 1 subslot 1 IOXS_GOOD "Digital Input/Output" Application will signal that it is ready for data, for AREP 1. Event indication PNET_EVENT_APPLRDY AREP: 1 PLC ccontrol message confirmation (The PLC has received our Application Ready message). AREP: 1 Status codes: 0 0 0 0 Data status indication. AREP: 1 Data status changes: 0x35 Data status: 0x35 Run, Valid, Primary, Normal operation, Evaluate data status Event indication PNET_EVENT_DATA AREP: 1 Cyclic data transmission started

Event indication PNET_EVENT_ABORT AREP: 1 Error class: 0xfd Real-Time Acyclic Protocol Error code: 0x05 Device missed cyclic data deadline, device terminated AR Setting outputs to default values. Connection (AREP 1) closed

hudieka avatar Jun 20 '24 02:06 hudieka