The basic instruction to set multiple origins on the BB controller is by adding the following lines to a file, or making a NC file with just these lines in them.
G92.1
G10 L2 P_ X___ Y___ Z___
The G92.1 turns off the universal offsets of G92 so they will not get added to the other offsets.
G10 L2 sets a coordinate system.
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.
Here is a sample of what 3 offsets would look like:
%
G92.1
G10 L2 P1 X2.345 Y4.567 Z-3.45 ( SET G54 )
G10 L2 P2 X6.456 Y9.567 Z-2.3 ( SET G55 )
G10 L2 P3 X15.356 Y20.456 Z-1.345 ( SET G56 )
These commands are modal so they will stay in effect until you reboot or rehome. So you do not need to put them in every file - just the first one you run.
I have never seen anyone suggest using G92.1 before but I now think it is crucial to reliable results.
There is one confusing issue with the BB controller that has made setting offsets always unreliable for me in the past. That issue is thoroughly discussed here. Thanks to Aiph5u for setting me straight.
Simply stated it is this:
When you set an origin with touch probe you are not setting G54 as I had always thought. It is actually setting G92 which is a universal offset of all coordinate systems. G54 is in fact still set to all zeros.
You can test this by rebooting the machine to get rid of all origin settings then touch off a stock corner with the probe as normal. Then move the spindle away and type G59 G00 X0 Y0 in the MDI.
I would have always expected that command to take the spindle back to the home position since G59 has not been set.
But in fact it will go the spot you touched off with the probe. All coordinates G54 - G59.3 will go to the same spot even though you have not set any of them. And if you set some origins with G10 - then you use the touch probe somewhere else - ALL the origins will move relative to that spot.
This fact complicates the simple instruction of using G10 L2 P_ X___ Y___ Z___ to set multiple origins. If there is something set in G92 then that will be ADDED TO whatever you set with G10.
So I did some checking tonight and verified that we can turn off G92 by using G92.1
The best way to set offsets then I think is to put G92.1 in the file before you set offsets with G10.
And if you decide to re probe one of your pieces at some point after you have used G10 - then be sure to run G92.1 again or else all of the origins will be thrown off of where they were.