The Virtual Machine Shop | SEARCH the VMS

Offset by program word

The task of programming an offset from the CNC program. This uses the G10 word to override the cutter compensation, tool length, or fixture offset via the program.
G10 requires the L word to establish which type of offset is being changed. For some controllers L1 designates wear (cutter compensation) offsets and L2 designates geometry (fixture) offsets . Make sure you read your user manual.
G10 requires the P word to to establish the offset location number.
G10 requires R word if the L word has selected cutter compensation offsets (not fixture offsets). The value of R is the amount of offset.
G10 requires XYZ words if the L word selected fixture offsets
G10 is a one shot word

Example: G10 P3 L2 X11Y-5

For this example the program zero is at the fixture shown top left in the graphic as fixture "A". Fixture " B" program zero is at a different noted location. So the code above puts the new coordinates in fixture offset #3. At this time fixture offset zero can be called (G56) and machining of the same program that ran on fixture A can commence on fixture B.

As you can see the limits to the number of fixture offsets your machine has can be overcome by simply using G10 as needed. In fact, with G10 all you need is one fixture offset.