Homing lichuan

More
1 year 11 months ago #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

 

Attachment not found


 

Attachment not found

Please Log in to join the conversation.

More
1 year 11 months ago #313700 by Aciera
Replied by Aciera on topic Homing lichuan
Code:
# 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?

Please Log in to join the conversation.

More
1 year 11 months ago #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

Please Log in to join the conversation.

More
1 year 11 months ago #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.

Please Log in to join the conversation.

More
1 year 11 months ago #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:
Code:
linuxcnc

Please Log in to join the conversation.

More
1 year 11 months ago #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.

Please Log in to join the conversation.

More
1 year 11 months ago #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.

Please Log in to join the conversation.

More
1 year 11 months ago #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 to join the conversation.

More
1 year 11 months ago #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).

Please Log in to join the conversation.

Time to create page: 0.144 seconds
Powered by Kunena Forum