- Posts: 19311
- Thank you received: 4655
NoJo wrote: This becomes tricky, or at least as I understand it. Would simply re-homing not clear the C_Axis DRO to zero?
If so , that would lose the historical position of the C axis when re-entering C_Axis mode - would that matter?
How do I set this up?[/quote]Firstly, the machine would probably need to be configured to start up in C-axis mode, and with the C-axis as part of the homing sequence.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
RBC wrote: Is it possible to use any programming statements in these M101 files.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
andypugh wrote:
This might actually be possible...
Firstly, the machine would probably need to be configured to start up in C-axis mode, and with the C-axis as part of the homing sequence.
The C axis should then be configured in the INI with HOME_USE_INDEX = 1 , HOME_SEARCH_VELOCITY = 0 and HOME_LATCH_VELOCITY = 100 (or some suitable number)
Then connect joint.2.index-enable to the encoder index-enable
Not sure how to do this - where/what is 'encoder index-enable' ?
Remove the "setp index-enable" line from the M100 script. Instead use:Code:halcmd setp halui.joint.2.unhome 1 sleep 1 halcmd setp halui.joint.2.unhome 0 halcmd setp joint.2.home 1 sleep 1 halcmd setp joint.2.home 0
Please Log in or Create an account to join the conversation.
RBC wrote: I need to poll for stepgen velocity=0 before executing position-reset so I dont get the following errors.
Is this something I can do?
Please Log in or Create an account to join the conversation.