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

Error code: 0x05 Device missed cyclic data deadline #585

Open
hudieka opened this issue Jun 20, 2024 · 0 comments
Open

Error code: 0x05 Device missed cyclic data deadline #585

hudieka opened this issue Jun 20, 2024 · 0 comments

Comments

@hudieka
Copy link

hudieka commented Jun 20, 2024

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

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