Howto homing joint with halcmd or G-code?
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
13 May 2021 18:38 - 13 May 2021 18:38 #208748
by chris@cnc
Howto homing joint with halcmd or G-code? was created by chris@cnc
Hello
I want to switch the servo on my 4th axis between speed and POS control.
I turn off the encoder for speed mode.
And switch on again for Pos mode.
After switch on again i have to go reference
I wanted do itbut it does`t be allowed.
How can I reference the axis automatically?
Thanks for help
Chris
I want to switch the servo on my 4th axis between speed and POS control.
I turn off the encoder for speed mode.
And switch on again for Pos mode.
After switch on again i have to go reference
I wanted do it
halcmd setp joint.5.homing 1
<commandline>: 0: pin 'joint.5.homing' is not writable
How can I reference the axis automatically?
Thanks for help
Chris
Last edit: 13 May 2021 18:38 by chris@cnc.
Please Log in or Create an account to join the conversation.
- aleksamc
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
15 May 2021 05:44 #208891
by aleksamc
Replied by aleksamc on topic Howto homing joint with halcmd or G-code?
I think you should use HALUI interface.
Pins:
- halui.joint.N.unhome
- halui.joint.N.home
- halui.joint.N.is-homed
Should work
Pins:
- halui.joint.N.unhome
- halui.joint.N.home
- halui.joint.N.is-homed
Should work
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
15 May 2021 20:58 - 15 May 2021 21:03 #208976
by chris@cnc
Replied by chris@cnc on topic Howto homing joint with halcmd or G-code?
I have made
halcmd setp halui.joint.5.home 1
now comes the message zero return only in joint mode possible.
Howto enable this?
halcmd setp halui.joint.5.home 1
now comes the message zero return only in joint mode possible.
Howto enable this?
Last edit: 15 May 2021 21:03 by chris@cnc.
Please Log in or Create an account to join the conversation.
- aleksamc
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
17 May 2021 07:12 #209197
by aleksamc
Replied by aleksamc on topic Howto homing joint with halcmd or G-code?
I could guess that now you are at speed mode of coordinate. Check in what mode you are and try to change this mode to joint.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds