Topics | |
| GPP simulation Calls | |
Functions | |
| PROCEDURE | GetMTEPtEvol (VAR tr3_Pt:TR3) |
| Read the point save in the MCT for MTE treatement. | |
| PROCEDURE | GetMTEPtParking (VAR tr3_Pt:TR3) |
| Read the parking point. | |
| PROCEDURE | MTEMoveMachinePoint (VAR int_FlagXYZ, int_FlagABC :INTEGER, int_PointType :INTEGER, VAR tr3_Pt :TR3, real_PosSecondary :REAL) |
| Simulation of movement to a point define in the MCG. | |
| PROCEDURE | MTEMoveOrigin (int_TypeMove, int_TypeEvent :INTEGER, tr3_Pt :TR3) |
| Simulate a machine movement. | |
| PROCEDURE | MTEMoveParking (int_TypeMove, int_TypeEvent :INTEGER, tr3_Pt :TR3) |
| Simulate a machine movement to park the turret. | |
| PROCEDURE | MTEMoveSecurityPoint (VAR int_FlagXYZ, int_FlagABC :INTEGER, VAR tr3_Pt :TR3) |
| Simulation of security movement for a plane change. | |
| PROCEDURE | MTEMoveToolChangePoint (VAR int_FlagXYZ, int_FlagABC :INTEGER, VAR tr3_Pt :TR3) |
| Simulation of security movement for a tool change. | |
| PROCEDURE | MTERotationOrigin (int_TypeMove, int_TypeEvent :INTEGER, real_PosSecondary :REAL) |
| Simulation of rotation for 5th axis. | |
| PROCEDURE | MTERotationParking (int_TypeMove, int_TypeEvent :INTEGER, real_PosSecondary :REAL) |
| Simulation of rotation for 5th axis to park the turret. | |
| PROCEDURE | MTEToolChange () |
| Simulation of tool change. | |
| PROCEDURE | MTETreatment (int_Case, int_FromMTE :INTEGER) |
| Treatment of standard case for MTE. | |
| PROCEDURE | OutputMTEMoveOrigin (int_TypeMove :INTEGER, tr3_Pt :TR3) |
| Output the NC code corresponding of simulation of MTEMoveOrigin. | |
| PROCEDURE | OutputMTEMoveParking (int_TypeMove :INTEGER, tr3_Pt :TR3)) |
| Output the NC code corresponding of simulation of MTEMoveParking. | |
| PROCEDURE | OutputMTERotationOrigin (int_TypeMove :INTEGER, real_PosSecondary :REAL) |
| Output the NC code corresponding of simulation of MTERotationOrigin. | |
| PROCEDURE | OutputMTERotationParking (int_TypeMove :INTEGER, real_PosSecondary :REAL) |
| Output the NC code corresponding of simulation of MTERotationParking. | |
Contains procedure used for MTE simulation for mill turn
| PROCEDURE GetMTEPtEvol | ( | VAR tr3_Pt:TR3 | ) |
Read the point save in the MCT for MTE treatement.
| [out] | tr3_Pt | : Read point |
| PROCEDURE GetMTEPtParking | ( | VAR tr3_Pt:TR3 | ) |
Read the parking point.
By default read the point in the MCT file
If the parking is order by a techno function we check if one of customer value is not null
If one of them it not null, we use the value of the techno function
| [out] | tr3_Pt | : Read point |
| PROCEDURE MTEMoveMachinePoint | ( | VAR | int_FlagXYZ, |
| int_FlagABC :INTEGER | , | ||
| int_PointType :INTEGER | , | ||
| VAR tr3_Pt :TR3 | , | ||
| real_PosSecondary :REAL | ) |
Simulation of movement to a point define in the MCG.
Simulate the movement for all points of kind int_PointType.
The last point in the list is reached according int_FlagXYZ.
The list is treat countdown and all other points are reached in 3 axis.
If there is one movement, the int_FlagXYZ is set to CONST_NO to not simulate with old method.
The last point reached is returned in tr3_Pt
| [in,out] | int_FlagXYZ | : Define the decomposition of the movement CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in,out] | int_FlagABC | : Define if the fifth axis move CONST_YES : move CONST_NO : don't move |
| [in] | int_PointType | : define the type of point to read in the MCG CONST_TOOL_CHANGE_EVOLUTION : point to reach before a tool change CONST_PLANE_CHANGE_EVOLUTION : point to reach before a plane change CONST_TOOL_CHANGE : point to simulate a tool change CONST_GENERIC : other point |
| [out] | tr3_Pt | : last point reached by simulation |
| PROCEDURE MTEMoveOrigin | ( | int_TypeMove | , |
| int_TypeEvent :INTEGER | , | ||
| tr3_Pt :TR3 | ) |
Simulate a machine movement.
Simulate a movement to reach a point define in the machine coordinate system
| [in] | int_TypeMove | : Define the decomposition of the movement CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in] | int_TypeEvent | : Define the kind of movement MTE_GOTO : move to the point MTE_FROM : define the start point for next movement, no movement should be done |
| [in] | tr3_Pt | : point to reach. The point is define in the machine coordinate sytem |
| PROCEDURE MTEMoveParking | ( | int_TypeMove | , |
| int_TypeEvent :INTEGER | , | ||
| tr3_Pt :TR3 | ) |
Simulate a machine movement to park the turret.
Simulate a movement to reach a point define in the machine coordinate system
| [in] | int_TypeMove | : Define the decomposition of the movement CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in] | int_TypeEvent | : Define the kind of movement MTE_GOTO : move to the point MTE_FROM : define the start point for next movement, no movement should be done |
| [in] | tr3_Pt | : point to reach. The point is define in the machine coordinate sytem |
| PROCEDURE MTEMoveSecurityPoint | ( | VAR | int_FlagXYZ, |
| int_FlagABC :INTEGER | , | ||
| VAR tr3_Pt :TR3 | ) |
Simulation of security movement for a plane change.
| [in,out] | int_FlagXYZ | : Define how the first point will be reached. CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in,out] | int_FlagABC | : Define if the fifth axis move CONST_YES : move CONST_NO : don't move |
| [out] | tr3_Pt | : last point reached |
| PROCEDURE MTEMoveToolChangePoint | ( | VAR | int_FlagXYZ, |
| int_FlagABC :INTEGER | , | ||
| VAR tr3_Pt :TR3 | ) |
Simulation of security movement for a tool change.
| [in,out] | int_FlagXYZ | : Define how the first point will be reached. CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [out] | tr3_Pt | : last point reached |
| PROCEDURE MTERotationOrigin | ( | int_TypeMove | , |
| int_TypeEvent :INTEGER | , | ||
| real_PosSecondary :REAL | ) |
Simulation of rotation for 5th axis.
Do a movement for secondary rotary axis. The value for the rotation is read in the MCT file
| [in] | int_TypeMove | : define if there is a movement CONST_YES : move the axes CONST_NO : no move |
| [in] | int_TypeEvent | : define the kind of movement MTE_GOTO : move to the target MTE_FROM : start of the next movement |
| PROCEDURE MTERotationParking | ( | int_TypeMove | , |
| int_TypeEvent :INTEGER | , | ||
| real_PosSecondary :REAL | ) |
Simulation of rotation for 5th axis to park the turret.
Do a movement for secondary rotary axis. The value for the rotation is read in the MCT file
| [in] | int_TypeMove | : define if there is a movement CONST_YES : move the axes CONST_NO : no move |
| [in] | int_TypeEvent | : define the kind of movement MTE_GOTO : move to the target MTE_FROM : start of the next movement |
| PROCEDURE MTEToolChange | ( | ) |
Simulation of tool change.
Procedure used to simulate the macro of machine tool change.
Reached each point of the list of point of type CONST_TOOL_CHANGE from last to first.\ Make the tool change and reach all point of list from first to last.
| PROCEDURE MTETreatment | ( | int_Case | , |
| int_FromMTE :INTEGER | ) |
Treatment of standard case for MTE.
If no kinematic for MTE exists, a standard degagement is output for NC program
| [in] | int_Case | : define which case must be treat by the procedure 1 : Start of program 2 : End of program 3 : Tool change 4 : Plane change 5 : Parking |
| [in] | int_FromMTE | : Define if the procedure is called by NC program generation or by MTE simulation 0 : from NC generation 1 : from MTE simulation |
| PROCEDURE OutputMTEMoveOrigin | ( | int_TypeMove :INTEGER | , |
| tr3_Pt :TR3 | ) |
Output the NC code corresponding of simulation of MTEMoveOrigin.
This procedure is called by MTEMoveOrigin
| [in] | int_TypeMove | : define the type of movement. CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in] | tr3_Pt | : point to reach |
| PROCEDURE OutputMTEMoveParking | ( | int_TypeMove :INTEGER | , |
| tr3_Pt :TR3 | ) |
Output the NC code corresponding of simulation of MTEMoveParking.
| [in] | int_TypeMove | : define the type of movement. CONST_YES : move the 3 axis at the same time CONST_Z_ONLY : move only Z axis CONST_Z_XY : move Z axis then X and Y at the same time CONST_X_ONLY : move X axis only CONST_X_ZY : move X axis then Z and Y at the same time CONST_Y_ONLY : move Y axis only |
| [in] | tr3_Pt | : point to reach |
| PROCEDURE OutputMTERotationOrigin | ( | int_TypeMove :INTEGER | , |
| real_PosSecondary :REAL | ) |
Output the NC code corresponding of simulation of MTERotationOrigin.
| [in] | int_TypeMove | : define the type of movement. CONST_YES : move the 5th rotation axes CONST_NO : no move |
| [in] | real_PosSecondary | : position of the second rotation axis |
| PROCEDURE OutputMTERotationParking | ( | int_TypeMove :INTEGER | , |
| real_PosSecondary :REAL | ) |
Output the NC code corresponding of simulation of MTERotationParking.
| [in] | int_TypeMove | : define the type of movement. CONST_YES : move the 5th rotation axes CONST_NO : no move |
| [in] | real_PosSecondary | : position of the second rotation axis |