refClockSyncCycles="-1", I got Messages.
- tar_san
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 2
29 Dec 2025 10:35 #340645
by tar_san
Replied by tar_san on topic refClockSyncCycles="-1", I got Messages.
I found lot of messages
"Failed to get reference clock time: Input/output error"
in LinuxCNC Console
when I set "refClockSyncCycles="-1" to EtherCat Master configuration.
But if I set refClockSyncCycles="1", I could not see such messages.
I attached
refClockSyncCyclesMinus1.linuxcnc.txt (LinuxCNC Console Log)
refClockSyncCyclesMinus1.dmesg.txt (dmesg Log)
when I execute with "refClockSyncCycles="-1"
And also, for reference, I attached
refClockSyncCycles1.linuxcnc.txt (LinuxCNC Console Log)
refClockSyncCycles1.dmesg.txt (dmesg Log)
when I execute with "refClockSyncCycles="1"
"Failed to get reference clock time: Input/output error"
in LinuxCNC Console
when I set "refClockSyncCycles="-1" to EtherCat Master configuration.
But if I set refClockSyncCycles="1", I could not see such messages.
I attached
refClockSyncCyclesMinus1.linuxcnc.txt (LinuxCNC Console Log)
refClockSyncCyclesMinus1.dmesg.txt (dmesg Log)
when I execute with "refClockSyncCycles="-1"
And also, for reference, I attached
refClockSyncCycles1.linuxcnc.txt (LinuxCNC Console Log)
refClockSyncCycles1.dmesg.txt (dmesg Log)
when I execute with "refClockSyncCycles="1"
Please Log in or Create an account to join the conversation.
- grandixximo
-
- Offline
- Premium Member
-
Less
More
- Posts: 141
- Thank you received: 232
29 Dec 2025 14:39 #340659
by grandixximo
Replied by grandixximo on topic refClockSyncCycles="-1", I got Messages.
github.com/linuxcnc-ethercat/linuxcnc-ethercat/pull/461
There is a bug in the linuxcnc-erhercat if you just set the negative option
There is a bug in the linuxcnc-erhercat if you just set the negative option
The following user(s) said Thank You: tar_san
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1195
- Thank you received: 422
29 Dec 2025 17:28 - 29 Dec 2025 17:39 #340666
by Hakan
Replied by Hakan on topic refClockSyncCycles="-1", I got Messages.
The problem is most likely related to the issue with LWR and LRD/LRW modes that was discussed earlier.
You must at least get that fixed before you can rely on that error message.
automata has a solution. You cannot run lcec with those drives. automata attached
the code for another component to use with the Yaskawa drive.
attached as C file with a Makefile. Download and compile the code.
Use it as a component in hal.
I know it can be a handful to do this, I would foresee some experimentation to get this right.
Edit: I looked in the code and that isn't a ready-to-use component.
There is a lot of work needed to get this to work.
Frankly tar_san, I understood you have the drives on lone for evaluation, right?
Do yourself a favor and return them and get some other servo drives.
I can not spend that much time in getting this going. Hopefully someone else can.
You must at least get that fixed before you can rely on that error message.
automata has a solution. You cannot run lcec with those drives. automata attached
the code for another component to use with the Yaskawa drive.
attached as C file with a Makefile. Download and compile the code.
Use it as a component in hal.
I know it can be a handful to do this, I would foresee some experimentation to get this right.
Edit: I looked in the code and that isn't a ready-to-use component.
There is a lot of work needed to get this to work.
Frankly tar_san, I understood you have the drives on lone for evaluation, right?
Do yourself a favor and return them and get some other servo drives.
I can not spend that much time in getting this going. Hopefully someone else can.
Last edit: 29 Dec 2025 17:39 by Hakan.
The following user(s) said Thank You: tar_san
Please Log in or Create an account to join the conversation.
- automata
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 75
29 Dec 2025 19:27 #340673
by automata
Replied by automata on topic EtherCAT master xml file for Yaskawa Sigma Servo motor?
Hi Hakan,
I have been able to wedge the double domain stuff into lcec_main.c and got a single yaskawa drive working with lcec_generic
For now I have made the double domain an option for the master. But I still need to check how to make it work only for yaskawa slave without affecting the other non-yaskawa slaves.
I'll try to wiggle that option into only the needed syncmanager or the required pdos.
Unlike fdarling, I did not need to disable fsoe part. So that part is good.
Will post more updates towards the end of the week.
-automata
I have been able to wedge the double domain stuff into lcec_main.c and got a single yaskawa drive working with lcec_generic
For now I have made the double domain an option for the master. But I still need to check how to make it work only for yaskawa slave without affecting the other non-yaskawa slaves.
I'll try to wiggle that option into only the needed syncmanager or the required pdos.
Unlike fdarling, I did not need to disable fsoe part. So that part is good.
Will post more updates towards the end of the week.
-automata
The following user(s) said Thank You: rodw, Hakan, tar_san
Please Log in or Create an account to join the conversation.
- tar_san
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 2
30 Dec 2025 12:55 - 30 Dec 2025 13:14 #340710
by tar_san
Replied by tar_san on topic refClockSyncCycles="-1", I got Messages.
Thanks everyone.
Now I can make Yaskawa Sigma X OP state and jog move from LinuxCNC stably. ( Just did EoE disabled. )
Slave : SGDXS-xxxxA0x EtherCAT(CoE) SERVOPACK Rev02.09
According to the specification on Web, ( www.e-mechatronics.com/product/servo/sgm...c/xs_ether/spec.html)
LRD, LWR and LRW seem to be supported. (attached image)
But Sorry, I'm not familier with this problem.
Which configuration seems to be better in this situation?
refClockSyncCycles="-1" , with messages "Failed to get reference clock time: Input/output error"
refClockSyncCycles="1" no messages
Should I check some error from log?
Now I can make Yaskawa Sigma X OP state and jog move from LinuxCNC stably. ( Just did EoE disabled. )
Slave : SGDXS-xxxxA0x EtherCAT(CoE) SERVOPACK Rev02.09
According to the specification on Web, ( www.e-mechatronics.com/product/servo/sgm...c/xs_ether/spec.html)
LRD, LWR and LRW seem to be supported. (attached image)
But Sorry, I'm not familier with this problem.
Which configuration seems to be better in this situation?
refClockSyncCycles="-1" , with messages "Failed to get reference clock time: Input/output error"
refClockSyncCycles="1" no messages
Should I check some error from log?
Attachments:
Last edit: 30 Dec 2025 13:14 by tar_san.
Please Log in or Create an account to join the conversation.
- grandixximo
-
- Offline
- Premium Member
-
Less
More
- Posts: 141
- Thank you received: 232
30 Dec 2025 13:39 #340711
by grandixximo
Replied by grandixximo on topic refClockSyncCycles="-1", I got Messages.
+1 if you have good latency
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1195
- Thank you received: 422
30 Dec 2025 14:06 - 30 Dec 2025 14:07 #340712
by Hakan
Replied by Hakan on topic refClockSyncCycles="-1", I got Messages.
Ok, well that went over my head. Was so focused on the LWR issue.
You need to get rid of most of the "UNMATCHED" messages in the syslog.
"UNMATCHED " are usually caused by bad latency or very commonly by using RealTek network adapters.
If you have a Realtek network adapter, you should install the r8152-dkms or r8168-dkms driver via apt.
Can you show the output of "lspci -k"? Only the network interfaces are of interest.
You need to get rid of most of the "UNMATCHED" messages in the syslog.
"UNMATCHED " are usually caused by bad latency or very commonly by using RealTek network adapters.
If you have a Realtek network adapter, you should install the r8152-dkms or r8168-dkms driver via apt.
Can you show the output of "lspci -k"? Only the network interfaces are of interest.
Last edit: 30 Dec 2025 14:07 by Hakan.
Please Log in or Create an account to join the conversation.
- tar_san
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 2
31 Dec 2025 09:47 #340763
by tar_san
Replied by tar_san on topic refClockSyncCycles="-1", I got Messages.
Thank you so much.
I had been using N100 PC (or such Atom CPU ) for CNC machine, but this time, I installed LinuxCNC to Dell small PC ( 4 core i5 CPU ) just because of having smaller latency and more CPU power.
I have attached lspci - k output.
I had been using N100 PC (or such Atom CPU ) for CNC machine, but this time, I installed LinuxCNC to Dell small PC ( 4 core i5 CPU ) just because of having smaller latency and more CPU power.
I have attached lspci - k output.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1195
- Thank you received: 422
31 Dec 2025 10:56 #340765
by Hakan
Replied by Hakan on topic refClockSyncCycles="-1", I got Messages.
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- grandixximo
-
- Offline
- Premium Member
-
Less
More
- Posts: 141
- Thank you received: 232
21 Jan 2026 22:06 #341670
by grandixximo
Replied by grandixximo on topic EtherCAT master xml file for Yaskawa Sigma Servo motor?
Did you build ehtercat yourself?
My two cents, don't use the official build, make one yourself with disable EoE disabled, and use good shielded cables.
My two cents, don't use the official build, make one yourself with disable EoE disabled, and use good shielded cables.
The following user(s) said Thank You: endian, tar_san
Please Log in or Create an account to join the conversation.
Time to create page: 0.220 seconds