GO2cam Pascal API

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.
 

Detailed Description

Contains the procedures used for mill technology

Function Documentation

◆ ActivePlane()

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 ActivePlane()
Active the GPP plane.
Definition PP67_MILL.LIB:1023

◆ Approach3AxisBegin()

PROCEDURE Approach3AxisBegin ( )

To do a treatment before each GPP call of Approach_3Axis.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE Approach3AxisBegin()
To do a treatment before each GPP call of Approach_3Axis.
Definition PP67_MILL.LIB:3575

◆ Approach3AxisEnd()

PROCEDURE Approach3AxisEnd ( )

To do a treatment after each GPP call of Approach_3Axis.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE Approach3AxisEnd()
To do a treatment after each GPP call of Approach_3Axis.
Definition PP67_MILL.LIB:3596

◆ ApproachPerpBegin()

PROCEDURE ApproachPerpBegin ( )

To do a treatment before each GPP call of Approach_Perp.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ApproachPerpBegin()
To do a treatment before each GPP call of Approach_Perp.
Definition PP67_MILL.LIB:3617

◆ ApproachPerpEnd()

PROCEDURE ApproachPerpEnd ( )

To do a treatment after each GPP call of Approach_Perp.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ApproachPerpEnd()
To do a treatment after each GPP call of Approach_Perp.
Definition PP67_MILL.LIB:3638

◆ ApproachPlaneBegin()

PROCEDURE ApproachPlaneBegin ( )

To do a treatment before each GPP call of Approach_Plane.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ApproachPlaneBegin()
To do a treatment before each GPP call of Approach_Plane.
Definition PP67_MILL.LIB:3662

◆ ApproachPlaneEnd()

PROCEDURE ApproachPlaneEnd ( )

To do a treatment after each GPP call of Approach_Plane.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ApproachPlaneEnd()
To do a treatment after each GPP call of Approach_Plane.
Definition PP67_MILL.LIB:3683

◆ ChangeDiameterOffset()

PROCEDURE ChangeDiameterOffset ( )

Treat the diameter offset change.

PROCEDURE ChangeDiameterOffset()
Treat the diameter offset change.
Definition PP67_MILL.LIB:423

◆ ChangeLengthOffset()

PROCEDURE ChangeLengthOffset ( )

Treat the length offest changement.

PROCEDURE ChangeLengthOffset()
Treat the length offest changement.
Definition PP67_MILL.LIB:380

◆ CircleBegin()

PROCEDURE CircleBegin ( )

To do a treatment before each GPP call of Circle.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE CircleBegin()
To do a treatment before each GPP call of Circle.
Definition PP67_MILL.LIB:3703

◆ CircleBlock1()

PROCEDURE CircleBlock1 ( )

First block for a circular movement.

CircleBlock1;
See also
Circle

◆ CircleBlock2()

PROCEDURE CircleBlock2 ( )

Second block for a circular movement.

CircleBlock2;
See also
Circle

◆ CircleEnd()

PROCEDURE CircleEnd ( )

To do a treatment after each GPP call of Circle.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE CircleEnd()
To do a treatment after each GPP call of Circle.
Definition PP67_MILL.LIB:3724

◆ DecodeFeedParam()

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"

Parameters
[in]int_CodeFeed: code of the feed
[out]str_FeedParam: string that define the variable for the CNC
Attention
Must implemented in the Specific PostProcessor
DecodeFeedParam(1,str_FeedVar);
See also
OutputFeedParam

◆ InitDatVariables()

PROCEDURE InitDatVariables ( )

Initialize the user variables usable in the .dat file.

Attention
Must implemented in the Specific PostProcessor
InitDatVariables;

◆ InitGPP()

PROCEDURE InitGPP ( )

Initialization of GPP.

Treatment to do in the GPP before generate the NC Pprogram

PROCEDURE InitGPP()
Initialization of GPP.
Definition PP67_MILL.LIB:2912

◆ InitGPPNC()

PROCEDURE InitGPPNC ( )

Initialize the GPP parameters that depend of NC controller.

Attention
Must implemented in the Specific PostProcessor
InitGPPNC;

◆ InitOperation()

PROCEDURE InitOperation ( )

Initialize to do at the begin of operation.

Attention
Must implemented in the Specific PostProcessor
InitOperation;

◆ InitPlane()

PROCEDURE InitPlane ( VAR int_NumPlane:INTEGER )

Initialise the number of plane.

It depends of the operation plane and operation type

Parameters
[out]int_NumPlane: Number of GPP plane
InitPlane(int_NumPlane);
See also
ActivePlane

◆ InitSubOperation()

PROCEDURE InitSubOperation ( )

Initialize to do at the begin of sub operation.

Attention
Must implemented in the Specific PostProcessor
InitSubOperation;

◆ IsContinuousWork()

BOOLEAN FUNCTION IsContinuousWork ( )

Return true if the operation is a 5 axis continuous.

Returns
True if the operation is a 5 axis continuous operation, False otherwise
BEGIN
writeln('The operation is a 5 axis continuous');
END
ELSE
BEGIN
writeln('The operation is not a 5 axis continuous');
*/
BOOLEAN FUNCTION IsContinuousWork() BOOLEAN
Return true if the operation is a 5 axis continuous.
Definition PP67_MILL.LIB:1769

◆ IsDevZPlane()

BOOLEAN FUNCTION IsDevZPlane ( )

Test if the machining plane is a developped around Z plane.

Returns
True if the macining plane is a developped around Z plane, False otherwise
IF IsDevZPlane THEN
BEGIN
writeln('The machining plane is a developped around Z plane');
END
ELSE
BEGIN
writeln('The machining plane is not a developped around Z plane');
*/
BOOLEAN FUNCTION IsDevZPlane() BOOLEAN
Test if the machining plane is a developped around Z plane.
Definition PP67_MILL.LIB:3256

◆ IsDrillingWithInvert()

BOOLEAN FUNCTION IsDrillingWithInvert ( )

Test if the cycle is a driliing cycle with the parameter invert set to true.

Version
6.8
Returns
True if the invert parameter is cheked in drilling cycle

◆ IsOutputPlane()

BOOLEAN FUNCTION IsOutputPlane ( )

Test if the plane will be output.

Returns
True if the plane will be outputed; False otherwise
BEGIN
writeln('The plane will output');
END
ELSE
BEGIN
writeln('The plane don't will output');
*/
BOOLEAN FUNCTION IsOutputPlane() BOOLEAN
Test if the plane will be output.
Definition PP67_MILL.LIB:3079

◆ IsOutputToolChange()

BOOLEAN FUNCTION IsOutputToolChange ( )

Test if the tool change will be output.

Returns
True if the tool change will be outputed; False otherwise
BEGIN
writeln('The tool change will output');
END
ELSE
BEGIN
writeln('The tool change don't will output');
*/
BOOLEAN FUNCTION IsOutputToolChange() BOOLEAN
Test if the tool change will be output.
Definition PP67_MILL.LIB:3037

◆ IsTiltedPlane()

BOOLEAN FUNCTION IsTiltedPlane ( )

Test if the machining plane is a tilted plane.

Returns
True if the macining plane is a tilted plane, False otherwise
BEGIN
writeln('The machining plane is a tilted plane');
END
ELSE
BEGIN
writeln('The machining plane is not a tilted plane');
*/
BOOLEAN FUNCTION IsTiltedPlane() BOOLEAN
Test if the machining plane is a tilted plane.
Definition PP67_MILL.LIB:3222

◆ IsXYPlane()

BOOLEAN FUNCTION IsXYPlane ( )

Test if the machining plane is on XY plane.

Returns
True if the macining plane is on XY plane, False otherwise
IF IsXYPlane THEN
BEGIN
writeln('The machining plane is on XY plane');
END
ELSE
BEGIN
writeln('The machining plane is not on XY plane');
*/
BOOLEAN FUNCTION IsXYPlane() BOOLEAN
Test if the machining plane is on XY plane.
Definition PP67_MILL.LIB:3121

◆ IsXZPlane()

BOOLEAN FUNCTION IsXZPlane ( )

Test if the machining plane is on XZ plane.

Returns
True if the macining plane is on XZ plane, False otherwise
IF IsXZPlane THEN
BEGIN
writeln('The machining plane is on XZ plane');
END
ELSE
BEGIN
writeln('The machining plane is not on XZ plane');
*/
BOOLEAN FUNCTION IsXZPlane() BOOLEAN
Test if the machining plane is on XZ plane.
Definition PP67_MILL.LIB:3155

◆ IsYZPlane()

BOOLEAN FUNCTION IsYZPlane ( )

Test if the machining plane is on YZ plane.

Returns
True if the macining plane is on YZ plane, False otherwise
IF IsYZPlane THEN
BEGIN
writeln('The machining plane is on YZ plane');
END
ELSE
BEGIN
writeln('The machining plane is not on YZ plane');
*/
BOOLEAN FUNCTION IsYZPlane() BOOLEAN
Test if the machining plane is on YZ plane.
Definition PP67_MILL.LIB:3189

◆ LineBegin()

PROCEDURE LineBegin ( )

To do a treatment before each GPP call of Line.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE LineBegin()
To do a treatment before each GPP call of Line.
Definition PP67_MILL.LIB:3745

◆ LineDiameterOffsetBegin()

PROCEDURE LineDiameterOffsetBegin ( )

To do a treatment before each GPP call of Line_Diameter_Offset.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE LineDiameterOffsetBegin()
To do a treatment before each GPP call of Line_Diameter_Offset.
Definition PP67_MILL.LIB:3787

◆ LineDiameterOffsetEnd()

PROCEDURE LineDiameterOffsetEnd ( )

To do a treatment after each GPP call of Line_Diameter_Offset.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE LineDiameterOffsetEnd()
To do a treatment after each GPP call of Line_Diameter_Offset.
Definition PP67_MILL.LIB:3808

◆ LineEnd()

PROCEDURE LineEnd ( )

To do a treatment after each GPP call of Line.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE LineEnd()
To do a treatment after each GPP call of Line.
Definition PP67_MILL.LIB:3766

◆ LockPrimaryAxis()

PROCEDURE LockPrimaryAxis ( )

Output the code to lock the primary axis.

PROCEDURE LockPrimaryAxis()
Output the code to lock the primary axis.
Definition PP67_MILL.LIB:2986

◆ LockSecondaryAxis()

PROCEDURE LockSecondaryAxis ( )

Output the code to lock the secondary axis.

PROCEDURE LockSecondaryAxis()
Output the code to lock the secondary axis.
Definition PP67_MILL.LIB:3007

◆ MoveAll()

PROCEDURE MoveAll ( int_IsPPlan ,
int_IsPax3:INTEGER  )

Output a movement for all axes at the same time.

Move 5 axis simultenous

Parameters
[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
MoveAll(0,0);
PROCEDURE MoveAll(int_IsPPlan, int_IsPax3:INTEGER)
Output a movement for all axes at the same time.
Definition PP67_MILL.LIB:1727

◆ MovePlan()

PROCEDURE MovePlan ( )

Output a movement for the first and second axes for the selected plan.

PROCEDURE MovePlan()
Output a movement for the first and second axes for the selected plan.
Definition PP67_MILL.LIB:1622

◆ MovePlunge()

PROCEDURE MovePlunge ( )

Output a movement for the third axis of selected plan.

PROCEDURE MovePlunge()
Output a movement for the third axis of selected plan.
Definition PP67_MILL.LIB:1651

◆ MovePlungeContinuousWork()

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 MovePlungeContinuousWork()
Output movement of the third axis in the selected plan for a 5 axis continuous operation.
Definition PP67_MILL.LIB:1678

◆ OutputDegFixedBlock()

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

◆ OutputFeedParam()

PROCEDURE OutputFeedParam ( )

Output the list of parameter for feed at the begin of operation.

PROCEDURE OutputFeedParam()
Output the list of parameter for feed at the begin of operation.
Definition PP67_MILL.LIB:3326
See also
DecodeFeedParam
OutputLineFeedParam

◆ OutputLineFeedParam()

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

Parameters
[in]real_Feed: feed value
[in]str_Param: string that define the variable name for the cnc
Attention
Must implemented in the Specific PostProcessor
OutputLineFeedParam(500,str_FeedVar);
See also
OutputFeedParam

◆ OutputNCCoolant()

PROCEDURE OutputNCCoolant ( int_Coolant :INTEGER )

Output th coolant.

Parameters
[in]int_Coolant: Number of coolant to output
Use 0 to stop coolant
OutputNCCoolant(8);

◆ OutputNCCutcom()

PROCEDURE OutputNCCutcom ( int_BDiaOffset :INTEGER )

Output the radius compensation code.

Parameters
[in]int_BDiaOffset: Side for the compensation
CONST_LEFT : left side
CONST_RIGHT : right side
CONST_CENTER : at the center
OutputNCCutcom(CONST_RIGHT);

◆ OutputNCFeed()

PROCEDURE OutputNCFeed ( real_Feed :REAL ,
int_BUnit :INTEGER  )

Output the feed.

this procedure will treat the parameter for feed if the option is used

Parameters
[in]real_Feed: feed to output
[in]int_BUnit: unit of feed :
CONST_MMPM for millimeter per minutes
CONST_MMPR for millimeter per rotation
OutputNCFeed(200,CONST_MMPM);

◆ OutputNCG1()

PROCEDURE OutputNCG1 ( )

Output the working code.

PROCEDURE OutputNCG1()
Output the working code.
Definition PP67_MILL.LIB:1379

◆ OutputNCG2()

PROCEDURE OutputNCG2 ( )

Output the interpolation clocwise code.

PROCEDURE OutputNCG2()
Output the interpolation clocwise code.
Definition PP67_MILL.LIB:1399

◆ OutputNCG3()

PROCEDURE OutputNCG3 ( )

Output the interpolation counter clocwise code.

PROCEDURE OutputNCG3()
Output the interpolation counter clocwise code.
Definition PP67_MILL.LIB:1420

◆ OutputNCLengthOffset()

PROCEDURE OutputNCLengthOffset ( int_OffsetNo :INTEGER )

Output the number for the length compensation.

Parameters
[in]int_OffsetNo: number of offset
OutputNCLengthOffset(1);

◆ OutputNCPrimary()

PROCEDURE OutputNCPrimary ( real_Angle :REAL )

Output the movement for primary rotation axis.

Parameters
[in]real_Angle: angle the primary axis must reach
PROCEDURE OutputNCPrimary(real_Angle :REAL)
Output the movement for primary rotation axis.
Definition PP67_MILL.LIB:1442

◆ OutputNCRadiusOffsetNumber()

PROCEDURE OutputNCRadiusOffsetNumber ( int_OffsetNo :INTEGER )

Output the number for the radius compensation.

Parameters
[in]int_OffsetNo: number of offset
OutputNCRadiusOffsetNumber(1);

◆ OutputNCRapid()

PROCEDURE OutputNCRapid ( )

Output the rapid code.

OutputNCRapid;

◆ OutputNCRotation()

PROCEDURE OutputNCRotation ( int_BRotDir:INTEGER )

Output the code to on or off the spindle.

Parameters
[in]int_BRotDir: Direction of rotation.
CONST_CW for clockwise
CONST_CCW for couter clockwise
CONST_NO for stopping
OutputNCRotation(CONST_CW);
PROCEDURE OutputNCRotation(int_BRotDir:INTEGER)
Output the code to on or off the spindle.
Definition PP67_MILL.LIB:1577

◆ OutputNCSecondary()

PROCEDURE OutputNCSecondary ( real_Angle :REAL )

Output the movement for secondary rotation axis.

Parameters
[in]real_Angle: angle the secondary axis must reach
PROCEDURE OutputNCSecondary(real_Angle :REAL)
Output the movement for secondary rotation axis.
Definition PP67_MILL.LIB:1465

◆ OutputNCSpindle()

PROCEDURE OutputNCSpindle ( real_Speed:REAL ,
int_BUnit ,
int_Range:INTEGER  )

Output the spindle speed.

Parameters
[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
OuputNCSpindle(1500,CONST_RPM,0);

◆ ParameterBlocks()

PROCEDURE ParameterBlocks ( int_Line ,
int_Column:INTEGER  )

Display a page for fixed blocks.

Parameters
[in]int_Line: line to start
[in]int_Column: column to start
PROCEDURE ParameterBlocks(int_Line, int_Column:INTEGER)
Display a page for fixed blocks.
Definition PP67_MILL.LIB:2361
See also
ParameterBlocksInit
ParameterBlocksUpdate
ParameterBlocksStore

◆ ParameterBlocksInit()

PROCEDURE ParameterBlocksInit ( )

Initialize the fixed block to empty.

PROCEDURE ParameterBlocksInit()
Initialize the fixed block to empty.
Definition PP67_MILL.LIB:2301
See also
ParameterBlocks
ParameterBlocksUpdate
ParameterBlocksStore

◆ ParameterBlocksStore()

PROCEDURE ParameterBlocksStore ( )

Store the fixed block.

PROCEDURE ParameterBlocksStore()
Store the fixed block.
Definition PP67_MILL.LIB:2268
See also
ParameterBlocks
ParameterBlocksInit
ParameterBlocksUpdate

◆ ParameterBlocksUpdate()

PROCEDURE ParameterBlocksUpdate ( )

Update the fixed block parameter.

PROCEDURE ParameterBlocksUpdate()
Update the fixed block parameter.
Definition PP67_MILL.LIB:2336
See also
ParameterBlocks
ParameterBlocksInit
ParameterBlocksStore

◆ ParameterCustomer()

PROCEDURE ParameterCustomer ( int_Line ,
int_Column:INTEGER  )

Creation of the user frame.

Parameters
[in]int_Line: Start line in the page
[in]int_Column: Start column in the page
Attention
Must implemented in the Specific PostProcessor
ParameterCustomer(1,1);

◆ ParameterCustomerInit()

PROCEDURE ParameterCustomerInit ( )

Initialization of parameter used in the user frame.

Attention
Must implemented in the Specific PostProcessor
ParameterCustomerInit;

◆ ParameterCustomerStore()

PROCEDURE ParameterCustomerStore ( )

Store the parameter of the user frame.

Attention
Must implemented in the Specific PostProcessor
ParameterCustomerStore;

◆ ParameterCustomerUpdate()

PROCEDURE ParameterCustomerUpdate ( )

Update the parameters of user frame when one paramter is updated.

Attention
Must implemented in the Specific PostProcessor
ParameterCustomerUpdate;

◆ ParameterMilling()

PROCEDURE ParameterMilling ( int_Line ,
int_Column:INTEGER  )

Creation of page for milling parameters.

Parameters
[in]int_Line: Line to start in the page
[in]int_Column: Column to start in the page
PROCEDURE ParameterMilling(int_Line, int_Column:INTEGER)
Creation of page for milling parameters.
Definition PP67_MILL.LIB:2085
See also
ParameterMillingInit
ParameterMillingUpdate
ParameterMillingStore

◆ ParameterMillingInit()

PROCEDURE ParameterMillingInit ( )

Initialization of Milling parameters.

PROCEDURE ParameterMillingInit()
Initialization of Milling parameters.
Definition PP67_MILL.LIB:2052
See also
ParameterMilling
ParameterMillingUpdate
ParameterMillingStore

◆ ParameterMillingStore()

PROCEDURE ParameterMillingStore ( )

Store the milling parameter to use during creation of NC program.

PROCEDURE ParameterMillingStore()
Store the milling parameter to use during creation of NC program.
Definition PP67_MILL.LIB:2004
See also
ParameterMilling
ParameterMillingInit
ParameterMillingUpdate

◆ ParameterMillingUpdate()

PROCEDURE ParameterMillingUpdate ( )

Update the parameter of the milling page when one changed.

PROCEDURE ParameterMillingUpdate()
Update the parameter of the milling page when one changed.
Definition PP67_MILL.LIB:2206
See also
ParameterMilling
ParameterMillingInit
ParameterMillingStore

◆ ParameterPPStore()

PROCEDURE ParameterPPStore ( )

Store the post-processor parameters of post-processor frame.

Attention
Must implemented in the Specific PostProcessor
ParameterPPStore;

◆ ParameterPPUpdate()

PROCEDURE ParameterPPUpdate ( )

Update the post-processor parameters of post-processor frame.

Attention
Must implemented in the Specific PostProcessor
ParameterPPUpdate;

◆ ParameterPPValidate()

PROCEDURE ParameterPPValidate ( )

Initialization of PP parameter when output begin.

ParameterPPValidate;

◆ ParametricFeedNumber()

INTEGER FUNCTION ParametricFeedNumber ( real_Feed :REAL )

Return the code for a given feed to output feed with variable.

Parameters
[in]real_Feed: feed to check
Returns
The code to identify the feed. 0 if the feed is not known
int_Ret := ParametricFeedNumber(500);
INTEGER FUNCTION ParametricFeedNumber(real_Feed :REAL) INTEGER
Return the code for a given feed to output feed with variable.
Definition PP67_MILL.LIB:3284

◆ PointBegin()

PROCEDURE PointBegin ( )

To do a treatment before each GPP call of Point.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE PointBegin()
To do a treatment before each GPP call of Point.
Definition PP67_MILL.LIB:3829

◆ PointEnd()

PROCEDURE PointEnd ( )

To do a treatment after each GPP call of Point.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE PointEnd()
To do a treatment after each GPP call of Point.
Definition PP67_MILL.LIB:3850

◆ ProgramCut()

PROCEDURE ProgramCut ( )

Cut the program and start a new.

PROCEDURE ProgramCut()
Cut the program and start a new.
Definition PP67_MILL.LIB:1789

◆ RestoreLastBlockNum()

PROCEDURE RestoreLastBlockNum ( )

Restore the last block number memorized with StoreLastBlockNum.

PROCEDURE RestoreLastBlockNum()
Restore the last block number memorized with StoreLastBlockNum.
Definition PP67_MILL.LIB:192

◆ Return3AxisBegin()

PROCEDURE Return3AxisBegin ( )

To do a treatment before each GPP call of Return_3Axis.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE Return3AxisBegin()
To do a treatment before each GPP call of Return_3Axis.
Definition PP67_MILL.LIB:3870

◆ Return3AxisEnd()

PROCEDURE Return3AxisEnd ( )

To do a treatment after each GPP call of Return_3Axis.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE Return3AxisEnd()
To do a treatment after each GPP call of Return_3Axis.
Definition PP67_MILL.LIB:3891

◆ ReturnPerpBegin()

PROCEDURE ReturnPerpBegin ( )

To do a treatment before each GPP call of Return_Perp.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ReturnPerpBegin()
To do a treatment before each GPP call of Return_Perp.
Definition PP67_MILL.LIB:3912

◆ ReturnPerpEnd()

PROCEDURE ReturnPerpEnd ( )

To do a treatment after each GPP call of Return_Perp.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ReturnPerpEnd()
To do a treatment after each GPP call of Return_Perp.
Definition PP67_MILL.LIB:3933

◆ ReturnPlaneBegin()

PROCEDURE ReturnPlaneBegin ( )

To do a treatment before each GPP call of Return_Plane.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ReturnPlaneBegin()
To do a treatment before each GPP call of Return_Plane.
Definition PP67_MILL.LIB:3954

◆ ReturnPlaneEnd()

PROCEDURE ReturnPlaneEnd ( )

To do a treatment after each GPP call of Return_Plane.

Attention
Must implemented in the Specific PostProcessor
PROCEDURE ReturnPlaneEnd()
To do a treatment after each GPP call of Return_Plane.
Definition PP67_MILL.LIB:3974

◆ SPMBegin()

PROCEDURE SPMBegin ( )

Treatment to do at the begin of sub program.

Attention
Must implemented in the Specific PostProcessor
SPMBegin;

◆ SPMCall()

PROCEDURE SPMCall ( )

Treatment to do at the call of sub program.

Attention
Must implemented in the Specific PostProcessor
SPMCall;

◆ SPMCallAdd()

PROCEDURE SPMCallAdd ( )

Add 1 to the nb sub-program call.

PROCEDURE SPMCallAdd()
Add 1 to the nb sub-program call.
Definition PP67_MILL.LIB:674

◆ SPMCallNb()

INTEGER FUNCTION SPMCallNb ( )

Return the number of call for sub-program.

Returns
Number of sub-program call
int_Nb := SPMCAllNb;

◆ SPMCallNbReset()

PROCEDURE SPMCallNbReset ( )

Reset the number of sub-program call.

PROCEDURE SPMCallNbReset()
Reset the number of sub-program call.
Definition PP67_MILL.LIB:652

◆ SPMEnd()

PROCEDURE SPMEnd ( )

Treatment to do at the end of sub program.

Attention
Must implemented in the Specific PostProcessor
SPMEnd;

◆ StoreLastBlockNum()

PROCEDURE StoreLastBlockNum ( )

Memorize the last block number.

PROCEDURE StoreLastBlockNum()
Memorize the last block number.
Definition PP67_MILL.LIB:168

◆ SUBBegin()

PROCEDURE SUBBegin ( )

Treatment to do at the begin of block call.

Attention
Must implemented in the Specific PostProcessor
SUBBegin;

◆ SUBCall()

PROCEDURE SUBCall ( )

Treatment to do at the call of block call.

Attention
Must implemented in the Specific PostProcessor
SUBCall;

◆ SUBEnd()

PROCEDURE SUBEnd ( )

Treatment to do at the end of block call.

Attention
Must implemented in the Specific PostProcessor
SUBEnd;

◆ ToolChange()

PROCEDURE ToolChange ( int_ToolNb ,
int_IsFirstTool :INTEGER  )

Output a tool change.

Parameters
[in]int_ToolNb: tool number
[in]int_IsFirstTool: define if it's the first tool
CONST_YES : first tool
CONST_NO : not first tool
ToolChange(1,CONST_YES);

◆ ToolPreselection()

PROCEDURE ToolPreselection ( int_NextToolNb :INTEGER )

Output the preselection of next tool.

Parameters
[in]int_NextToolNb: number of tool to preselect
ToolPreselection(2);

◆ UnlockPrimaryAxis()

PROCEDURE UnlockPrimaryAxis ( )

Output the code to unlock the primary axis.

PROCEDURE UnlockPrimaryAxis()
Output the code to unlock the primary axis.
Definition PP67_MILL.LIB:2945

◆ UnlockSecondaryAxis()

PROCEDURE UnlockSecondaryAxis ( )

Output the code to unlock the secondary axis.

PROCEDURE UnlockSecondaryAxis()
Output the code to unlock the secondary axis.
Definition PP67_MILL.LIB:2966

◆ WriteBlock()

PROCEDURE WriteBlock ( int_Value :INTEGER )

Write a fixed block that as been saved.

Parameters
[in]int_Value: identifier of the string to output
The block should be saved with STRINGWR(1,str_ToSave)
PROCEDURE WriteBlock(int_Value :INTEGER)
Write a fixed block that as been saved.
Definition PP67_MILL.LIB:1813