- Posts: 4819
- Thank you received: 2177
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The caxis.com looking always with lathe eyes. What happens if you have a milling machine with toolspindle and A or C axis and want turning? Then we have two spindles and the story begins new. I think first step should be teaching lincnc that round axis only count max. 360° and second step supported rehoming. But i take a look in the homing.c and closed it. Behind my mind...
What do think about this idea? And is there someone who can do it?
Please Log in or Create an account to join the conversation.
Thanks for this hint. I see now the option "WRAPPED_ROTARY = 1"
LCNC is already capable of treating a rotary axis as only having 0-359.999 degrees. See the [AXIS] section of the INI file help document.
The Same should be possible on a lathe c axis. The "drive-index signal" can touch the halui.joint.3.home and hm2***encoder.reset and then switch axis to closed loop and joint mode.
Regarding A-axis homing/rehoming:
My mill has an A-axis driven by a servo, open-loop to LCNC. I'm using the drive's internal home-to-index function through a couple of IO pins:
LCNC->Drive
start homing
Drive->LCNC
homing complete
alarm
My particular drive doesn't require an 'unhome' signal before homing a second (or more) time. So my "Home-A" button (macro) outputs:
halui.joint.3.unhome (unhomes A)
(slight pause)
halui.joint.3.home (LCNC immediately sets DRO to 0.000)
start homing (via motion.digital-out)
wait for homing complete (via motion.digital-in)
if complete w/in time permitted - macro is done
if fails to get complete signal
alarm
unhome joint
Please Log in or Create an account to join the conversation.