Fast HOME then slow HOME

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

mael
Posts: 36
Joined: Sat Feb 03, 2018 12:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Fast HOME then slow HOME

Post by mael »

This community helped me out when I was really new to CNC12 and ACORN and I'm still learning.
This is my way of helping back (for what its worth) and hopefully you guys can work on it too and improve and/or correct any mistakes I made.

My Home sequence starts with Z, X and then Y respectively using only 1 input terminal with the switches wired as normally closed to all the axis.
I did a few modifications to the HOM file where it does the following:

-Does a FAST move towards the home switch and hits it
-Backs off a bit
-Does another home at a SLOW feed rate then hits the switch again
-Backs off at a certain distance (offset from home switch)
-Set machine zero

It does the same this on the X and Y axis.

I've placed comments so you better understand and modify to your specifications.
Make sure to make a backup copy of the HOM file elsewhere in your PC.
cncm.txt
(1.18 KiB) Downloaded 171 times
I made a video explaining and demonstrating how it went.
https://www.youtube.com/watch?v=KF4lpVtvMXk

credits to Scott and Marty.
Scoty made public his z probe files which made me digest of how to code and marty's video https://www.youtube.com/watch?v=l1xUtRwN6T0 to help me understand on how to attack the problem.
Gary Campbell
Posts: 2232
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: Fast HOME then slow HOME

Post by Gary Campbell »

I would suggest putting a "G90" line in near the end. Since G90/91 are modal, you do not want to home and set to relative mode
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
martyscncgarage
Posts: 9915
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Fast HOME then slow HOME

Post by martyscncgarage »

Might I suggest using the Park feature of CNC12 before shutting down for the evening. What it does is rapidly move your axis to near machine home. That way when you start up the next day, the machine has very little to go to hit the home switches, drastically cutting down on the homing sequence.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
mael
Posts: 36
Joined: Sat Feb 03, 2018 12:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Fast HOME then slow HOME

Post by mael »

As suggested by Gary.
Here is a version 2 of the file.
Thanks for pointing that out.

Change the txt extension to .hom
cncm.txt
(1.15 KiB) Downloaded 205 times
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: Fast HOME then slow HOME

Post by frijoli »

Very cool. Works just like the probing process.
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
Gary Campbell
Posts: 2232
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: Fast HOME then slow HOME

Post by Gary Campbell »

mael...
Don't ask how I know. :oops:
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
Verminator10
Posts: 11
Joined: Fri Mar 30, 2018 9:26 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: West Midlands UK

Re: Fast HOME then slow HOME

Post by Verminator10 »

Hi,
Does anyone know how to get this to work on a lathe with encoder feedback on the spindle? G90 and G91 don't work (have different function on Lathe I think) and if I use a G1 command for the movement I need the spindle turning.

Thanks,
Carl
Centroid_Tech
Posts: 286
Joined: Thu Mar 18, 2010 2:24 pm

Re: Fast HOME then slow HOME

Post by Centroid_Tech »

That is because the Lathe's default is feed per revolution which requires feedback from the spindle encoder. If you don't wish to have that spindle encoder feedback, issue a G98 before you issue your G1 commands. The G98 places the system in a feed per minute mode.
When requesting support, please ALWAYS post a current report. Find out how to take a report from your Acorn, CNC11 or CNC10 system here: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

If your question is PLC, Macro or program related, please also post a copy of the program or macro as well.

Without the above information we may not be able to help and/or reply until the required information is posted..
Muzzer
Posts: 734
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Fast HOME then slow HOME

Post by Muzzer »

martyscncgarage wrote: Sun Feb 25, 2018 4:18 pm Might I suggest using the Park feature of CNC12 before shutting down for the evening. What it does is rapidly move your axis to near machine home. That way when you start up the next day, the machine has very little to go to hit the home switches, drastically cutting down on the homing sequence.
Marty
Still struggling to understand why it isn't possible to save the current machine coordinates at shut down. Most other controllers seem to manage it, so at the very least it should be something you should try to achieve - unless the machine is unsuitable. Don't see any obvious reason / limitation that prevents it but what would I know.

I'd already figured out the possibility of homing before powerdown myself but only as a half-ass workaround. Running my machine to the far extents in X and Y is a PITA and looks rather toytown.

I'm sure this thought has occurred many times before - what is the issue that prevents it?

Murray
cnckeith
Posts: 7554
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: Fast HOME then slow HOME

Post by cnckeith »

Cnc12 saves the wcs positions.
So not sure what you are asking for? Please clarify.

Also you can simply create a macro to park the machine anywhere you like prior to shutdown if you're not satisfied with the built-in Park feature. You can assign that macro to an auxiliary key for convenience or even one of the macro buttons on the wireless MPG.
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