Build Thread Mach3 to Acorn

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Leo Voisine
Posts: 120
Joined: Fri Nov 19, 2021 10:26 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Build Thread Mach3 to Acorn

Post by Leo Voisine »

Oh yeah, I see it now that you mention it. Of course that cannot work --- DUH


Leo Voisine
Posts: 120
Joined: Fri Nov 19, 2021 10:26 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Build Thread Mach3 to Acorn

Post by Leo Voisine »

Gary Campbell wrote: Tue Jan 07, 2025 4:43 pm Leo...
That won't work as the axes are not necessarily at the zero position prior to being set at machine zero by the M26 command.

After the M91/92 command, use a relative (G91) move

M92/Z L1

M91/Y L1

M91/X L1

G91 X0.125 Y0.125 Z-0.125
G90

M26/X
M26/Y
M26/Z
M26/A
Yes of course - that makes a lot of sense - thank you


Leo Voisine
Posts: 120
Joined: Fri Nov 19, 2021 10:26 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Build Thread Mach3 to Acorn

Post by Leo Voisine »

OK I did what Gary posted.

I also programmed it in a slightly different way.

Both worked as to what I want

BUT - there is always a BUT

When I power down the acorn board and reboot
The first homing with machine first turned on ---- all works great.

After the initial homing - I move axis's an inch or so away from prox switches
Then I press reset home on the PCV screen

It calls cncm hom Goes thru the blocks but I get an error - x axis travel exceeded.
Machine coords display X-.1300

I am not understanding something?


ShawnM
Community Expert
Posts: 3049
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory 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: Build Thread Mach3 to Acorn

Post by ShawnM »

Please post a current report. If it goes past your switches you dont have something setup correctly. We can't know what unless you post a CURRENT report.


Sword
Posts: 849
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Build Thread Mach3 to Acorn

Post by Sword »

When first homing, machine coords are not set/known, but when re-homing they are and you are trying to go negative 0.130? A report will have your new hom file for us to take a look at.
Scott


suntravel
Community Expert
Posts: 3759
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Build Thread Mach3 to Acorn

Post by suntravel »

You can try M94 /105 to disable limits and in the last line M95 /105 to enable the limits again.

Uwe


Leo Voisine
Posts: 120
Joined: Fri Nov 19, 2021 10:26 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Build Thread Mach3 to Acorn

Post by Leo Voisine »

Not sure I understand it but.

After acorn board is shut down and everything is powered down I home machine at startup and it all works fine. All three axis's back off as expected.

After that initial homing if I move all three axis's away from the new home zero position then press reset home, the three axis's do the move to limit switches as they should then I get the X or Y message and the machine coords do not reset to zero and I get error message.


Leo Voisine
Posts: 120
Joined: Fri Nov 19, 2021 10:26 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Build Thread Mach3 to Acorn

Post by Leo Voisine »

Another issue I am running into.

At m6 I want the prompt to change tool. That does happen
THEN - I want the tool to go to Auto Measure. that does not happen
AFTER auto measure I want to return to G54 X0Y0 and continue program - Not going to auto measure so this is moot.
report_80F5B521CAF7-1109215356_2025-01-09_12-52-36.zip
(1015.73 KiB) Downloaded 22 times


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

Re: Build Thread Mach3 to Acorn

Post by cnckeith »

Leo Voisine wrote: Thu Jan 09, 2025 2:07 pm Another issue I am running into.

At m6 I want the prompt to change tool. That does happen
THEN - I want the tool to go to Auto Measure. that does not happen
AFTER auto measure I want to return to G54 X0Y0 and continue program - Not going to auto measure so this is moot.

report_80F5B521CAF7-1109215356_2025-01-09_12-52-36.zip
to do this you edit the M6 with the actions you want.

do you have a fixed TT? or a moveable one?

do you plan on retaining a tool library or do you always want to measure and remeasure at every tool change?
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

Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Sword
Posts: 849
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Build Thread Mach3 to Acorn

Post by Sword »

On your homing issue, it's strange that I've never had that problem in 6 years of using a similar homing file. I tried yours on a small benchtop machine, and it happens to me as well. The only way I can get it to work consistently is to set the axes home with M26/ first, and then do the G91 followed with another set of M26 at the end. You could use this for both initial home and reset, or just use it for the reset macro (mfunc59.mac).

For your M6 question, there's no mfunc6.mac in your report to look at.

Code: Select all

;Perform Homing commands
M92/Z L1
M91/Y L1
M91/X L1
M26/X/Y/Z
G91 X.25 Y.25 Z-.25
G90
M26/X/Y/Z/A
Scott


Post Reply