GO2cam Pascal API

Functions

void LOAD_xml_order_file (const std::string &Sadr, const std::string &Sfile)
 load XML order file, wich allows to output components move in MTE and nc blocks in iso file
 
void OUTPUT_NC_xml_order (const std::string &Slab)
 output NC codes in iso file accordind to label command in XML order file previously loaded
 
void READ_PART_4axis_altitude (double *Rgb, double *Rgh, double *Rpb, double *Rph, int *Bcst)
 read part altitude and 4 axes EDM guide
useful for TEST_CYCLE_4AXIS procedure
 
void READ_PART_alt_depth (double *Ralt, double *Rprof, double *Rprof_inc)
 read altitude and depth of a milling cycle
 
void READ_PART_angles_direction (int *Bsens1, int *Bsens2)
 read plates rotation direction for minimum angle.
according to last position and machine angles.
call INIT_PLAN beforehand
 
void READ_PART_back_depth (double *Rdeg, double *Rusi)
 read depths for hole back machining
 
void READ_PART_bar_pull_length (double *Rval)
 read ber puller length on parting cycle
 
void READ_PART_boolean_tec (int Bind, int *Bval)
 reads the technology / strategy toggles
 
void READ_PART_call_param (int *Inbre, int *Ifirst, double *Rval1, double *Rval2, double *Rval3)
 Info for processing "CANNED" subprograms.
 
void READ_PART_ccs_radius (double *Rval)
 read radius where machining starts (last POINT before APPROACH_PLANE)
 
void READ_PART_channel_no (int *Inum)
 read channel processing number
 
void READ_PART_channel_number (int *Incan)
 read channels number with MTE
 
void READ_PART_channel_tool_number (int Icanal, int *Inombre)
 read number of various tools used with a spécific channel
useful for declaring tools on top of program
use with UTIL_load_tool_channel
 
void READ_PART_chuck_part (int Ichuck, int *Bval)
 get if it is part in chuck
can be use at begining or with customer function as CONST_CALL_REWORK_SPINDLE
 
void READ_PART_chuck_part_angle (int Ichuck, double *Rang)
 get Cangle chuck for tightening part
 
void READ_PART_chuck_part_position (int Ichuck, double *Rzmors, double *Rzmin, double *Rzmax, double *Rzori)
 get part and chuck positions with current cycle
usefull for parting and rework move
 
void READ_PART_chuck_part_tightening (int Ichuck, double *Repais_cales, int *Iserrage)
 get shims thickness for current cycle in chuck
 
void READ_PART_comment_cycle_copy (std::string &Str255)
 read cycle copy string information
 
void READ_PART_component_info (int Inum, int *Bcompo, int *Border, double *Rval, int *Ident)
 component move information for MTE customer CONST_FCT_COMPONENT
 
void READ_PART_component_position (int Bcompo, int Ident, double *Rmin, double *Rmax, double *Rori, double *Rpos)
 read component positions : mini, maxi, origin and start
 
void READ_PART_coolant (int *Inum)
 read coolant number
 
void READ_PART_customer_path (int Ind, int *Btyp, std::string &Str, double *Pt, double *Tval)
 read techno functions present on the toolpath.
 
void READ_PART_customer_type (int *Btyp)
 read type of techno function accessible in TECHNO_FUNCTION_STD
 
void READ_PART_customer_value (int Inum, double *Rval)
 read values associated with techno function
point is accessed by READ_PATH_point
coment is accessed by READ_PATH_comment
 
void READ_PART_cut_file_name (int Ind, std::string &Snom)
 read a file name in the tapes list.
Useful for FILE_TREATMENT procedure,
to re-process files generated by the PP,
for a customer DNC for example.
 
void READ_PART_cut_file_nb (int *Inombre)
 read number of tape files in the list
 
void READ_PART_cutcom (int *Bdiaco, int *Btraj)
 DIACO access at DEBUT_OPE, cans,..
 
void READ_PART_cycle_comment (std::string &Str255)
 read cycle comment in techno
 
void READ_PART_cycle_name (std::string &Str255)
 read name given to cycle (label)
 
void READ_PART_cycle_nb (int *Inombre)
 read number of cycles.
useful for making a loop on all cycles.
use with UTIL_cycle_load.
 
void READ_PART_cycle_nb_channel (int Icanal, int *Inombre)
 read number of cycles on a spécific channel
useful for making a loop on all cycles.
use with UTIL_cycle_load_channel
 
void READ_PART_cycle_no (int *Btyp)
 reading of GO2cam cycle type in progress
Reserve this processing for very particular cases.
New cycles of previous versions will be ignored
by a PP using this type.
 
void READ_PART_cycle_plane_type (int *Btyp)
 reads GO2cam plane type for current cycle.
 
void READ_PART_db_coeff (double *Rval)
 read DB coefficient for NC output (useful for inch/mm)
 
void READ_PART_dia_osetno (int *Icor)
 read diameter/radius compensation number
 
void READ_PART_drill_depth (double *Rtot, double *Rinc, double *Rfin)
 read depths for drilling,...
milling holes, lathe drilling/centering
 
void READ_PART_dwell (double *Rinc, double *Rfin)
 read dwells re-processed by PPG
 
void READ_PART_edm_origin (double *Pt)
 read edm part origin
 
void READ_PART_end_time (double *Rval)
 read cycle ending time in DB
 
void READ_PART_euler_angle (int Btyp, double *Rot1, double *Rot2, double *Rot3)
 angles for current plane with specific type (Euler)
 
void READ_PART_euler_angle2 (int Btyp, double *Rot1, double *Rot2, double *Rot3, double *Rot11, double *Rot12, double *Rot13)
 angles for current plane with specific type (Euler)
 
void READ_PART_feed (double *Rval1, double *Rval2, int *Bunit)
 lecture valeurs avance du cycle
 
void READ_PART_feed_rap (double *Rval, int *Bunit)
 read rapid feed value for cycle
 
void READ_PART_file_name (std::string &Str80)
 read original tape name
 
void READ_PART_first_taper (double *Rval)
 restores the sub-cycle's first taper
 
void READ_PART_gauges (double *Rz, double *Rx)
 read TURNING tools gauges
defined in machine file or
calculated according to tool file.
 
void READ_PART_holder_angle (double *Rang)
 get holder angle
 
void READ_PART_hole_nb (int *Inombre)
 read number of holes in sub-cycle
 
void READ_PART_integer_tec (int Bind, int *Ival)
 reads the technology,strategy,tool,machine,... integers
 
void READ_PART_inter_pass (int *Btyp, double *Rval)
 read type and value for milling cycle return in subroutine calls
 
void READ_PART_inter_plane (int *Bval)
 read if inner or outer developed plane
 
void READ_PART_isofile (std::string &Sadr, std::string &Snom, std::string &Sext)
 access to tape file name in writing process
 
void READ_PART_list_indice_plane (int *Indlst)
 read current cycle plane index in the list.
Only planes actually used by the operations list appear.
The "imaginary" planes of Rotation ABC subprograms
do not appear.
 
void READ_PART_locked_axes (int *Bcompo, double *Pos)
 read clamp component and position for a cycle with MILLTURN MTE
 
void READ_PART_loop_no (int *Inum)
 read loop processing number
 
void READ_PART_mac_directory (std::string &Str)
 Read machine file addressing string.
 
void READ_PART_machine_kinematic (int *Bprim, int *Bsec)
 read type of each avalable rotatif axis
if max-min is null, the axis is not available
 
void READ_PART_machine_name (std::string &Str80)
 read machine logic name
 
void READ_PART_memo_plane_type (int *Btyp)
 GO2cam plane type in progress.
 
void READ_PART_mill_canned_depth (double *Rprf, double *Rinc)
 read depths for canned milling :
pocket on circle / oblong / rectangle
 
void READ_PART_mill_canned_overlength (double *Rsplan, double *Rsperp)
 read milling can stock allowance
 
void READ_PART_mill_canned_safety_dist (double *Rds)
 read security distance for mill cans
 
void READ_PART_mill_stock_box (double *Ptmin, double *Ptmax)
 read milling stock box
 
void READ_PART_milling_length (double *Rval)
 read length of current coninuous path (measuring function)
 
void READ_PART_MTE_number_turret_pt (int Itrl, int Btyp, int *Inbpt)
 read turret spécific number point defined in kinematic's file
 
void READ_PART_MTE_origin_label (int ind, std::string &Slab)
 read MTE origin label
 
void READ_PART_MTE_origin_number (int *Inombre)
 read origins MTE number
 
void READ_PART_MTE_origin_point (int ind, double *Pt)
 read MTE origin point
 
void READ_PART_MTE_rot_c (double *Rot)
 read chuck C rotation for millturn and swissturn, according turret
call INIT_PLAN beforehand
 
void READ_PART_MTE_rotation (double *Rot1, double *Rot2)
 read machine rotations (for 45 degrees kinematics)
call INIT_PLAN beforehand
 
void READ_PART_MTE_tool_evolution_type (int Itrl, int Inotool, int Inoposte, int *ItypeEvol)
 read type evolution of tool (XYZ, Z only, Y only ...)
 
void READ_PART_MTE_tool_group (int Itrl, int Inotool, int Inoposte, int *NoGroupe)
 read tool group number with MTE
 
void READ_PART_MTE_tool_index_group (int Itrl, int Inotool, int Inoposte, int Index, int *NoGroupe)
 read tool group number with MTE
 
void READ_PART_MTE_tool_trihedral (std::string &Sidcode, int *Idno, int *Itooltriedre)
 read tool MTE trièdres
 
void READ_PART_MTE_tool_value (int Iclef, double *Rval)
 read tool assembly value
 
void READ_PART_MTE_turret_infos (int Itrl, int *Btyp, std::string &Sname)
 read turret type and name in kinematic's file
 
void READ_PART_MTE_turret_pt (int Itrl, int Btyp, int Index, int *Bvalid, std::string &Slabel, double *Pt)
 read turret spécific point defined in kinematic's file
 
void READ_PART_multi_pass (double *Ralt, double *Rprof, double *Rprof_inc, double *Rprof_fin, int *Inb)
 read altitude and depths of a milling cycle for subroutine calls
 
void READ_PART_new_pattern (int *Bnew, std::string &Slabel, std::string &ScodeSub, std::string &Saxis)
 read pattern user on cycle, without synchro (pattern set on a single canal)
 
void READ_PART_next_btec (int Bind, int Itrl, int Btec, int Bspg, int *Bval, int *Bok, int *Bfin)
 read toggle on following cycle.
information if cycle before end or beginning of operations list.
 
void READ_PART_next_customer_type (int *Btyp)
 read type of techno function on following cycle.
FIN_OPE, SPECIFIC_END : on next one.
SPECIFIC_BEGIN : on current cycle.
 
void READ_PART_next_cycle (int Itrl, int Btec, int Bspg, int *Bcyc, int *Bfin)
 read following cycle type according to criteria.
information if cycle before end or beginning of operations list.
 
void READ_PART_next_cycle_typno (int Bout, int Btrl, int *Btyp)
 read following cycle type according to criteria.
(current cycle if not last sub-cycle and bout = CONST_NO)
 
void READ_PART_next_etec (int Bind, int Itrl, int Btec, int Bspg, int *Ival, int *Bok, int *Bfin)
 read integer on following cycle.
information if cycle before end or beginning of operations list.
 
void READ_PART_next_other_tool_turret (int Itrl, int *Iout, int *Icorlg)
 read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is necessary a new tool.
 
void READ_PART_next_rtec (int Bind, int Itrl, int Btec, int Bspg, double *Rval, int *Bok, int *Bfin)
 read toggle on following cycle.
information if cycle before end or beginning of operations list.
 
void READ_PART_next_stec (int Bind, int Itrl, int Btec, int Bspg, std::string &Str, int *Bok, int *Bfin)
 read toggle on following cycle.
information if cycle before end or beginning of operations list.
 
void READ_PART_next_tool (int *Inum)
 read following tool number in the operations list.
Find a different tool number.
 
void READ_PART_next_tool_informations (int *Itrl, int *Inum, int *Iposte, int *Index, std::string &Str)
 read following tool number in the operations list.
Find a different tool number.
 
void READ_PART_next_tool_spindle (int Itrl, int *Iout, int *Icorlg, int *broche)
 read following tool in the operations list according
to turret number.
It is the following different cycle's tool according to the
turret, with the broche used with cycle
 
void READ_PART_next_tool_turret (int Itrl, int *Iout, int *Icorlg)
 read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is perhaps the current tool.
 
void READ_PART_next_tool_turret_INFOS (int Itrl, int *Inum, int *Iposte, int *Index, std::string &Str)
 read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is perhaps the current tool.
 
void READ_PART_next_tool_turret_no_str (int Itrl, int Bdiff, int *Inum, std::string &Strno)
 read following tool number and specific id
in the operations list according to turret number.
 
void READ_PART_obstacle (int Ind, std::string &Snom, double *Pt0, double *Pt1, double *Pt2, int *Bactive)
 read mobile obstacle made active or inactive by a
techno function on a cycle.
 
void READ_PART_obstacle_nb (int *Inombre)
 read number of mobile obstacles activated or
deactivated by a techno function on a cycle.
 
void READ_PART_offset_list (int Ind, int *Indlst)
 read EDM offset index in the list
 
void READ_PART_offset_nb (int *Inombre)
 read number of various EDM offsets used
useful for declaring offsets on top of program
use with UTIL_load_offset
 
void READ_PART_offset_no (int *Inum)
 reading EDM offset number in progress
 
void READ_PART_offset_val (double *Rval)
 read wire offset value
 
void READ_PART_ori_coord (double *Rvalx, double *Rvaly, double *Rvalz)
 read origin ofset
(cumul plane origin and subprograms translations)
 
void READ_PART_origin (int Inum, double *Ptori)
 read setting origin / machin origin with MTE
 
void READ_PART_origin_no (int *Inum)
 read origin number (cumul plane and translations)
Generally used in ORI_DECAL
 
void READ_PART_osetno (int *Icorl)
 read length comp. number
 
void READ_PART_osetno_list (int Inum, int *Indlst)
 read tool compensation index in the list
 
void READ_PART_osteno_nb (int *Inombre)
 read number of various compensations used
 
void READ_PART_overlaid_axis (int *Bsuper)
 read type axis which is superposed with MILLTURN MTE
 
void READ_PART_part_diameter (double *Rval)
 read turning part maximum diameter (final stock)
 
void READ_PART_part_length (double *Rval)
 read turning stock length (final stock)
 
void READ_PART_part_name (std::string &Str80)
 read name of part in DB (cycle part if MPM)
 
void READ_PART_part_origin (double *Ptori)
 read part origin / setting origin with MTE
 
void READ_PART_path_direction (int *Bferme, int *Bsens)
 read information on EDM toolpath only.
 
void READ_PART_path_EDM (int *Btyp)
 read information on EDM toolpath only.
 
void READ_PART_path_radius (double *Rval)
 read radius used to offset the toolpath
 
void READ_PART_plane_cone (double *Rval)
 read conical developed plane angle
 
void READ_PART_plane_list (int Inum, int *Indlst)
 read plane index in the list.
Only planes actually used by the operations list appear.
The "imaginary" planes of Rotation ABC subprograms
do not appear.
 
void READ_PART_plane_mat (double *P1, double *P2, double *P3)
 machining plane / origin rotation matrix (used for APT)
 
void READ_PART_plane_name (std::string &Str80)
 read GO2cam plane name
 
void READ_PART_plane_no (int *Inum)
 read GOE plane number
 
void READ_PART_plane_number (int *Inombre)
 read number of used planes (not reference plane)
use with UTIL_load_plane
 
void READ_PART_plane_ori (double *Pt)
 read machining plane / origin plane origin point (used for APT)
 
void READ_PART_plane_ori_name (std::string &Str80)
 read GO2cam origin plane name
 
void READ_PART_plane_ori_no (int *Inum)
 read plane origin number (excluding translations)
Generaly used in ORI_DECAL
 
void READ_PART_plane_radius (double *Rval)
 read developed plane radius
 
void READ_PART_plane_vec (double *Pvec)
 read plane milling normal vector
 
void READ_PART_pp_cycle_no (int *Btyp)
 reading of PP cycle type in progress
Reserve this processing for very particular cases.
 
void READ_PART_pp_directory (std::string &Str)
 read post-processor file addessing string
(PP type is important : standard or specific)
 
void READ_PART_primary (double *Rang)
 read machine first angle value (without INIT_PLAN)
 
void READ_PART_probing_measure_prog (int Ibloc, std::string &Sbloc)
 read bloc in prog probe_part (to call in TECHNO_FUNCTION_PROBE)
 
void READ_PART_probing_measure_prog_no (int *Inombre)
 read prog blocs number with probe_part (to call in TECHNO_FUNCTION_PROBE)
 
void READ_PART_probing_touch_number (int *Inombre)
 read touch number with probe (to call in TECHNO_FUNCTION_PROBE)
 
void READ_PART_probing_touch_point (int Itouch, double *Pt)
 read a point touch by probe (to call in TECHNO_FUNCTION_PROBE)
 
void READ_PART_probing_touch_vector (int Itouch, double *Pvec, int *Bdir)
 read a vector touch by probe (to call in TECHNO_FUNCTION_PROBE)
 
void READ_PART_process_name (std::string &Str80)
 read name of part current processus
 
void READ_PART_profile_depth (double *Rprof)
 read can/profile overall depth (false for parrallel roughing)
 
void READ_PART_profile_elt_number (int *Inombre)
 read number of machined profile elements.
(final stock at PP_BEGIN and PP_END)
 
void READ_PART_profile_end_point (double *Pt)
 Used in turning to read profile's ending point.
 
void READ_PART_profile_extrema (double *Pt)
 profile extremity point for APT (decompo+can)
 
void READ_PART_profile_itn_no (int *Ityp)
 read profile machining type complement
 
void READ_PART_profile_start_point (double *Pt)
 Used in turning to read profile's starting point.
 
void READ_PART_prog_nb (int *Inombre)
 read number of programs to be generated.
Useful in 4 axes lathe only.
 
void READ_PART_radco_no (int *Inum)
 read current angle comp. number (EDM)
 
void READ_PART_real_tec (int Bind, double *Rval)
 reads the technology,strategy,tool,machine,... reals
 
void READ_PART_recall_end (int *Inum)
 read last block number for blocks call
 
void READ_PART_recall_start (int *Inum)
 read 1st block number for blocks call
 
void READ_PART_rework_chuck_return (int *Bret)
 customer CONST_CALL_REWORK_SPINDLE : is rework chuck moved for return
 
void READ_PART_rot_angles (double *Rot1, double *Rot2, double *Rot3)
 read plates rotations (for planes)
call INIT_PLAN beforehand
 
void READ_PART_rotation (int *Bsens)
 read spindle rotation re-processed by PPG
according to plane, inversion, standard techno fcts
 
void READ_PART_rotation_livetool (int *Bsens)
 read PPG processed livetool rotation with turning cycles
(chuck and tool are rotating)
 
void READ_PART_rotcal_angles (double *Rot1, double *Rot2, double *Rot3)
 read recalculated planes rotations
(ABSOLU/REF or ABSOLU/0 planes' angles)
 
void READ_PART_scycle_nb (int *Inombre)
 read number of sub-cycles.
useful for making a loop on all cycles.
use with UTIL_load_scycle.
 
void READ_PART_secondary (double *Rang)
 read machine second angle value (without INIT_PLAN)
 
void READ_PART_sequence_type (int *Btyp)
 read if cycle in Sequence anf if it's rework sequence
usefull for spécific treatment on rework cycles
 
void READ_PART_set_no (int *Inum)
 read cycle's machining set number
 
void READ_PART_setting_no (int *Inum)
 read current speed range number (EDM)
 
void READ_PART_setting_origin (double *Ptori)
 read setting origin / machin origin with MTE
 
void READ_PART_setting_phase (int *IdPhase)
 read current phase ident (for NCCONTROL)
 
void READ_PART_smax (double *Rval)
 cycle maximum speed (maximum .MAC speed if nil)
 
void READ_PART_soft_subversion (std::string &Str)
 access GO2cam string subversion
 
void READ_PART_soft_version (std::string &Str)
 access GO2cam string version : MAJOR_VERSION * 1000 + MINOR_VERSION
 
void READ_PART_spindle (double *Rval, int *Bunit, int *Igam)
 read PPG processed spindle speed
(at debut_pp : 1st cycle spindle range speed)
 
void READ_PART_spindle_factor (double *Rval)
 read spindle coefficient fot milling tool on lathe
 
void READ_PART_spindle_livetool (double *Rval)
 read PPG processed livetool spindle speed on tool with turning cycles
(chuck and tool are rotating)
 
void READ_PART_spindle_no (int *Inum)
 In turning, specifies spindle no in progress.
 
void READ_PART_spindle_type (int *Btyp)
 In turning, specifies spindle type in progress.
 
void READ_PART_start_time (double *Rval)
 read cycle starting time in DB
 
void READ_PART_stock_box (double *Zmin, double *Xmin, double *Zmax, double *Xmax)
 read turning stock box (original stock)
 
void READ_PART_stock_dia (double *Rval)
 read turning stock maximum diameter (original stock)
 
void READ_PART_stock_elt_number (int *Inombre)
 read number of stock profile elements.
(original stock at PP_BEGIN and PP_END)
 
void READ_PART_stock_end_point (double *Pt)
 Used in turning to read stock's ending point.
 
void READ_PART_stock_length (double *Rval)
 read turning stock length (original stock)
 
void READ_PART_stock_start_point (double *Pt)
 Used in turning to read stock's starting point.
 
void READ_PART_stock_type (int *btyp)
 read stock form
 
void READ_PART_stop_length (double *Rval)
 read information on EDM toolpath only.
 
void READ_PART_string_tec (int Bind, std::string &Str)
 reads the technology,strategy,tool,machine,... strings
 
void READ_PART_subroutine_angles (int *Btyp, double *Rang)
 read imaginary plane angle (Subprogram)
 
void READ_PART_subroutine_call_no (int *Inum)
 read NC subprogram calling number
(useful for generating comments)
 
void READ_PART_subroutine_end (double *Pt)
 read a subprogram or call ending point in the
TRANSFO_..,APPEL_..,DEBUT_..,FIN_.. procedures
The point coordinates are those of the original.
 
void READ_PART_subroutine_hom (double *Rx, double *Ry, double *Rfact)
 rescale characteristics for subprograms
 
void READ_PART_subroutine_no (int *Inum)
 read NC subprogram number to call
 
void READ_PART_subroutine_rot (double *Rx, double *Ry, double *Rang)
 characteristics rotation pour les subprograms
 
void READ_PART_subroutine_soft_no (int *Inum)
 read GO2cam subprogram number
 
void READ_PART_subroutine_start (double *Pt)
 read a subprogram or call starting point in the
TRANSFO_..,APPEL_..,DEBUT_..,FIN_.. procedures
The point coordinates are those of the original.
 
void READ_PART_subroutine_sym (double *Rx, double *Ry, double *Rang)
 symmetry characteristics for subprograms
 
void READ_PART_subroutine_tecedm (double *Rav, int *Iar, int *Ireg, int *Ica, int *Iof, double *Rof)
 techno characteristics for subprogram call.
Useful for EDM strategies.
 
void READ_PART_subroutine_trans (double *Rx, double *Ry, double *Rz)
 translation vector for translation subprogram
(the vector is expressed in the basic cycle's plane)
 
void READ_PART_subroutine_transrot (double *Rx, double *Ry, double *Rz, double *Ra)
 translation vector for translation subprogram
with angle of rotation.
 
void READ_PART_subroutine_type (int *Btyp)
 Info on subprogram type at SPM_BEGIN, SPM_END, SPM_CALL.
 
void READ_PART_synchro_axes (int *Bcompo, int *Bclamp, int *Bmove, double *Pos)
 read master component and position for a cycle with MILLTURN MTE
this component will be clamp ot not
 
void READ_PART_synchro_channel (int Btypos, int *Btyp, int *Idsync, int *Inosync)
 read current synchro with MTE
 
void READ_PART_synchro_channel_info (int Idsync, int Icanal, int *Btyp, int *Btypos, int *Bnumcyc, int *Inotrl, int *Btybro)
 read infos on synchro with MTE
 
void READ_PART_synchro_channel_info2 (int Idsync, int Icanal, int *Btybro, int *Bsensrot, double *Rspeed, int *Bunit, int *Bprio)
 read infos on synchro for turning cycles with MTE
 
void READ_PART_synchro_create (int Idsync, int *Bcreate)
 read synchro creating process
 
void READ_PART_synchro_label (int Idsync, std::string &Slabel)
 read user label on synchro
 
void READ_PART_synchro_number (int Icanal, int *Insync)
 read synchros number with MTE
 
void READ_PART_synchro_pattern (int Idsync, std::string &Slabel, std::string &ScodeMain, std::string &ScodeSub)
 read pattern on synchro (patterns have to be set in machine kinematics)
 
void READ_PART_synchro_pattern_channel (int Idsync, int Icanal, int *Ioutput, std::string &Saxis)
 read pattern channel information on synchro (patterns have to be set in machine kinematics)
 
void READ_PART_tec_nb (int Btyp, int *Inombre)
 read number of DPP,MAC,... structure
 
void READ_PART_techno_name (std::string &Str255)
 read name of techno used
 
void READ_PART_thickness (double *Rval)
 reading cycle thickness in progress (EDM)
 
void READ_PART_thread_pass_nb (int *Inombre)
 read number of semi-canned threading passes
 
void READ_PART_tool (int *Iout, int *Icorl, int *Icord)
 read tool re-processed by PPG (tec fct)
 
void READ_PART_tool_accessory (int *Idno, int *Iposte)
 read accessory tool ident with MTE (SPECIFIC_BEGIN)
 
void READ_PART_tool_direction_vector (double *Pdir, double *Ppla)
 read current Tool direction vectors with kinematic machine
 
void READ_PART_tool_inclinaison_angle (double *Rang)
 read tool angle for rotating tool using on lathes
 
void READ_PART_tool_index (double *Ra1, double *Ra2)
 read rotated and orientation tool angles
(used with special tools)
 
void READ_PART_tool_index_angle (double *Rangle)
 read tool indexation in spindle (spindle like Integrex,Multus,..)
 
void READ_PART_tool_itn_no (int *Inum)
 read turning tool quadrant (techno)
 
void READ_PART_tool_list (int Inum, int Itrl, int *Indlst, int *corl1, int *corl2, int *cord)
 read tool's index/characteristics in list
 
void READ_PART_tool_name (std::string &Str255)
 read tool name
 
void READ_PART_tool_no (int *Inum)
 read tool number of cycle in progress
rather use READ_PART_tool()
 
void READ_PART_tool_no_str (std::string &Snumout)
 read specific tool number string
 
void READ_PART_tool_number (int *Inombre)
 read number of various tools used
useful for declaring tools on top of program
use with UTIL_tool_load
 
void READ_PART_tool_offset_vector (double *Pvec)
 read current Tool gauge vector with kinematic machine
 
void READ_PART_tool_position (int *Btyp)
 read tool positionning (for rotating tools on lathes)
 
void READ_PART_tool_post_index (int *Iposte, int *Index)
 read poste and index on current tool
 
void READ_PART_tool_radius (double *Rval)
 read tool cutter
 
void READ_PART_tool_vec (double *Pvec)
 read tool normalized vector (milling)
 
void READ_PART_total_time (double *Rval)
 read total time in DB
 
void READ_PART_turn_canned_depth (double *Rinc, double *Rfin, int Bsgn)
 read canned turning depths
 
void READ_PART_turn_canned_overlength (double *Rz, double *Rx, int Bsgn)
 read canned turning stock allowance
can be signed by TYP_CYCLE and CADRAN_CYC
 
void READ_PART_turn_canned_safety_dist (double *Rz, double *Rx, int Bsgn)
 turning security distance reading
easier by READ_PATH_safety_distance in drillings,...
 
void READ_PART_turn_cycle_type (int *Btyp)
 read cycle complement type according to cycle (turning only)
 
void READ_PART_turning_angles (double *Rangb, double *Rangindex)
 read B angle and index angle for turning tool
 
void READ_PART_turning_b_angle (double *Rang)
 read B angle for turning tool
 
void READ_PART_turning_tool_angle_orientation (double *Rang)
 read turning tool angle on the turret
 
void READ_PART_turret_index (int *Inpos)
 Restores the number of positions between current tool
and previous one on the same turret.
 
void READ_PART_turret_linked (int *Ilink_trl)
 read if X turret is link with an other (turn simultaneous cycles)
 
void READ_PART_turret_no (int *Inum)
 read turret number of cycle in progress (DEBUT_OPE)
current turret (PP_BEGIN).
Used for 4 axes lathes, or lathes which can be
programmed either in X+ or in X-.
 
void READ_PART_turret_pocket_tool (int Itrl, int *Iout, int *Iposte, int *Index)
 read current tool number and poste and index on a turret
can be used at beginning to read first tool on each turret
can be used after OPERATION_BEGIN, but not inside
 
void READ_PART_turret_tool (int Itrl, int *Iout)
 read current tool number on a turret
can be used at beginning to read first tool on each turret
can be used after OPERATION_BEGIN, but not inside
 
void READ_PART_under_axe_overcut (double *Rval)
 read toolpath overflow below the axis for
lathe roughing cycle.
(to know whether the canned profile is valid)
 
void READ_PART_work_holding (int *Isetting, double *Pori, double *Rang, int *Inclamp)
 read informations on current setting
 
void READ_PART_work_holding_locked (int Iclamp, int *Idaxis, double *Rpos)
 read clamp axis id and value
 
void READ_PART_x_turn_type (int *Btyp)
 Axis used for turning cycle (can be used with CA Lathe)
 
void READ_PART_z_part_return (double *Rval)
 read 2nd revolution plane Z origin
 

Detailed Description

Read part information

Read part information

Function Documentation

◆ LOAD_xml_order_file()

void LOAD_xml_order_file ( const std::string & Sadr,
const std::string & Sfile )

load XML order file, wich allows to output components move in MTE and nc blocks in iso file

Version
6.07 MTE
Parameters
[in]Sadrxml file directory
[in]Sfilexml file name
PCALL(LOAD_xml_order_file,'pp','ppmove.xml');
void LOAD_xml_order_file(const std::string &Sadr, const std::string &Sfile)
load XML order file, wich allows to output components move in MTE and nc blocks in iso file
Definition pp_pas80.c:246

◆ OUTPUT_NC_xml_order()

void OUTPUT_NC_xml_order ( const std::string & Slab)

output NC codes in iso file accordind to label command in XML order file previously loaded

Version
6.07 MTE
Parameters
[in]Slabcommand label in XML file
PCALL(OUTPUT_NC_xml_order,'toolchange');
void OUTPUT_NC_xml_order(const std::string &Slab)
output NC codes in iso file accordind to label command in XML order file previously loaded
Definition pp_pas80.c:275

◆ READ_PART_4axis_altitude()

void READ_PART_4axis_altitude ( double * Rgb,
double * Rgh,
double * Rpb,
double * Rph,
int * Bcst )

read part altitude and 4 axes EDM guide
useful for TEST_CYCLE_4AXIS procedure

Version
4.4
Parameters
[out]Rgblower guide altitude
[out]Rghhigher guide altitude
[out]Rpblower part altitude
[out]Rphhigher part altitude
[out]BcstCONST_YES constant part height
CONST_NO changing part height

◆ READ_PART_alt_depth()

void READ_PART_alt_depth ( double * Ralt,
double * Rprof,
double * Rprof_inc )

read altitude and depth of a milling cycle

Parameters
[out]Raltstarting altitude
[out]Rproftotal depth
[out]Rprof_incincremental depth
Remarks
for "hole", you must use READ_PART_drill_depth
PCALL(READ_PART_alt_depth,alt,prof,profi);
void READ_PART_alt_depth(double *Ralt, double *Rprof, double *Rprof_inc)
read altitude and depth of a milling cycle
Definition pp_pas30.c:160
See also
READ_PART_mill_canned_depth

◆ READ_PART_angles_direction()

void READ_PART_angles_direction ( int * Bsens1,
int * Bsens2 )

read plates rotation direction for minimum angle.
according to last position and machine angles.
call INIT_PLAN beforehand

Version
4.5
Parameters
[out]Bsens11st rotary axis direction CONST_CCW CONST_CW
[out]Bsens22nd rotary axis direction CONST_CCW CONST_CW
PCALL(READ_PART_angles_direction,Bsens1,Bsens2)
void READ_PART_angles_direction(int *Bsens1, int *Bsens2)
read plates rotation direction for minimum angle. according to last position and machine angles....
Definition pp_pas30.c:6117
See also
READ_PART_rot_angles

◆ READ_PART_back_depth()

void READ_PART_back_depth ( double * Rdeg,
double * Rusi )

read depths for hole back machining

Version
5.7
Parameters
[out]Rdegback part depth
[out]Rusimachining depth
Remarks
This function behaves as ltra...
since the depths can vary on each hole.
PCALL(READ_PART_back_depth,prf_deg,prf_usi);
void READ_PART_back_depth(double *Rdeg, double *Rusi)
read depths for hole back machining
Definition pp_pas30.c:4939

◆ READ_PART_bar_pull_length()

void READ_PART_bar_pull_length ( double * Rval)

read ber puller length on parting cycle

Version
5.13
Parameters
[out]Rvalvalue

◆ READ_PART_boolean_tec()

void READ_PART_boolean_tec ( int Bind,
int * Bval )

reads the technology / strategy toggles

Parameters
[in]BindBTF_... , BTT_..., BO_..., B...
exhaustive list according to cycle in online help
or in dat\RES_IPPG.DAT file
[out]Bvaltoggle value:CONST_LEFT,...
CONST_UNDEFINE if not defined for cycle in progress
PCALL(READ_PART_boolean_tec,BOOLEAN_TURN_PLUNGE_TYPE,bval);
void READ_PART_boolean_tec(int Bind, int *Bval)
reads the technology / strategy toggles
Definition pp_pas30.c:7961
See also
TEST_select_tec

◆ READ_PART_call_param()

void READ_PART_call_param ( int * Inbre,
int * Ifirst,
double * Rval1,
double * Rval2,
double * Rval3 )

Info for processing "CANNED" subprograms.

Parameters
[out]Inbrenumber of calls
[out]IfirstSPG call before 1st transformation:0/1
[out]Rval1decx
[out]Rval2decy
[out]Rval3decz or angle
PCALL(READ_PART_call_param,Inbre,Ifirst,Rval1,Rval2,Rval3);
void READ_PART_call_param(int *Inbre, int *Ifirst, double *Rval1, double *Rval2, double *Rval3)
Info for processing "CANNED" subprograms.
Definition pp_pas30.c:540

◆ READ_PART_ccs_radius()

void READ_PART_ccs_radius ( double * Rval)

read radius where machining starts (last POINT before APPROACH_PLANE)

Parameters
[out]Rvalradius value
void READ_PART_ccs_radius(double *Rval)
read radius where machining starts (last POINT before APPROACH_PLANE)
Definition pp_pas30.c:5628

◆ READ_PART_channel_no()

void READ_PART_channel_no ( int * Inum)

read channel processing number

Version
6.01
Parameters
[out]Inum1,2,3,... (for debut_pp)

◆ READ_PART_channel_number()

void READ_PART_channel_number ( int * Incan)

read channels number with MTE

Version
6.03
Parameters
[out]Incannumber of used channels
void READ_PART_channel_number(int *Incan)
read channels number with MTE
Definition pp_pas30.c:8236

◆ READ_PART_channel_tool_number()

void READ_PART_channel_tool_number ( int Icanal,
int * Inombre )

read number of various tools used with a spécific channel
useful for declaring tools on top of program
use with UTIL_load_tool_channel

Version
607
Parameters
[in]Icanalcanal number
[out]Inombrenumber of tools used with this channel (0..n)
PCALL(READ_PART_channel_tool_number,Icanal,Inombre);
void READ_PART_channel_tool_number(int Icanal, int *Inombre)
read number of various tools used with a spécific channel useful for declaring tools on top of prog...
Definition pp_pas30.c:2411
See also
UTIL_load_tool_channel, READ_PART_tool_number

◆ READ_PART_chuck_part()

void READ_PART_chuck_part ( int Ichuck,
int * Bval )

get if it is part in chuck
can be use at begining or with customer function as CONST_CALL_REWORK_SPINDLE

Version
6.02 MTE
Parameters
[in]Ichuckchuck number 1,2
[out]BvalCONST_NO, CONST_YES, CONST_BAR
PCALL(READ_PART_chuck_part,2,bval);
void READ_PART_chuck_part(int Ichuck, int *Bval)
get if it is part in chuck can be use at begining or with customer function as CONST_CALL_REWORK_SP...
Definition pp_pas80.c:27

◆ READ_PART_chuck_part_angle()

void READ_PART_chuck_part_angle ( int Ichuck,
double * Rang )

get Cangle chuck for tightening part

Version
6.07 MTE
Parameters
[in]Ichuck0:auto, or chuck number (1,2)
[out]RangCangle chuck for tightening part
void READ_PART_chuck_part_angle(int Ichuck, double *Rang)
get Cangle chuck for tightening part
Definition pp_pas80.c:166

◆ READ_PART_chuck_part_position()

void READ_PART_chuck_part_position ( int Ichuck,
double * Rzmors,
double * Rzmin,
double * Rzmax,
double * Rzori )

get part and chuck positions with current cycle
usefull for parting and rework move

Version
5.13 MTE
Parameters
[in]Ichuck0:auto, or chuck number
[out]RzmorsZmax chuck
[out]RzminZpart in chuck / zmax chuck
[out]RzmaxZpart out chuck / zmax chuck
[out]RzoriZorigin for programmation
PCALL(READ_PART_chuck_part_position,1,zmors,zmin,zmax,zori);
void READ_PART_chuck_part_position(int Ichuck, double *Rzmors, double *Rzmin, double *Rzmax, double *Rzori)
get part and chuck positions with current cycle usefull for parting and rework move
Definition pp_pas80.c:66

◆ READ_PART_chuck_part_tightening()

void READ_PART_chuck_part_tightening ( int Ichuck,
double * Repais_cales,
int * Iserrage )

get shims thickness for current cycle in chuck

Version
6.04 MTE
Parameters
[in]Ichuck0:auto, or chuck number
[out]Repais_calesshims thickness
[out]Iserragetightening of jaws number
void READ_PART_chuck_part_tightening(int Ichuck, double *Repais_cales, int *Iserrage)
get shims thickness for current cycle in chuck
Definition pp_pas80.c:120

◆ READ_PART_comment_cycle_copy()

void READ_PART_comment_cycle_copy ( std::string & Str255)

read cycle copy string information

Version
5.13
Parameters
[out]Str255information if cycle is copied
void READ_PART_comment_cycle_copy(std::string &Str255)
read cycle copy string information
Definition pp_pas30.c:679

◆ READ_PART_component_info()

void READ_PART_component_info ( int Inum,
int * Bcompo,
int * Border,
double * Rval,
int * Ident )

component move information for MTE customer CONST_FCT_COMPONENT

Version
6.01 MTE
Parameters
[in]Inumjoker no (0..n)
[out]Bcompocomponent CONST_UNDEFINE
CONST_KINEMAC_COMPONENT_AXIS
CONST_KINEMAC_COMPONENT_DOOR
CONST_KINEMAC_COMPONENT_TRAPDOOR
CONST_KINEMAC_COMPONENT_CHANGER
CONST_KINEMAC_COMPONENT_COLLECTOR
CONST_KINEMAC_COMPONENT_TAILSTOCK_CENTER
CONST_KINEMAC_COMPONENT_STEADY
[out]Borderorder CONST_UNDEFINE
CONST_KINEMAC_ORDER_MOVE
CONST_KINEMAC_ORDER_MOVE_MINI
CONST_KINEMAC_ORDER_MOVE_MAXI
CONST_KINEMAC_ORDER_MOVE_ORIGIN
CONST_KINEMAC_ORDER_TIGHTEN
CONST_KINEMAC_ORDER_LOOSEN
CONST_KINEMAC_ORDER_TIGHTEN_OPPOSITE
CONST_KINEMAC_ORDER_LOOSEN_OPPOSITE
CONST_KINEMAC_ORDER_STOP_POURSUITE
[out]Rvalposition value
[out]Identcomponent ident
PCALL(READ_PART_component_info,0,Bcompo,Border,Rval,Ident);
void READ_PART_component_info(int Inum, int *Bcompo, int *Border, double *Rval, int *Ident)
component move information for MTE customer CONST_FCT_COMPONENT
Definition pp_pas30.c:720

◆ READ_PART_component_position()

void READ_PART_component_position ( int Bcompo,
int Ident,
double * Rmin,
double * Rmax,
double * Rori,
double * Rpos )

read component positions : mini, maxi, origin and start

Version
6.02 MTE
Parameters
[in]Bcompocomponent
CONST_KINEMAC_COMPONENT_AXIS
CONST_KINEMAC_COMPONENT_DOOR
CONST_KINEMAC_COMPONENT_TRAPDOOR
CONST_KINEMAC_COMPONENT_CHANGER
CONST_KINEMAC_COMPONENT_COLLECTOR
CONST_KINEMAC_COMPONENT_TAILSTOCK_CENTER
CONST_KINEMAC_COMPONENT_STEADY
[in]Identcomponent ident
[out]Rminposition mini
[out]Rmaxposition maxi
[out]Roriposition origin
[out]Rposposition at start
PCALL(READ_PART_component_position,CONST_KINEMAC_COMPONENT_AXIS,101,min,max,ori,pos);
void READ_PART_component_position(int Bcompo, int Ident, double *Rmin, double *Rmax, double *Rori, double *Rpos)
read component positions : mini, maxi, origin and start
Definition pp_pas30.c:824

◆ READ_PART_coolant()

void READ_PART_coolant ( int * Inum)

read coolant number

Parameters
[out]InumGO2cam coolant number
PCALL(READ_PART_coolant,Inum);
void READ_PART_coolant(int *Inum)
read coolant number
Definition pp_pas30.c:916
See also
OUTPUT_NC_coolant

◆ READ_PART_customer_path()

void READ_PART_customer_path ( int Ind,
int * Btyp,
std::string & Str,
double * Pt,
double * Tval )

read techno functions present on the toolpath.

Version
4.4
Parameters
[in]Indnth (0,..)
[out]Btyptype of techno function.
CONST_UNDEFINE if more functions.
CONST_FCT_STOP CONST_PECKING ... otherwise.
[out]Strfunction character string.
[out]PtTR3 , function reference point.
[out]TvalTR9 , function values.
PCALL(READ_PART_customer_path,Ind,Btyp,Str,Pt,Tval)
void READ_PART_customer_path(int Ind, int *Btyp, std::string &Str, double *Pt, double *Tval)
read techno functions present on the toolpath.
Definition pp_pas30.c:1009
See also
READ_PATH_next_customer

◆ READ_PART_customer_type()

void READ_PART_customer_type ( int * Btyp)

read type of techno function accessible in TECHNO_FUNCTION_STD

Parameters
[out]BtypCONST_FCT_FEED
CONST_DEC_A
CONST_FCT_COMMENT
CONST_FCT_NCBLOCK
CONST_FCT_ROTATION_INVERT
CONST_FCT_ROTATION
CONST_FCT_OPION_ON
CONST_FCT_OPTION_OFF
CONST_FCT_ABSOLUTE_YES
CONST_FCT_ABSOLUTE_NO
CONST_FCT_SPEED
CONST_FCT_COOLANT
CONST_FCT_LENGTH_OFFSET
CONST_FCT_RADIUS_OFFSET
CONST_FCT_STOP
CONST_FCT_PALET
CONST_FCT_DWELL
CONST_FCT_FEEDER
CONST_FCT_TAILSTOCK_ON
CONST_FCT_TAILSTOCK_OFF
CONST_FCT_REST_ON
CONST_FCT_REST_OFF
CONST_PART_REWORK
CONST_PART_RETURN
CONST_FCT_PPWORD
CONST_HELIX_MOVE
CONST_SPECIFIC_MOVE
Remarks
you must use PART_RETURN procedure
for CONST_PART_REWORK and CONST_PART_RETURN.
new functions and custom functions can be added
void READ_PART_customer_type(int *Btyp)
read type of techno function accessible in TECHNO_FUNCTION_STD
Definition pp_pas30.c:7633
See also
READ_PART_customer_value

◆ READ_PART_customer_value()

void READ_PART_customer_value ( int Inum,
double * Rval )

read values associated with techno function
point is accessed by READ_PATH_point
coment is accessed by READ_PATH_comment

Parameters
[in]Inumvalue index (1..8)
[out]Rvalnumerical value
void READ_PART_customer_value(int Inum, double *Rval)
read values associated with techno function point is accessed by READ_PATH_point coment is access...
Definition pp_pas30.c:7751

◆ READ_PART_cut_file_name()

void READ_PART_cut_file_name ( int Ind,
std::string & Snom )

read a file name in the tapes list.
Useful for FILE_TREATMENT procedure,
to re-process files generated by the PP,
for a customer DNC for example.

Version
4.4
Parameters
[in]Indtape index in the list (0..NB-1)
[out]Snomcomplete name of tape file
PCALL(READ_PART_cut_file_name,Ind,Snom);
void READ_PART_cut_file_name(int Ind, std::string &Snom)
read a file name in the tapes list. Useful for FILE_TREATMENT procedure, to re-process files gene...
Definition pp_pas30.c:2617
See also
SPECIF_cut_file_add, READ_PART_cut_file_nb
SPECIF_cut_file_del

◆ READ_PART_cut_file_nb()

void READ_PART_cut_file_nb ( int * Inombre)

read number of tape files in the list

Parameters
[out]Inombrenumber of tapes generated
PCALL(READ_PART_cut_file_nb,Inombre);
void READ_PART_cut_file_nb(int *Inombre)
read number of tape files in the list
Definition pp_pas30.c:2181
See also
SPECIF_cut_file_add READ_PART_cut_file_name
SPECIF_cut_file_del

◆ READ_PART_cutcom()

void READ_PART_cutcom ( int * Bdiaco,
int * Btraj )

DIACO access at DEBUT_OPE, cans,..

Parameters
[out]BdiacoCONST_LEFT
CONST_RIGHT
CONST_CENTER
[out]BtrajCONST_LEFT
CONST_RIGHT
CONST_PART
PCALL(READ_PART_cutcom,Bdiaco,Btraj);
void READ_PART_cutcom(int *Bdiaco, int *Btraj)
DIACO access at DEBUT_OPE, cans,..
Definition pp_pas30.c:1126
See also
READ_PART_path_radius

◆ READ_PART_cycle_comment()

void READ_PART_cycle_comment ( std::string & Str255)

read cycle comment in techno

Parameters
[out]Str255cycle comment in techno
void READ_PART_cycle_comment(std::string &Str255)
read cycle comment in techno
Definition pp_pas30.c:652

◆ READ_PART_cycle_name()

void READ_PART_cycle_name ( std::string & Str255)

read name given to cycle (label)

Parameters
[out]Str255name given to cycle (label)
PCALL(READ_PART_cycle_name,strcyc);
void READ_PART_cycle_name(std::string &Str255)
read name given to cycle (label)
Definition pp_pas30.c:2661
See also
TEST_change_cycle

◆ READ_PART_cycle_nb()

void READ_PART_cycle_nb ( int * Inombre)

read number of cycles.
useful for making a loop on all cycles.
use with UTIL_cycle_load.

Version
4.4
Parameters
[out]Inombrenumber of cycles
void READ_PART_cycle_nb(int *Inombre)
read number of cycles. useful for making a loop on all cycles. use with UTIL_cycle_load.
Definition pp_pas30.c:2210
See also
UTIL_cycle_load

◆ READ_PART_cycle_nb_channel()

void READ_PART_cycle_nb_channel ( int Icanal,
int * Inombre )

read number of cycles on a spécific channel
useful for making a loop on all cycles.
use with UTIL_cycle_load_channel

Version
607
Parameters
[in]Icanalcanal number
[out]Inombrenumber of cycles on this channel (0..n)
PCALL(READ_PART_cycle_nb_channel,Icanal,Inombre);
void READ_PART_cycle_nb_channel(int Icanal, int *Inombre)
read number of cycles on a spécific channel useful for making a loop on all cycles....
Definition pp_pas30.c:2244
See also
READ_PART_cycle_nb UTIL_cycle_load_channel

◆ READ_PART_cycle_no()

void READ_PART_cycle_no ( int * Btyp)

reading of GO2cam cycle type in progress
Reserve this processing for very particular cases.
New cycles of previous versions will be ignored
by a PP using this type.

Parameters
[out]BtypTournage CONST_ROUGHING ...
Fraisage CONST_CYCLE_CONTOURING ...
Erosion DPP_EE_4AXES ...
PCALL(READ_PART_cycle_no,typ_cycle);
void READ_PART_cycle_no(int *Btyp)
reading of GO2cam cycle type in progress Reserve this processing for very particular cases....
Definition pp_pas30.c:3200
See also
TEST_type_cycle, READ_PART_pp_cycle_no

◆ READ_PART_cycle_plane_type()

void READ_PART_cycle_plane_type ( int * Btyp)

reads GO2cam plane type for current cycle.

Parameters
[out]BtypCONST_PLANE_START
CONST_PLANE_G17
CONST_PLANE_G18_PLUS
CONST_PLANE_G18_MINUS
CONST_PLANE_G19_PLUS
CONST_PLANE_G19_MINUS
CONST_PLANE_TILTED
CONST_PLANE_PROFILING
CONST_PLANE_DEV_X
CONST_PLANE_DEV_Y
CONST_PLANE_DEV_Z
CONST_PLANE_REV
PCALL(READ_PART_cycle_plane_type,typplan_cycle);
void READ_PART_cycle_plane_type(int *Btyp)
reads GO2cam plane type for current cycle.
Definition pp_pas30.c:7421
See also
WRITE_NC_init_plane, WRITE_NC_init_plane_db

◆ READ_PART_db_coeff()

void READ_PART_db_coeff ( double * Rval)

read DB coefficient for NC output (useful for inch/mm)

Parameters
[out]Rvalcoefficient value uses fot NC output
PCALL(READ_PART_db_coeff,Rval);
void READ_PART_db_coeff(double *Rval)
read DB coefficient for NC output (useful for inch/mm)
Definition pp_pas30.c:625

◆ READ_PART_dia_osetno()

void READ_PART_dia_osetno ( int * Icor)

read diameter/radius compensation number

Parameters
[out]Icornew compensation number
void READ_PART_dia_osetno(int *Icor)
read diameter/radius compensation number
Definition pp_pas30.c:3145
See also
READ_PART_osetno

◆ READ_PART_drill_depth()

void READ_PART_drill_depth ( double * Rtot,
double * Rinc,
double * Rfin )

read depths for drilling,...
milling holes, lathe drilling/centering

Parameters
[out]Rtotoverall depth
[out]Rincincremental depth
[out]Rfinlast pass depth
Remarks
This function behaves as ltra...
since the depths can vary on each hole.
PCALL(READ_PART_drill_depth,prof,pene1,pene2);
void READ_PART_drill_depth(double *Rtot, double *Rinc, double *Rfin)
read depths for drilling,... milling holes, lathe drilling/centering
Definition pp_pas30.c:5012

◆ READ_PART_dwell()

void READ_PART_dwell ( double * Rinc,
double * Rfin )

read dwells re-processed by PPG

Parameters
[out]Rincincremental dwell
[out]Rfinfinal dwell
Remarks
This function behaves like ltra...
as dwells can change on each hole.
PCALL(READ_PART_dwell,tempopass,tempofin);
void READ_PART_dwell(double *Rinc, double *Rfin)
read dwells re-processed by PPG
Definition pp_pas30.c:6682

◆ READ_PART_edm_origin()

void READ_PART_edm_origin ( double * Pt)

read edm part origin

Parameters
[out]Ptorigin coordinates
void READ_PART_edm_origin(double *Pt)
read edm part origin
Definition pp_pas30.c:3720

◆ READ_PART_end_time()

void READ_PART_end_time ( double * Rval)

read cycle ending time in DB

Parameters
[out]Rvaltime in seconds
PCALL(READ_PART_end_time,rval);
idem PCALL(READ_PART_real_tec,REAL_CYC_END_DATE,rval);
void READ_PART_end_time(double *Rval)
read cycle ending time in DB
Definition pp_pas30.c:7025
void READ_PART_real_tec(int Bind, double *Rval)
reads the technology,strategy,tool,machine,... reals
Definition pp_pas30.c:8099

◆ READ_PART_euler_angle()

void READ_PART_euler_angle ( int Btyp,
double * Rot1,
double * Rot2,
double * Rot3 )

angles for current plane with specific type (Euler)

Version
5.13
Parameters
[in]Btyprotation type:CONST_ROTATION_CA, CONST_ROTATION_CB
[out]Rot1first angle
[out]Rot2second angle
[out]Rot3orient angle
PCALL(READ_PART_euler_angle,CONST_ROTATION_CA,rot1,rot2,rot3);
void READ_PART_euler_angle(int Btyp, double *Rot1, double *Rot2, double *Rot3)
angles for current plane with specific type (Euler)
Definition pp_pas30.c:5763
See also
READ_PART_rot_angles

◆ READ_PART_euler_angle2()

void READ_PART_euler_angle2 ( int Btyp,
double * Rot1,
double * Rot2,
double * Rot3,
double * Rot11,
double * Rot12,
double * Rot13 )

angles for current plane with specific type (Euler)

Version
6.07
Parameters
[in]Btyprotation type:CONST_ROTATION_CA, CONST_ROTATION_CB
[out]Rot1first angle of first possibility
[out]Rot2second angle of first possibility
[out]Rot3orient angle of first possibility
[out]Rot11first angle of second possibility
[out]Rot12second angle of second possibility
[out]Rot13orient angle of second possibility
PCALL(READ_PART_euler_angle2,CONST_ROTATION_CA,rot1,rot2,rot3,rot11,rot12,rot13);
void READ_PART_euler_angle2(int Btyp, double *Rot1, double *Rot2, double *Rot3, double *Rot11, double *Rot12, double *Rot13)
angles for current plane with specific type (Euler)
Definition pp_pas30.c:5834
See also
READ_PART_rot_angles

◆ READ_PART_feed()

void READ_PART_feed ( double * Rval1,
double * Rval2,
int * Bunit )

lecture valeurs avance du cycle

Parameters
[out]Rval1feed value in Z (turning)
[out]Rval2feed value in X
[out]Bunit
CONST_MMPR
CONST_MMPM

◆ READ_PART_feed_rap()

void READ_PART_feed_rap ( double * Rval,
int * Bunit )

read rapid feed value for cycle

Version
5.3
Parameters
[out]Rvalfeed value
[out]BunitCONST_MMPR
CONST_MMPM

◆ READ_PART_file_name()

void READ_PART_file_name ( std::string & Str80)

read original tape name

Parameters
[out]Str80original tape name
PCALL(READ_PART_file_name,striso);
void READ_PART_file_name(std::string &Str80)
read original tape name
Definition pp_pas30.c:2894
See also
READ_PART_isofile SPECIF_file_name

◆ READ_PART_first_taper()

void READ_PART_first_taper ( double * Rval)

restores the sub-cycle's first taper

Parameters
[out]Rvalvalue of first taper
PCALL(READ_PART_first_taper,depou);
void READ_PART_first_taper(double *Rval)
restores the sub-cycle's first taper
Definition pp_pas30.c:4908

◆ READ_PART_gauges()

void READ_PART_gauges ( double * Rz,
double * Rx )

read TURNING tools gauges
defined in machine file or
calculated according to tool file.

Version
4.4
Parameters
[out]Rzgauge in Z
[out]Rxgauge in X
Remarks
This function uses READ_PART_real_tec with
REAL_CYC_TOOL_OFFSET_X and REAL_CYC_TOOL_OFFSET_Z keys.
For rotary tools, REAL_CYC_TOOL_LENGTH key must be used
PCALl(READ_PART_gauges,Rz,Rx);
void READ_PART_gauges(double *Rz, double *Rx)
read TURNING tools gauges defined in machine file or calculated according to tool file.
Definition pp_pas30.c:1683
See also
READ_PART_real_tec

◆ READ_PART_holder_angle()

void READ_PART_holder_angle ( double * Rang)

get holder angle

Version
5.9

◆ READ_PART_hole_nb()

void READ_PART_hole_nb ( int * Inombre)

read number of holes in sub-cycle

Version
4.4
Parameters
[out]Inombrenumber of holes
PCALL(READ_PART_hole_nb,Inombre);
void READ_PART_hole_nb(int *Inombre)
read number of holes in sub-cycle
Definition pp_pas30.c:2587
See also
TEST_last_hole TEST_first_hole

◆ READ_PART_integer_tec()

void READ_PART_integer_tec ( int Bind,
int * Ival )

reads the technology,strategy,tool,machine,... integers

Parameters
[in]BindETF_... , ETT_..., EO_..., E...
exhaustive list according to cycle in online help
or in dat\RES_IPPG.DAT file
[out]Ivalinteger value
PCALL(READ_PART_integer_tec,INTEGER_MILL_CYCLE_NO,icyc);
void READ_PART_integer_tec(int Bind, int *Ival)
reads the technology,strategy,tool,machine,... integers
Definition pp_pas30.c:8032
See also
TEST_select_tec

◆ READ_PART_inter_pass()

void READ_PART_inter_pass ( int * Btyp,
double * Rval )

read type and value for milling cycle return in subroutine calls

Version
4.6
Parameters
[out]BtypCONST_NO , CONST_RELATIVE , CONST_ABSOLUTE
[out]Rvalvalue for return:0., ds , alt+ds
Remarks
can be used in SPM_END , SUB_END
PCALL(READ_PART_inter_pass,bret,zval);
void READ_PART_inter_pass(int *Btyp, double *Rval)
read type and value for milling cycle return in subroutine calls
Definition pp_pas30.c:1611
See also
READ_PART_multi_pass, READ_PART_feed, READ_PART_subroutine_start

◆ READ_PART_inter_plane()

void READ_PART_inter_plane ( int * Bval)

read if inner or outer developed plane

Version
4.4
Parameters
[out]BvalCONST_YES if inner
CONST_NO if outer
void READ_PART_inter_plane(int *Bval)
read if inner or outer developed plane
Definition pp_pas30.c:1649
See also
READ_PART_plane_cone

◆ READ_PART_isofile()

void READ_PART_isofile ( std::string & Sadr,
std::string & Snom,
std::string & Sext )

access to tape file name in writing process

Parameters
[out]Sadrtape file address
[out]Snomtape file name without extension
[out]Sexttape file name's extension ('.xxx')
PCALL(READ_PART_isofile,sadr,snom,sext);
void READ_PART_isofile(std::string &Sadr, std::string &Snom, std::string &Sext)
access to tape file name in writing process
Definition pp_pas30.c:1479
See also
OUTPUT_NC_cut_program, BCNCOUPE_RUBAN_NOM

◆ READ_PART_list_indice_plane()

void READ_PART_list_indice_plane ( int * Indlst)

read current cycle plane index in the list.
Only planes actually used by the operations list appear.
The "imaginary" planes of Rotation ABC subprograms
do not appear.

Version
6.06
Parameters
[out]Indlstindex of this plane in the list
void READ_PART_list_indice_plane(int *Indlst)
read current cycle plane index in the list. Only planes actually used by the operations list appear...
Definition pp_pas30.c:4660
See also
READ_PART_plane_number, UTIL_load_plane

◆ READ_PART_locked_axes()

void READ_PART_locked_axes ( int * Bcompo,
double * Pos )

read clamp component and position for a cycle with MILLTURN MTE

Version
6.01
Parameters
[out]Bcompoclamp component:CONST_NO CONST_SPINDLE CONST_TURRET
[out]Posclamp position coordinates
PCALL(READ_PART_locked_axes,Bcompo,Pt);
void READ_PART_locked_axes(int *Bcompo, double *Pos)
read clamp component and position for a cycle with MILLTURN MTE
Definition pp_pas30.c:278
See also
READ_PART_synchro_axes

◆ READ_PART_loop_no()

void READ_PART_loop_no ( int * Inum)

read loop processing number

Parameters
[out]Inum1,2,3,... (for debut_pp)

◆ READ_PART_mac_directory()

void READ_PART_mac_directory ( std::string & Str)

Read machine file addressing string.

Parameters
[out]Strmachine file addressing string
void READ_PART_mac_directory(std::string &Str)
Read machine file addressing string.
Definition pp_pas30.c:62
See also
SPI_GEN_get_information

◆ READ_PART_machine_kinematic()

void READ_PART_machine_kinematic ( int * Bprim,
int * Bsec )

read type of each avalable rotatif axis
if max-min is null, the axis is not available

Version
6.02
Parameters
[out]BprimCONST_NO , CONST_ROTATION_A , CONST_ROTATION_B , CONST_ROTATION_C
[out]BsecCONST_NO , CONST_ROTATION_A , CONST_ROTATION_B
PCALL(READ_PART_machine_kinematic,typrim,typsec);
void READ_PART_machine_kinematic(int *Bprim, int *Bsec)
read type of each avalable rotatif axis if max-min is null, the axis is not available
Definition pp_pas30.c:576
PCALL(READ_PART_boolean_tec,BOOLEAN_MAC_ROT_TYPE,modele);

◆ READ_PART_machine_name()

void READ_PART_machine_name ( std::string & Str80)

read machine logic name

Parameters
[out]Str80machine logic name without extension
PCALL(READ_PART_string_tec,STRING_MAC_FILE,Str80); {avec extension}
void READ_PART_string_tec(int Bind, std::string &Str)
reads the technology,strategy,tool,machine,... strings
Definition pp_pas30.c:8166
void READ_PART_machine_name(std::string &Str80)
read machine logic name
Definition pp_pas30.c:2689
See also
READ_PART_string_tec

◆ READ_PART_memo_plane_type()

void READ_PART_memo_plane_type ( int * Btyp)

GO2cam plane type in progress.

Parameters
[out]BtypCONST_PLANE_START
CONST_PLANE_G17
CONST_PLANE_G18_PLUS
CONST_PLANE_G18_MINUS
CONST_PLANE_G19_PLUS
CONST_PLANE_G19_MINUS
CONST_PLANE_TILTED
CONST_PLANE_PROFILING
CONST_PLANE_DEV_X
CONST_PLANE_DEV_Y
CONST_PLANE_DEV_Z
CONST_PLANE_REV
PCALL(READ_PART_memo_plane_type,typplan_act);
void READ_PART_memo_plane_type(int *Btyp)
GO2cam plane type in progress.
Definition pp_pas30.c:7474
See also
READ_PART_cycle_plane_type

◆ READ_PART_mill_canned_depth()

void READ_PART_mill_canned_depth ( double * Rprf,
double * Rinc )

read depths for canned milling :
pocket on circle / oblong / rectangle

Parameters
[out]Rprfoverall depth
[out]Rincincremental depth
PCALL(READ_PART_mill_canned_depth,prf_tot,prf_inc);
void READ_PART_mill_canned_depth(double *Rprf, double *Rinc)
read depths for canned milling : pocket on circle / oblong / rectangle
Definition pp_pas30.c:4981

◆ READ_PART_mill_canned_overlength()

void READ_PART_mill_canned_overlength ( double * Rsplan,
double * Rsperp )

read milling can stock allowance

Parameters
[out]Rsplanplane stock allowance
[out]Rsperpplunge stock allowance
void READ_PART_mill_canned_overlength(double *Rsplan, double *Rsperp)
read milling can stock allowance
Definition pp_pas30.c:6612
See also
READ_PART_mill_canned_depth

◆ READ_PART_mill_canned_safety_dist()

void READ_PART_mill_canned_safety_dist ( double * Rds)

read security distance for mill cans

Parameters
[out]Rdssecurity distance
void READ_PART_mill_canned_safety_dist(double *Rds)
read security distance for mill cans
Definition pp_pas30.c:1253

◆ READ_PART_mill_stock_box()

void READ_PART_mill_stock_box ( double * Ptmin,
double * Ptmax )

read milling stock box

Parameters
[out]Ptminminimum point (0,0,0) if undefined
[out]Ptmaxmaximum point (0,0,0) if undefined
PCALL(READ_PART_mill_stock_box,Ptmin,Ptmax);
void READ_PART_mill_stock_box(double *Ptmin, double *Ptmax)
read milling stock box
Definition pp_pas30.c:437
See also
READ_PART_stock_box

◆ READ_PART_milling_length()

void READ_PART_milling_length ( double * Rval)

read length of current coninuous path (measuring function)

Version
5.10
Parameters
[out]Rvallength
void READ_PART_milling_length(double *Rval)
read length of current coninuous path (measuring function)
Definition pp_pas30.c:1942

◆ READ_PART_MTE_number_turret_pt()

void READ_PART_MTE_number_turret_pt ( int Itrl,
int Btyp,
int * Inbpt )

read turret spécific number point defined in kinematic's file

Version
6.07 MTE
Parameters
[in]Itrlturret number
[in]BtypCONST_GENERIC CONST_TOOL_CHANGE CONST_TOOL_CHANGE_EVOLUTION CONST_PLANE_CHANGE_EVOLUTION
[out]InbptPoint number
PCALL(READ_PART_MTE_number_turret_pt,1,CONST_TOOL_CHANGE_EVOLUTION,nb);
void READ_PART_MTE_number_turret_pt(int Itrl, int Btyp, int *Inbpt)
read turret spécific number point defined in kinematic's file
Definition pp_pas30.c:5390

◆ READ_PART_MTE_origin_label()

void READ_PART_MTE_origin_label ( int ind,
std::string & Slab )

read MTE origin label

Parameters
[in]indorigin indice in list (1,...)
[out]Slaborigin label
void READ_PART_MTE_origin_label(int ind, std::string &Slab)
read MTE origin label
Definition pp_pas30.c:3750
See also
READ_PART_MTE_origin_number, READ_PART_MTE_origin_point

◆ READ_PART_MTE_origin_number()

void READ_PART_MTE_origin_number ( int * Inombre)

read origins MTE number

Version
6.07 MTE
Parameters
[out]Inombrenumber of origins
void READ_PART_MTE_origin_number(int *Inombre)
read origins MTE number
Definition pp_pas30.c:2349
See also
READ_PART_MTE_origin_label, READ_PART_MTE_origin_point

◆ READ_PART_MTE_origin_point()

void READ_PART_MTE_origin_point ( int ind,
double * Pt )

read MTE origin point

Parameters
[in]indorigin indice in list (1,...)
[out]Ptorigin coordinates
void READ_PART_MTE_origin_point(int ind, double *Pt)
read MTE origin point
Definition pp_pas30.c:3786
See also
READ_PART_MTE_origin_number, READ_PART_MTE_origin_label

◆ READ_PART_MTE_rot_c()

void READ_PART_MTE_rot_c ( double * Rot)

read chuck C rotation for millturn and swissturn, according turret
call INIT_PLAN beforehand

Version
6.07
Parameters
[out]Rotchuck C angle
void READ_PART_MTE_rot_c(double *Rot)
read chuck C rotation for millturn and swissturn, according turret call INIT_PLAN beforehand
Definition pp_pas30.c:5991

◆ READ_PART_MTE_rotation()

void READ_PART_MTE_rotation ( double * Rot1,
double * Rot2 )

read machine rotations (for 45 degrees kinematics)
call INIT_PLAN beforehand

Version
6.02
Parameters
[out]Rot1angle about primary machine axis
[out]Rot2angle about secondary machine axis
Remarks
must be call after READ_PATH_point_5axis
PCALL(READ_PART_MTE_rotation,Rot1,Rot2);
void READ_PART_MTE_rotation(double *Rot1, double *Rot2)
read machine rotations (for 45 degrees kinematics) call INIT_PLAN beforehand
Definition pp_pas30.c:5953
See also
READ_PATH_point_5axis

◆ READ_PART_MTE_tool_evolution_type()

void READ_PART_MTE_tool_evolution_type ( int Itrl,
int Inotool,
int Inoposte,
int * ItypeEvol )

read type evolution of tool (XYZ, Z only, Y only ...)

Version
6.07 MTE
Parameters
[in]Itrlturret number
[in]Inotooltool number
[in]Inoposteposte number
[out]ItypeEvolType Evolution DPP_NO, DPP_YES, DPP_Z_ONLY, CONST_Z_XY,
DPP_X_ONLY, CONST_X_ZY, DPP_Y_ONLY

◆ READ_PART_MTE_tool_group()

void READ_PART_MTE_tool_group ( int Itrl,
int Inotool,
int Inoposte,
int * NoGroupe )

read tool group number with MTE

Version
6.07 MTE
Parameters
[in]Itrlturret number
[in]Inotooltool number
[in]Inoposteposte number
[out]NoGroupegroup number ( 0 if undefined)

◆ READ_PART_MTE_tool_index_group()

void READ_PART_MTE_tool_index_group ( int Itrl,
int Inotool,
int Inoposte,
int Index,
int * NoGroupe )

read tool group number with MTE

Version
6.09 MTE
Parameters
[in]Itrlturret number
[in]Inotooltool number
[in]Inoposteposte number
[in]Indexindex number
[out]NoGroupegroup number ( 0 if undefined)

◆ READ_PART_MTE_tool_trihedral()

void READ_PART_MTE_tool_trihedral ( std::string & Sidcode,
int * Idno,
int * Itooltriedre )

read tool MTE trièdres

Version
6.07 MTE
Parameters
[out]Sidcodestrigname for multi-supports tools, empty if only simples
"2_3" for first multi 2 and second multi 3
[out]Idnofirst multi-support number , 0 if only simples
[out]Itooltriedretool triedre number support (only specific use)
PCALL(READ_PART_MTE_tool_trihedral,scode,idno,itooltriedre);
void READ_PART_MTE_tool_trihedral(std::string &Sidcode, int *Idno, int *Itooltriedre)
read tool MTE trièdres
Definition pp_pas30.c:6872

◆ READ_PART_MTE_tool_value()

void READ_PART_MTE_tool_value ( int Iclef,
double * Rval )

read tool assembly value

Version
6.07 MTE
Parameters
[in]IclefMT_RAPPORT_VITESSE
MT_LONGUEUR_UTILE
MT_TRANSALTION_X
MT_TRANSLATION_Y
MT_TRANSLATION_Z
MT_ROTATION_X
MT_ROTATION_Z
MT_JAUGE_X
MT_JAUGE_Y
MT_JAUGE_Z
[out]Rvalassembly value
PCALL(READ_PART_MTE_tool_value,MT_TRANSLATION_X,rval);
void READ_PART_MTE_tool_value(int Iclef, double *Rval)
read tool assembly value
Definition pp_pas30.c:6809

◆ READ_PART_MTE_turret_infos()

void READ_PART_MTE_turret_infos ( int Itrl,
int * Btyp,
std::string & Sname )

read turret type and name in kinematic's file

Version
6.07 MTE
Parameters
[in]Itrlturret number
[out]BtypCONST_RACK, CONST_TURRET, CONST_SPINDLE, CONST_UNDEFINE
[out]Snameturret or rack name
PCALL(READ_PART_MTE_turret_infos,1,Btyp,Sname);
void READ_PART_MTE_turret_infos(int Itrl, int *Btyp, std::string &Sname)
read turret type and name in kinematic's file
Definition pp_pas30.c:5356

◆ READ_PART_MTE_turret_pt()

void READ_PART_MTE_turret_pt ( int Itrl,
int Btyp,
int Index,
int * Bvalid,
std::string & Slabel,
double * Pt )

read turret spécific point defined in kinematic's file

Version
6.07 MTE
Parameters
[in]Itrlturret number
[in]BtypCONST_GENERIC CONST_TOOL_CHANGE CONST_TOOL_CHANGE_EVOLUTION CONST_PLANE_CHANGE_EVOLUTION
[in]Indexindex of point (1..n)
[out]Ptmeasuring machin system coordinates
[out]BvalidCONST_YES if Index exist, else CONST_NO
[out]Slabellabel of the point
PCALL(READ_PART_MTE_turret_pt,1,CONST_TOOL_CHANGE_EVOLUTION,1,isok,Slabel,pt);
void READ_PART_MTE_turret_pt(int Itrl, int Btyp, int Index, int *Bvalid, std::string &Slabel, double *Pt)
read turret spécific point defined in kinematic's file
Definition pp_pas30.c:5424

◆ READ_PART_multi_pass()

void READ_PART_multi_pass ( double * Ralt,
double * Rprof,
double * Rprof_inc,
double * Rprof_fin,
int * Inb )

read altitude and depths of a milling cycle for subroutine calls

Version
4.6
Parameters
[out]Raltstarting altitude
[out]Rproftotal depth
[out]Rprof_incincremental depth
[out]Rprof_finlast depth (if necessary)
[out]Inbnumber of depths (without last depth)
Remarks
can be used in SPM_CALL, SPM_BEGIN, SPM_END
SUB_CALL, SUB_BEGIN, SUB_END
PCALL(READ_PART_multi_pass,alt,prof,profi,frofd,nb);
void READ_PART_multi_pass(double *Ralt, double *Rprof, double *Rprof_inc, double *Rprof_fin, int *Inb)
read altitude and depths of a milling cycle for subroutine calls
Definition pp_pas30.c:2008
See also
READ_PART_inter_pass, READ_PART_feed, READ_PART_subroutine_start

◆ READ_PART_new_pattern()

void READ_PART_new_pattern ( int * Bnew,
std::string & Slabel,
std::string & ScodeSub,
std::string & Saxis )

read pattern user on cycle, without synchro (pattern set on a single canal)

Version
6.10
Parameters
[out]Bnewnew pattern on cycle, without synchro : SPI_YES or SPI_NO
[out]Slabelpattern title
[out]ScodeSubpattern sub code
[out]Saxispattern channel axis list
PCALL(READ_PART_new_pattern,Bnew,Slabel,Ssub,Saxis);
void READ_PART_new_pattern(int *Bnew, std::string &Slabel, std::string &ScodeSub, std::string &Saxis)
read pattern user on cycle, without synchro (pattern set on a single canal)
Definition pp_pas30.c:8643

◆ READ_PART_next_btec()

void READ_PART_next_btec ( int Bind,
int Itrl,
int Btec,
int Bspg,
int * Bval,
int * Bok,
int * Bfin )

read toggle on following cycle.
information if cycle before end or beginning of operations list.

Version
4.5
Parameters
[in]Bindtoggle access key:BOOLEAN_MILL_OFFSET,...
[in]Itrlimposed turret number (0:not imposed)
[in]Btectechno cycles allowed CONST_NO CONST_YES
[in]Bspgprocessed subprograms CONST_NO CONST_YES
[out]Bvaltoggle read:DPP_...
[out]Bokkey valid for this cycle CONST_NO CONST_YES
[out]Bfincycle found before end of operations list CONST_NO CONST_YES
PCALL(READ_PART_next_btec,BOOLEAN_TEC_SPINDLE_TYPE,0,CONST_NO,CONST_YES,
Bval,Bok,Bfin)
void READ_PART_next_btec(int Bind, int Itrl, int Btec, int Bspg, int *Bval, int *Bok, int *Bfin)
read toggle on following cycle. information if cycle before end or beginning of operations list.
Definition pp_pas30.c:6367
See also
READ_PART_boolean_tec, READ_PART_next_cycle,
READ_PART_next_etec, READ_PART_next_rtec, READ_PART_next_stec

◆ READ_PART_next_customer_type()

void READ_PART_next_customer_type ( int * Btyp)

read type of techno function on following cycle.
FIN_OPE, SPECIFIC_END : on next one.
SPECIFIC_BEGIN : on current cycle.

Version
4.5
Parameters
[out]Btyptype of techno function READ_PART_customer_type
void READ_PART_next_customer_type(int *Btyp)
read type of techno function on following cycle. FIN_OPE, SPECIFIC_END : on next one....
Definition pp_pas30.c:7527
See also
READ_PART_customer_type

◆ READ_PART_next_cycle()

void READ_PART_next_cycle ( int Itrl,
int Btec,
int Bspg,
int * Bcyc,
int * Bfin )

read following cycle type according to criteria.
information if cycle before end or beginning of operations list.

Version
4.5
Parameters
[in]Itrlimposed turret number (0:not imposed)
[in]Btectechno cycles allowed CONST_NO CONST_YES
[in]Bspgprocessed subprograms CONST_NO CONST_YES
[out]Bcycfollowing cycle type:CONST_CYCLE_CONTOURING, ....
[out]Bfincycle found before end of operations list CONST_NO CONST_YES
PCALL(READ_PART_next_cycle,0,CONST_NO,CONST_YES,Btyp,Bfin);
void READ_PART_next_cycle(int Itrl, int Btec, int Bspg, int *Bcyc, int *Bfin)
read following cycle type according to criteria. information if cycle before end or beginning of op...
Definition pp_pas30.c:6467
See also
litNUM_CYC_SUIVANT, READ_PART_next_btec@, READ_PART_next_etec,
READ_PART_next_rtec, READ_PART_next_stec

◆ READ_PART_next_cycle_typno()

void READ_PART_next_cycle_typno ( int Bout,
int Btrl,
int * Btyp )

read following cycle type according to criteria.
(current cycle if not last sub-cycle and bout = CONST_NO)

Parameters
[in]Boutdifferent tool (CONST_YES / CONST_NO)
[in]Btrlsame turret (CONST_YES / CONST_NO)
[out]BtypREAD_PART_cycle_no
PCALL(READ_PART_next_cycle_typno,CONST_YES,CONST_YES,typ_cyc);
void READ_PART_next_cycle_typno(int Bout, int Btrl, int *Btyp)
read following cycle type according to criteria. (current cycle if not last sub-cycle and bout = CO...
Definition pp_pas30.c:3273
See also
READ_PART_cycle_no, TEST_type_cycle

◆ READ_PART_next_etec()

void READ_PART_next_etec ( int Bind,
int Itrl,
int Btec,
int Bspg,
int * Ival,
int * Bok,
int * Bfin )

read integer on following cycle.
information if cycle before end or beginning of operations list.

Version
4.5
Parameters
[in]Bindtoggle access key:BOOLEAN_MILL_OFFSET,...
[in]Itrlimposed turret number (0:not imposed)
[in]Btectechno cycles allowed CONST_NO CONST_YES
[in]Bspgprocessed subprograms CONST_NO CONST_YES
[out]Ivalinteger value
[out]Bokkey valid for this cycle CONST_NO CONST_YES
[out]Bfincycle found before end of operations list CONST_NO CONST_YES
PCALL(READ_PART_next_etec,INTEGER_MILL_DIAMETER_OFFSET,0,CONST_NO,CONST_YES,
Ival,Bok,Bfin)
void READ_PART_next_etec(int Bind, int Itrl, int Btec, int Bspg, int *Ival, int *Bok, int *Bfin)
read integer on following cycle. information if cycle before end or beginning of operations list.
Definition pp_pas30.c:6417
See also
READ_PART_integer_tec,
READ_PART_next_btec, READ_PART_next_rtec, READ_PART_next_stec

◆ READ_PART_next_other_tool_turret()

void READ_PART_next_other_tool_turret ( int Itrl,
int * Iout,
int * Icorlg )

read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is necessary a new tool.

Version
4.5
Parameters
[in]Itrlturret search number
[out]Ioutfollowing tool number <0 if last tool
[out]Icorlglength compensation number
PCALL(READ_PART_next_other_tool_turret,1,outsuiv,corlgsuiv);
void READ_PART_next_other_tool_turret(int Itrl, int *Iout, int *Icorlg)
read following tool in the operations list according to turret number. It is the following cycle'...
Definition pp_pas30.c:3887
See also
litOUTIl_SUIVANT, READ_PART_next_tool_turret

◆ READ_PART_next_rtec()

void READ_PART_next_rtec ( int Bind,
int Itrl,
int Btec,
int Bspg,
double * Rval,
int * Bok,
int * Bfin )

read toggle on following cycle.
information if cycle before end or beginning of operations list.

Version
4.5
Parameters
[in]Bindtoggle access key:BOOLEAN_MILL_OFFSET,...
[in]Itrlimposed turret number (0:not imposed)
[in]Btectechno cycles allowed CONST_NO CONST_YES
[in]Bspgprocessed subprograms CONST_NO CONST_YES
[out]Rvalreal value
[out]Bokkey valid for this cycle CONST_NO CONST_YES
[out]Bfincycle found before end of operations list CONST_NO CONST_YES
PCALL(READ_PART_next_rtec,REAL_TEC_SPINDLE_SPEED,0,CONST_NO,CONST_YES,
Rval,Bok,Bfin)
void READ_PART_next_rtec(int Bind, int Itrl, int Btec, int Bspg, double *Rval, int *Bok, int *Bfin)
read toggle on following cycle. information if cycle before end or beginning of operations list.
Definition pp_pas30.c:6512
See also
READ_PART_real_tec,
READ_PART_next_btec, READ_PART_next_etec, READ_PART_next_stec

◆ READ_PART_next_stec()

void READ_PART_next_stec ( int Bind,
int Itrl,
int Btec,
int Bspg,
std::string & Str,
int * Bok,
int * Bfin )

read toggle on following cycle.
information if cycle before end or beginning of operations list.

Version
4.5
Parameters
[in]Bindtoggle access key:BOOLEAN_MILL_OFFSET,...
[in]Itrlimposed turret number (0:not imposed)
[in]Btectechno cycles allowed CONST_NO CONST_YES
[in]Bspgprocessed subprograms CONST_NO CONST_YES
[out]Strcharacter strings
[out]Bokkey valid for this cycle CONST_NO CONST_YES
[out]Bfincycle found before end of operations list CONST_NO CONST_YES
PCALL(READ_PART_next_stec,STRING_TOOL_NAME,0,CONST_NO,CONST_YES,
Sval,Bok,Bfin)
void READ_PART_next_stec(int Bind, int Itrl, int Btec, int Bspg, std::string &Str, int *Bok, int *Bfin)
read toggle on following cycle. information if cycle before end or beginning of operations list.
Definition pp_pas30.c:6562
See also
READ_PART_string_tec,
READ_PART_next_btec, READ_PART_next_etec, READ_PART_next_rtec

◆ READ_PART_next_tool()

void READ_PART_next_tool ( int * Inum)

read following tool number in the operations list.
Find a different tool number.

Parameters
[out]Inumfollowing tool number
(-1) * 1st tool number, if last one
PCALL(READ_PART_next_tool,outsuiv);
void READ_PART_next_tool(int *Inum)
read following tool number in the operations list. Find a different tool number.
Definition pp_pas30.c:3975
See also
READ_PART_next_tool_turret, READ_PART_next_other_tool_turret

◆ READ_PART_next_tool_informations()

void READ_PART_next_tool_informations ( int * Itrl,
int * Inum,
int * Iposte,
int * Index,
std::string & Str )

read following tool number in the operations list.
Find a different tool number.

Version
607
Parameters
[out]Itrlfollowing tool turret
[out]Inumfollowing tool number
(-1) * 1st tool number, if last one
[out]Ipostefollowing tool poste
[out]Indexfollowing tool index
[out]Strfollowing tool name
PCALL(READ_PART_next_tool_informations,trlsuiv,outsuiv,poste,index,str);
void READ_PART_next_tool_informations(int *Itrl, int *Inum, int *Iposte, int *Index, std::string &Str)
read following tool number in the operations list. Find a different tool number.
Definition pp_pas30.c:4009
See also
READ_PART_next_tool_turret, READ_PART_next_other_tool_turret, READ_PART_next_tool_no_str

◆ READ_PART_next_tool_spindle()

void READ_PART_next_tool_spindle ( int Itrl,
int * Iout,
int * Icorlg,
int * broche )

read following tool in the operations list according
to turret number.
It is the following different cycle's tool according to the
turret, with the broche used with cycle

Version
5.9
Parameters
[in]Itrlturret search number
[out]Ioutfollowing tool number <0 if last tool
[out]Icorlglength compensation number
[out]brocheCONST_MAIN_SPINDLE | CONST_SPINDLE_SECONDAIRE
PCALL(READ_PART_next_tool_spindle,1,outsuiv,corlgsuiv,brosuiv
void READ_PART_next_tool_spindle(int Itrl, int *Iout, int *Icorlg, int *broche)
read following tool in the operations list according to turret number. It is the following differ...
Definition pp_pas30.c:4102
See also
READ_PART_next_tool,
litOUTIl_SUIVANT_TRL, READ_PART_next_other_tool_turret

◆ READ_PART_next_tool_turret()

void READ_PART_next_tool_turret ( int Itrl,
int * Iout,
int * Icorlg )

read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is perhaps the current tool.

Parameters
[in]Itrlturret search number
[out]Ioutfollowing tool number <0 if last tool
[out]Icorlglength compensation number
PCALL(READ_PART_next_tool_turret,1,outsuiv,corlgsuiv);
void READ_PART_next_tool_turret(int Itrl, int *Iout, int *Icorlg)
read following tool in the operations list according to turret number. It is the following cycle'...
Definition pp_pas30.c:4150
See also
litOUTIl_SUIVANT, READ_PART_next_other_tool_turret

◆ READ_PART_next_tool_turret_INFOS()

void READ_PART_next_tool_turret_INFOS ( int Itrl,
int * Inum,
int * Iposte,
int * Index,
std::string & Str )

read following tool in the operations list according
to turret number.
It is the following cycle's tool according to the
turret, it is perhaps the current tool.

Version
607
Parameters
[in]Itrlturret search number
[out]Inumfollowing tool number
(-1) * 1st tool number, if last one
[out]Ipostefollowing tool poste
[out]Indexfollowing tool index
[out]Strfollowing spécific tool string
PCALL(READ_PART_next_tool_turret_INFOS,1,inum,poste,index,str);
void READ_PART_next_tool_turret_INFOS(int Itrl, int *Inum, int *Iposte, int *Index, std::string &Str)
read following tool in the operations list according to turret number. It is the following cycle'...
Definition pp_pas30.c:4195
See also
litOUTIl_SUIVANT_TRL

◆ READ_PART_next_tool_turret_no_str()

void READ_PART_next_tool_turret_no_str ( int Itrl,
int Bdiff,
int * Inum,
std::string & Strno )

read following tool number and specific id
in the operations list according to turret number.

Version
612
Parameters
[in]Itrlturret search number, (all turrets if null)
[in]BdiffCONST_NO : tool on next cycle, CONST_YES next différent tool
[out]Inumfollowing tool number
(-1) * 1st tool number, if last one
[out]Strnofollowing spécific tool string
PCALL(READ_PART_next_tool_turret_no_str,0,CONST_YES,inum,strno);
void READ_PART_next_tool_turret_no_str(int Itrl, int Bdiff, int *Inum, std::string &Strno)
read following tool number and specific id in the operations list according to turret number.
Definition pp_pas30.c:4054

◆ READ_PART_obstacle()

void READ_PART_obstacle ( int Ind,
std::string & Snom,
double * Pt0,
double * Pt1,
double * Pt2,
int * Bactive )

read mobile obstacle made active or inactive by a
techno function on a cycle.

Version
4.4
Parameters
[in]Indnth obstacle concerned by the function (0..nb)
[out]Snomobstacle name
[out]Pt0reference point (undefined now)
[out]Pt1box's mini point
[out]Pt2box's maxi point
[out]Bactiveactivate:CONST_YES, deactivate:CONST_NO

◆ READ_PART_obstacle_nb()

void READ_PART_obstacle_nb ( int * Inombre)

read number of mobile obstacles activated or
deactivated by a techno function on a cycle.

Version
4.4
Parameters
[out]Inombrenumber of obstacles
PCALL(READ_PART_obstacle_nb,Inombre);
void READ_PART_obstacle_nb(int *Inombre)
read number of mobile obstacles activated or deactivated by a techno function on a cycle.
Definition pp_pas30.c:2284
See also
READ_PART_obstacle

◆ READ_PART_offset_list()

void READ_PART_offset_list ( int Ind,
int * Indlst )

read EDM offset index in the list

Parameters
[in]Indoffset number searched in the list
[out]Indlstindex of this offset in the list
PCALL(READ_PART_offset_list,offset,Indlst);
void READ_PART_offset_list(int Ind, int *Indlst)
read EDM offset index in the list
Definition pp_pas30.c:3692
See also
READ_PART_offset_nb, UTIL_load_offset

◆ READ_PART_offset_nb()

void READ_PART_offset_nb ( int * Inombre)

read number of various EDM offsets used
useful for declaring offsets on top of program
use with UTIL_load_offset

Parameters
[out]Inombrenumber of EDM offsets used (1..n)
PCALL(READ_PART_offset_nb,Inombre);
void READ_PART_offset_nb(int *Inombre)
read number of various EDM offsets used useful for declaring offsets on top of program use with U...
Definition pp_pas30.c:2316
See also
READ_PART_offset_list, UTIL_load_offset

◆ READ_PART_offset_no()

void READ_PART_offset_no ( int * Inum)

reading EDM offset number in progress

Parameters
[out]Inumoffset number
PCALL(READ_PART_offset_no,offset);
void READ_PART_offset_no(int *Inum)
reading EDM offset number in progress
Definition pp_pas30.c:3382

◆ READ_PART_offset_val()

void READ_PART_offset_val ( double * Rval)

read wire offset value

Version
4.4
Parameters
[out]Rvaloffset value
void READ_PART_offset_val(double *Rval)
read wire offset value
Definition pp_pas30.c:7721

◆ READ_PART_ori_coord()

void READ_PART_ori_coord ( double * Rvalx,
double * Rvaly,
double * Rvalz )

read origin ofset
(cumul plane origin and subprograms translations)

Parameters
[out]Rvalx1st axis offset
[out]Rvaly2nd axis offset
[out]Rvalz3rd axis offset
PCALL(READ_PART_ori_coord,decx,decy,dexz);
void READ_PART_ori_coord(double *Rvalx, double *Rvaly, double *Rvalz)
read origin ofset (cumul plane origin and subprograms translations)
Definition pp_pas30.c:1057
See also
cnDEC_ORI WRITE_NC_origin_coord READ_PART_origin_no READ_PART_subroutine_trans

◆ READ_PART_origin()

void READ_PART_origin ( int Inum,
double * Ptori )

read setting origin / machin origin with MTE

Version
6.01 MTE
Parameters
[in]Inumchuck number, allways one for milling machines
[out]Ptoricoordinates
PCALL(READ_PART_origin,Inum,Ptori);
void READ_PART_origin(int Inum, double *Ptori)
read setting origin / machin origin with MTE
Definition pp_pas30.c:4343

◆ READ_PART_origin_no()

void READ_PART_origin_no ( int * Inum)

read origin number (cumul plane and translations)
Generally used in ORI_DECAL

Parameters
[out]Inumoffset number
void READ_PART_origin_no(int *Inum)
read origin number (cumul plane and translations) Generally used in ORI_DECAL
Definition pp_pas30.c:3409
See also
READ_PART_ori_coord READ_NC_origin_no WRITE_NC_origin_no

◆ READ_PART_osetno()

void READ_PART_osetno ( int * Icorl)

read length comp. number

Parameters
[out]Icorlnew length comp. number
PCALL(READ_PART_osetno,Icorl);
void READ_PART_osetno(int *Icorl)
read length comp. number
Definition pp_pas30.c:3173

◆ READ_PART_osetno_list()

void READ_PART_osetno_list ( int Inum,
int * Indlst )

read tool compensation index in the list

Parameters
[in]Inumcompensation number searched in the list
[out]Indlstindex of this compensation in the list
PCALL(READ_PART_osetno_list,Inum,Indlst);
void READ_PART_osetno_list(int Inum, int *Indlst)
read tool compensation index in the list
Definition pp_pas30.c:944
See also
READ_PART_osteno_nb, UTIL_load_osetno

◆ READ_PART_osteno_nb()

void READ_PART_osteno_nb ( int * Inombre)

read number of various compensations used

Parameters
[out]Inombrenumber of compensations used (1..n)
Remarks
useful for using gauges on top of program
use with UTIL_load_osetno
(length comp. read on techno, only one per cycle)
PCALL(READ_PART_osteno_nb,Inombre);
void READ_PART_osteno_nb(int *Inombre)
read number of various compensations used
Definition pp_pas30.c:2145
See also
READ_PART_osetno_list, UTIL_load_osetno

◆ READ_PART_overlaid_axis()

void READ_PART_overlaid_axis ( int * Bsuper)

read type axis which is superposed with MILLTURN MTE

Version
6.06
Parameters
[out]BsuperCONST_NO CONST_Z_AXIS
void READ_PART_overlaid_axis(int *Bsuper)
read type axis which is superposed with MILLTURN MTE
Definition pp_pas30.c:316
See also
READ_PART_synchro_axes READ_PART_locked_axes READ_PART_turret_linked

◆ READ_PART_part_diameter()

void READ_PART_part_diameter ( double * Rval)

read turning part maximum diameter (final stock)

Version
6.02
Parameters
[out]Rvaldiameter
void READ_PART_part_diameter(double *Rval)
read turning part maximum diameter (final stock)
Definition pp_pas30.c:1192
See also
READ_PART_stock_dia, READ_PART_part_length

◆ READ_PART_part_length()

void READ_PART_part_length ( double * Rval)

read turning stock length (final stock)

Parameters
[out]Rvallength
void READ_PART_part_length(double *Rval)
read turning stock length (final stock)
Definition pp_pas30.c:1853
See also
READ_PART_stock_length, READ_PART_part_diameter

◆ READ_PART_part_name()

void READ_PART_part_name ( std::string & Str80)

read name of part in DB (cycle part if MPM)

Parameters
[out]Str80name of part in DB
PCALL(READ_PART_part_name,strpce);
void READ_PART_part_name(std::string &Str80)
read name of part in DB (cycle part if MPM)
Definition pp_pas30.c:2806

◆ READ_PART_part_origin()

void READ_PART_part_origin ( double * Ptori)

read part origin / setting origin with MTE

Version
6.04 MTE
Parameters
[out]Ptoricoordinates
PCALL(READ_PART_part_origin,Ptori);
void READ_PART_part_origin(double *Ptori)
read part origin / setting origin with MTE
Definition pp_pas30.c:4557

◆ READ_PART_path_direction()

void READ_PART_path_direction ( int * Bferme,
int * Bsens )

read information on EDM toolpath only.

Version
4.4
Parameters
[out]BfermeCONST_YES if starting points and toolpath end merge
CONST_NO in other cases
[out]BsensCONST_UNDEFINE if reference profile is open
CONST_CCW if reference profile is counterclockwise
CONST_CW if reference profile is clockwise
PCALL(READ_PART_path_direction,Bferme,Bsens);
void READ_PART_path_direction(int *Bferme, int *Bsens)
read information on EDM toolpath only.
Definition pp_pas30.c:6153

◆ READ_PART_path_EDM()

void READ_PART_path_EDM ( int * Btyp)

read information on EDM toolpath only.

Version
6.8
Parameters
[out]BtypCONST_OPEN if reference profile is open
CONST_DIE if reference profile for DIE machining
CONST_PUNCH if reference profile for PUNCH machining
PCALL(READ_PART_path_EDM,Btyp);
void READ_PART_path_EDM(int *Btyp)
read information on EDM toolpath only.
Definition pp_pas30.c:6190

◆ READ_PART_path_radius()

void READ_PART_path_radius ( double * Rval)

read radius used to offset the toolpath

Version
4.4
Parameters
[out]Rvalradius value
Remarks
you must use READ_PART_cutcom to evaluate if toolpath is offset
void READ_PART_path_radius(double *Rval)
read radius used to offset the toolpath
Definition pp_pas30.c:5594
See also
READ_PART_cutcom

◆ READ_PART_plane_cone()

void READ_PART_plane_cone ( double * Rval)

read conical developed plane angle

Parameters
[out]Rvalangle value in degrees
void READ_PART_plane_cone(double *Rval)
read conical developed plane angle
Definition pp_pas30.c:886
See also
READ_PART_inter_plane

◆ READ_PART_plane_list()

void READ_PART_plane_list ( int Inum,
int * Indlst )

read plane index in the list.
Only planes actually used by the operations list appear.
The "imaginary" planes of Rotation ABC subprograms
do not appear.

Parameters
[in]Inumplane number searched in the list
[out]Indlstindex of this plane in the list
PCALL(READ_PART_plane_list,Inum,Indlst);
void READ_PART_plane_list(int Inum, int *Indlst)
read plane index in the list. Only planes actually used by the operations list appear....
Definition pp_pas30.c:4619
See also
READ_PART_plane_number, UTIL_load_plane, READ_PART_list_indice_plane

◆ READ_PART_plane_mat()

void READ_PART_plane_mat ( double * P1,
double * P2,
double * P3 )

machining plane / origin rotation matrix (used for APT)

Parameters
[out]P1mat[0],mat[1],mat[2]
[out]P2mat[3],mat[4],mat[5]
[out]P3mat[6],mat[7],mat[8]
PCALL(READ_PART_plane_mat,P1,P2,P3);
void READ_PART_plane_mat(double *P1, double *P2, double *P3)
machining plane / origin rotation matrix (used for APT)
Definition pp_pas30.c:1971
See also
READ_PART_plane_ori

◆ READ_PART_plane_name()

void READ_PART_plane_name ( std::string & Str80)

read GO2cam plane name

Parameters
[out]Str80plane name
PCALL(READ_PART_plane_name,strplan);
void READ_PART_plane_name(std::string &Str80)
read GO2cam plane name
Definition pp_pas30.c:2835

◆ READ_PART_plane_no()

void READ_PART_plane_no ( int * Inum)

read GOE plane number

Parameters
[out]Inumnew number of GO2cam plane
PCALL(READ_PART_plane_no,numplan);
void READ_PART_plane_no(int *Inum)
read GOE plane number
Definition pp_pas30.c:3503

◆ READ_PART_plane_number()

void READ_PART_plane_number ( int * Inombre)

read number of used planes (not reference plane)
use with UTIL_load_plane

Parameters
[out]Inombrenumber of used planes
Remarks
vitual planes (sub-routines ABC) are not added
reference plane is not added (you must use TEST_exist_start_plane)
PCALL(READ_PART_plane_number,Inombre);
void READ_PART_plane_number(int *Inombre)
read number of used planes (not reference plane) use with UTIL_load_plane
Definition pp_pas30.c:2451
See also
READ_PART_plane_list, TEST_exist_start_plane

◆ READ_PART_plane_ori()

void READ_PART_plane_ori ( double * Pt)

read machining plane / origin plane origin point (used for APT)

Parameters
[out]Ptmachining plane's origin coordinates
void READ_PART_plane_ori(double *Pt)
read machining plane / origin plane origin point (used for APT)
Definition pp_pas30.c:3822
See also
READ_PART_plane_mat

◆ READ_PART_plane_ori_name()

void READ_PART_plane_ori_name ( std::string & Str80)

read GO2cam origin plane name

Version
5.3
Parameters
[out]Str80origine plane name
void READ_PART_plane_ori_name(std::string &Str80)
read GO2cam origin plane name
Definition pp_pas30.c:2749

◆ READ_PART_plane_ori_no()

void READ_PART_plane_ori_no ( int * Inum)

read plane origin number (excluding translations)
Generaly used in ORI_DECAL

Version
4.5
Parameters
[out]Inumdifferent nth plane origin
(If 2 planes have same origin, their number will be the same)
void READ_PART_plane_ori_no(int *Inum)
read plane origin number (excluding translations) Generaly used in ORI_DECAL
Definition pp_pas30.c:3439
See also
READ_PART_ori_coord READ_PART_origin_no READ_NC_origin_validate

◆ READ_PART_plane_radius()

void READ_PART_plane_radius ( double * Rval)

read developed plane radius

Parameters
[out]Rvalradius value
void READ_PART_plane_radius(double *Rval)
read developed plane radius
Definition pp_pas30.c:5565
See also
READ_PART_plane_cone, READ_PART_inter_plane

◆ READ_PART_plane_vec()

void READ_PART_plane_vec ( double * Pvec)

read plane milling normal vector

Version
5.13
Parameters
[out]Pvecvector
PCALL(READ_PART_plane_vec,vnorm);
void READ_PART_plane_vec(double *Pvec)
read plane milling normal vector
Definition pp_pas30.c:7789

◆ READ_PART_pp_cycle_no()

void READ_PART_pp_cycle_no ( int * Btyp)

reading of PP cycle type in progress
Reserve this processing for very particular cases.

Parameters
[out]BtypTournage CONST_POCKET_ROUGHING ...
Fraisage CONST_CYCLE_CONTOURING ... |CONST_CYCLE_DRILLING_SIMPLE| ...
Erosion DPP_EE_4AXES ...
PCALL(READ_PART_pp_cycle_no,typ_cycle);
void READ_PART_pp_cycle_no(int *Btyp)
reading of PP cycle type in progress Reserve this processing for very particular cases.
Definition pp_pas30.c:3239
See also
READ_PART_cycle_no, TEST_hole_cycle

◆ READ_PART_pp_directory()

void READ_PART_pp_directory ( std::string & Str)

read post-processor file addessing string
(PP type is important : standard or specific)

Parameters
[out]Strpost-processor file addressing string
void READ_PART_pp_directory(std::string &Str)
read post-processor file addessing string (PP type is important : standard or specific)
Definition pp_pas30.c:90
See also
SPI_GEN_get_information

◆ READ_PART_primary()

void READ_PART_primary ( double * Rang)

read machine first angle value (without INIT_PLAN)

Version
5.13
Parameters
[out]Rangprimary axis value
void READ_PART_rot_angles(double *Rot1, double *Rot2, double *Rot3)
read plates rotations (for planes) call INIT_PLAN beforehand
Definition pp_pas30.c:6053
void READ_PATH_point_5axis(double *Pt, double *Ra1, double *Ra2)
point in 5axis continuous mode You must use this function if 5axis is allowed by pp....
Definition pp_pas31.c:1188

◆ READ_PART_probing_measure_prog()

void READ_PART_probing_measure_prog ( int Ibloc,
std::string & Sbloc )

read bloc in prog probe_part (to call in TECHNO_FUNCTION_PROBE)

Version
6.06
Parameters
[in]Iblocindice bloc in prog (1..nprog)
[out]Sblocbloc
void READ_PART_probing_measure_prog(int Ibloc, std::string &Sbloc)
read bloc in prog probe_part (to call in TECHNO_FUNCTION_PROBE)
Definition pp_pas30.c:4409
See also
READ_PART_probing_measure_prog_no

◆ READ_PART_probing_measure_prog_no()

void READ_PART_probing_measure_prog_no ( int * Inombre)

read prog blocs number with probe_part (to call in TECHNO_FUNCTION_PROBE)

Version
6.06
Parameters
[out]Inombreblocs number
void READ_PART_probing_measure_prog_no(int *Inombre)
read prog blocs number with probe_part (to call in TECHNO_FUNCTION_PROBE)
Definition pp_pas30.c:4379
See also
READ_PART_probing_measure_prog

◆ READ_PART_probing_touch_number()

void READ_PART_probing_touch_number ( int * Inombre)

read touch number with probe (to call in TECHNO_FUNCTION_PROBE)

Version
6.06
Parameters
[out]Inombretouch number
void READ_PART_probing_touch_number(int *Inombre)
read touch number with probe (to call in TECHNO_FUNCTION_PROBE)
Definition pp_pas30.c:4446
See also
READ_PART_probing_touch_point

◆ READ_PART_probing_touch_point()

void READ_PART_probing_touch_point ( int Itouch,
double * Pt )

read a point touch by probe (to call in TECHNO_FUNCTION_PROBE)

Version
6.06
Parameters
[in]Itouchindice TOUCH (1..ntouch)
[out]Ptpoint coordinates
void READ_PART_probing_touch_point(int Itouch, double *Pt)
read a point touch by probe (to call in TECHNO_FUNCTION_PROBE)
Definition pp_pas30.c:4476
See also
READ_PART_probing_touch_number
(READ_PART_probing_touch_vector

◆ READ_PART_probing_touch_vector()

void READ_PART_probing_touch_vector ( int Itouch,
double * Pvec,
int * Bdir )

read a vector touch by probe (to call in TECHNO_FUNCTION_PROBE)

Version
6.06
Parameters
[in]Itouchindice TOUCH (1..ntouch)
[out]Pvecunit vector to go on touch point
[out]Bdirmain touch direction:
CONST_X_PLUS CONST_X_MINUS CONST_Y_PLUS CONST_Y_MINUS
CONST_Z_MINUS CONST_Z_PLUS
void READ_PART_probing_touch_vector(int Itouch, double *Pvec, int *Bdir)
read a vector touch by probe (to call in TECHNO_FUNCTION_PROBE)
Definition pp_pas30.c:4513
See also
READ_PART_probing_touch_number
(READ_PART_probing_touch_point

◆ READ_PART_process_name()

void READ_PART_process_name ( std::string & Str80)

read name of part current processus

Version
6.01
Parameters
[out]Str80name of processus
PCALL(READ_PART_process_name,strname);
void READ_PART_process_name(std::string &Str80)
read name of part current processus
Definition pp_pas30.c:2862

◆ READ_PART_profile_depth()

void READ_PART_profile_depth ( double * Rprof)

read can/profile overall depth (false for parrallel roughing)

Parameters
[out]Rprofprofile/stock depth
void READ_PART_profile_depth(double *Rprof)
read can/profile overall depth (false for parrallel roughing)
Definition pp_pas30.c:5051

◆ READ_PART_profile_elt_number()

void READ_PART_profile_elt_number ( int * Inombre)

read number of machined profile elements.
(final stock at PP_BEGIN and PP_END)

Parameters
[out]Inombrenumber of elements
void READ_PART_profile_elt_number(int *Inombre)
read number of machined profile elements. (final stock at PP_BEGIN and PP_END)
Definition pp_pas30.c:2083
See also
LOAD_profile_elt

◆ READ_PART_profile_end_point()

void READ_PART_profile_end_point ( double * Pt)

Used in turning to read profile's ending point.

Parameters
[out]Ptprofile's end coordinates point
void READ_PART_profile_end_point(double *Pt)
Used in turning to read profile's ending point.
Definition pp_pas30.c:5247
See also
READ_PART_profile_start_point, READ_PART_stock_end_point

◆ READ_PART_profile_extrema()

void READ_PART_profile_extrema ( double * Pt)

profile extremity point for APT (decompo+can)

Parameters
[out]Ptpoint coordinates
void READ_PART_profile_extrema(double *Pt)
profile extremity point for APT (decompo+can)
Definition pp_pas30.c:1390

◆ READ_PART_profile_itn_no()

void READ_PART_profile_itn_no ( int * Ityp)

read profile machining type complement

Parameters
[out]Ityp0:not defined
1: face outer longitudinal
2: back outer longitudinal
3: back inner longitudinal
4: face inner longitudinal
5: face inner facial
6: face outer facial
7: back outer facial
8: back inner facial
void READ_PART_profile_itn_no(int *Ityp)
read profile machining type complement
Definition pp_pas30.c:499

◆ READ_PART_profile_start_point()

void READ_PART_profile_start_point ( double * Pt)

Used in turning to read profile's starting point.

Parameters
[out]Ptprofile's starting point
void READ_PART_profile_start_point(double *Pt)
Used in turning to read profile's starting point.
Definition pp_pas30.c:5147
See also
READ_PART_profile_end_point, READ_PART_stock_start_point

◆ READ_PART_prog_nb()

void READ_PART_prog_nb ( int * Inombre)

read number of programs to be generated.
Useful in 4 axes lathe only.

Parameters
[out]InombreNC programs number
PCALL(READ_PART_prog_nb,Inombre);
void READ_PART_prog_nb(int *Inombre)
read number of programs to be generated. Useful in 4 axes lathe only.
Definition pp_pas30.c:2489

◆ READ_PART_radco_no()

void READ_PART_radco_no ( int * Inum)

read current angle comp. number (EDM)

Parameters
[out]Inumnumber
PCALL(READ_PART_radco_no,Inum);
void READ_PART_radco_no(int *Inum)
read current angle comp. number (EDM)
Definition pp_pas30.c:3118

◆ READ_PART_real_tec()

void READ_PART_real_tec ( int Bind,
double * Rval )

reads the technology,strategy,tool,machine,... reals

Parameters
[in]BindRTF_..., RTT_..., RO_..., R...
exhaustive list according to cycle in online help
or in dat\RES_IPPG.DAT file
[out]Rvalreal value
PCALL(READ_PART_real_tec,REAL_MILL_SAFETY_DISTANCE,ds);
See also
TEST_select_tec

◆ READ_PART_recall_end()

void READ_PART_recall_end ( int * Inum)

read last block number for blocks call

Parameters
[out]Inumlast block number
void READ_PART_recall_end(int *Inum)
read last block number for blocks call
Definition pp_pas30.c:1511
See also
READ_PART_recall_start

◆ READ_PART_recall_start()

void READ_PART_recall_start ( int * Inum)

read 1st block number for blocks call

Parameters
[out]Inum1st block number if call by number
label number if call by label
void READ_PART_recall_start(int *Inum)
read 1st block number for blocks call
Definition pp_pas30.c:1223
See also
READ_PART_recall_end

◆ READ_PART_rework_chuck_return()

void READ_PART_rework_chuck_return ( int * Bret)

customer CONST_CALL_REWORK_SPINDLE : is rework chuck moved for return

Version
6.07 MTE
Parameters
[out]Bret: CONST_YES if rework chuck will go out
void READ_PART_rework_chuck_return(int *Bret)
customer CONST_CALL_REWORK_SPINDLE : is rework chuck moved for return
Definition pp_pas80.c:209

◆ READ_PART_rot_angles()

void READ_PART_rot_angles ( double * Rot1,
double * Rot2,
double * Rot3 )

read plates rotations (for planes)
call INIT_PLAN beforehand

Parameters
[out]Rot1angle about primary axis
[out]Rot2angle about secondary axis
[out]Rot32nd angle about primary axis
PCALL(READ_PART_rot_angles,Rot1,Rot2,Rot3);
See also
READ_PATH_point_5axis

◆ READ_PART_rotation()

void READ_PART_rotation ( int * Bsens)

read spindle rotation re-processed by PPG
according to plane, inversion, standard techno fcts

Parameters
[out]BsensCONST_BREAK
CONST_CW
CONST_CCW
PCALL(READ_PART_rotation,sensrot);
void READ_PART_rotation(int *Bsens)
read spindle rotation re-processed by PPG according to plane, inversion, standard techno fcts
Definition pp_pas30.c:5656
See also
OUTPUT_NC_rotation, OUTPUT_NC_rotation_db, OUTPUT_NC_coolant_rotation

◆ READ_PART_rotation_livetool()

void READ_PART_rotation_livetool ( int * Bsens)

read PPG processed livetool rotation with turning cycles
(chuck and tool are rotating)

Version
6.09
Parameters
[out]BsensCONST_BREAK
CONST_CW
CONST_CCW
void READ_PART_rotation_livetool(int *Bsens)
read PPG processed livetool rotation with turning cycles (chuck and tool are rotating)
Definition pp_pas30.c:5691
See also
OUTPUT_NC_rotation_livetool

◆ READ_PART_rotcal_angles()

void READ_PART_rotcal_angles ( double * Rot1,
double * Rot2,
double * Rot3 )

read recalculated planes rotations
(ABSOLU/REF or ABSOLU/0 planes' angles)

Parameters
[out]Rot1angle about primary axis
[out]Rot2angle about secondary axis
[out]Rot3orientation angle in the plane
PCALL(READ_PART_rotcal_angles,ang1,ang2,ang3);
void READ_PART_rotcal_angles(double *Rot1, double *Rot2, double *Rot3)
read recalculated planes rotations (ABSOLU/REF or ABSOLU/0 planes' angles)
Definition pp_pas30.c:5725
See also
READ_PART_rot_angles

◆ READ_PART_scycle_nb()

void READ_PART_scycle_nb ( int * Inombre)

read number of sub-cycles.
useful for making a loop on all cycles.
use with UTIL_load_scycle.

Parameters
[out]Inombrenumber of sub-cycles
PCALL(READ_PART_scycle_nb,nb_cyc);
void READ_PART_scycle_nb(int *Inombre)
read number of sub-cycles. useful for making a loop on all cycles. use with UTIL_load_scycle.
Definition pp_pas30.c:2519
See also
UTIL_load_scycle

◆ READ_PART_secondary()

void READ_PART_secondary ( double * Rang)

read machine second angle value (without INIT_PLAN)

Version
5.13
Parameters
[out]Rangsecondary axis value

◆ READ_PART_sequence_type()

void READ_PART_sequence_type ( int * Btyp)

read if cycle in Sequence anf if it's rework sequence
usefull for spécific treatment on rework cycles

Version
6.04
Parameters
[out]BtypCONST_NO
CONST_YES
CONST_PART_REWORK
void READ_PART_sequence_type(int *Btyp)
read if cycle in Sequence anf if it's rework sequence usefull for spécific treatment on rework cycl...
Definition pp_pas30.c:7598

◆ READ_PART_set_no()

void READ_PART_set_no ( int * Inum)

read cycle's machining set number

Parameters
[out]Inumnumber
PCALL(READ_PART_set_no,numset);
void READ_PART_set_no(int *Inum)
read cycle's machining set number
Definition pp_pas30.c:3586

◆ READ_PART_setting_no()

void READ_PART_setting_no ( int * Inum)

read current speed range number (EDM)

Parameters
[out]Inumcurrent speed range number
PCALL(READ_PART_setting_no,regime);
void READ_PART_setting_no(int *Inum)
read current speed range number (EDM)
Definition pp_pas30.c:3558

◆ READ_PART_setting_origin()

void READ_PART_setting_origin ( double * Ptori)

read setting origin / machin origin with MTE

Version
6.12 MTE
Parameters
[out]Ptoricoordinates
void READ_PART_setting_origin(double *Ptori)
read setting origin / machin origin with MTE
Definition pp_pas30.c:4588

◆ READ_PART_setting_phase()

void READ_PART_setting_phase ( int * IdPhase)

read current phase ident (for NCCONTROL)

Parameters
[out]IdPhasecurrent phase ident
void READ_PART_setting_phase(int *IdPhase)
read current phase ident (for NCCONTROL)
Definition pp_pas30.c:3530

◆ READ_PART_smax()

void READ_PART_smax ( double * Rval)

cycle maximum speed (maximum .MAC speed if nil)

Parameters
[out]Rvalvmax value
PCALL(READ_PART_smax,rval);
void READ_PART_smax(double *Rval)
cycle maximum speed (maximum .MAC speed if nil)
Definition pp_pas30.c:7905

◆ READ_PART_soft_subversion()

void READ_PART_soft_subversion ( std::string & Str)

access GO2cam string subversion

Parameters
[out]Strstring version ("260")
void READ_PART_soft_subversion(std::string &Str)
access GO2cam string subversion
Definition pp_pas30.c:7878

◆ READ_PART_soft_version()

void READ_PART_soft_version ( std::string & Str)

access GO2cam string version : MAJOR_VERSION * 1000 + MINOR_VERSION

Parameters
[out]Strstring version ("6011")
void READ_PART_soft_version(std::string &Str)
access GO2cam string version : MAJOR_VERSION * 1000 + MINOR_VERSION
Definition pp_pas30.c:7851

◆ READ_PART_spindle()

void READ_PART_spindle ( double * Rval,
int * Bunit,
int * Igam )

read PPG processed spindle speed
(at debut_pp : 1st cycle spindle range speed)

Parameters
[out]Rvalspindle speed value
[out]BunitCONST_RPM
CONST_SMM
[out]IgamGO2cam spindle speed range number
PCALL(READ_PART_spindle,speed,unit,igam);
void READ_PART_spindle(double *Rval, int *Bunit, int *Igam)
read PPG processed spindle speed (at debut_pp : 1st cycle spindle range speed)
Definition pp_pas30.c:6237
See also
OUTPUT_NC_spindle_range, OUTPUT_NC_spindle, OUTPUT_NC_spindle_db

◆ READ_PART_spindle_factor()

void READ_PART_spindle_factor ( double * Rval)

read spindle coefficient fot milling tool on lathe

Parameters
[out]Rvalspindle speed coefficient value (1.0 if undefined)
void READ_PART_spindle_factor(double *Rval)
read spindle coefficient fot milling tool on lathe
Definition pp_pas30.c:6303

◆ READ_PART_spindle_livetool()

void READ_PART_spindle_livetool ( double * Rval)

read PPG processed livetool spindle speed on tool with turning cycles
(chuck and tool are rotating)

Version
6.09
Parameters
[out]Rvaltool speed value
void READ_PART_spindle_livetool(double *Rval)
read PPG processed livetool spindle speed on tool with turning cycles (chuck and tool are rotating)
Definition pp_pas30.c:6273
See also
OUTPUT_NC_spindle_livetool

◆ READ_PART_spindle_no()

void READ_PART_spindle_no ( int * Inum)

In turning, specifies spindle no in progress.

Version
6.01
Parameters
[out]Inum1 or 2
void READ_PART_spindle_no(int *Inum)
In turning, specifies spindle no in progress.
Definition pp_pas30.c:2950
See also
READ_PART_spindle_type

◆ READ_PART_spindle_type()

void READ_PART_spindle_type ( int * Btyp)

In turning, specifies spindle type in progress.

Parameters
[out]BtypCONST_MAIN_SPINDLE
CONST_REWORK_SPINDLE
void READ_PART_spindle_type(int *Btyp)
In turning, specifies spindle type in progress.
Definition pp_pas30.c:7316
See also
READ_PART_spindle_no

◆ READ_PART_start_time()

void READ_PART_start_time ( double * Rval)

read cycle starting time in DB

Parameters
[out]Rvaltime in seconds
idem PCALL(READ_PART_real_tec,REAL_CYC_START_DATE,rval);
void READ_PART_start_time(double *Rval)
read cycle starting time in DB
Definition pp_pas30.c:6997

◆ READ_PART_stock_box()

void READ_PART_stock_box ( double * Zmin,
double * Xmin,
double * Zmax,
double * Xmax )

read turning stock box (original stock)

                 <br> Xmini (at radius)
                 <br> Zmaxi
                 <br> Xmaxi (at radius)
PCALL(READ_PART_stock_box,Zmin,Xmin,Zmax,Xmax);
void READ_PART_stock_box(double *Zmin, double *Xmin, double *Zmax, double *Xmax)
read turning stock box (original stock)
Definition pp_pas30.c:403
See also
READ_PART_stock_dia, READ_PART_stock_length, READ_PART_part_length
READ_PART_mill_stock_box

◆ READ_PART_stock_dia()

void READ_PART_stock_dia ( double * Rval)

read turning stock maximum diameter (original stock)

Parameters
[out]Rvaldiameter
PCALL(READ_PART_stock_dia,Rval);
void READ_PART_stock_dia(double *Rval)
read turning stock maximum diameter (original stock)
Definition pp_pas30.c:1164
See also
READ_PART_stock_length

◆ READ_PART_stock_elt_number()

void READ_PART_stock_elt_number ( int * Inombre)

read number of stock profile elements.
(original stock at PP_BEGIN and PP_END)

Parameters
[out]Inombrenumber of elements
void READ_PART_stock_elt_number(int *Inombre)
read number of stock profile elements. (original stock at PP_BEGIN and PP_END)
Definition pp_pas30.c:2053
See also
LOAD_stock_elt

◆ READ_PART_stock_end_point()

void READ_PART_stock_end_point ( double * Pt)

Used in turning to read stock's ending point.

Parameters
[out]Ptstock's end coordinates point
void READ_PART_stock_end_point(double *Pt)
Used in turning to read stock's ending point.
Definition pp_pas30.c:5217
See also
READ_PART_stock_start_point, READ_PART_profile_end_point

◆ READ_PART_stock_length()

void READ_PART_stock_length ( double * Rval)

read turning stock length (original stock)

Parameters
[out]Rvallength
void READ_PART_stock_length(double *Rval)
read turning stock length (original stock)
Definition pp_pas30.c:1825
See also
READ_PART_stock_dia, READ_PART_part_length

◆ READ_PART_stock_start_point()

void READ_PART_stock_start_point ( double * Pt)

Used in turning to read stock's starting point.

Parameters
[out]Ptstock's starting point coordinates
void READ_PART_stock_start_point(double *Pt)
Used in turning to read stock's starting point.
Definition pp_pas30.c:5117
See also
READ_PART_stock_end_point, READ_PART_profile_start_point

◆ READ_PART_stock_type()

void READ_PART_stock_type ( int * btyp)

read stock form

Version
606
Parameters
[out]btypAGC_MILLING_STOCK_CYLINDER_CENTER,
AGC_MILLING_STOCK_BLOCK,
AGC_MILLING_STOCK_CYLINDER,...
PCALL(READ_PART_stock_type,tybrut);
void READ_PART_stock_type(int *btyp)
read stock form
Definition pp_pas30.c:7347
See also
READ_PART_stock_box, READ_PART_mill_stock_box

◆ READ_PART_stop_length()

void READ_PART_stop_length ( double * Rval)

read information on EDM toolpath only.

Version
6.01
Parameters
[out]RvalSTOP lenght read on techno or thread point
PCALL(READ_PART_stop_length,lgstop);
void READ_PART_stop_length(double *Rval)
read information on EDM toolpath only.
Definition pp_pas30.c:979

◆ READ_PART_string_tec()

void READ_PART_string_tec ( int Bind,
std::string & Str )

reads the technology,strategy,tool,machine,... strings

Parameters
[in]BindST..., SO_..., S...
exhaustive list according to cycle in online help
or in dat\RES_IPPG.DAT file
[out]Strcharacter string
PCALL(READ_PART_string_tec,STRING_TOOL_NAME,nomout);
See also
TEST_select_tec

◆ READ_PART_subroutine_angles()

void READ_PART_subroutine_angles ( int * Btyp,
double * Rang )

read imaginary plane angle (Subprogram)

Parameters
[out]BtypCONST_ROTATION_A
CONST_ROTATION_B
CONST_ROTATION_C
[out]RangSPG plane's rotation angle value
Remarks
Rather use READ_PART_rot_angles ,
which use a standard plane

◆ READ_PART_subroutine_call_no()

void READ_PART_subroutine_call_no ( int * Inum)

read NC subprogram calling number
(useful for generating comments)

Parameters
[out]Inumncalling number (subprog or prog)
void READ_PART_subroutine_call_no(int *Inum)
read NC subprogram calling number (useful for generating comments)
Definition pp_pas30.c:3038
See also
litNUM_SPM

◆ READ_PART_subroutine_end()

void READ_PART_subroutine_end ( double * Pt)

read a subprogram or call ending point in the
TRANSFO_..,APPEL_..,DEBUT_..,FIN_.. procedures
The point coordinates are those of the original.

Version
4.4
Parameters
[out]Ptpoint coordinates
Remarks
only available for GO2cam sub-routines,
and multi-Z with plunge in subroutine
void READ_PART_subroutine_end(double *Pt)
read a subprogram or call ending point in the TRANSFO_..,APPEL_..,DEBUT_..,FIN_....
Definition pp_pas30.c:5277
See also
READ_PART_subroutine_soft_no, READ_PART_subroutine_start, READ_PART_subroutine_type

◆ READ_PART_subroutine_hom()

void READ_PART_subroutine_hom ( double * Rx,
double * Ry,
double * Rfact )

rescale characteristics for subprograms

Parameters
[out]RxX rotation center
[out]RyY rotation center
[out]Rfactrescale factor
PCALL(READ_PART_subroutine_hom,xcentre,ycentre,facteur);
void READ_PART_subroutine_hom(double *Rx, double *Ry, double *Rfact)
rescale characteristics for subprograms
Definition pp_pas30.c:7053

◆ READ_PART_subroutine_no()

void READ_PART_subroutine_no ( int * Inum)

read NC subprogram number to call

Parameters
[out]InumNC sub-program number
void READ_PART_subroutine_no(int *Inum)
read NC subprogram number to call
Definition pp_pas30.c:3011

◆ READ_PART_subroutine_rot()

void READ_PART_subroutine_rot ( double * Rx,
double * Ry,
double * Rang )

characteristics rotation pour les subprograms

Parameters
[out]RxX rotation center
[out]RyY rotation center
[out]Rangrotation angle
PCALL(READ_PART_subroutine_rot,xcentre,ycentre,angle);
void READ_PART_subroutine_rot(double *Rx, double *Ry, double *Rang)
characteristics rotation pour les subprograms
Definition pp_pas30.c:7084

◆ READ_PART_subroutine_soft_no()

void READ_PART_subroutine_soft_no ( int * Inum)

read GO2cam subprogram number

Parameters
[out]Inumnumber given by the user
(if < 0, it is a multi-pass in Z or multi-holes)
void READ_PART_subroutine_soft_no(int *Inum)
read GO2cam subprogram number
Definition pp_pas30.c:2981
See also
READ_PART_subroutine_no

◆ READ_PART_subroutine_start()

void READ_PART_subroutine_start ( double * Pt)

read a subprogram or call starting point in the
TRANSFO_..,APPEL_..,DEBUT_..,FIN_.. procedures
The point coordinates are those of the original.

Version
4.4
Parameters
[out]Ptpoint coordinates
Remarks
only available for GO2cam sub-routines,
and multi-Z with plunge in subroutine
void READ_PART_subroutine_start(double *Pt)
read a subprogram or call starting point in the TRANSFO_..,APPEL_..,DEBUT_..,FIN_....
Definition pp_pas30.c:5177
See also
READ_PART_subroutine_soft_no, READ_PART_subroutine_end, READ_PART_subroutine_type

◆ READ_PART_subroutine_sym()

void READ_PART_subroutine_sym ( double * Rx,
double * Ry,
double * Rang )

symmetry characteristics for subprograms

Parameters
[out]Rxline of symmetry X point
[out]Ryline of symmetry Y point
[out]Rangline of symmetry angle
PCALL(READ_PART_subroutine_sym,x,y,ang);
void READ_PART_subroutine_sym(double *Rx, double *Ry, double *Rang)
symmetry characteristics for subprograms
Definition pp_pas30.c:7115

◆ READ_PART_subroutine_tecedm()

void READ_PART_subroutine_tecedm ( double * Rav,
int * Iar,
int * Ireg,
int * Ica,
int * Iof,
double * Rof )

techno characteristics for subprogram call.
Useful for EDM strategies.

Version
4.4
Parameters
[out]Ravfeed value
[out]Iarcoolant number
[out]Iregregime number
[out]Icaangle compensation number
[out]Iofoffset number
[out]Rofvaleur offset
PCALL(READ_PART_subroutine_tecedm,Rav,Iar,Ireg,Ica,Iof,Rof);
void READ_PART_subroutine_tecedm(double *Rav, int *Iar, int *Ireg, int *Ica, int *Iof, double *Rof)
techno characteristics for subprogram call. Useful for EDM strategies.
Definition pp_pas30.c:7146

◆ READ_PART_subroutine_trans()

void READ_PART_subroutine_trans ( double * Rx,
double * Ry,
double * Rz )

translation vector for translation subprogram
(the vector is expressed in the basic cycle's plane)

Parameters
[out]RxX translation
[out]RyY translation
[out]RzZ translation
void READ_PART_subroutine_trans(double *Rx, double *Ry, double *Rz)
translation vector for translation subprogram (the vector is expressed in the basic cycle's plane)
Definition pp_pas30.c:7189
See also
READ_PART_ori_coord, READ_PART_plane_ori_no

◆ READ_PART_subroutine_transrot()

void READ_PART_subroutine_transrot ( double * Rx,
double * Ry,
double * Rz,
double * Ra )

translation vector for translation subprogram
with angle of rotation.

Version
4.4
Parameters
[out]RxX translation
[out]RyY translation
[out]RzZ translation
[out]Rarotation angle

◆ READ_PART_subroutine_type()

void READ_PART_subroutine_type ( int * Btyp)

Info on subprogram type at SPM_BEGIN, SPM_END, SPM_CALL.

Version
4.5
Parameters
[out]BtypCONST_SPM_OPELIST operations list subprogram
CONST_SPM_HOLES multiple holes processing
CONST_SPM_PASS multi-passes in Z processing
CONST_SPM_PLUNGE_PASS multi-passes in Z processing with plunge
CONST_SPM_UNITARY unit cycle subprogram
void READ_PART_subroutine_type(int *Btyp)
Info on subprogram type at SPM_BEGIN, SPM_END, SPM_CALL.
Definition pp_pas30.c:7382

◆ READ_PART_synchro_axes()

void READ_PART_synchro_axes ( int * Bcompo,
int * Bclamp,
int * Bmove,
double * Pos )

read master component and position for a cycle with MILLTURN MTE
this component will be clamp ot not

Version
6.04
Parameters
[out]Bcomporeference component:CONST_NO CONST_SPINDLE CONST_TURRET
[out]Bclampcomponent is clamped:CONST_NO CONST_YES
[out]Bmovecomponent is moved:CONST_NO CONST_MOVE_COMPONENT CONST_COORDINATES
[out]Posclamp position
PCALL(READ_PART_synchro_axes,Bcompo,Bclamp,Bmove,pt);
void READ_PART_synchro_axes(int *Bcompo, int *Bclamp, int *Bmove, double *Pos)
read master component and position for a cycle with MILLTURN MTE this component will be clamp ot no...
Definition pp_pas30.c:347

◆ READ_PART_synchro_channel()

void READ_PART_synchro_channel ( int Btypos,
int * Btyp,
int * Idsync,
int * Inosync )

read current synchro with MTE

Version
6.01
Parameters
[in]Btypossynchro to find
CONST_SYNC_START before tool call
CONST_SYNC_TOOL after tool call
CONST_SYNC_END end of cycle
CONST_SYNC_PATH on path
CONST_SYNC_PATTERN added automatically for pattern
[out]Btypsynchro type found CONST_NO
CONST_FCT_SYNCHRO
[out]Idsyncsynchro index (0 if not synchro)
[out]Inosyncsynchro number
PCALL(READ_PART_synchro_channel,EPPSynchro::SyncTra,Btyp,Idsync,Inosync);
void READ_PART_synchro_channel(int Btypos, int *Btyp, int *Idsync, int *Inosync)
read current synchro with MTE
Definition pp_pas30.c:8268

◆ READ_PART_synchro_channel_info()

void READ_PART_synchro_channel_info ( int Idsync,
int Icanal,
int * Btyp,
int * Btypos,
int * Bnumcyc,
int * Inotrl,
int * Btybro )

read infos on synchro with MTE

Version
6.01
Parameters
[in]Idsyncsynchro index (1,...)
[in]Icanalchannel number (1,... current canal if 0)
[out]Btypsynchro type:CONST_NO if not ok
CONST_FCT_SYNCHRO
[out]BtyposCONST_SYNC_START before tool call
CONST_SYNC_TOOL after tool call
CONST_SYNC_APPROACH first cycle approach
CONST_SYNC_RETURN last cycle return
CONST_SYNC_END end of cycle
CONST_SYNC_PATH on trajet
[out]Bnumcycsynchronized cycle type READ_PART_cycle_no
[out]Inotrlsynchronized turret number (1..)
[out]Btybrosynchronized chuck CONST_REWORK_SPINDLE
CONST_MAIN_SPINDLE
PCALL(READ_PART_synchro_channel_info,1,0,Btyp,Btypos,Bnumcyc,Inotrl,Btybro);
void READ_PART_synchro_channel_info(int Idsync, int Icanal, int *Btyp, int *Btypos, int *Bnumcyc, int *Inotrl, int *Btybro)
read infos on synchro with MTE
Definition pp_pas30.c:8322

◆ READ_PART_synchro_channel_info2()

void READ_PART_synchro_channel_info2 ( int Idsync,
int Icanal,
int * Btybro,
int * Bsensrot,
double * Rspeed,
int * Bunit,
int * Bprio )

read infos on synchro for turning cycles with MTE

Version
6.01
Parameters
[in]Idsyncsynchro index (1,...)
[in]Icanalchannel number (1,... current canal if 0)
[out]Btybrosynchronized chuck CONST_REWORK_SPINDLE
CONST_MAIN_SPINDLE
[out]BsensrotCONST_BREAK if no chuck rotation (milling)
CONST_CCW
CONST_CW
[out]Rspeedspindle speed
[out]BunitAGC_M_MIN AGC_TOUR_MIN
[out]Bpriocanal avec priorite broche apres synchro:
CONST_YES CONST_NO
PCALL(READ_PART_synchro_channel_info2,1,0,Btybro,Bsensrot,Rspeed,Bunit,Bprio);
void READ_PART_synchro_channel_info2(int Idsync, int Icanal, int *Btybro, int *Bsensrot, double *Rspeed, int *Bunit, int *Bprio)
read infos on synchro for turning cycles with MTE
Definition pp_pas30.c:8390

◆ READ_PART_synchro_create()

void READ_PART_synchro_create ( int Idsync,
int * Bcreate )

read synchro creating process

Version
6.06
Parameters
[in]Idsyncsynchro index (1,...)
[out]BcreateCONST_SYNC_USER create by user in Gantt
CONST_SYNC_TRAJET create by user on Path
CONST_SYNC_AUTO create automatic in Gantt
CONST_SYNC_OPLIST create by opelist
CONST_SYNC_REWORK create by rework scenario
CONST_SYNC_CYCLE create on cycle with many channels
CONST_SYNC_CYCLE_EXE create by exec of cycle (4axis)
PCALL(READ_PART_synchro_create,1,Bcreate);
void READ_PART_synchro_create(int Idsync, int *Bcreate)
read synchro creating process
Definition pp_pas30.c:8450

◆ READ_PART_synchro_label()

void READ_PART_synchro_label ( int Idsync,
std::string & Slabel )

read user label on synchro

Version
6.04
Parameters
[in]Idsyncsynchro index (1,...)
[out]Slabeluser label on synchro, for post-processor
PCALL(READ_PART_synchro_label,1,Slabel);
void READ_PART_synchro_label(int Idsync, std::string &Slabel)
read user label on synchro
Definition pp_pas30.c:8499

◆ READ_PART_synchro_number()

void READ_PART_synchro_number ( int Icanal,
int * Insync )

read synchros number with MTE

Version
6.01
Parameters
[in]Icanalchannel number (1,... 0:all)
[out]Insyncsynchros number
PCALL(READ_PART_synchro_number,0,Insync);
void READ_PART_synchro_number(int Icanal, int *Insync)
read synchros number with MTE
Definition pp_pas30.c:8536

◆ READ_PART_synchro_pattern()

void READ_PART_synchro_pattern ( int Idsync,
std::string & Slabel,
std::string & ScodeMain,
std::string & ScodeSub )

read pattern on synchro (patterns have to be set in machine kinematics)

Version
6.10
Parameters
[in]Idsyncsynchro index (1,...)
[out]Slabelpattern title
[out]ScodeMainpattern main code
[out]ScodeSubpattern sub code
PCALL(READ_PART_synchro_pattern,idsync,Slabel,Smain,Ssub);
void READ_PART_synchro_pattern(int Idsync, std::string &Slabel, std::string &ScodeMain, std::string &ScodeSub)
read pattern on synchro (patterns have to be set in machine kinematics)
Definition pp_pas30.c:8572

◆ READ_PART_synchro_pattern_channel()

void READ_PART_synchro_pattern_channel ( int Idsync,
int Icanal,
int * Ioutput,
std::string & Saxis )

read pattern channel information on synchro (patterns have to be set in machine kinematics)

Version
6.10
Parameters
[in]Idsyncsynchro index (1,...)
[in]Icanalchannel number (1,... current canal if 0)
[out]Ioutputoutput pattern on this channel : SPI_YES or SPI_NO
[out]Saxispattern channel axis list
PCALL(READ_PART_synchro_pattern_channel,idsync,canal,Ioutput,Slabel);
void READ_PART_synchro_pattern_channel(int Idsync, int Icanal, int *Ioutput, std::string &Saxis)
read pattern channel information on synchro (patterns have to be set in machine kinematics)
Definition pp_pas30.c:8607

◆ READ_PART_tec_nb()

void READ_PART_tec_nb ( int Btyp,
int * Inombre )

read number of DPP,MAC,... structure

Version
4.5
Parameters
[in]Btypstructure type TEST_select_tec
[out]Inombrenumber of structure of type
PCALL(READ_PART_tec_nb,TEC_TOURELLE,Inombre);
void READ_PART_tec_nb(int Btyp, int *Inombre)
read number of DPP,MAC,... structure
Definition pp_pas30.c:2551
See also
TEST_select_tec

◆ READ_PART_techno_name()

void READ_PART_techno_name ( std::string & Str255)

read name of techno used

Parameters
[out]Str255name of techno used
PCALL(READ_PART_techno_name,strtec);
void READ_PART_techno_name(std::string &Str255)
read name of techno used
Definition pp_pas30.c:2922
See also
READ_PART_cycle_name

◆ READ_PART_thickness()

void READ_PART_thickness ( double * Rval)

reading cycle thickness in progress (EDM)

Parameters
[out]Rvalthickness (may be negative on taper cycle)
void READ_PART_thickness(double *Rval)
reading cycle thickness in progress (EDM)
Definition pp_pas30.c:1355

◆ READ_PART_thread_pass_nb()

void READ_PART_thread_pass_nb ( int * Inombre)

read number of semi-canned threading passes

Parameters
[out]Inombrenumber read
Remarks
not available on chained threading cycle
PCALL(READ_PART_thread_pass_nb,Inombre);
void READ_PART_thread_pass_nb(int *Inombre)
read number of semi-canned threading passes
Definition pp_pas30.c:2113
See also
LOAD_thread_pass

◆ READ_PART_tool()

void READ_PART_tool ( int * Iout,
int * Icorl,
int * Icord )

read tool re-processed by PPG (tec fct)

Parameters
[out]Iouttool number
[out]Icorllength compensation number
[out]Icorddiameter compensation number (mill)
PCALL(READ_PART_tool,numout,numcorlg,numcordia);
void READ_PART_tool(int *Iout, int *Icorl, int *Icord)
read tool re-processed by PPG (tec fct)
Definition pp_pas30.c:6744

◆ READ_PART_tool_accessory()

void READ_PART_tool_accessory ( int * Idno,
int * Iposte )

read accessory tool ident with MTE (SPECIFIC_BEGIN)

Version
6.01 MTE
Parameters
[out]Idnoident number of accessory
[out]Ipostepost number
PCALL(READ_PART_tool_accessory,id,poste);
void READ_PART_tool_accessory(int *Idno, int *Iposte)
read accessory tool ident with MTE (SPECIFIC_BEGIN)
Definition pp_pas30.c:6777
See also
SPECIFIC_BEGIN POINT_SPE LINE_SPECIFIC

◆ READ_PART_tool_direction_vector()

void READ_PART_tool_direction_vector ( double * Pdir,
double * Ppla )

read current Tool direction vectors with kinematic machine

Version
6.10 MTE
Parameters
[out]Pdirvector tool direction
[out]Pplavector tool machining direction for turn cycles
void READ_PART_tool_direction_vector(double *Pdir, double *Ppla)
read current Tool direction vectors with kinematic machine
Definition pp_pas30.c:1780

◆ READ_PART_tool_inclinaison_angle()

void READ_PART_tool_inclinaison_angle ( double * Rang)

read tool angle for rotating tool using on lathes

Version
5.3
Parameters
[out]Rangangle around Y (special for 0,90,180,270)
void READ_PART_tool_inclinaison_angle(double *Rang)
read tool angle for rotating tool using on lathes
Definition pp_pas30.c:1539

◆ READ_PART_tool_index()

void READ_PART_tool_index ( double * Ra1,
double * Ra2 )

read rotated and orientation tool angles
(used with special tools)

Version
4.5
Parameters
[out]Ra1rotated angle (degres)
[out]Ra2orientation angle (degres)
PCALL(READ_PART_tool_index,Ra1,Ra2);
void READ_PART_tool_index(double *Ra1, double *Ra2)
read rotated and orientation tool angles (used with special tools)
Definition pp_pas30.c:3853

◆ READ_PART_tool_index_angle()

void READ_PART_tool_index_angle ( double * Rangle)

read tool indexation in spindle (spindle like Integrex,Multus,..)

Version
5.13 MTE
Parameters
[out]Rangletool angle indexation in spindle
void READ_PART_tool_index_angle(double *Rangle)
read tool indexation in spindle (spindle like Integrex,Multus,..)
Definition pp_pas30.c:6917

◆ READ_PART_tool_itn_no()

void READ_PART_tool_itn_no ( int * Inum)

read turning tool quadrant (techno)

Parameters
[out]Inum1..9 (0 if not defined) (like numerical keyboard)
PCALL(READ_PART_tool_itn_no,cadran_out);
void READ_PART_tool_itn_no(int *Inum)
read turning tool quadrant (techno)
Definition pp_pas30.c:471
See also
READ_PART_profile_itn_no

◆ READ_PART_tool_list()

void READ_PART_tool_list ( int Inum,
int Itrl,
int * Indlst,
int * corl1,
int * corl2,
int * cord )

read tool's index/characteristics in list

Parameters
[in]Inumtool number to search in the list
[in]Itrlturret number to search in the list
[out]Indlsttool's index in the list
[out]corl1length1 compensation number in the list
[out]corl2length2 compensation number in the list
[out]corddiameter compensation number in the list
PCALL(READ_PART_tool_list,Inum,Itrl,Indlst,corl1,corl2,cord);
void READ_PART_tool_list(int Inum, int Itrl, int *Indlst, int *corl1, int *corl2, int *cord)
read tool's index/characteristics in list
Definition pp_pas30.c:3933
See also
READ_PART_tool_number, UTIL_tool_load, READ_PART_tool_no

◆ READ_PART_tool_name()

void READ_PART_tool_name ( std::string & Str255)

read tool name

Parameters
[out]Str255tool name
PCALL(READ_PART_tool_name,strout);
void READ_PART_tool_name(std::string &Str255)
read tool name
Definition pp_pas30.c:2779

◆ READ_PART_tool_no()

void READ_PART_tool_no ( int * Inum)

read tool number of cycle in progress
rather use READ_PART_tool()

Parameters
[out]Inumtool number
PCALL(READ_PART_tool_no,numout);
void READ_PART_tool_no(int *Inum)
read tool number of cycle in progress rather use READ_PART_tool()
Definition pp_pas30.c:3473
See also
READ_PART_tool

◆ READ_PART_tool_no_str()

void READ_PART_tool_no_str ( std::string & Snumout)

read specific tool number string

Version
6.07
Parameters
[out]Snumouttool number string
void READ_PART_tool_no_str(std::string &Snumout)
read specific tool number string
Definition pp_pas30.c:6338

◆ READ_PART_tool_number()

void READ_PART_tool_number ( int * Inombre)

read number of various tools used
useful for declaring tools on top of program
use with UTIL_tool_load

Parameters
[out]Inombrenumber of tools used (1..n)
PCALL(READ_PART_tool_number,Inombre);
void READ_PART_tool_number(int *Inombre)
read number of various tools used useful for declaring tools on top of program use with UTIL_tool...
Definition pp_pas30.c:2379
See also
READ_PART_tool_list

◆ READ_PART_tool_offset_vector()

void READ_PART_tool_offset_vector ( double * Pvec)

read current Tool gauge vector with kinematic machine

Version
5.13 MTE
Parameters
[out]Pvecvector
void READ_PART_tool_offset_vector(double *Pvec)
read current Tool gauge vector with kinematic machine
Definition pp_pas30.c:1736

◆ READ_PART_tool_position()

void READ_PART_tool_position ( int * Btyp)

read tool positionning (for rotating tools on lathes)

Version
5.3
Parameters
[out]BtypCONST_Z_PLUS
CONST_X_PLUS_LT
CONST_Z_MINUS_LT
CONST_B_INCLINED
void READ_PART_tool_position(int *Btyp)
read tool positionning (for rotating tools on lathes)
Definition pp_pas30.c:4852
See also
READ_PART_tool_inclinaison_angle

◆ READ_PART_tool_post_index()

void READ_PART_tool_post_index ( int * Iposte,
int * Index )

read poste and index on current tool

Version
5.13 MTE
Parameters
[out]Iposteposte on tool position
[out]Indexfirst multi-support number on poste, 0 if not
PCALL(READ_PART_tool_post_index,poste,index);
void READ_PART_tool_post_index(int *Iposte, int *Index)
read poste and index on current tool
Definition pp_pas30.c:6949

◆ READ_PART_tool_radius()

void READ_PART_tool_radius ( double * Rval)

read tool cutter

Parameters
[out]Rvaltool cutter
void READ_PART_tool_radius(double *Rval)
read tool cutter
Definition pp_pas30.c:5533
See also
READ_PART_real_tec

◆ READ_PART_tool_vec()

void READ_PART_tool_vec ( double * Pvec)

read tool normalized vector (milling)

Version
5.13
Parameters
[out]Pvecvector
PCALL(READ_PART_tool_vec,vtool);
void READ_PART_tool_vec(double *Pvec)
read tool normalized vector (milling)
Definition pp_pas30.c:7821

◆ READ_PART_total_time()

void READ_PART_total_time ( double * Rval)

read total time in DB

Parameters
[out]Rvaltime in seconds
idem PCALL(READ_PART_real_tec,REAL_CYC_TIME_TOTAL,Rval)

◆ READ_PART_turn_canned_depth()

void READ_PART_turn_canned_depth ( double * Rinc,
double * Rfin,
int Bsgn )

read canned turning depths

Parameters
[in]BsgnCONST_YES:signed values according to TYP_CYC
CONST_NO
[out]Rincincremental depth
[out]Rfinlast pass depth
PCALL(READ_PART_turn_canned_depth,prof_inc,prof_fin,CONST_YES);
void READ_PART_turn_canned_depth(double *Rinc, double *Rfin, int Bsgn)
read canned turning depths
Definition pp_pas30.c:5079
See also
READ_PART_turn_canned_overlength, READ_PART_turn_canned_safety_dist

◆ READ_PART_turn_canned_overlength()

void READ_PART_turn_canned_overlength ( double * Rz,
double * Rx,
int Bsgn )

read canned turning stock allowance
can be signed by TYP_CYCLE and CADRAN_CYC

Parameters
[in]BsgnCONST_YES (signed values)
CONST_NO (unsigned values)
[out]RzZ stock allowance
[out]RxX stock allowance
PCALL(READ_PART_turn_canned_overlength,Rsz,Rsx,CONST_NO);
void READ_PART_turn_canned_overlength(double *Rz, double *Rx, int Bsgn)
read canned turning stock allowance can be signed by TYP_CYCLE and CADRAN_CYC
Definition pp_pas30.c:6642
See also
READ_PART_turn_canned_safety_dist, READ_PART_turn_canned_depth

◆ READ_PART_turn_canned_safety_dist()

void READ_PART_turn_canned_safety_dist ( double * Rz,
double * Rx,
int Bsgn )

turning security distance reading
easier by READ_PATH_safety_distance in drillings,...

Parameters
[in]BsgnCONST_YES (signed values)
CONST_NO (unsigned values)
[out]Rzsecurity distance in Z
[out]Rxsecurity distance in X
PCALL(READ_PART_turn_canned_safety_dist,dsz,dsx,DDP_OUI);
void READ_PART_turn_canned_safety_dist(double *Rz, double *Rx, int Bsgn)
turning security distance reading easier by READ_PATH_safety_distance in drillings,...
Definition pp_pas30.c:1280
See also
READ_PART_turn_canned_depth, READ_PART_turn_canned_overlength

◆ READ_PART_turn_cycle_type()

void READ_PART_turn_cycle_type ( int * Btyp)

read cycle complement type according to cycle (turning only)

Parameters
[out]Btypcanned
DRILL CONST_TYPE_CYCLE_DRILLING_SIMPLE
CONST_TYPE_CYCLE_DRILLING_DEBURRING
CONST_TYPE_CYCLE_DRILLING_CHIP_BREAKING
void READ_PART_turn_cycle_type(int *Btyp)
read cycle complement type according to cycle (turning only)
Definition pp_pas30.c:7564

◆ READ_PART_turning_angles()

void READ_PART_turning_angles ( double * Rangb,
double * Rangindex )

read B angle and index angle for turning tool

Version
5.13 MTE
Parameters
[out]RangbB angle
[out]RangindexIndex angle
PCALL(READ_PART_turning_angles,Rang,Rangindex);
void READ_PART_turning_angles(double *Rangb, double *Rangindex)
read B angle and index angle for turning tool
Definition pp_pas30.c:227

◆ READ_PART_turning_b_angle()

void READ_PART_turning_b_angle ( double * Rang)

read B angle for turning tool

Version
5.9
Parameters
[out]RangB angle
void READ_PART_turning_b_angle(double *Rang)
read B angle for turning tool
Definition pp_pas30.c:197
See also
TEST_tool_pocket_opposite

◆ READ_PART_turning_tool_angle_orientation()

void READ_PART_turning_tool_angle_orientation ( double * Rang)

read turning tool angle on the turret

Version
6.12.204 MTE
Parameters
[out]Rangangle
void READ_PART_turning_tool_angle_orientation(double *Rang)
read turning tool angle on the turret
Definition pp_pas30.c:256

◆ READ_PART_turret_index()

void READ_PART_turret_index ( int * Inpos)

Restores the number of positions between current tool
and previous one on the same turret.

Parameters
[out]Inposnumber of positions between the two (negative if inverted)
(reversable and number of tools according to .MAC file)
void READ_PART_turret_index(int *Inpos)
Restores the number of positions between current tool and previous one on the same turret.
Definition pp_pas30.c:1580

◆ READ_PART_turret_linked()

void READ_PART_turret_linked ( int * Ilink_trl)

read if X turret is link with an other (turn simultaneous cycles)

Version
6.03
Parameters
[out]Ilink_trllinked turret , 0 if no link
to compare with current turret if not nul
PCALL(READ_PART_turret_linked,Ilink_trl);
void READ_PART_turret_linked(int *Ilink_trl)
read if X turret is link with an other (turn simultaneous cycles)
Definition pp_pas30.c:1906

◆ READ_PART_turret_no()

void READ_PART_turret_no ( int * Inum)

read turret number of cycle in progress (DEBUT_OPE)
current turret (PP_BEGIN).
Used for 4 axes lathes, or lathes which can be
programmed either in X+ or in X-.

Parameters
[out]Inumturret number
PCALL(READ_PART_turret_no,tourelle);
void READ_PART_turret_no(int *Inum)
read turret number of cycle in progress (DEBUT_OPE) current turret (PP_BEGIN). Used for 4 axes la...
Definition pp_pas30.c:3614
See also
READ_PART_loop_no

◆ READ_PART_turret_pocket_tool()

void READ_PART_turret_pocket_tool ( int Itrl,
int * Iout,
int * Iposte,
int * Index )

read current tool number and poste and index on a turret
can be used at beginning to read first tool on each turret
can be used after OPERATION_BEGIN, but not inside

Version
6.01
Parameters
[in]Itrlturret search number
[out]Ioutcurrent tool number on turret
[out]Iposteposte number
[out]Indexfirst multi-support number on poste, 0 if not
PCALL(READ_PART_turret_pocket_tool,1,numout,poste,index);
void READ_PART_turret_pocket_tool(int Itrl, int *Iout, int *Iposte, int *Index)
read current tool number and poste and index on a turret can be used at beginning to read first too...
Definition pp_pas30.c:4291
See also
litOUTIl_SUIVANT, READ_PART_next_other_tool_turret

◆ READ_PART_turret_tool()

void READ_PART_turret_tool ( int Itrl,
int * Iout )

read current tool number on a turret
can be used at beginning to read first tool on each turret
can be used after OPERATION_BEGIN, but not inside

Version
6.01
Parameters
[in]Itrlturret search number
[out]Ioutcurrent tool number on turret
PCALL(READ_PART_turret_tool,1,numout);
void READ_PART_turret_tool(int Itrl, int *Iout)
read current tool number on a turret can be used at beginning to read first tool on each turret c...
Definition pp_pas30.c:4249
See also
litOUTIl_SUIVANT, READ_PART_next_other_tool_turret

◆ READ_PART_under_axe_overcut()

void READ_PART_under_axe_overcut ( double * Rval)

read toolpath overflow below the axis for
lathe roughing cycle.
(to know whether the canned profile is valid)

Parameters
[out]Rvaloverflow value
void READ_PART_under_axe_overcut(double *Rval)
read toolpath overflow below the axis for lathe roughing cycle. (to know whether the canned profi...
Definition pp_pas30.c:1095

◆ READ_PART_work_holding()

void READ_PART_work_holding ( int * Isetting,
double * Pori,
double * Rang,
int * Inclamp )

read informations on current setting

Version
6.03
Parameters
[out]Isettingsetting number
[out]Poriorigine coordinates
[out]Rangangular position
[out]Inclampnumber of clamp axis
PCALL(READ_PART_work_holding,setting,ptori,angle,nclamp);
void READ_PART_work_holding(int *Isetting, double *Pori, double *Rang, int *Inclamp)
read informations on current setting
Definition pp_pas30.c:4697
See also
READ_PART_work_holding_locked

◆ READ_PART_work_holding_locked()

void READ_PART_work_holding_locked ( int Iclamp,
int * Idaxis,
double * Rpos )

read clamp axis id and value

Version
6.03
Parameters
[in]Iclampclamp axis index (1,...)
[out]Idaxisaxis user identification
[out]Rposclamp position
PCALL(READ_PART_work_holding_locked,iax,idax,pos)
void READ_PART_work_holding_locked(int Iclamp, int *Idaxis, double *Rpos)
read clamp axis id and value
Definition pp_pas30.c:4767
See also
READ_PART_work_holding

◆ READ_PART_x_turn_type()

void READ_PART_x_turn_type ( int * Btyp)

Axis used for turning cycle (can be used with CA Lathe)

Version
606
Parameters
[out]BtypCONST_X_PLUS CONST_X_MINUS CONST_Y_PLUS CONST_Y_MINUS

◆ READ_PART_z_part_return()

void READ_PART_z_part_return ( double * Rval)

read 2nd revolution plane Z origin

Parameters
[out]Rvalvalue
void READ_PART_z_part_return(double *Rval)
read 2nd revolution plane Z origin
Definition pp_pas30.c:7933