Topics | |
| GPP Calls | |
| Listing creation | |
Functions | |
| PROCEDURE | ActiveMillingEvolutionPlane () |
| Activation of specific milling plane to do the approach movement for a mill operation. | |
| PROCEDURE | ActivePlane () |
| Active the GPP plane. | |
| PROCEDURE | Approach3AxisLiveToolBegin () |
| To do a treatment before each GPP call of Approach_3axis_LiveTool. | |
| PROCEDURE | Approach3AxisLiveToolEnd () |
| To do a treatment after each GPP call of Approach_3axis_LiveTool. | |
| PROCEDURE | ApproachPerpLiveToolBegin () |
| To do a treatment before each GPP call of Approach_Perp_Livetool. | |
| PROCEDURE | ApproachPerpLiveToolEnd () |
| To do a treatment after each GPP call of Approach_Perp_Livetool. | |
| PROCEDURE | ApproachPlaneBegin () |
| To do a treatment before each GPP call of Approach_Plane. | |
| PROCEDURE | ApproachPlaneEnd () |
| To do a treatment after each GPP call of Approach_Plane. | |
| PROCEDURE | ApproachPlaneLiveToolBegin () |
| To do a treatment before each GPP call of Approach_Plane_Livetool. | |
| PROCEDURE | ApproachPlaneLiveToolEnd () |
| To do a treatment after each GPP call of Approach_Plane_Livetool. | |
| PROCEDURE | BackMainPart () |
| Called by Part_Return to go back the part in the main spindle. | |
| PROCEDURE | CircleBegin () |
| To do a treatment before each GPP call of Circle. | |
| PROCEDURE | CircleBlock1 () |
| First block for a circular movement for a turn operation. | |
| PROCEDURE | CircleBlock2 () |
| Second block for a circular movement for a turn operation. | |
| PROCEDURE | CircleEnd () |
| To do a treatment after each GPP call of Circle. | |
| PROCEDURE | CircleLiveToolBegin () |
| To do a treatment before each GPP call of Circle_LiveTool. | |
| PROCEDURE | CircleLiveToolBlock1 () |
| First block for a circular movement for a mill operation. | |
| PROCEDURE | CircleLiveToolBlock2 () |
| Second block for a circular movement for a mill operation. | |
| PROCEDURE | CircleLiveToolEnd () |
| To do a treatment after each GPP call of Circle_LiveTool. | |
| PROCEDURE | ClampCAxisCode (VAR str_Ret:TC255) |
| Initialize the code to clamp C axis. | |
| PROCEDURE | CreateNCFile (int_Channel :INTEGER) |
| Create a NC file depending of the channel number. | |
| PROCEDURE | DecodeFeedParam (int_CodeFeed :INTEGER, VAR str_FeedParam :TC255) |
| Format the variable for parametric feed. | |
| PROCEDURE | DecomposeLine () |
| Decomposed lines if necessary regarding standard options. | |
| PROCEDURE | DisableAxialInterpoCode (VAR str_Ret:TC255) |
| Initialize the code to disable axial interpolation. | |
| PROCEDURE | DisableCAxisCode (VAR str_Ret:TC255) |
| Initialize the code to disable C axis. | |
| PROCEDURE | DisableRadialInterpoCode (VAR str_Ret:TC255) |
| Initialize the code to disable radial interpolation. | |
| PROCEDURE | EnableAxialInterpoCode (VAR str_Ret:TC255) |
| Initialize the code to enable axial interpolation. | |
| PROCEDURE | EnableCAxisCode (VAR str_Ret:TC255) |
| Initialize the code to enable C axis. | |
| PROCEDURE | EnableRadialInterpoCode (VAR str_Ret:TC255) |
| Initialize the code to enable radial interpolation. | |
| PROCEDURE | EndFile () |
| Called to write the end of file in PP_End. | |
| PROCEDURE | EndMillOperation () |
| Called by Operation_End to write the end of mill operation. | |
| PROCEDURE | EndOperation () |
| Write the end of operation. | |
| PROCEDURE | EndPartingReworkOperation () |
| Called by Operation_End to write the end of parting reworking operation. | |
| PROCEDURE | EndProgram () |
| Called by PP_End to write the end of program. | |
| PROCEDURE | EndSpecific () |
| Called by Specific_End to write specific end. | |
| PROCEDURE | EndTurnOperation () |
| Called by Operation_End to write the end of turn operation. | |
| PROCEDURE | FeedCalculate (VAR real_Feed :REAL, VAR int_BUnit :INTEGER) |
| Compute the feed if necessary. | |
| PROCEDURE | InitDatVariables () |
| Initialize the user variables usable in the .dat file. | |
| PROCEDURE | InitGPPNC () |
| Initialize the GPP parameters that depend of NC controller. | |
| PROCEDURE | InitLibFlags () |
| Initialize all the flags used by the library. | |
| PROCEDURE | InitMillingDevPlane (VAR int_NumPlane:INTEGER) |
| Initialization of the milling developped plane number to select it in the GPP. | |
| PROCEDURE | InitMillingPlane (VAR int_NumPlane:INTEGER) |
| Initialization of the milling plane number to select it in the GPP. | |
| PROCEDURE | InitOperation () |
| Initialize to do at the begin of operation. | |
| PROCEDURE | InitPlane (VAR int_NumPlane:INTEGER) |
| Initialise the number of plane. | |
| PROCEDURE | InitPlaneKey () |
| Modify the key of plane before selection. | |
| PROCEDURE | InitTurningPlane (VAR int_NumPlane:INTEGER) |
| Initialization of turning plane. | |
| BOOLEAN FUNCTION | InvertSignCycle (int_CheckGPPAxis:INTEGER) BOOLEAN |
| Return true if the sign of axis must be inverted. | |
| BOOLEAN FUNCTION | IsAxialInterpoPlane () BOOLEAN |
| Return true if the current plane is an axial interpoled plane. | |
| BOOLEAN FUNCTION | IsAxialPlane () BOOLEAN |
| Return true if the current plane is an axial plane. | |
| BOOLEAN FUNCTION | IsAxialPlanePolar () BOOLEAN |
| Return true if the current plane is an axial plane polar. | |
| BOOLEAN FUNCTION | IsBPlane () BOOLEAN |
| Return true if the current plane is a B axis plane. | |
| BOOLEAN FUNCTION | IsBPlaneToolInclined () BOOLEAN |
| Return true if the current plane is a B axis plane with inclined tool. | |
| BOOLEAN FUNCTION | IsContinuousWork () BOOLEAN |
| Return true if the operation is a 5 axis continuous. | |
| BOOLEAN FUNCTION | IsDevPlane () BOOLEAN |
| Return true if the current plane is a radial plane. | |
| BOOLEAN FUNCTION | IsDevZPlane () BOOLEAN |
| Return true if the current plane is a developped plane. | |
| BOOLEAN FUNCTION | IsDrillingDeburring () BOOLEAN |
| Test if the drilling operation is deburring. | |
| BOOLEAN FUNCTION | IsDrillingWithInvert () BOOLEAN |
| Test if the cycle is a driliing cycle with the parameter invert set to true. | |
| BOOLEAN FUNCTION | IsEnableCaxis () BOOLEAN |
| Return true if the operation can use Caxis (milling or turn eccentric) | |
| BOOLEAN FUNCTION | IsMillingOperation () BOOLEAN |
| Return true if the operation is a milling operation. | |
| BOOLEAN FUNCTION | IsMovePrimaryAxis2 () BOOLEAN |
| Return true if the Axis 2 of plane move around the primary rotation axis. | |
| BOOLEAN FUNCTION | IsOKOutputLockCAxis () BOOLEAN |
| Return true if the C axis can be locked. | |
| BOOLEAN FUNCTION | IsOutputChannel () BOOLEAN |
| Return true if the channel must be outputed. | |
| BOOLEAN FUNCTION | IsOutputPlane () BOOLEAN |
| Test if the plane will be output. | |
| BOOLEAN FUNCTION | IsOutputToolChange () BOOLEAN |
| Test if the tool change will be output. | |
| BOOLEAN FUNCTION | IsPAPCycle () BOOLEAN |
| Return true if the cycle is point to point cycle. | |
| BOOLEAN FUNCTION | IsPartingReworkOperation () BOOLEAN |
| Return true if the parting operation is following by a rework operation. | |
| BOOLEAN FUNCTION | IsPolarPlane () BOOLEAN |
| Return true if the current plane is a polar plane. | |
| BOOLEAN FUNCTION | IsRadialPlane () BOOLEAN |
| Return true if the current plane is a radial plane. | |
| BOOLEAN FUNCTION | IsReworkSpindle () BOOLEAN |
| Return true if the operation is on the rework spindle. | |
| BOOLEAN FUNCTION | IsTurnPlane () BOOLEAN |
| Return true if the current plane is a turn plane. | |
| PROCEDURE | LineBegin () |
| To do a treatment before each GPP call of Line. | |
| PROCEDURE | LineDiacoLiveToolBegin () |
| To do a treatment before each GPP call of Line_Diaco_LiveTool. | |
| PROCEDURE | LineDiacoLiveToolEnd () |
| To do a treatment after each GPP call of Line_Diaco_LiveTool. | |
| PROCEDURE | LineEnd () |
| To do a treatment after each GPP call of Line. | |
| PROCEDURE | LineLiveToolBegin () |
| To do a treatment before each GPP call of Line_LiveTool. | |
| PROCEDURE | LineLiveToolEnd () |
| To do a treatment after each GPP call of Line_LiveTool. | |
| PROCEDURE | MoveAll (int_IsPPlan, int_IsPax3:INTEGER) |
| Output a movement for all axes at the same time. | |
| PROCEDURE | MovePlan () |
| Output a movement for the first and second axes for the selected plan. | |
| PROCEDURE | MovePlunge () |
| Output a movement for the third axis of selected plan. | |
| PROCEDURE | MovePlungeContinuousWork () |
| Output movement of the third axis in the selected plan for a 5 axis continuous operation. | |
| PROCEDURE | OutputDwell (rval:REAL) |
| Output a dwell. | |
| PROCEDURE | OutputFeedParam () |
| Output the list of parameter for feed at the begin of operation. | |
| PROCEDURE | OutputFeedParamLiveTool () |
| Output the list of parameter for feed at the begin of mill operation. | |
| PROCEDURE | OutputFeedParamTurn () |
| Output the list of parameter for feed at the begin of turn operation. | |
| PROCEDURE | OutputLineFeedParam (real_Feed :REAL, str_Param :TC255) |
| Output the line to init the feed variable in the program. | |
| PROCEDURE | OutputNCApproachReworkSpindle () |
| Output NC code when the rework spindle is called. | |
| PROCEDURE | OutputNCChangeOffsetNumber () |
| Called to output a change of offset for exemple for groove. | |
| PROCEDURE | OutputNCCircleProfile () |
| Output the circle for a NC profile. | |
| PROCEDURE | OutputNCCoolant (int_Coolant :INTEGER) |
| Output th coolant. | |
| PROCEDURE | OutputNCCutcom (int_BDiaOffset :INTEGER) |
| Output the radius compensation code. | |
| PROCEDURE | OutputNCFeed (real_Feed :REAL, int_BUnit :INTEGER) |
| Output the feed. | |
| PROCEDURE | OutputNCG1 () |
| Output the working code. | |
| PROCEDURE | OutputNCG2 () |
| Output the interpolation clocwise code. | |
| PROCEDURE | OutputNCG3 () |
| Output the interpolation counter clocwise code. | |
| PROCEDURE | OutputNCLineProfile () |
| Output the line for a NC profile. | |
| PROCEDURE | OutputNCpplane () |
| Output the paxis1 and paxis2 regarding the way to manage the C axis method. | |
| PROCEDURE | OutputNCPrimary (real_Angle :REAL) |
| Output the movement for primary rotation axis. | |
| PROCEDURE | OutputNCPrimaryContinuous (real_Angle :REAL) |
| OutputNCprimary angle for continuous mode. | |
| PROCEDURE | OutputNCPrimaryIncremental (real_Angle :REAL) |
| OutputNCprimary angle for incremental mode. | |
| PROCEDURE | OutputNCPrimaryModulo (real_Angle :REAL) |
| OutputNCprimary angle for modulo mode. | |
| PROCEDURE | OutputNCProfile (VAR int_NumBlockDep, int_NumBlockEnd :INTEGER) |
| Output the profile for an operation in NC code. | |
| PROCEDURE | OutputNCPullBar (real_Stroke :REAL) |
| Output NC code when Pull bar is called. | |
| PROCEDURE | OutputNCRadiusOffsetNumber (int_OffsetNo :INTEGER) |
| Output the number for the radius compensation. | |
| PROCEDURE | OutputNCRapid () |
| Output the rapid code. | |
| PROCEDURE | OutputNCRetractReworkSpindle () |
| Output NC code when the rework spindle is retracted. | |
| PROCEDURE | OutputNCRotation (int_BRotDir:INTEGER) |
| Output the code to on or off the spindle. | |
| PROCEDURE | OutputNCRotationLivetool (int_Direction :INTEGER) |
| Output the NC direction for live tool for turning cycle with livetool. | |
| PROCEDURE | OutputNCSecondary (real_Angle :REAL) |
| Output the movement for secondary rotation axis. | |
| PROCEDURE | OutputNCSpindle (real_Speed:REAL, int_BUnit, int_Range:INTEGER) |
| Output the spindle speed. | |
| PROCEDURE | OutputNCSpindleLivetool (real_Speed :REAL) |
| Output the NC Spindle tool for livetool for turning cycle with livetool. | |
| PROCEDURE | OutputNCSteadyRestClose (int_Ident :INTEGER) |
| This procedure is called when a steady rest must be closed. | |
| PROCEDURE | OutputNCSteadyRestMove (int_Ident :INTEGER, real_Position :REAL) |
| This procedure is called when a steady rest must be moved. | |
| PROCEDURE | OutputNCSteadyRestOpen (int_Ident :INTEGER) |
| This procedure is called when a steady rest must be opened. | |
| PROCEDURE | OutputRotaryTurnCycle () |
| Output the rotary axis for turn cycle when needed. | |
| PROCEDURE | OutputSpindleRPM () |
| Output the NC spindle on with tr/min independant of the unit selected in the cycle. | |
| PROCEDURE | OutputYTurnCycle () |
| Output the Y axis for turn cycle when needed. | |
| PROCEDURE | ParameterCodeManagement (int_Line, int_Column:INTEGER) |
| Creation of page for multi channel parameters. | |
| PROCEDURE | ParameterCodeManagementInit () |
| Initialization of multi channel parameters. | |
| PROCEDURE | ParameterCodeManagementStore () |
| Store of multi channel parameters. | |
| PROCEDURE | ParameterCodeManagementUpdate () |
| Update the parameters of multi channel page when one changed. | |
| PROCEDURE | ParameterCustomer (int_Line, int_Column:INTEGER) |
| Creation of the user frame. | |
| PROCEDURE | ParameterCustomerInit () |
| Initialization of parameter used in the user frame. | |
| PROCEDURE | ParameterCustomerStore () |
| Store the parameter of the user frame. | |
| PROCEDURE | ParameterCustomerUpdate () |
| Update the parameters of user frame when one paramter is updated. | |
| PROCEDURE | ParameterFileManagement (int_Line, int_Column:INTEGER) |
| Creation of page for file management parameters. | |
| PROCEDURE | ParameterFileManagementInit () |
| Initialization file management parameters. | |
| PROCEDURE | ParameterFileManagementStore () |
| Store file management parameters. | |
| PROCEDURE | ParameterFileManagementUpdate () |
| Update parameters for file management parameters. | |
| PROCEDURE | ParameterPPStore () |
| Store the post-processor parameters of post-processor frame. | |
| PROCEDURE | ParameterPPUpdate () |
| Update the post-processor parameters of post-processor frame. | |
| PROCEDURE | ParameterPPValidate () |
| Initialization of PP parameter when output begin. | |
| PROCEDURE | ParameterTurning (int_Line, int_Column:INTEGER) |
| Creation of page for turning parameters. | |
| PROCEDURE | ParameterTurningInit () |
| Initialization of Turning parameters. | |
| PROCEDURE | ParameterTurningStore () |
| Store the turning parameter to use during creation of NC program. | |
| PROCEDURE | ParameterTurningUpdate () |
| Update the parameters of the turning page when one changed. | |
| INTEGER FUNCTION | ParametricFeedNumber (real_Feed :REAL) INTEGER |
| Return the code for a given feed to output feed with variable. | |
| INTEGER FUNCTION | ParametricFeedNumberLiveTool (real_Feed :REAL) INTEGER |
| Return the code for a given feed to output feed with variable for a mill operation. | |
| INTEGER FUNCTION | ParametricFeedNumberTurn (real_Feed :REAL) INTEGER |
| Return the code for a given feed to output feed with variable for a turn operation. | |
| PROCEDURE | PointBegin () |
| To do a treatment before each GPP call of Point. | |
| PROCEDURE | PointEnd () |
| To do a treatment after each GPP call of Point. | |
| PROCEDURE | PointLiveToolBegin () |
| To do a treatment before each GPP call of Point_LiveTool. | |
| PROCEDURE | PointLiveToolEnd () |
| To do a treatment after each GPP call of Point_LiveTool. | |
| PROCEDURE | Return3AxisLiveToolBegin () |
| To do a treatment before each GPP call of Return_3Axis_Livetool. | |
| PROCEDURE | Return3AxisLiveToolEnd () |
| To do a treatment after each GPP call of Return_3Axis_Livetool. | |
| PROCEDURE | ReturnPart () |
| Called by Part_Return to return the part. | |
| PROCEDURE | ReturnPerpLiveToolBegin () |
| To do a treatment before each GPP call of Return_Perp_Livetool. | |
| PROCEDURE | ReturnPerpLiveToolEnd () |
| To do a treatment after each GPP call of Return_Perp_Livetool. | |
| PROCEDURE | ReturnPlaneBegin () |
| To do a treatment before each GPP call of Return_Plane. | |
| PROCEDURE | ReturnPlaneEnd () |
| To do a treatment after each GPP call of Return_Plane. | |
| PROCEDURE | ReturnPlaneLiveToolBegin () |
| To do a treatment before each GPP call of Return_Plane_Livetool. | |
| PROCEDURE | ReturnPlaneLiveToolEnd () |
| To do a treatment after each GPP call of Return_Plane_Livetool. | |
| PROCEDURE | ReworkPart () |
| Called by Part_Return to rework the part. | |
| BOOLEAN FUNCTION | ReworkSpindleOnPart () BOOLEAN |
| Return true if the rework spindle is not at home position. | |
| PROCEDURE | SPMBegin () |
| Call by standard PP to ouptut the begin of subprogram. | |
| PROCEDURE | SPMCall () |
| Call by standard PP to ouptut the call of subprogram. | |
| PROCEDURE | SPMEnd () |
| Call by standard PP to ouptut the end of subprogram. | |
| PROCEDURE | StartFile () |
| Called to write the start of file in PP_Begin. | |
| PROCEDURE | StartMillOperation () |
| Called by Operation_Begin to write the start of mill operation. | |
| PROCEDURE | StartOperation () |
| Write the start of operation. | |
| PROCEDURE | StartPartingReworkOperation () |
| Called by Operation_Begin to write the begin of parting reworking operation. | |
| PROCEDURE | StartProgram () |
| Called by PP_Begin to write the start of program. | |
| PROCEDURE | StartSpecific () |
| Called by Specific_Begin to write specific begin. | |
| PROCEDURE | StartTurnOperation () |
| Called by Operation_Begin to write the start of turn operation. | |
| PROCEDURE | SUBBegin () |
| Treatment to do at the begin of block call. | |
| PROCEDURE | SUBCall () |
| Treatment to do at the call of block call. | |
| PROCEDURE | SUBEnd () |
| Treatment to do at the end of block call. | |
| PROCEDURE | TechnoFunctionTurn () |
| Manage the output for standard technology functions. | |
| PROCEDURE | ToolChange (int_ToolNb, int_ToolLengthOffset, int_IsFirstTool :INTEGER) |
| Output a tool change. | |
| PROCEDURE | UnclampCAxisCode (VAR str_Ret:TC255) |
| Initialize the code to unclamp C axis. | |
| PROCEDURE | WriteBlock (int_Value :INTEGER) |
| Write a fixed block that as been saved. | |
Contains the procedures used for turn technology
| PROCEDURE ActiveMillingEvolutionPlane | ( | ) |
Activation of specific milling plane to do the approach movement for a mill operation.
| PROCEDURE ActivePlane | ( | ) |
Active the GPP plane.
All the movement will be outputed according with the plane definition
The number of plane is initialize by InitPlane
| PROCEDURE Approach3AxisLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Approach_3axis_LiveTool.
| PROCEDURE Approach3AxisLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Approach_3axis_LiveTool.
| PROCEDURE ApproachPerpLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Approach_Perp_Livetool.
| PROCEDURE ApproachPerpLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Approach_Perp_Livetool.
| PROCEDURE ApproachPlaneBegin | ( | ) |
To do a treatment before each GPP call of Approach_Plane.
| PROCEDURE ApproachPlaneEnd | ( | ) |
To do a treatment after each GPP call of Approach_Plane.
| PROCEDURE ApproachPlaneLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Approach_Plane_Livetool.
| PROCEDURE ApproachPlaneLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Approach_Plane_Livetool.
| PROCEDURE BackMainPart | ( | ) |
Called by Part_Return to go back the part in the main spindle.
| PROCEDURE CircleBegin | ( | ) |
To do a treatment before each GPP call of Circle.
| PROCEDURE CircleBlock1 | ( | ) |
| PROCEDURE CircleBlock2 | ( | ) |
| PROCEDURE CircleEnd | ( | ) |
| PROCEDURE CircleLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Circle_LiveTool.
| PROCEDURE CircleLiveToolBlock1 | ( | ) |
First block for a circular movement for a mill operation.
| PROCEDURE CircleLiveToolBlock2 | ( | ) |
Second block for a circular movement for a mill operation.
| PROCEDURE CircleLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Circle_LiveTool.
| PROCEDURE ClampCAxisCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to clamp C axis.
Read the string to output to clamp C axis on the main or rework spindle
| [in,out] | str_Ret | : String to clamp C axis. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE CreateNCFile | ( | int_Channel :INTEGER | ) |
Create a NC file depending of the channel number.
| [in] | int_Channel | : Channel number to create the NC file |
| PROCEDURE DecodeFeedParam | ( | int_CodeFeed :INTEGER | , |
| VAR str_FeedParam :TC255 | ) |
Format the variable for parametric feed.
for example for Fanuc :
DecodeFeedParam(1,str_FeedParam); will init str_FeedParam to "#1"
| [in] | int_CodeFeed | : code of the feed |
| [out] | str_FeedParam | : string that define the variable for the CNC |
| PROCEDURE DecomposeLine | ( | ) |
Decomposed lines if necessary regarding standard options.
| PROCEDURE DisableAxialInterpoCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to disable axial interpolation.
Read the string to output to disable C axis on the main or rework spindle
| [in,out] | str_Ret | : String to disable axial interpolation. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE DisableCAxisCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to disable C axis.
Read the string to output to disable C axis on the main or rework spindle
| [in,out] | str_Ret | : String to disable C axis. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE DisableRadialInterpoCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to disable radial interpolation.
Read the string to output to disable radial interpolation on the main or rework spindle
| [in,out] | str_Ret | : String to disable radial interpolation. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE EnableAxialInterpoCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to enable axial interpolation.
Read the string to output to enable C axis on the main or rework spindle
| [in,out] | str_Ret | : String to enable axial interpolation. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE EnableCAxisCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to enable C axis.
Read the string to output to enable C axis on the main or rework spindle
| [in,out] | str_Ret | : String to enable C axis. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE EnableRadialInterpoCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to enable radial interpolation.
Read the string to output to enable radial interpolation on the main or rework spindle
| [in,out] | str_Ret | : String to enable radial interpolation. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE EndFile | ( | ) |
Called to write the end of file in PP_End.
| PROCEDURE EndMillOperation | ( | ) |
Called by Operation_End to write the end of mill operation.
| PROCEDURE EndOperation | ( | ) |
Write the end of operation.
In the standard post-processors this procedure is called by EndMillOperation and EndTurnOperation
| PROCEDURE EndPartingReworkOperation | ( | ) |
Called by Operation_End to write the end of parting reworking operation.
This procedure is used only if a parting operation is follow by a rework operation
| PROCEDURE EndProgram | ( | ) |
Called by PP_End to write the end of program.
| PROCEDURE EndSpecific | ( | ) |
Called by Specific_End to write specific end.
| PROCEDURE EndTurnOperation | ( | ) |
Called by Operation_End to write the end of turn operation.
| PROCEDURE FeedCalculate | ( | VAR real_Feed :REAL | , |
| VAR int_BUnit :INTEGER | ) |
Compute the feed if necessary.
| [out] | real_Feed | : feed of the operation |
| [out] | int_BUnit | : unit of feed |
| PROCEDURE InitDatVariables | ( | ) |
Initialize the user variables usable in the .dat file.
| PROCEDURE InitGPPNC | ( | ) |
Initialize the GPP parameters that depend of NC controller.
| PROCEDURE InitLibFlags | ( | ) |
Initialize all the flags used by the library.
| PROCEDURE InitMillingDevPlane | ( | VAR int_NumPlane:INTEGER | ) |
Initialization of the milling developped plane number to select it in the GPP.
| [out] | int_NumPlane | : Number plane that must be selected |
| PROCEDURE InitMillingPlane | ( | VAR int_NumPlane:INTEGER | ) |
Initialization of the milling plane number to select it in the GPP.
| [out] | int_NumPlane | : Number plane that must be selected |
| PROCEDURE InitOperation | ( | ) |
Initialize to do at the begin of operation.
| PROCEDURE InitPlane | ( | VAR int_NumPlane:INTEGER | ) |
Initialise the number of plane.
It depends of the operation plane and operation type
| [out] | int_NumPlane | : Number of GPP plane |
| PROCEDURE InitPlaneKey | ( | ) |
Modify the key of plane before selection.
Called in the procedure ActivePlane
| PROCEDURE InitTurningPlane | ( | VAR int_NumPlane:INTEGER | ) |
Initialization of turning plane.
| [out] | int_NumPlane | : Number plane that must be selected |
| BOOLEAN FUNCTION InvertSignCycle | ( | int_CheckGPPAxis:INTEGER | ) |
Return true if the sign of axis must be inverted.
| [in] | int_CheckGPPAxis | : define if the direction must be checked in the GPP CONST_YES : check in the GPP CONST_NO : don't check in the GPP |
| BOOLEAN FUNCTION IsAxialInterpoPlane | ( | ) |
Return true if the current plane is an axial interpoled plane.
| BOOLEAN FUNCTION IsAxialPlane | ( | ) |
Return true if the current plane is an axial plane.
| BOOLEAN FUNCTION IsAxialPlanePolar | ( | ) |
Return true if the current plane is an axial plane polar.
| BOOLEAN FUNCTION IsBPlane | ( | ) |
Return true if the current plane is a B axis plane.
| BOOLEAN FUNCTION IsBPlaneToolInclined | ( | ) |
Return true if the current plane is a B axis plane with inclined tool.
It means the B angle is given by a tool holder
| BOOLEAN FUNCTION IsContinuousWork | ( | ) |
Return true if the operation is a 5 axis continuous.
| BOOLEAN FUNCTION IsDevPlane | ( | ) |
Return true if the current plane is a radial plane.
| BOOLEAN FUNCTION IsDevZPlane | ( | ) |
Return true if the current plane is a developped plane.
| BOOLEAN FUNCTION IsDrillingDeburring | ( | ) |
Test if the drilling operation is deburring.
| BOOLEAN FUNCTION IsDrillingWithInvert | ( | ) |
Test if the cycle is a driliing cycle with the parameter invert set to true.
| BOOLEAN FUNCTION IsEnableCaxis | ( | ) |
Return true if the operation can use Caxis (milling or turn eccentric)
| BOOLEAN FUNCTION IsMillingOperation | ( | ) |
Return true if the operation is a milling operation.
| BOOLEAN FUNCTION IsMovePrimaryAxis2 | ( | ) |
Return true if the Axis 2 of plane move around the primary rotation axis.
| BOOLEAN FUNCTION IsOKOutputLockCAxis | ( | ) |
Return true if the C axis can be locked.
| BOOLEAN FUNCTION IsOutputChannel | ( | ) |
Return true if the channel must be outputed.
| BOOLEAN FUNCTION IsOutputPlane | ( | ) |
Test if the plane will be output.
| BOOLEAN FUNCTION IsOutputToolChange | ( | ) |
Test if the tool change will be output.
| BOOLEAN FUNCTION IsPAPCycle | ( | ) |
Return true if the cycle is point to point cycle.
| BOOLEAN FUNCTION IsPartingReworkOperation | ( | ) |
Return true if the parting operation is following by a rework operation.
| BOOLEAN FUNCTION IsPolarPlane | ( | ) |
Return true if the current plane is a polar plane.
| BOOLEAN FUNCTION IsRadialPlane | ( | ) |
Return true if the current plane is a radial plane.
| BOOLEAN FUNCTION IsReworkSpindle | ( | ) |
Return true if the operation is on the rework spindle.
| BOOLEAN FUNCTION IsTurnPlane | ( | ) |
Return true if the current plane is a turn plane.
| PROCEDURE LineBegin | ( | ) |
| PROCEDURE LineDiacoLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Line_Diaco_LiveTool.
| PROCEDURE LineDiacoLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Line_Diaco_LiveTool.
| PROCEDURE LineEnd | ( | ) |
| PROCEDURE LineLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Line_LiveTool.
| PROCEDURE LineLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Line_LiveTool.
| PROCEDURE MoveAll | ( | int_IsPPlan | , |
| int_IsPax3:INTEGER | ) |
Output a movement for all axes at the same time.
Move 5 axis simultenous
| [in] | int_IsPPlan | : to force first and second axes 0 : no 1 : force first axis only 2 : force second axis only 3 : force first and second axes 4 : force first and second if one of both move |
| [in] | int_IsPax3 | : to force third axis 0 : no 1 : force third axis |
| PROCEDURE MovePlan | ( | ) |
| PROCEDURE MovePlunge | ( | ) |
Output a movement for the third axis of selected plan.
Used for mill operation only
| PROCEDURE MovePlungeContinuousWork | ( | ) |
Output movement of the third axis in the selected plan for a 5 axis continuous operation.
Before plunge, it output the fourth and fifth axes
| PROCEDURE OutputDwell | ( | rval:REAL | ) |
Output a dwell.
| [in] | rval | : value for the dwell |
| PROCEDURE OutputFeedParam | ( | ) |
Output the list of parameter for feed at the begin of operation.
| PROCEDURE OutputFeedParamLiveTool | ( | ) |
Output the list of parameter for feed at the begin of mill operation.
| PROCEDURE OutputFeedParamTurn | ( | ) |
Output the list of parameter for feed at the begin of turn operation.
| PROCEDURE OutputLineFeedParam | ( | real_Feed :REAL | , |
| str_Param :TC255 | ) |
Output the line to init the feed variable in the program.
for example for fanuc this procedure should output
#1=500
| [in] | real_Feed | : feed value |
| [in] | str_Param | : string that define the variable name for the cnc |
| PROCEDURE OutputNCApproachReworkSpindle | ( | ) |
Output NC code when the rework spindle is called.
| PROCEDURE OutputNCChangeOffsetNumber | ( | ) |
Called to output a change of offset for exemple for groove.
| PROCEDURE OutputNCCircleProfile | ( | ) |
| PROCEDURE OutputNCCoolant | ( | int_Coolant :INTEGER | ) |
Output th coolant.
| [in] | int_Coolant | : Number of coolant to output Use 0 to stop coolant |
| PROCEDURE OutputNCCutcom | ( | int_BDiaOffset :INTEGER | ) |
Output the radius compensation code.
| [in] | int_BDiaOffset | : Side for the compensation CONST_LEFT : left side CONST_RIGHT : right side CONST_CENTER : at the center |
| PROCEDURE OutputNCFeed | ( | real_Feed :REAL | , |
| int_BUnit :INTEGER | ) |
Output the feed.
this procedure will treat the parameter for feed if the option is used
| [in] | real_Feed | : feed to output |
| [in] | int_BUnit | : unit of feed : CONST_MMPM for millimeter per minutes CONST_MMPR for millimeter per rotation |
| PROCEDURE OutputNCG1 | ( | ) |
Output the working code.
| PROCEDURE OutputNCG2 | ( | ) |
Output the interpolation clocwise code.
| PROCEDURE OutputNCG3 | ( | ) |
Output the interpolation counter clocwise code.
| PROCEDURE OutputNCLineProfile | ( | ) |
| PROCEDURE OutputNCPrimary | ( | real_Angle :REAL | ) |
Output the movement for primary rotation axis.
| [in] | real_Angle | : angle the primary axis must reach |
| PROCEDURE OutputNCPrimaryContinuous | ( | real_Angle :REAL | ) |
OutputNCprimary angle for continuous mode.
| PROCEDURE OutputNCPrimaryIncremental | ( | real_Angle :REAL | ) |
OutputNCprimary angle for incremental mode.
| PROCEDURE OutputNCPrimaryModulo | ( | real_Angle :REAL | ) |
OutputNCprimary angle for modulo mode.
| PROCEDURE OutputNCProfile | ( | VAR | int_NumBlockDep, |
| int_NumBlockEnd :INTEGER | ) |
Output the profile for an operation in NC code.
| [out] | int_NumBlocDep | : First Block number outputted |
| [out] | int_NumBlocEnd | : Last Block number outputted |
| PROCEDURE OutputNCPullBar | ( | real_Stroke :REAL | ) |
Output NC code when Pull bar is called.
| [in] | real_Stroke | : length of part must be pull |
| PROCEDURE OutputNCRadiusOffsetNumber | ( | int_OffsetNo :INTEGER | ) |
Output the number for the radius compensation.
| [in] | int_OffsetNo | : number of offset |
| PROCEDURE OutputNCRapid | ( | ) |
Output the rapid code.
| PROCEDURE OutputNCRetractReworkSpindle | ( | ) |
Output NC code when the rework spindle is retracted.
| PROCEDURE OutputNCRotation | ( | int_BRotDir:INTEGER | ) |
Output the code to on or off the spindle.
| [in] | int_BRotDir | : Direction of rotation. CONST_CW for clockwise CONST_CCW for couter clockwise CONST_NO for stopping |
| PROCEDURE OutputNCRotationLivetool | ( | int_Direction :INTEGER | ) |
Output the NC direction for live tool for turning cycle with livetool.
| [in] | int_Direction | : Direction of livetool can be CONST_CCW, CONST_CW, CONST_BREAK |
| PROCEDURE OutputNCSecondary | ( | real_Angle :REAL | ) |
Output the movement for secondary rotation axis.
| [in] | real_Angle | : angle the secondary axis must reach |
| PROCEDURE OutputNCSpindle | ( | real_Speed:REAL | , |
| int_BUnit | , | ||
| int_Range:INTEGER | ) |
Output the spindle speed.
| [in] | real_Speed | : speed of the spindle |
| [in] | int_BUnit | : unit of the speed spindle. CONST_RPM for rotation per minutes CONST_SMM for constant cutting speed |
| [in] | int_Range | : number og range |
| PROCEDURE OutputNCSpindleLivetool | ( | real_Speed :REAL | ) |
Output the NC Spindle tool for livetool for turning cycle with livetool.
| [in] | real_Speed | : Live tool speed |
| PROCEDURE OutputNCSteadyRestClose | ( | int_Ident :INTEGER | ) |
This procedure is called when a steady rest must be closed.
| [in] | int_Ident | : First id of the component moved by the techno function With this and if there is more than one steady rest, you can know which is concerned |
| PROCEDURE OutputNCSteadyRestMove | ( | int_Ident :INTEGER | , |
| real_Position :REAL | ) |
This procedure is called when a steady rest must be moved.
| [in] | int_Ident | : First id of the component moved by the techno function With this and if there is more than one steady rest, you can know which is concerned |
| [in] | real_Position | : position where the steady must be moved relative to the origin of the program |
| PROCEDURE OutputNCSteadyRestOpen | ( | int_Ident :INTEGER | ) |
This procedure is called when a steady rest must be opened.
| [in] | int_Ident | : First id of the component moved by the techno function With this and if there is more than one steady rest, you can know which is concerned |
| PROCEDURE OutputRotaryTurnCycle | ( | ) |
Output the rotary axis for turn cycle when needed.
The C axis is used in eccentric operation and the B axis is used in case of B turning
| PROCEDURE OutputSpindleRPM | ( | ) |
Output the NC spindle on with tr/min independant of the unit selected in the cycle.
| PROCEDURE OutputYTurnCycle | ( | ) |
Output the Y axis for turn cycle when needed.
The Y axis is used in eccentric cycle and the parting operation if the option is set to part with Y axis instead of X
In this case the Y axis is the third
| PROCEDURE ParameterCodeManagement | ( | int_Line | , |
| int_Column:INTEGER | ) |
Creation of page for multi channel parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterCodeManagementInit | ( | ) |
Initialization of multi channel parameters.
| PROCEDURE ParameterCodeManagementStore | ( | ) |
Store of multi channel parameters.
| PROCEDURE ParameterCodeManagementUpdate | ( | ) |
Update the parameters of multi channel page when one changed.
| PROCEDURE ParameterCustomer | ( | int_Line | , |
| int_Column:INTEGER | ) |
Creation of the user frame.
| [in] | int_Line | : Start line in the page |
| [in] | int_Column | : Start column in the page |
| PROCEDURE ParameterCustomerInit | ( | ) |
Initialization of parameter used in the user frame.
| PROCEDURE ParameterCustomerStore | ( | ) |
Store the parameter of the user frame.
| PROCEDURE ParameterCustomerUpdate | ( | ) |
Update the parameters of user frame when one paramter is updated.
| PROCEDURE ParameterFileManagement | ( | int_Line | , |
| int_Column:INTEGER | ) |
Creation of page for file management parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterFileManagementInit | ( | ) |
Initialization file management parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterFileManagementStore | ( | ) |
Store file management parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterFileManagementUpdate | ( | ) |
Update parameters for file management parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterPPStore | ( | ) |
Store the post-processor parameters of post-processor frame.
| PROCEDURE ParameterPPUpdate | ( | ) |
Update the post-processor parameters of post-processor frame.
| PROCEDURE ParameterPPValidate | ( | ) |
Initialization of PP parameter when output begin.
| PROCEDURE ParameterTurning | ( | int_Line | , |
| int_Column:INTEGER | ) |
Creation of page for turning parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterTurningInit | ( | ) |
Initialization of Turning parameters.
| PROCEDURE ParameterTurningStore | ( | ) |
Store the turning parameter to use during creation of NC program.
| PROCEDURE ParameterTurningUpdate | ( | ) |
Update the parameters of the turning page when one changed.
| INTEGER FUNCTION ParametricFeedNumber | ( | real_Feed :REAL | ) |
Return the code for a given feed to output feed with variable.
| [in] | real_Feed | : feed to check |
| INTEGER FUNCTION ParametricFeedNumberLiveTool | ( | real_Feed :REAL | ) |
Return the code for a given feed to output feed with variable for a mill operation.
| [in] | real_Feed | : feed to check |
| INTEGER FUNCTION ParametricFeedNumberTurn | ( | real_Feed :REAL | ) |
Return the code for a given feed to output feed with variable for a turn operation.
| [in] | real_Feed | : feed to check |
| PROCEDURE PointBegin | ( | ) |
To do a treatment before each GPP call of Point.
| PROCEDURE PointEnd | ( | ) |
| PROCEDURE PointLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Point_LiveTool.
| PROCEDURE PointLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Point_LiveTool.
| PROCEDURE Return3AxisLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Return_3Axis_Livetool.
| PROCEDURE Return3AxisLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Return_3Axis_Livetool.
| PROCEDURE ReturnPart | ( | ) |
Called by Part_Return to return the part.
| PROCEDURE ReturnPerpLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Return_Perp_Livetool.
| PROCEDURE ReturnPerpLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Return_Perp_Livetool.
| PROCEDURE ReturnPlaneBegin | ( | ) |
To do a treatment before each GPP call of Return_Plane.
| PROCEDURE ReturnPlaneEnd | ( | ) |
To do a treatment after each GPP call of Return_Plane.
| PROCEDURE ReturnPlaneLiveToolBegin | ( | ) |
To do a treatment before each GPP call of Return_Plane_Livetool.
| PROCEDURE ReturnPlaneLiveToolEnd | ( | ) |
To do a treatment after each GPP call of Return_Plane_Livetool.
| PROCEDURE ReworkPart | ( | ) |
Called by Part_Return to rework the part.
| BOOLEAN FUNCTION ReworkSpindleOnPart | ( | ) |
Return true if the rework spindle is not at home position.
| PROCEDURE SPMBegin | ( | ) |
Call by standard PP to ouptut the begin of subprogram.
| PROCEDURE SPMCall | ( | ) |
Call by standard PP to ouptut the call of subprogram.
| PROCEDURE SPMEnd | ( | ) |
Call by standard PP to ouptut the end of subprogram.
| PROCEDURE StartFile | ( | ) |
Called to write the start of file in PP_Begin.
| PROCEDURE StartMillOperation | ( | ) |
Called by Operation_Begin to write the start of mill operation.
| PROCEDURE StartOperation | ( | ) |
Write the start of operation.
In the standard post-processors this procedure is called by StartMillOperation and StartTurnOperation
| PROCEDURE StartPartingReworkOperation | ( | ) |
Called by Operation_Begin to write the begin of parting reworking operation.
This procedure is used only if a parting operation is follow by a rework operation
| PROCEDURE StartProgram | ( | ) |
Called by PP_Begin to write the start of program.
| PROCEDURE StartSpecific | ( | ) |
Called by Specific_Begin to write specific begin.
| PROCEDURE StartTurnOperation | ( | ) |
Called by Operation_Begin to write the start of turn operation.
| PROCEDURE SUBBegin | ( | ) |
Treatment to do at the begin of block call.
| PROCEDURE SUBCall | ( | ) |
Treatment to do at the call of block call.
| PROCEDURE SUBEnd | ( | ) |
Treatment to do at the end of block call.
| PROCEDURE TechnoFunctionTurn | ( | ) |
Manage the output for standard technology functions.
| PROCEDURE ToolChange | ( | int_ToolNb | , |
| int_ToolLengthOffset | , | ||
| int_IsFirstTool :INTEGER | ) |
Output a tool change.
| [in] | int_ToolNb | : tool number |
| [in] | int_ToolLengthOffset | : tool lentgh offset number |
| [in] | int_IsFirstTool | : define if it's the first tool CONST_YES : first tool CONST_NO : not first tool |
| PROCEDURE UnclampCAxisCode | ( | VAR str_Ret:TC255 | ) |
Initialize the code to unclamp C axis.
Read the string to output to unclamp C axis on the main or rework spindle
| [in,out] | str_Ret | : String to unclamp C axis. If nothing is read in the machine configuration the str_Ret is not modify |
| PROCEDURE WriteBlock | ( | int_Value :INTEGER | ) |
Write a fixed block that as been saved.
| [in] | int_Value | : identifier of the string to output The block should be saved with STRINGWR(1,str_ToSave) |