Spindle orientation
- Sternfox
- Away
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 4
02 Mar 2025 13:57 #323015
by Sternfox
Spindle orientation was created by Sternfox
Hi gang, So as the title suggests I'm wanting to know the best way to orient my spindle. My spindle motor is controlled by step/dir (its a giant ac servo)it has DI and OUT for spindle orient start, spindle orient complete as well as encoder out. how would this best be implemented into linuxcnc? I'm trying to use the least amount of io as I can (I'm running out) Thanks
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23218
- Thank you received: 4895
04 Mar 2025 16:13 #323154
by andypugh
Replied by andypugh on topic Spindle orientation
Does orienting the spindle motor work to orient the spindle? (If it's not an exact 1:1 drive ratio then it won't)
What does the motor orient to? Is there a programmable alignment offset?
You say you are running out of IO. Is this because you are using a parallel port?
What does the motor orient to? Is there a programmable alignment offset?
You say you are running out of IO. Is this because you are using a parallel port?
Please Log in or Create an account to join the conversation.
- Sternfox
- Away
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 4
04 Mar 2025 16:42 - 04 Mar 2025 16:48 #323159
by Sternfox
Replied by Sternfox on topic Spindle orientation
i have nothing working as yet, the ratio is 1:1
this is what i have tried.
# Spindle Orient Command from LinuxCNC to the driver
net spindle-orient motion.spindle-orient => hm2_7i95.0.ssr.00.out-05
# Spindle Orient Complete feedback from the spindle driver
net spindle-orient-done hm2_7i95.0.inmux.00.input-06 => motion.spindle-orient.is-oriented
just to clarify my spindle driver has inputs and outputs for orient start and orient completed
this is what i have tried.
# Spindle Orient Command from LinuxCNC to the driver
net spindle-orient motion.spindle-orient => hm2_7i95.0.ssr.00.out-05
# Spindle Orient Complete feedback from the spindle driver
net spindle-orient-done hm2_7i95.0.inmux.00.input-06 => motion.spindle-orient.is-oriented
just to clarify my spindle driver has inputs and outputs for orient start and orient completed
Last edit: 04 Mar 2025 16:48 by Sternfox. Reason: added more info
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 350
- Thank you received: 42
04 Mar 2025 17:08 #323160
by COFHAL
Replied by COFHAL on topic Spindle orientation
Please try this configuration to orient with servo step/dir, it works for me.
Attachments:
Please Log in or Create an account to join the conversation.
- Sternfox
- Away
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 4
05 Mar 2025 13:52 #323266
by Sternfox
Replied by Sternfox on topic Spindle orientation
Thanks for the reply, I managed to get it to work with just two hal commands, my spindle and driver have inputs and outputs for doing this without using the encoder through linuxcnc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.149 seconds