Homing lichuan
03 Nov 2024 04:27 #313696
by jadid
Homing lichuan was created by jadid
Hello,
I try to homing lichuan stepper with ethercat with no-luck. I follow this : github.com/rodw-au/cia402_homecomp & github.com/marcoreps/linuxcnc_leadshine_EL8 I can move / jog the motor, but if home button pressed, nothing happen on the motor.
Please check hal & xml file.
Regards,
Jadid
I try to homing lichuan stepper with ethercat with no-luck. I follow this : github.com/rodw-au/cia402_homecomp & github.com/marcoreps/linuxcnc_leadshine_EL8 I can move / jog the motor, but if home button pressed, nothing happen on the motor.
Please check hal & xml file.
Regards,
Jadid
Attachments:
Please Log in or Create an account to join the conversation.
03 Nov 2024 05:53 - 03 Nov 2024 05:54 #313700
by Aciera
If you are following Rods method why are you not using his 'cia402_homecomp.comp' he describes on his page?
Replied by Aciera on topic Homing lichuan
# homing
setp joint.0.request-custom-homing true
net x-home-request joint.0.custom-homing-is-requested => cia402.0.home
#net x-home-request joint.0.request-custom-homing => cia402.0.home
net x-homing joint.0.is-custom-homing <= cia402.0.stat-homing
net x-homed joint.0.custom-homing-finished <= cia402.0.stat-homed
If you are following Rods method why are you not using his 'cia402_homecomp.comp' he describes on his page?
Last edit: 03 Nov 2024 05:54 by Aciera.
Please Log in or Create an account to join the conversation.
03 Nov 2024 09:44 #313703
by jadid
Replied by jadid on topic Homing lichuan
if I use cia402_homecomp, I got following error during lcnc start :
parameter or pin 'joint.0.request-custom-homing' not found
parameter or pin 'joint.0.request-custom-homing' not found
Please Log in or Create an account to join the conversation.
03 Nov 2024 10:11 #313705
by jadid
Replied by jadid on topic Homing lichuan
I can solve above error by changing to :
#net x-home-request joint.0.request-cia402-homing => cia402.0.home
setp joint.0.request-cia402-homing true
net x-homing joint.0.is-cia402-homing <= cia402.0.stat-homing
net x-homed joint.0.cia402-homing-finished <= cia402.0.stat-homed
but the motor still not move.
#net x-home-request joint.0.request-cia402-homing => cia402.0.home
setp joint.0.request-cia402-homing true
net x-homing joint.0.is-cia402-homing <= cia402.0.stat-homing
net x-homed joint.0.cia402-homing-finished <= cia402.0.stat-homed
but the motor still not move.
Please Log in or Create an account to join the conversation.
03 Nov 2024 12:30 #313713
by Aciera
Replied by Aciera on topic Homing lichuan
1. Open the 'show halconfiguration' tool and check if the 'cia402_homecomp' component and its pins have been created.
2. Start linuxcnc from a terminal, select your config and check for errors:
2. Start linuxcnc from a terminal, select your config and check for errors:
linuxcnc
Please Log in or Create an account to join the conversation.
04 Nov 2024 03:37 #313741
by jadid
Replied by jadid on topic Homing lichuan
Using Marco custom-homing, got this following hal-show, but motor didn't move.
You can see that opmode already change from 8 to 6.
You can see that opmode already change from 8 to 6.
Please Log in or Create an account to join the conversation.
04 Nov 2024 08:14 #313748
by jadid
Replied by jadid on topic Homing lichuan
Aciera,
I also try to follow your explanation here : forum.linuxcnc.org/ethercat/52968-help-n...oming-setup?start=30
I got : "waiting for joint 0 to finish homing ...", but motor not move.
Thx.
I also try to follow your explanation here : forum.linuxcnc.org/ethercat/52968-help-n...oming-setup?start=30
I got : "waiting for joint 0 to finish homing ...", but motor not move.
Thx.
Please Log in or Create an account to join the conversation.
04 Nov 2024 15:07 #313759
by Aciera
Replied by Aciera on topic Homing lichuan
I'm afraid jumping between different configs is not going to make things easier. Either follow Rods method or Marcoreps then post your hal and ini files and make a screenshot of the relevant hal pins from the 'show halconfiguration' tool (those will be different depending on which method you chose).
Please Log in or Create an account to join the conversation.
06 Nov 2024 05:37 #313872
by jadid
Replied by jadid on topic Homing lichuan
Aciera,
I see this only happen with lichuan-stepper (CL3-E57H). The same setup can do drive-homing for lichuan-servo (LC20E).
I see this only happen with lichuan-stepper (CL3-E57H). The same setup can do drive-homing for lichuan-servo (LC20E).
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds