Page 13 of 19
Re: Build Thread Mach3 to Acorn
Posted: Tue Jan 07, 2025 5:14 pm
by Leo Voisine
Oh yeah, I see it now that you mention it. Of course that cannot work --- DUH
Re: Build Thread Mach3 to Acorn
Posted: Wed Jan 08, 2025 9:09 am
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
Re: Build Thread Mach3 to Acorn
Posted: Wed Jan 08, 2025 11:28 am
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?
Re: Build Thread Mach3 to Acorn
Posted: Wed Jan 08, 2025 11:50 am
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.
Re: Build Thread Mach3 to Acorn
Posted: Wed Jan 08, 2025 12:51 pm
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.
Re: Build Thread Mach3 to Acorn
Posted: Wed Jan 08, 2025 1:53 pm
by suntravel
You can try M94 /105 to disable limits and in the last line M95 /105 to enable the limits again.
Uwe
Re: Build Thread Mach3 to Acorn
Posted: Thu Jan 09, 2025 11:57 am
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.
Re: Build Thread Mach3 to Acorn
Posted: Thu Jan 09, 2025 2:07 pm
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.
Re: Build Thread Mach3 to Acorn
Posted: Thu Jan 09, 2025 4:10 pm
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?
Re: Build Thread Mach3 to Acorn
Posted: Thu Jan 09, 2025 4:11 pm
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