Acorn HomeALL

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
carocad
Posts: 16
Joined: Fri Jun 11, 2021 2:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Acorn HomeALL

Post by carocad »

Hello, I need help with acorn homing.
axis will still rotate after home switch it triggered

this is a acorn installation using HomeAll, limit switched connected in series to Input1, and to -X -Y +Z
all switched are tested and the Input1 is normally GREEN and turns RED when triggered

I use the Wizard to create the cnc.home file.
and i got this....
N100 ;Check for open home switch
IF !#[50000 + #9822] THEN M225 #100 "HomeAll switch tripped!!!\nPlease clear before Homing.\n\nPress Cycle Cancel to end Homing"
IF !#[50000 + #9822] THEN GOTO 100

;Disable all limits
M94 /101 /102 /103 /104

;Perform Homing commands
M92/Z L1
M26/Z
M91/Y L1
M26/Y
M91/X L1
M26/X

;Enable all limits
M95 /101 /102 /103 /104

When I run the home routine the axis (XYZ) continues to move, BUT i see Input1 RED as soon as the limit switch is triggered.

Thank you for all your help.
Attachments
report_E06234798DE1-0617226343_2022-11-09_13-25-20.zip
(803.43 KiB) Downloaded 4 times


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Acorn HomeALL

Post by cnckeith »

what type of home switches are being used?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


carocad
Posts: 16
Joined: Fri Jun 11, 2021 2:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Acorn HomeALL

Post by carocad »

cnckeith, this is a Gerber Sabre retrofit, the limit switches are some king of magnetic 2 wire devices.
there is a metal flat piece that fits inside the sensor and it stays tripped until you back up from the sensor.

i have reduce the slow jog to 5 an Z and Y and i am now able to home all 3 axis.
is there a way to code the feed rate for homing?

i understand the sensors might not be the best fit, I will most probably replace X and Y with mechanical switches, but Z is a bit of a pain as it is mounted inside in between 3 aluminum plates.

thank you for your help


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Acorn HomeALL

Post by cnckeith »

you can write out the M91/92's long hand and then control the speed.
https://www.centroidcnc.com/centroid_di ... amming.pdf
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


carocad
Posts: 16
Joined: Fri Jun 11, 2021 2:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Acorn HomeALL

Post by carocad »

I feel bad asking this but I cannot find the location file for marco M91, M92 or M26.
do you mean to add feed speed in cncm.hom

M91/Y F5
M26/Y

would this work?


cncsnw
Community Expert
Posts: 4588
Joined: Wed Mar 24, 2010 5:48 pm

Re: Acorn HomeALL

Post by cncsnw »

No, M91 and M92 always move at the slow jog rate. You can change your slow jog rate, but that will affect jogging in slow mode as well.

If you want to move to a switch (e.g. for homing) at any feedrate you choose, then you need to use M105 or M106 instead (and explicitly specify the switch input you want to stop at).

There are no macro files for M91, M92, M26, M105, or M106. They are built-in functions. If you want to change the way your machine homes, you change the content of cncm.hom (or cnct.hom if you are running a lathe control).


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Acorn HomeALL

Post by cnckeith »

carocad wrote: Wed Nov 16, 2022 7:11 pm I feel bad asking this but I cannot find the location file for marco M91, M92 or M26.
do you mean to add feed speed in cncm.hom

M91/Y F5
M26/Y

would this work?
study.
https://www.centroidcnc.com/centroid_di ... amming.pdf

what you want to do is on page 7
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Post Reply