The following document outlines the procedure for generating Siemens 840D settable user frames from a regular axis system change in CATIA.

Normally, when an axis system change is set in CATIA, the resulting aptsource will only contain a series of commented-out lines which define the axis system transformation matrix.

For example:

    $$*CATIA0

 

    $$ Machining Axis Change.1

 

    $$ -0.93624 0.00000 0.35137 1755.92334

 

    $$ 0.34719 -0.15375 0.92511 1741.31883

 

    $$ 0.05402 0.98811 0.14394 475.88750

For Siemens 840D controls, this information is required to be passed to the NC program as a settable user frame.

For the example above, the user frame definition will be:

    $P_UIFR[10,X,TR]=1755.9233

 

    $P_UIFR[10,Y,TR]=1741.3188

 

    $P_UIFR[10,Z,TR]=475.8875

 

    $P_UIFR[10,X,RT]=-90

 

    $P_UIFR[10,Y,RT]=180

 

    $P_UIFR[10,Z,RT]=-20.571

With CAM-POST, this can be handled quite easily using the following two steps:

1. The first step is to modify the CATIA PPTable. Change the START_NC_COMMAND sequence to the following:

_______________________________________________________________________________________________

NC_MACHINING_AXIS
/
*START_NC_COMMAND                                                     NC_MACHINING_AXIS
$$*CATIA0
MSYS/$
%MFG_NCAXIS_X_VECX,%MFG_NCAXIS_X_VECY,%MFG_NCAXIS_X_VECZ,%MFG_NCAXIS_X_ORIG,
%MFG_NCAXIS_Y_VECX,%MFG_NCAXIS_Y_VECY,%MFG_NCAXIS_Y_VECZ,%MFG_NCAXIS_Y_ORIG,
%MFG_NCAXIS_Z_VECX,%MFG_NCAXIS_Z_VECY,%MFG_NCAXIS_Z_VECZ,%MFG_NCAXIS_Z_ORIG
*END
/

With the new PPTable loaded, the previously commented-out lines in the aptsource will be replaced by the following command:

MSYS / -0.93624, 0.00000, 0.35137, 1755.92334,$
0.34719, -0.15375, 0.92511, 1741.31883,$
0.05402, 0.98811, 0.14394, 475.88750

2. The second step consists in changing the post-processor by adding a User-Defined Syntax macro on the word MSYS. This macro will capture the 12 parameters of the MSYS command and generate the required $P_UIFR codes.

This macro will include logic to calculate the three rotation angles. If required, ICAM Technologies can provide you the actual contents of the macro so you can add it to your post-processor.

Benefit to User
Learn how to modify the CATIA PPTable in order to generate information that can be used by the post.

For more information or comments, please do not hesitate to contact Phil at TechTipTuesday@icam.com

Get an ICAM Productivity Tools Demonstration

If you already know which solution you need, and have information on your machine, click on the button below to build your custom quote!

If you wish to get in touch with one of our representatives, click on the button below and we will contact you back shortly.