Functions | |
| void | PPMTE_dogleg_active (int Bval) |
| FMS setting dogleg treatment on rapid moves with same tool and plane each axis moves with same feedrate CONST_NO by default. | |
| void | PPMTE_exe_component (int Bcompo, int Border, double Rval, const std::string &Sjoker, double Rdelay) |
| FMS add specific event to move machine component. | |
| void | PPMTE_exe_composimult (int Bcompo, int Border, double Rval, const std::string &Scompo, double Rdelay) |
| FMS add specific event to move machine component simultaneous with previous and next. | |
| void | PPMTE_exe_display (int Bwait, const std::string &Scom) |
| FMS add specific event to display debug informations. | |
| void | PPMTE_exe_event (int Bval) |
| FMS add event in list. | |
| void | PPMTE_exe_part_chuck (int Ipart, int Ichuck, int Isens, double Rtps) |
| FMS add specific event to put or remove part on chuck. | |
| void | PPMTE_exe_turret_index (int Itrl, int Itool, double Rtps) |
| FMS add specific event to rotate turret on specific index. | |
| void | PPMTE_exe_xml_order (const std::string &Slab) |
| output axis movments accordind to label command in XML order file previously loaded | |
| void | PPMTE_first_operation_begin (int Bval) |
| FMS setting if MTE_OPERATION_BEGIN is called or not for first opération CONST_NO by default. | |
| void | PPMTE_get_channel (int *Inum) |
| FMS Read current channel. | |
| void | PPMTE_get_chuck (int *Inum) |
| FMS Read current chuck in use. | |
| void | PPMTE_get_next_point (double *Pt) |
| FMS get next coordinates according to origin and reference can be used in approach procedure. | |
| void | PPMTE_get_next_point_rotax (double *Pt) |
| MTE get next coordinates according to current angles Rotax can be used in approach procedure. | |
| void | PPMTE_get_pos_point (double *Pt) |
| FMS get current coordinates according to origin and reference. | |
| void | PPMTE_get_rotax (int Iax, double *Rpos) |
| FMS get value for rotatif axis. | |
| void | PPMTE_get_synchro (int *Inum) |
| FMS Read synchro number in use. | |
| void | PPMTE_get_turret (int *Inum) |
| FMS Read current turret in use. | |
| void | PPMTE_rot_table_auto (int Bval) |
| FMS setting automatic treatment is not requested because we want do it in MTE_APPROACH procedure CONST_YES by default to do automatic treatment before MTE_APPROACH. | |
| void | PPMTE_set_chuck (int Inum) |
| FMS set chuck number. | |
| void | PPMTE_set_delay (double Rval) |
| FMS set delay for event. | |
| void | PPMTE_set_exec_auto (int Bval) |
| FMS setting automatic treatment is requested because it's not finish by procedure often used with MTE_TECHNO_FUNCTION, MTE_REWORK, MTE_POINT. | |
| void | PPMTE_set_feed (double Rval, int Btyp) |
| FMS set feed and type values. | |
| void | PPMTE_set_origin (int Inum, int Bdecori) |
| FMS set origin for posax oordinates. | |
| void | PPMTE_set_osetno (int Bpilot) |
| FMS set pilot point with tool or not. | |
| void | PPMTE_set_posax (int Iax, double Rpos) |
| FMS set axis position. | |
| void | PPMTE_set_reference (int Inum, int Bdecori, int Bpilot, int Bplanusi) |
| FMS set origin for posax oordinates. | |
| void | PPMTE_set_rotax (int Iax, double Rpos) |
| FMS set axis position. | |
| void | PPMTE_set_rtcp (int Brtcp) |
| MTE set RTCP or not. | |
| void | PPMTE_set_spindle_chuck (int Bsens, double Rspeed, int Bunit) |
| FMS set spindle speed and direction. | |
| void | PPMTE_set_spindle_tool (int Bsens, double Rspeed) |
| FMS set rotating tool speed and direction. | |
| void | PPMTE_set_synchro (int Inum) |
| FMS set synchro number. | |
| void | PPMTE_set_tool (int Inum, int Iposte, int Index) |
| FMS set tool info for selection. | |
| void | PPMTE_set_turret (int Inum) |
| FMS set turret number. | |
| void | PPMTE_set_value (int Btyp, double Rval) |
| FMS set value for specific element as rework spindle. | |
Managing machine simulation
| void PPMTE_dogleg_active | ( | int | Bval | ) |
FMS setting dogleg treatment on rapid moves with same tool and plane
each axis moves with same feedrate
CONST_NO by default.
| [in] | Bval | CONST_YES | CONST_NO |
| void PPMTE_exe_component | ( | int | Bcompo, |
| int | Border, | ||
| double | Rval, | ||
| const std::string & | Sjoker, | ||
| double | Rdelay ) |
FMS add specific event to move machine component.
| [in] | Bcompo | componet ident (CONST_KINEMAC_COMPONENT_DOOR,...) |
| [in] | Border | component order (CONST_KINEMAC_ORDER_MOVE_MINI,...) |
| [in] | Rval | value to apply |
| [in] | Sjoker | string to specify component number |
| [in] | '' | or '*' all, '1', '2', '1,2' ... |
| [in] | Rdelay | event delay |
| void PPMTE_exe_composimult | ( | int | Bcompo, |
| int | Border, | ||
| double | Rval, | ||
| const std::string & | Scompo, | ||
| double | Rdelay ) |
FMS add specific event to move machine component simultaneous with previous and next.
| [in] | Bcompo | componet ident (CONST_KINEMAC_COMPONENT_DOOR,...) |
| [in] | Border | component order (CONST_KINEMAC_ORDER_MOVE_MINI,...) |
| [in] | Rval | value to apply |
| [in] | Scompo | string to specify label of component |
| [in] | Rdelay | events delay, must be set on first event |
| void PPMTE_exe_display | ( | int | Bwait, |
| const std::string & | Scom ) |
FMS add specific event to display debug informations.
| [in] | Bwait | stop on display (CONST_NO, CONST_YES) |
| [in] | Scom | commentary to display |
| void PPMTE_exe_event | ( | int | Bval | ) |
FMS add event in list.
| [in] | Bval | Event ident MTE_FROM MTE_GOTO MTE_GOTO_LINE MTE_OSETNO MTE_DELAY MTE_SPINDLE_CHUCK MTE_SPINDLE_TOOL MTE_SYNCHRO MTE_STOP MTE_PART_CHUCK MTE_PART_RETURN MTE_CHUCK_MOVE MTE_CHUCK_OPEN MTE_CHUCK_CLOSE MTE_TURRET MTE_BAR_CHUCK |
| void PPMTE_exe_part_chuck | ( | int | Ipart, |
| int | Ichuck, | ||
| int | Isens, | ||
| double | Rtps ) |
FMS add specific event to put or remove part on chuck.
| [in] | Ipart | 0:remove, 1:begin part, 2:rework part |
| [in] | Ichuck | 1:main, 2:rework |
| [in] | Isens | part orient in chuck, 1:direct, -1:invers |
| [in] | Rtps | delay (automatic if 0) |
| void PPMTE_exe_turret_index | ( | int | Itrl, |
| int | Itool, | ||
| double | Rtps ) |
FMS add specific event to rotate turret on specific index.
| [in] | Itrl | turret number |
| [in] | Itool | tool index number |
| [in] | Rtps | delay (automatic if 0) |
| void PPMTE_exe_xml_order | ( | const std::string & | Slab | ) |
output axis movments accordind to label command in XML order file previously loaded
| [in] | Slab | command label in XML file |
| void PPMTE_first_operation_begin | ( | int | Bval | ) |
FMS setting if MTE_OPERATION_BEGIN is called or not for first opération
CONST_NO by default.
| [in] | Bval | CONST_YES | CONST_NO |
| void PPMTE_get_channel | ( | int * | Inum | ) |
FMS Read current channel.
| [out] | Inum | current channel |
| void PPMTE_get_chuck | ( | int * | Inum | ) |
FMS Read current chuck in use.
| [out] | Inum | chuck number |
| void PPMTE_get_next_point | ( | double * | Pt | ) |
FMS get next coordinates according to origin and reference
can be used in approach procedure.
| [out] | Pt | point coordinates |
| void PPMTE_get_next_point_rotax | ( | double * | Pt | ) |
MTE get next coordinates according to current angles Rotax
can be used in approach procedure.
| [out] | Pt | point coordinates |
| void PPMTE_get_pos_point | ( | double * | Pt | ) |
FMS get current coordinates according to origin and reference.
| [out] | Pt | point coordinates |
| void PPMTE_get_rotax | ( | int | Iax, |
| double * | Rpos ) |
FMS get value for rotatif axis.
| [in] | Iax | rotatif axis number (1,2) |
| [out] | Rpos | value in degrees |
| void PPMTE_get_synchro | ( | int * | Inum | ) |
FMS Read synchro number in use.
| [out] | Inum | synchro number |
| void PPMTE_get_turret | ( | int * | Inum | ) |
FMS Read current turret in use.
| [out] | Inum | turret number |
| void PPMTE_rot_table_auto | ( | int | Bval | ) |
FMS setting automatic treatment is not requested
because we want do it in MTE_APPROACH procedure
CONST_YES by default to do automatic treatment before MTE_APPROACH.
| [in] | Bval | CONST_YES | CONST_NO |
| void PPMTE_set_chuck | ( | int | Inum | ) |
| void PPMTE_set_delay | ( | double | Rval | ) |
| void PPMTE_set_exec_auto | ( | int | Bval | ) |
FMS setting automatic treatment is requested
because it's not finish by procedure
often used with MTE_TECHNO_FUNCTION, MTE_REWORK, MTE_POINT.
| [in] | Bval | CONST_YES | CONST_NO |
| void PPMTE_set_feed | ( | double | Rval, |
| int | Btyp ) |
FMS set feed and type values.
| [in] | Rval | feed values |
| [in] | Btyp | unit:CONST_MMPM | CONST_MMPR |
| void PPMTE_set_origin | ( | int | Inum, |
| int | Bdecori ) |
FMS set origin for posax oordinates.
| [in] | Inum | 0:machine, 1:main spindle, 2:sub spindle |
| [in] | Bdecori | program origin (CONST_YES) or spindle origin(CONST_NO) |
| void PPMTE_set_osetno | ( | int | Bpilot | ) |
FMS set pilot point with tool or not.
| [in] | Bpilot | POSAX with tool length or not (CONST_YES,CONST_NO) |
| void PPMTE_set_posax | ( | int | Iax, |
| double | Rpos ) |
FMS set axis position.
| [in] | Iax | axis number (1,2,3) |
| [in] | Rpos | position value |
| void PPMTE_set_reference | ( | int | Inum, |
| int | Bdecori, | ||
| int | Bpilot, | ||
| int | Bplanusi ) |
FMS set origin for posax oordinates.
| [in] | Inum | 0:machine, 1:main spindle or setting, 2:sub spindle |
| [in] | Bdecori | program origin (CONST_YES) or part origin(CONST_NO) |
| [in] | Bpilot | POSAX with tool length or not, head angles or not (CONST_YES,CONST_NO,CONST_ORI_ANGLE) |
| [in] | Bplanusi | coordinates in working plane or not (futur use) |
| void PPMTE_set_rotax | ( | int | Iax, |
| double | Rpos ) |
FMS set axis position.
| [in] | Iax | rotatif axis number (1,2) |
| [in] | Rpos | position value |
| void PPMTE_set_rtcp | ( | int | Brtcp | ) |
MTE set RTCP or not.
| [in] | Brtcp | CONST_YES or CONST_NO |
| void PPMTE_set_spindle_chuck | ( | int | Bsens, |
| double | Rspeed, | ||
| int | Bunit ) |
FMS set spindle speed and direction.
| [in] | Bsens | CONST_BREAK, CONST_CCW, CONST_CW |
| [in] | Rspeed | speed value |
| [in] | Bunit | unit speed (CONST_MMPM, CONST_RPM) |
| void PPMTE_set_spindle_tool | ( | int | Bsens, |
| double | Rspeed ) |
FMS set rotating tool speed and direction.
| [in] | Bsens | CONST_BREAK, CONST_CCW, CONST_CW |
| [in] | Rspeed | speed value |
| void PPMTE_set_synchro | ( | int | Inum | ) |
FMS set synchro number.
| [in] | Inum | synchro number |
| void PPMTE_set_tool | ( | int | Inum, |
| int | Iposte, | ||
| int | Index ) |
FMS set tool info for selection.
| [in] | Inum | tool number 0 to use current tool on turret -1 to remove tool in spindle |
| [in] | Iposte | tool post |
| [in] | Index | tool index |
| void PPMTE_set_turret | ( | int | Inum | ) |
FMS set turret number.
| [in] | Inum | turret number |
| void PPMTE_set_value | ( | int | Btyp, |
| double | Rval ) |
FMS set value for specific element as rework spindle.
| [in] | Btyp | MTE_Z_REWORK , MTE_Z_ACCESORY |
| [in] | Rval | value to set |