- Posts: 31
- Thank you received: 4
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The issues the AI found are not issues,I have the same issue as TAKUYA, the dc-phased pin never goes high. I managed to fix this using Claude AI and now the dc-phased pin goes high. I have attached a detailed notes of what was changed in the code as well as some screenshots from before and after.
NOTE: this was done entirely with the help of AI and I am not qualified enough to say whether it is correct or not! Grandixximo, could you please review the notes and share your thoughts? Opening the attached HTML file in a browser, you can view the notes which were generated. It is too long to copy-paste here.
EDIT: After testing the code more thoroughly, I'm getting jitter again. It's very likely that the AI's "fix" only addressed the dc-phased pin but broke something else... I've reverted back to the master branch ( github.com/grandixximo/linuxcnc-ethercat ), and everything is working again except for the dc-phased pin.
Please Log in or Create an account to join the conversation.
This seems a similar issue, please share your XML fileExperienced some jitter as well today while running grandixximo's fork. I doubt there is any synchronization being done while the dc-phased pin is false and all pll-*** pins are 0. Ran sudo dmesg to see what is happening in the background. Maybe someone can notice something clear in the log:
During startup:
[ 801.691210] EtherCAT: Requesting master 0...
[ 801.691215] EtherCAT: Successfully requested master 0.
[ 801.691915] EtherCAT 0: Domain0: Logical address 0x00000000, 74 byte, expected working counter 12.
[ 801.691918] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 74 byte, type LRW.
[ 801.691932] EtherCAT 0: Master thread exited.
[ 801.691933] EtherCAT 0: Starting EtherCAT-OP thread.
[ 801.691970] EtherCAT WARNING 0: 1 datagram UNMATCHED!
During operation:
[ 807.424674] EtherCAT WARNING 0-1: Slave did not sync after 5000 ms.
[ 808.944250] EtherCAT 0: Slave states on main device: OP.
During shutdown:
[ 841.183382] EtherCAT 0: Master thread exited.
[ 841.183401] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 841.183449] EtherCAT ERROR 0-0: Failed to receive AL state datagram: Datagram initialized.
[ 841.183462] EtherCAT 0: Releasing master...
[ 841.183464] EtherCAT 0: Released.
[ 841.188247] EtherCAT 0: Slave states on main device: SAFEOP, OP + ERROR.
[ 841.196539] EtherCAT ERROR 0-0: AL status message 0x001A: "Synchronization error".
[ 841.197317] EtherCAT 0-0: Acknowledged state SAFEOP.
[ 841.208612] EtherCAT ERROR 0-1: AL status message 0x001A: "Synchronization error".
[ 841.209116] EtherCAT 0-1: Acknowledged state SAFEOP.
[ 841.220587] EtherCAT ERROR 0-2: AL status message 0x001A: "Synchronization error".
[ 841.221590] EtherCAT 0-2: Acknowledged state SAFEOP.
[ 841.256274] EtherCAT 0: Slave states on main device: PREOP.
[ 841.828318] EtherCAT WARNING: Datagram 0000000031def7fe (master-fsm) was SKIPPED 1 time.
Please Log in or Create an account to join the conversation.