Hello
Guest
it is
May 13, 2025, 02:19:52 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
G-Code, CAD, and CAM
/
G-Code, CAD, and CAM discussions
/
WORK OFFSETS
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: WORK OFFSETS (Read 4971 times)
0 Members and 1 Guest are viewing this topic.
ekcourter
18
WORK OFFSETS
«
on:
March 30, 2019, 06:44:11 PM »
I HAVE 2 STRINGS OF WORKING G CODE AND WOULD LIKE TO RUN THEM ONE AFTER ANOTHER AS ONE JOB. EACH USES A DIFFERENT OFFSET, ONE G54 ONE G58. WHATS THE BEST WAY TO DO THIS. I'M USING CODE FROM MESHCAM ON MACH3, THANKS
Logged
joeaverage
7,604
Re: WORK OFFSETS
«
Reply #1 on:
March 30, 2019, 08:02:29 PM »
Hi,
if you declare G54 prior to the first bunch of code it will execute in G54 mode, that is with the G54 offsets
applied.
If you the declare G58 then the following code, your second bunch, operates with the G58 offsets applied.
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
ger21
6,295
Re: WORK OFFSETS
«
Reply #2 on:
March 30, 2019, 08:35:29 PM »
Just add the second program to the first in an editor. Make sure the G54 or G58 are at the start of their respective sections, and make sure there's no M2 or M30 between them.
Logged
Gerry
2010 Screenset
http://www.thecncwoodworker.com/2010.html
JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
ekcourter
18
Re: WORK OFFSETS
«
Reply #3 on:
March 31, 2019, 05:15:02 PM »
Thanks, works great, Ed
Logged
Print
Pages:
1
Go Up
« previous
next »