Just add one line.
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
Code "G1 X0 Y0"
Then do File >Save before you close the Script Editor.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
No, if you go to Edit Button Script, the code should look axactly like this.
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
Code "G1 X0 Y0"
Copy and paste it in to make sure there are no typos.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Also, make sure you're Home Offsets for X and Y are set to -.5 in the Homing/Limits screen.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
If it's still not working, try this.
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
While IsMoving()
Wend
Code "G1 X0 Y0"
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
I think you should probably have a G53 in there Gerry.
Code "G1 G53 X0 Y0"
Greg
I changed them both -5 and everything homes and moves just off the switches then the Y moves back onto the switch and gets a reset cond.
I then changed the -.5 Y to a +.5 Y, and everything homes and moves just off the switches then the X and Y both move 1/2" away from the switch.
Then I activate soft limits. and now for some reason I cannot jog Y in the - direction with the soft limit on.
Possibly a soft limit setup issue, I have attached the latest photo of setup showing DRO and soft limits.
I see I have two more replies, I won't do anything else until I hear back from these results.
Thank you all for your kind patience. I know this must be frustrating to you,
Sorry, the moving table got me again. Y axis Home Offset should be 26.5, and change the last line of the script to
Code "G1 G53 X0 Y26"
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
And change the X and Y softlimit min to -.5 again
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
This should do it.
Y Home Offset 27
and change the script again to
Code "G1 G53 X0 Y26.5"
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
You are right, it did doo it.
XYand Z all home and back just off the switches, then X and Y back off another 0.5". And with the Soft Limits activated they all work as they should.
I have one question I am kind of hesitant to ask though, but I will.
When it is homed the DRO reads
X -0.5000
Y +27.000
Z +0.000
Most of the post I have read home at 0,0,0. Mine doesn't because it is a moving table, correct?
Thanks
Hager
Not necessarily because it's a moving table, it just due to the orientation of the machine and where you want it to "park". You could home it at 0,0 and then move it to the current home position to load parts. But it doesn't really matter where it homes to.
Typically you'll zero the axis in relation to the part you're working on. Or, you can make some type of fence or stop system so you can always load your parts at 0,0 (or anywhere else, actually, but it gets more complicated)
What's important, is that you understand how we got to where we're at right now. Then we can move forward. Time for me to get some sleep.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Thanks Gerry,
I really appreciate you sticking with me through all of this. I did learn a few things and I'm sure the people that followed our rabbit trail learned some too.
By the way my next macnine will be a movable gantry, this made the final decision. LOL :rainfro:
Hager