Homing A axis
Moderator: cnckeith
-
- Posts: 118
- 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
How do I set the rotation axis to G53 A0 when the home switch is at 10,731 degrees in cncm.hom?
Re: Homing A axis
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.
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.
-
- Posts: 118
- 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
Thanks, that's how it worked. I tried the one from the Cnc12 manual with the L command and the encoder value and failed.