how do you change WCS per gcode file?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

how do you change WCS per gcode file?

Post by rk9268vc »

Ive got 3 operations on a part.
Each is posted as a separate gcode file
So I will have 3 different setups, all located with a touch probe.

What is the best way to probe 3 different WCS's and then when I run each gcode I can tell it to use the WCS I want?

Thanks

Edit:
Forgot to mention I am using the magic probe app if that affects anything
tblough
Posts: 3101
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: how do you change WCS per gcode file?

Post by tblough »

Switch to the WCS you want using Alt-1, Alt-2, etc. Probe your fixture and set your zeros.

Inside the g-code file include the appropiate G54, G55, G56, etc for the WCS you want the program to use.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: how do you change WCS per gcode file?

Post by rk9268vc »

tblough wrote: Fri Nov 12, 2021 9:32 pm Inside the g-code file include the appropriate G54, G55, G56, etc for the WCS you want the program to use.
I am using Fusion360 for my CAM, the Gcode files are like 200,000 lines long
Is there any way to do this in Acorn without going into the Gcode files?

Thanks
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: how do you change WCS per gcode file?

Post by swissi »

rk9268vc wrote: Fri Nov 12, 2021 9:09 pm Ive got 3 operations on a part.
Each is posted as a separate gcode file
So I will have 3 different setups, all located with a touch probe.

What is the best way to probe 3 different WCS's and then when I run each gcode I can tell it to use the WCS I want?

Thanks

Edit:
Forgot to mention I am using the magic probe app if that affects anything
As Tom said, check if your 3 job files are setting any specific WCS # with a G54 - G59 or E1 - E18 command and adjust (or add one if none exist) to G54 for job file 1, G55 for job file 2 and G56 for job file 3.

When you use the ProbeApp to probe the 3 fixtures, make sure you select the corresponding WCS # from the WCS drop down box for each fixture to match the WCS set in the job file.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
Gary Campbell
Posts: 2189
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: how do you change WCS per gcode file?

Post by Gary Campbell »

Ive got 3 operations on a part.
Each is posted as a separate gcode file
So I will have 3 different setups, all located with a touch probe.

What is the best way to probe 3 different WCS's and then when I run each gcode I can tell it to use the WCS I want?
I do this often on my bridgemill, but using Vectric software. I have a post processor for each of my vice locations (G54,55,56, etc.) and as long as I remember to pick the proper one from the drop down list all works flawlessly.
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: how do you change WCS per gcode file?

Post by Muzzer »

Within Fusion 360, you can select "multiple WCS offsets" within each setup, then override (select) the WCS offset for each operation. Not something I've ever done but that seems to be the way you would do it. Posting a recent file this way just now generated a different WCS offset (G55, G56 etc) for each operation.
Post Reply