Alright I have a question for you seasoned CNC users out there.
I’m new to the cnc world, so forgive me if the answer to this question is blatantly apparent and ive missed it.
I’ve got 4 parts that I’d like to batch out on the 1F, ideally I’d like to set G54-G58 to each fixture respectively. My issue is, and I’ve done some searching and can’t find a direct answer so forgive my ignorance if it’s been addressed, besides manually editing your G code with G10-L2 and manually adding in your XY coordinates, is there a way with the 1F controller to set XY zero for each offset? I tried in the MDI to put the machine in G54 mode and then zero then put in G55 into the mdi and zero’d again as ive seen videos of other controllers. But that doesn’t work, unless i’m doing it wrong?
I’m using fusion, and it seems pretty straight forward to set up multiple WCS in the your NC program but you still need to set the coordinates of g54-g55 and so on.
I have not tried setting different WCS myself but my understanding is that there is only one WCS, no matter the gcode you send, only the single WCS is referenced.
This means that each time you call a change of WCS (and the stock changes position on your table), you should re-zero all the axis.
Each time you change tools but keep the same WCS, you should re-zero the Z axis.
As a workaround to multiple WCS, F360 allows patterns in CAM. Setup your tool paths once and define a pattern for multiple replications. Zero to the first instance. Re-zero Z when you change tools. You would need to arrange your stock and work holders at the positions defined by your pattern.
After looking closer at what the controller supports, I think it does support work offsets
So the basics are, G53 G0 X0 Y0 Z0 - moves to the absolute zeros for the machine, as determined by homing G10 L2 P1 X1 Y1 Z1 - sets the offsets for work offset G54 (based on table here), values you specify are offsets off of the offset from machine home (as determined by probing if any) G54 G0 X0 Y0 Z0 - moves to the offset of X=1, Y=1 as defined in the previous step
The question remains to be answered,
How does the F360 post processor work with all this, and who ends up programming the offsets (manual or part of generated gcode?)
In Fusion, in the setup menu, select 1 WCS and below that is a dropdown to multiply that WCS instance- and how many instances you multiply it by sets G55 thru G56. From there its up to the post processor to set that actual XYZ for each offset. From the videos and forums that I’ve read, professional machines, or even hobby machines with certain controllers like Mach4 have the ability right from the control interface to select what coordinates G55 thru 59 are and will move to that position when the G code references the next offset.
From what I’ve read, you can copy and paste your g-code manually in notepad and then copy paste it and execute it with G10-L2(3,4,5) and set in your actual XYZ for each offset.
Someone may correct me if I’m wrong here, still trying to understand this.
I’ve done something similar for other projects. main issue with that is your project would need to be from the same stock, or you have to be very precise with measuring where your material is to make sure my project ends up in the material.
Funny you mention that. Your thread is the one that i found most of my information regarding work offsets. I’m surprised more people aren’t asking about this topic.
Based on your thread though, you’re editing your g-code manually correct?
So basically the process would be post your CAD in fusion, Copy g-code and paste into notepad (or some other text program)
On the machine, Home> then set zero for G54> then Jog machine to your zero locations for other fixtures and make note of the XYZ coordinates.
In g-code, Paste code, then set each offset using G10
So something like this? Can I just reference the G10 list at the top of my G-code like this the onetime?
Yeah that is how I solved for it… Manually replicating it. Because of wither building a fixture plate with repeatable locations or batching out the same project each time the workflow has worked well for me. I have applied it a few times now. I did not however think about the adjustment to x which would have helped the last time as my wasteboard bowed and so one of my positions was off on x a bit
Yeah I dont trust my fixture to be perfectly square to the machine haha but I’m glad this works. Should help out batching multiple items.
Also, I did find that right after homing, if you run a file with your G10 settings, the 1F controller will retain your g54-G55 positions. So if you have permanent fixtures with a known coordinates, you can run this before you run your programs. As long as Fusion (or other cad program) references G55 or G56 ect., the machine will move there. So you wont necessarily have to edit each G code file. I think you referenced this as a Macro file?
I have been following this thread and have started to think about how to make this simpler.
Check out this topic i started and give feedback. Perhaps we can make something workable. Work Coordinate Offset App proposal
Hello All on this topic. I am a retired Journeyman CNC machinist with over 45 years of experience with CNC Mill, Lathes, Wire EDM and 5 axis, programing with Mastercam CNC software. I retired May of 2022 and received my Onefinity in August. The onefinity is the best machine I found for the price range. But I found two flaws I did not like! There is not a feed override on the controller and the machine was set up to probe the part and start running without a way to check your program before you start cutting. That’s an absolute no no for me! First, I stop using the probe and replace it with G55-G59. I can set these values by using an edge finder for x and y zero and z with a 1" block to touch off the top of part. I made the following changes in the control settings.
On program start (Runs at program start)
G90(Absolute distance mode)
G17(Select XY plane)
G10 L2 P1 X0 Y0
G10 L2 P2 Xxxxx Yyyyyy Zzzzzz (XYZ distance from home to part zero)
P1 = g54 input
P2 = g55 input
P3-P6 = g56-g59 input
Xxxxx Yyyyyy Zzzzz = X Y Z distance from home position.
Z can be adjusted to dryrun your program above you part before cutting. I like to leave G54 zero.
Let’s say the distance from the tool tip at home to the top of part is Z-3.250. Instead of putting the full Z-3.25 you can raise the tool 1" by using Z-2.350 to dryrun your program first without touching the part.
This method can be used for a single part and multiple parts.
I used ( ) to eliminate the probing in the tool change area.
Have g55-g59 in your program
For multiple parts list the G10 line for each part in the setting
Later I may make a program to probe and put the values in P1-P6
Hello Cadcamman, I also come from an industrial CNC background ( 25 years for me ). I feel your pain about no feedrate override. Just be a little conservative to start until you see what the cutters can take. In wood they can take a lot more than i was expecting.
I am very interested in your idea for handling offsets. I like how you left G54 set to 0. That way i assume the machine would act completely normal for the average user who just uses the default offset.
You mention you may make a program to probe and put the values in P1-P6.
Do you mean automatically fill in the values from your probing? I didn’t think the 1F controller was capable of that, but i would love to be proven wrong.
You mentioned an edge finder. I use the makita router which is limited to 1/4" shank. I have been looking for a 1/4" edge finder with no luck. If yours is 1/4" where did you get it?
Hello ChrisM, there are several reasons I did not go with the Makita Router, the 1/4" tool limit is the first one. 2) noisy, 3) programming spindle speed, and 4) Air cool spindle like the Mikita blows air from the back of the spindle to the front and cause interference with your dusk collection.
Also if you have multiple say 4 different projects and want to run 4 toolpaths can you just pasted them one after the other with a different select coordinate command (G55, G56, etc) at the start of each subsequent tool path. What other commands would be needed? I assume a G4 dwell and raising the Z height? Sorry I’m totally new to G codes editing
I am assuming you have the buildbotics controller - If not some of what follows is not useful to you.
They are the locations where you set your origin on each piece using a probe or any other method.
By default the controller puts wherever you set your origin into G54.
Where the machine considers the origin can be controlled by you however by putting this code line at the top of your NC file:
G10 L2 P_ X___ Y___ Z___
The P value is which offset register you want to use - i.e. P1=G54 P2=G55 P3=G56 etc. based on table here
For the X, Y and Z values you need to fill in the offset from your origin to home.
You can get that info when you find your origin. Just look under the “OFFSETS” column on the control. This is the offset distance from home.
Yes you are correct.
You can put the G10 commands at the top of your nc code then call each origin below as you need them.
Here is a test file:
You only need to make sure the tool is lifted up high enough before you move to a new origin. That is what the G53 G0 G90 Z0 does above ( takes the tool to the top of the travel ) before I change the origin.
If you just take each nc file that you have and just remove the:
O0100 ( not all posts use this - if a line starts with the letter O remove it )
from the top and the:
M30 ( some posts use M2 for this )
from the bottom it will have all you need.
Just search for wherever G54 occurs and change it to G55 or whatever you want.
(Aiph5u (not affiliated with Onefinity))