Topics | |
| GPP Calls | |
Functions | |
| PROCEDURE | ActivePlane () |
| Active the GPP plane. | |
| PROCEDURE | Approach3AxisBegin () |
| To do a treatment before each GPP call of Approach_3Axis. | |
| PROCEDURE | Approach3AxisEnd () |
| To do a treatment after each GPP call of Approach_3Axis. | |
| PROCEDURE | ApproachPerpBegin () |
| To do a treatment before each GPP call of Approach_Perp. | |
| PROCEDURE | ApproachPerpEnd () |
| To do a treatment after each GPP call of Approach_Perp. | |
| 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 | ChangeDiameterOffset () |
| Treat the diameter offset change. | |
| PROCEDURE | ChangeLengthOffset () |
| Treat the length offest changement. | |
| PROCEDURE | CircleBegin () |
| To do a treatment before each GPP call of Circle. | |
| PROCEDURE | CircleBlock1 () |
| First block for a circular movement. | |
| PROCEDURE | CircleBlock2 () |
| Second block for a circular movement. | |
| PROCEDURE | CircleEnd () |
| To do a treatment after each GPP call of Circle. | |
| PROCEDURE | DecodeFeedParam (int_CodeFeed :INTEGER, VAR str_FeedParam :TC255) |
| Format the variable for parametric feed. | |
| PROCEDURE | FeedCalculate (VAR real_Feed :REAL, VAR int_BUnit :INTEGER) |
| PROCEDURE | InitDatVariables () |
| Initialize the user variables usable in the .dat file. | |
| PROCEDURE | InitGPP () |
| Initialization of GPP. | |
| PROCEDURE | InitGPPNC () |
| Initialize the GPP parameters that depend of NC controller. | |
| PROCEDURE | InitOperation () |
| Initialize to do at the begin of operation. | |
| PROCEDURE | InitPlane (VAR int_NumPlane:INTEGER) |
| Initialise the number of plane. | |
| PROCEDURE | InitSubOperation () |
| Initialize to do at the begin of sub operation. | |
| BOOLEAN FUNCTION | IsContinuousWork () BOOLEAN |
| Return true if the operation is a 5 axis continuous. | |
| BOOLEAN FUNCTION | IsDevZPlane () BOOLEAN |
| Test if the machining plane is a developped around Z plane. | |
| BOOLEAN FUNCTION | IsDrillingWithInvert () BOOLEAN |
| Test if the cycle is a driliing cycle with the parameter invert set to true. | |
| 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 | IsTiltedPlane () BOOLEAN |
| Test if the machining plane is a tilted plane. | |
| BOOLEAN FUNCTION | IsXYPlane () BOOLEAN |
| Test if the machining plane is on XY plane. | |
| BOOLEAN FUNCTION | IsXZPlane () BOOLEAN |
| Test if the machining plane is on XZ plane. | |
| BOOLEAN FUNCTION | IsYZPlane () BOOLEAN |
| Test if the machining plane is on YZ plane. | |
| PROCEDURE | LineBegin () |
| To do a treatment before each GPP call of Line. | |
| PROCEDURE | LineDiameterOffsetBegin () |
| To do a treatment before each GPP call of Line_Diameter_Offset. | |
| PROCEDURE | LineDiameterOffsetEnd () |
| To do a treatment after each GPP call of Line_Diameter_Offset. | |
| PROCEDURE | LineEnd () |
| To do a treatment after each GPP call of Line. | |
| PROCEDURE | LockPrimaryAxis () |
| Output the code to lock the primary axis. | |
| PROCEDURE | LockSecondaryAxis () |
| Output the code to lock the secondary axis. | |
| 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 | OutputDegFixedBlock () |
| Output fixed block defined in the machine when a plane change occurs. | |
| PROCEDURE | OutputFeedParam () |
| Output the list of parameter for feed at the begin of operation. | |
| PROCEDURE | OutputLineFeedParam (real_Feed :REAL, str_Param :TC255) |
| Output the line to init the feed variable in the program. | |
| 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 | OutputNCLengthOffset (int_OffsetNo :INTEGER) |
| Output the number for the length compensation. | |
| PROCEDURE | OutputNCPrimary (real_Angle :REAL) |
| Output the movement for primary rotation axis. | |
| PROCEDURE | OutputNCRadiusOffsetNumber (int_OffsetNo :INTEGER) |
| Output the number for the radius compensation. | |
| PROCEDURE | OutputNCRapid () |
| Output the rapid code. | |
| PROCEDURE | OutputNCRotation (int_BRotDir:INTEGER) |
| Output the code to on or off the spindle. | |
| 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 | ParameterBlocks (int_Line, int_Column:INTEGER) |
| Display a page for fixed blocks. | |
| PROCEDURE | ParameterBlocksInit () |
| Initialize the fixed block to empty. | |
| PROCEDURE | ParameterBlocksStore () |
| Store the fixed block. | |
| PROCEDURE | ParameterBlocksUpdate () |
| Update the fixed block parameter. | |
| 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 | ParameterMilling (int_Line, int_Column:INTEGER) |
| Creation of page for milling parameters. | |
| PROCEDURE | ParameterMillingInit () |
| Initialization of Milling parameters. | |
| PROCEDURE | ParameterMillingStore () |
| Store the milling parameter to use during creation of NC program. | |
| PROCEDURE | ParameterMillingUpdate () |
| Update the parameter of the milling page when one changed. | |
| 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. | |
| INTEGER FUNCTION | ParametricFeedNumber (real_Feed :REAL) INTEGER |
| Return the code for a given feed to output feed with variable. | |
| 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 | ProgramCut () |
| Cut the program and start a new. | |
| PROCEDURE | RestoreLastBlockNum () |
| Restore the last block number memorized with StoreLastBlockNum. | |
| PROCEDURE | Return3AxisBegin () |
| To do a treatment before each GPP call of Return_3Axis. | |
| PROCEDURE | Return3AxisEnd () |
| To do a treatment after each GPP call of Return_3Axis. | |
| PROCEDURE | ReturnPerpBegin () |
| To do a treatment before each GPP call of Return_Perp. | |
| PROCEDURE | ReturnPerpEnd () |
| To do a treatment after each GPP call of Return_Perp. | |
| 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 | SPMBegin () |
| Treatment to do at the begin of sub program. | |
| PROCEDURE | SPMCall () |
| Treatment to do at the call of sub program. | |
| PROCEDURE | SPMCallAdd () |
| Add 1 to the nb sub-program call. | |
| INTEGER FUNCTION | SPMCallNb () INTEGER |
| Return the number of call for sub-program. | |
| PROCEDURE | SPMCallNbReset () |
| Reset the number of sub-program call. | |
| PROCEDURE | SPMEnd () |
| Treatment to do at the end of sub program. | |
| PROCEDURE | StoreLastBlockNum () |
| Memorize the last block number. | |
| 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 | ToolChange (int_ToolNb, int_IsFirstTool :INTEGER) |
| Output a tool change. | |
| PROCEDURE | ToolPreselection (int_NextToolNb :INTEGER) |
| Output the preselection of next tool. | |
| PROCEDURE | UnlockPrimaryAxis () |
| Output the code to unlock the primary axis. | |
| PROCEDURE | UnlockSecondaryAxis () |
| Output the code to unlock the secondary axis. | |
| PROCEDURE | WriteBlock (int_Value :INTEGER) |
| Write a fixed block that as been saved. | |
Contains the procedures used for mill technology
| 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 Approach3AxisBegin | ( | ) |
To do a treatment before each GPP call of Approach_3Axis.
| PROCEDURE Approach3AxisEnd | ( | ) |
To do a treatment after each GPP call of Approach_3Axis.
| PROCEDURE ApproachPerpBegin | ( | ) |
To do a treatment before each GPP call of Approach_Perp.
| PROCEDURE ApproachPerpEnd | ( | ) |
To do a treatment after each GPP call of Approach_Perp.
| 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 ChangeDiameterOffset | ( | ) |
Treat the diameter offset change.
| PROCEDURE ChangeLengthOffset | ( | ) |
Treat the length offest changement.
| PROCEDURE CircleBegin | ( | ) |
To do a treatment before each GPP call of Circle.
| PROCEDURE CircleBlock1 | ( | ) |
| PROCEDURE CircleBlock2 | ( | ) |
| PROCEDURE CircleEnd | ( | ) |
| 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 InitDatVariables | ( | ) |
Initialize the user variables usable in the .dat file.
| PROCEDURE InitGPP | ( | ) |
| PROCEDURE InitGPPNC | ( | ) |
Initialize the GPP parameters that depend of NC controller.
| 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 InitSubOperation | ( | ) |
Initialize to do at the begin of sub operation.
| BOOLEAN FUNCTION IsContinuousWork | ( | ) |
Return true if the operation is a 5 axis continuous.
| BOOLEAN FUNCTION IsDevZPlane | ( | ) |
Test if the machining plane is a developped around Z plane.
| BOOLEAN FUNCTION IsDrillingWithInvert | ( | ) |
Test if the cycle is a driliing cycle with the parameter invert set to true.
| BOOLEAN FUNCTION IsOutputPlane | ( | ) |
Test if the plane will be output.
| BOOLEAN FUNCTION IsOutputToolChange | ( | ) |
Test if the tool change will be output.
| BOOLEAN FUNCTION IsTiltedPlane | ( | ) |
Test if the machining plane is a tilted plane.
| BOOLEAN FUNCTION IsXYPlane | ( | ) |
Test if the machining plane is on XY plane.
| BOOLEAN FUNCTION IsXZPlane | ( | ) |
Test if the machining plane is on XZ plane.
| BOOLEAN FUNCTION IsYZPlane | ( | ) |
Test if the machining plane is on YZ plane.
| PROCEDURE LineBegin | ( | ) |
| PROCEDURE LineDiameterOffsetBegin | ( | ) |
To do a treatment before each GPP call of Line_Diameter_Offset.
| PROCEDURE LineDiameterOffsetEnd | ( | ) |
To do a treatment after each GPP call of Line_Diameter_Offset.
| PROCEDURE LineEnd | ( | ) |
| PROCEDURE LockPrimaryAxis | ( | ) |
Output the code to lock the primary axis.
| PROCEDURE LockSecondaryAxis | ( | ) |
Output the code to lock the secondary axis.
| 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.
| 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 OutputDegFixedBlock | ( | ) |
Output fixed block defined in the machine when a plane change occurs.
This procedure is called only if no kinemac is defined and a a plane change occurs
| PROCEDURE OutputFeedParam | ( | ) |
Output the list of parameter for feed at the begin of 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 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 OutputNCLengthOffset | ( | int_OffsetNo :INTEGER | ) |
Output the number for the length compensation.
| [in] | int_OffsetNo | : number of offset |
| PROCEDURE OutputNCPrimary | ( | real_Angle :REAL | ) |
Output the movement for primary rotation axis.
| [in] | real_Angle | : angle the primary axis must reach |
| 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 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 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 ParameterBlocks | ( | int_Line | , |
| int_Column:INTEGER | ) |
Display a page for fixed blocks.
| [in] | int_Line | : line to start |
| [in] | int_Column | : column to start |
| PROCEDURE ParameterBlocksInit | ( | ) |
Initialize the fixed block to empty.
| PROCEDURE ParameterBlocksStore | ( | ) |
Store the fixed block.
| PROCEDURE ParameterBlocksUpdate | ( | ) |
Update the fixed block parameter.
| 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 ParameterMilling | ( | int_Line | , |
| int_Column:INTEGER | ) |
Creation of page for milling parameters.
| [in] | int_Line | : Line to start in the page |
| [in] | int_Column | : Column to start in the page |
| PROCEDURE ParameterMillingInit | ( | ) |
Initialization of Milling parameters.
| PROCEDURE ParameterMillingStore | ( | ) |
Store the milling parameter to use during creation of NC program.
| PROCEDURE ParameterMillingUpdate | ( | ) |
Update the parameter of the milling page when one changed.
| 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.
| INTEGER FUNCTION ParametricFeedNumber | ( | real_Feed :REAL | ) |
Return the code for a given feed to output feed with variable.
| [in] | real_Feed | : feed to check |
| PROCEDURE PointBegin | ( | ) |
To do a treatment before each GPP call of Point.
| PROCEDURE PointEnd | ( | ) |
| PROCEDURE ProgramCut | ( | ) |
Cut the program and start a new.
| PROCEDURE RestoreLastBlockNum | ( | ) |
Restore the last block number memorized with StoreLastBlockNum.
| PROCEDURE Return3AxisBegin | ( | ) |
To do a treatment before each GPP call of Return_3Axis.
| PROCEDURE Return3AxisEnd | ( | ) |
To do a treatment after each GPP call of Return_3Axis.
| PROCEDURE ReturnPerpBegin | ( | ) |
To do a treatment before each GPP call of Return_Perp.
| PROCEDURE ReturnPerpEnd | ( | ) |
To do a treatment after each GPP call of Return_Perp.
| 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 SPMBegin | ( | ) |
Treatment to do at the begin of sub program.
| PROCEDURE SPMCall | ( | ) |
Treatment to do at the call of sub program.
| PROCEDURE SPMCallAdd | ( | ) |
Add 1 to the nb sub-program call.
| INTEGER FUNCTION SPMCallNb | ( | ) |
Return the number of call for sub-program.
| PROCEDURE SPMCallNbReset | ( | ) |
Reset the number of sub-program call.
| PROCEDURE SPMEnd | ( | ) |
Treatment to do at the end of sub program.
| PROCEDURE StoreLastBlockNum | ( | ) |
Memorize the last block number.
| 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 ToolChange | ( | int_ToolNb | , |
| int_IsFirstTool :INTEGER | ) |
Output a tool change.
| [in] | int_ToolNb | : tool number |
| [in] | int_IsFirstTool | : define if it's the first tool CONST_YES : first tool CONST_NO : not first tool |
| PROCEDURE ToolPreselection | ( | int_NextToolNb :INTEGER | ) |
Output the preselection of next tool.
| [in] | int_NextToolNb | : number of tool to preselect |
| PROCEDURE UnlockPrimaryAxis | ( | ) |
Output the code to unlock the primary axis.
| PROCEDURE UnlockSecondaryAxis | ( | ) |
Output the code to unlock the secondary axis.
| 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) |