Topics | |
| GPP simulation Calls | |
Functions | |
| PROCEDURE | GetMTEPtEvol (VAR tr3_Pt:TR3) |
| Read the point save in the MCF for mte treatement. | |
| PROCEDURE | MTEInitialize () |
| Check if there is a kinematic and store the value. | |
| PROCEDURE | MTEMoveMachinePoint (VAR int_FlagXYZ :INTEGER, int_PointType :INTEGER, VAR tr3_Pt :TR3) |
| 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 | MTEMoveSecurityPoint (VAR int_FlagXYZ :INTEGER, VAR tr3_Pt :TR3) |
| Simulation of security movement for a plane change. | |
| PROCEDURE | MTEMoveToolChangePoint (VAR int_FlagXYZ :INTEGER, VAR tr3_Pt :TR3) |
| Simulation of security movement for a tool change. | |
| PROCEDURE | MTERotationOrigin (int_TypeMove, int_TypeEvent :INTEGER) |
| Simulation of rotation for 4 and 5 axis. | |
| 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 | OutputMTERotationOrigin (int_TypeMove :INTEGER, real_PosPrimary, real_PosSecondary :REAL) |
| Output the NC code corresponding of simulation of MTERotationOrigin. | |
Contains procedure used for MTE simulation for mill
| PROCEDURE GetMTEPtEvol | ( | VAR tr3_Pt:TR3 | ) |
Read the point save in the MCF for mte treatement.
| [out] | tr3_Pt | : Read point |
| PROCEDURE MTEInitialize | ( | ) |
Check if there is a kinematic and store the value.
| PROCEDURE MTEMoveMachinePoint | ( | VAR int_FlagXYZ :INTEGER | , |
| int_PointType :INTEGER | , | ||
| VAR tr3_Pt :TR3 | ) |
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_XY : move Z axis then X and Y at the same time other value : move Z only |
| [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_XY : move Z axis then X and Y at the same time other value : move Z 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 :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_XY : move Z axis then X and Y at the same time other value : move Z only |
| [out] | tr3_Pt | : last point reached |
| PROCEDURE MTEMoveToolChangePoint | ( | VAR int_FlagXYZ :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_XY : move Z axis then X and Y at the same time other value : move Z only |
| [out] | tr3_Pt | : last point reached |
| PROCEDURE MTERotationOrigin | ( | int_TypeMove | , |
| int_TypeEvent :INTEGER | ) |
Simulation of rotation for 4 and 5 axis.
Do a movement for rotary axis. The value for the rotation are read in the MCF file
| [in] | int_TypeMove | : define if there is a movement CONST_YES : move the 2 axis 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 |
| [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_XY : move Z axis then X and Y at the same time other value : move Z only |
| [in] | tr3_Pt | : point to reach |
| PROCEDURE OutputMTERotationOrigin | ( | int_TypeMove :INTEGER | , |
| real_PosPrimary | , | ||
| real_PosSecondary :REAL | ) |
Output the NC code corresponding of simulation of MTERotationOrigin.
| [in] | int_TypeMove | : define the type of movement. CONST_YES : move the 2 rotation axis at the same time CONST_NO : no move |
| [in] | real_PosPrimary | : position of the first rotation axis |
| [in] | real_PosSecondary | : position of the second rotation axis |