Homing A axis

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Homing A axis

Post by Houseman303 »

How do I set the rotation axis to G53 A0 when the home switch is at 10,731 degrees in cncm.hom?
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: Homing A axis

Post by cncsnw »

If you mean to ask, "how can I make the current position of the A axis become machine zero", the answer is "M26/A"

If you mean to ask, "how can I make a position that is -10.731 degrees away from the current position become machine zero (so that the current position shows as A+10.731)", then the least confusing answer is to move that distance (e.g. "G0 G91 A-10.731") then do "M26/A" after it gets there.

There is also a variant of M26 that lets you set the axis to a non-zero position, but it uses encoder counts, so you have to roll your counts/degree value into the code. That tends to be more confusing to readers.
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Re: Homing A axis

Post by Houseman303 »

Thanks, that's how it worked. I tried the one from the Cnc12 manual with the L command and the encoder value and failed.
Post Reply