G54.2&G54.3 in CAPPSNC8
How to use G54.2 and G54.3 in CAPPSNC 8
G54.2 and G54.3 are work offsets that are incrementally updated from their base G54 work offset. This means to use G54.2/G54.3 the center of rotation is recorded as the work offset for G54 and the G54.2/G54.3 work offset will contain the linear shift amount from the G54 base work offset to the part coordinate system. The reason this exists is so that a part can be placed anywhere on the CNC machine and the CNC machine will automatically calculate the new values for x,y,z,a,b,c based on the math from center of rotation to the linear shifted amount for G54.2
G54.2 Example
G54 Z=2. G54.2= Z4. The CNC machine will now know that the actual Z for the part program will be at Z6. And will do the math accordingly when the table rolls over to recalculate the Y and Z shift.
Using G54.2/3
CAPPSNC 8 handles G54.2/G54.3 by recording the “total G54.2/G54.3 shift from the center of the table”
To be able to use G54.2/G54.3 in CAPPSNC 8 you will need to add the alignment to CAPPSNC 8 and save it as a work offset. To add G54.2/G54.3 to the alignment list you have 2 options.
Read the G54.2/G54.3 work offset through the Data/IO dialog in CAPPSNC 8
Translate the shift as an alignment and save as a work offset.
Recommended Method
To Read the G54.2/G54.3 from the machine go to the Data/IO screen and click on the icon located to the left of Clear Log.
Select the desired G54.2/G54.3 work offset and select add to DMIS.
This work offset recall should be at the top of the DMIS program so that all the data being read back from the machine matches the expected numbers that the skip signal will send back.
This DMIS code should be at the program start after selecting your desired Sensor.
Secondary Method
Load the CAD model into CAPPSNC 8.
Recall MCS from the Alignment tab via recall and select MCS. *note: Must be inside a program to gain access to the Alignment Tab.
Use the Translate button located in the alignment tab
Name the alignment to represent the G54.2/G54.3 shift. AAT3D would advise to name them G54_2_WO.
Select Value and select which axis are to be compensated for in G54.2/G54.3.
Make sure to select, in MCS and Lock Part as well as Save.
By clicking preview you should see the Cad model snap to the location specified by your translation values.
Once you click OK the alignment will be added to the Alignment list.
This alignment has to be labeled as a Work Offset for the posted G-Code to correlate.
Click Alignment tab and select Save.
Type in the same name for the Alignment Label as well as click set as work offset and select G54.2P1 or whichever other G54.2/G54.3 work offset being used.
Click okay it will then prompt you that G54_2_WO is already in the alignment list. Click Accept
You will now see the G54_2_WO listed in the Alignment list is a different color. This represents that it is now saved as a Work Offset.
Select the work offset then click select.
You will now need to clean up the DMIS commands before proceeding.
It is recommended that you delete the following DMIS lines before programming your part.
Delete the codes that are within the Red Box
Now move Capps/Lockpart after Recall/D(G54_2_wo) and compile by clicking F10 or right click compile.
Once this is done you can program your part like normal. *Note: the alignment values need to match what the combined x,y,z,a,b, and c values of G54+ G54.2/G54.3
To update these values for a later program run repeat steps 2-22 and move the Recall line and Lock Part to the start of the DMIS program.