axis index error,Z motor rotates when jog moving X......
11 Apr 2024 03:49 #297983
by PeakWang
axis index error,Z motor rotates when jog moving X...... was created by PeakWang
LinuxCNC+3 sets of EtherCAT servo
now I met an issue: axis index error
I installed the EtherCAT servo from X to Z in EtherCAT topology, but when I jog moving X axis, Z motor rotates, jog moving Z axis, X motor rotates
I checked the XXX.ini, XXX.hal and XXX.xml, can't found the reason, can you advice me how to solve it?
now I met an issue: axis index error
I installed the EtherCAT servo from X to Z in EtherCAT topology, but when I jog moving X axis, Z motor rotates, jog moving Z axis, X motor rotates
I checked the XXX.ini, XXX.hal and XXX.xml, can't found the reason, can you advice me how to solve it?
Please Log in or Create an account to join the conversation.
11 Apr 2024 04:30 #297986
by rodw
Replied by rodw on topic axis index error,Z motor rotates when jog moving X......
Sounds like your physical wiring is mixed up. Just debug one slve at a time.
You could try changing your ini file to
COORDINATES = ZYX
You could try changing your ini file to
COORDINATES = ZYX
Please Log in or Create an account to join the conversation.
11 Apr 2024 13:53 #297999
by PeakWang
Replied by PeakWang on topic axis index error,Z motor rotates when jog moving X......
Thank you for your timely reply.
Yes, my mistake, it is physical wiring issue.
I use Xinje Ethercat servo(Type: DS5C1K-20P4-PTA), its IN port on the down side while OUT port on the up side. I regarded upside port(OUT port) as IN port wrongly, it works in weird ways.
besides, I also changed the COORDINATES as your said, but there is not any differences before and after i correct the wiring, XZ axis not swaps.
XXX.ini file
[TRAJ]
COORDINATES = X Y Z or Z Y X
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
Yes, my mistake, it is physical wiring issue.
I use Xinje Ethercat servo(Type: DS5C1K-20P4-PTA), its IN port on the down side while OUT port on the up side. I regarded upside port(OUT port) as IN port wrongly, it works in weird ways.
besides, I also changed the COORDINATES as your said, but there is not any differences before and after i correct the wiring, XZ axis not swaps.
XXX.ini file
[TRAJ]
COORDINATES = X Y Z or Z Y X
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds