homing macro
Moderator: cnckeith
-
- Posts: 71
- Joined: Wed Jan 25, 2023 11:53 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: No
- CNC11: No
- CPU10 or CPU7: No
homing macro
I have my homing working but it sets the zero just off the limit switch. I was hoping I could put an offset in as my table corner is +.62X and +1.35 Y. I know I can jog it over to those and do the f1 f10 to set it but would just like to remove that step
-
- Posts: 353
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: homing macro
Mine looks like the below. It shows the moves and then the M26 to set home there. Open your home file and find this area. You can adjust yours for your needs. Make sure you check that you have a custom home file or the wizard will wipe it out. Save copies before and after. There might be other ways others will offer, but this works. I also change the reset home to the same info.
M92/Z L1
G91 G1 z-.18 F100
M26/Z
M91/Y L1
G91 G1 Y.6 F200
M26/Y
M91/X L1
G91 G1 X1.34 F200
M26/X
M92/Z L1
G91 G1 z-.18 F100
M26/Z
M91/Y L1
G91 G1 Y.6 F200
M26/Y
M91/X L1
G91 G1 X1.34 F200
M26/X
Ken
-
- Posts: 2234
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: homing macro
My ShopSabre plasma table homes a few inches outside the water table and I have a move to get the torch back to "work" 0,0 inside the water table. You can simply add this one line at the end of your homing macro:
G53 X.62Y1.35
If you wan to reset the DRO add this line to the very end:
G92 X0 Y0 Z0
Don't forget to tell CNC12 that you now have a custom homing macro and NOT to overwrite it. There's a setting in the wizard.
G53 X.62Y1.35
If you wan to reset the DRO add this line to the very end:
G92 X0 Y0 Z0
Don't forget to tell CNC12 that you now have a custom homing macro and NOT to overwrite it. There's a setting in the wizard.