Hello Guest it is March 28, 2024, 09:34:30 AM

Author Topic: Code to move to machine coords  (Read 5054 times)

0 Members and 1 Guest are viewing this topic.

Code to move to machine coords
« on: December 18, 2012, 09:53:57 PM »
I'm modifying a screenset with a button for "Load Material".  I've got user dro's 1017, 1018 and 1019 for the load material position.
The code for the button is Code "G00 X" & getuserdro 1017 etc.  This sends the head to the program coordinates.  How can I get it to send it to machine coordinates?  I tried putting a G53 ahead of the code but this didn't seem to help.

Rich

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Code to move to machine coords
« Reply #1 on: December 19, 2012, 07:07:26 AM »
Code "G53 G0 X" & .........
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Code to move to machine coords
« Reply #2 on: December 20, 2012, 04:04:58 PM »
Thank's for the info.  After more research (RTFM) I found that the G53 code is non-modal and needs to be on the same line as the coordinates.

Rich