Work Offsets App

Capture

Here is a Windows app to add G54-G59 offsets into your programs.
Tested and works Windows 64 bit and on Onefinity controllers 1.0.9
This way you can run multiple programs and not have to hand edit any files.
Options:
Make Offsets File - makes a file like this:

%
(WORK COORDINATE OFFSETS BEGIN)
G20
G10 L2 P1 X5.023 Y6.235 Z-3.265
G10 L2 P2 X5.125 Y15.246 Z-2.569
G10 L2 P3 X5.489 Y28.468 Z-0.759
G10 L2 P4 X16.235 Y7.265 Z-2.99
G10 L2 P5 X16 Y14 Z-2
G10 L2 P6 X23.4 Y13.0 Z-0.99
(WORK COORDINATE OFFSETS END)
M30
%

Run this first. The offsets will be stored in the controller and no other file needs a G10 line.
Be sure to run this file again whenever you restart the controller.
If you rehome the machine you should check the origin on one of your parts to be sure home is in the same place.

Add Offsets to File - It takes a file like this:

%
(TEST FILE FOR OFFSETS)
(CUT 6 CIRCLES G54-G59)
G53 G0 G90 Z0
G54 G0 G90 X1.622 Y0  (G54)
G43 Z0 H1
G2 X1.622 Y0 I-1.622 J0 F100
G53 G0 G90 Z0
G55 G0 G90 X1.622 Y0  (G55)
G43 Z0 H1
...

and adds the G10 L2 lines like this:

%
(TEST FILE FOR OFFSETS)
(CUT 6 CIRCLES G54-G59)
(WORK COORDINATE OFFSETS BEGIN)
G20
G10 L2 P1 X5.023 Y6.235 Z-3.265
G10 L2 P2 X5.125 Y15.246 Z-2.569
G10 L2 P3 X5.489 Y28.468 Z-0.759
G10 L2 P4 X16.235 Y7.265 Z-2.99
G10 L2 P5 X16 Y14 Z-2
G10 L2 P6 X23.4 Y13.0 Z-0.99
(WORK COORDINATE OFFSETS END)
G53 G0 G90 Z0
G54 G0 G90 X1.622 Y0  (G54)
G43 Z0 H1
G2 X1.622 Y0 I-1.622 J0 F100
G53 G0 G90 Z0
G55 G0 G90 X1.622 Y0  (G55)
G43 Z0 H1
...

Remove Offsets from File - takes away those changes to your file.
Close - When you close you are asked if you want to save these offsets for next time.

Unfortunately it is too big to upload to this site (11MB) so if you would like me to send it to you please private message me.

Cheers

6 Likes

Very nice of you to create this app and provide it to the community.

I hope they will add this to their next update to the controller, because that will be one thing I will miss when I get up and running with my machine.

I have enough permissions now to load up to this sight. So click the link below to get it.
WorkOffsets.zip (3.6 MB)

On Windows 11 you are going to get a warning screen about unknown and risky app trying to run. That’s because I am not going to pay Microsoft for a verification key. You just have to click “More Info” and click “Run Anyway”.
If any one wants the source code just ask.

If it works good - but not good enough - just let me know what you need and I will see what I can do.

2 Likes

Chris, downloaded the app ok, but not sure how to interface it with the controller.
My firmware is 1.3.0.
I use web interface control from my computer.

BruceR56

Bruce,
What you need to do is find an origin in the usual way, then type the numbers you see in the “offset” column on the controller into one of the offset spots on my app.
The app then adds the correct G10 lines to your nc file to use that offset.

Unfortunately there is no way that I know of to interface with the controller.

Chris

Well, I appreciate what you attempted to do, but I think I’ll stick with my current method which is to use Notepad where I’ve saved Work Offsets and just copy and paste in MDI.