GO2cam Pascal API

Functions

void READ_DPP_axis1 (int *Bsign, std::string &Sclef, std::string &Sclefarc)
 information on 1st linear axis key according to plane used
 
void READ_DPP_axis2 (int *Bsign, std::string &Sclef, std::string &Sclefarc)
 information on 2nd linear axis key according to plane used
 
void READ_DPP_axis3 (int *Bsign, std::string &Sclef, std::string &Sclefarc)
 information on 3rd linear axis key according to plane used
 
void READ_DPP_block_increment (int *Ival)
 read .DPP block number increment
useful to bufferize NC blocks
 
void READ_DPP_boolean (int Bclef, int *Bval)
 read DPP processing toggle in memory
 
void READ_DPP_cycle_execute (int *Btraite)
 Read cycle processing mode for current cycle.
 
void READ_DPP_integer (int Bclef, int *Ival)
 read DPP processing integer in memory
 
void READ_DPP_key_integer (const std::string &Sclef, int *Bmod, int *Inc, int *Imin, int *Imax)
 read a key's integer format characteristics
 
void READ_DPP_key_real (const std::string &Sclef, int *Bmod, int *Bsgn, int *Inc, int *Ind, int *Bsdec, std::string &Sdec, double *Rmin, double *Rmax)
 read a key's real format characteristics
 
void READ_DPP_key_string (const std::string &Sclef, std::string &Sval)
 read string associated with address letter
 
void READ_DPP_key_unit (const std::string &Sclef, double *Rval)
 read address letter unit
 
void READ_DPP_nc_type (int *Btyp)
 Read machine type of DPP.
 
void READ_DPP_real (int Bclef, double *Rval)
 read DPP processing real in memory
 
void READ_DPP_start_plane (int *Inum)
 read starting plane number entered in .DPP
 
void READ_DPP_string (int Bclef, std::string &Sval)
 read DPP processing key in memory
 
void READ_DPP_turret_nb (int *Ival)
 read number of turrets in mac file
 
void READ_DPP_Unit (int *Bunit)
 Read Unit use for movment output.
 

Detailed Description

Read DPP parameters

Function Documentation

◆ READ_DPP_axis1()

void READ_DPP_axis1 ( int * Bsign,
std::string & Sclef,
std::string & Sclefarc )

information on 1st linear axis key according to plane used

Parameters
[out]Sclef1st linear axis key
[out]Sclefarc1st linear axis arc center key
[out]BsignDPP_NORMAL
CONST_INVERTED
PCALL(READ_DPP_boolean,GPP_BOOLEAN_PLANE_AXIS_1_DIRECTION,Bsign);
{ Bsign : CONST_DIRECT, CONST_INVERTED }
void READ_DPP_boolean(int Bclef, int *Bval)
read DPP processing toggle in memory
Definition pp_pas25.c:138

◆ READ_DPP_axis2()

void READ_DPP_axis2 ( int * Bsign,
std::string & Sclef,
std::string & Sclefarc )

information on 2nd linear axis key according to plane used

Parameters
[out]Sclef2nd linear axis key
[out]Sclefarc2nd linear axis arc center key
[out]BsignDPP_NORMAL
CONST_INVERTED
PCALL(READ_DPP_boolean,GPP_BOOLEAN_PLANE_AXIS_2_DIRECTION,Bsign);
{ Bsign : CONST_DIRECT, CONST_INVERTED }

◆ READ_DPP_axis3()

void READ_DPP_axis3 ( int * Bsign,
std::string & Sclef,
std::string & Sclefarc )

information on 3rd linear axis key according to plane used

Parameters
[out]Sclef3rd linear axis key
[out]Sclefarc3rd linear axis arc center key
[out]BsignDPP_NORMAL
CONST_INVERTED
PCALL(READ_DPP_boolean,GPP_BOOLEAN_PLANE_AXIS_3_DIRECTION,Bsign);
{ Bsign : CONST_DIRECT, CONST_INVERTED }

◆ READ_DPP_block_increment()

void READ_DPP_block_increment ( int * Ival)

read .DPP block number increment
useful to bufferize NC blocks

Parameters
[in]Ivalincrement value
PCALL(READ_DPP_integer,GPP_INTEGER_BLOCKS_INCREMENT,Iincr);
void READ_DPP_integer(int Bclef, int *Ival)
read DPP processing integer in memory
Definition pp_pas25.c:353

◆ READ_DPP_boolean()

void READ_DPP_boolean ( int Bclef,
int * Bval )

read DPP processing toggle in memory

Version
4.5
Parameters
[in]BclefDPP key (GPP_BOOLEAN_SPM_TRANSLATION,...)
[out]Bvaltoggle (possible values in DPP editing)
PCALL(READ_DPP_boolean,GPP_BOOLEAN_SPM_TRANSLATION,Bval);

◆ READ_DPP_cycle_execute()

void READ_DPP_cycle_execute ( int * Btraite)

Read cycle processing mode for current cycle.

Version
5.9
Parameters
[in]BtraiteCONST_DECOMPOSED
CONST_MULTI_CALL
CONST_CANNED

◆ READ_DPP_integer()

void READ_DPP_integer ( int Bclef,
int * Ival )

read DPP processing integer in memory

Version
4.5
Parameters
[in]BclefDPP key (GPP_INTEGER_BLOCK_FIRST_NB,...)
[out]Ivalvalue
PCALL(READ_DPP_integer,GPP_INTEGER_BLOCK_FIRST_NB,Ival);

◆ READ_DPP_key_integer()

void READ_DPP_key_integer ( const std::string & Sclef,
int * Bmod,
int * Inc,
int * Imin,
int * Imax )

read a key's integer format characteristics

Version
4.4
Parameters
[in]Sclefconcerned address letter
[out]Bmodmodality:CONST_NO CONST_YES
[out]Inccompulsory number of figures
[out]Iminmini value allowed
[out]Imaxmaxi value allowed
ok := ICALL(TEST_select_string_tec,TEC_PPCLEF,GPP_STRING_KEY,Sclef);
IF (ok = CONST_YES) THEN
BEGIN
PCALL(READ_DPP_real,GPP_REAL_KEY_VALUE_MINI,Rmin);
END;
void READ_DPP_real(int Bclef, double *Rval)
read DPP processing real in memory
Definition pp_pas25.c:478
int TEST_select_string_tec(int Btyp, int Bclef, const std::string &Sval)
select tool, machine, DPP file structure index to access lit_xTEC, ldppxxx, edppxxx data....
Definition pp_pas32.c:2568

◆ READ_DPP_key_real()

void READ_DPP_key_real ( const std::string & Sclef,
int * Bmod,
int * Bsgn,
int * Inc,
int * Ind,
int * Bsdec,
std::string & Sdec,
double * Rmin,
double * Rmax )

read a key's real format characteristics

Version
4.4
Parameters
[in]Sclefconcerned address letter
[out]Bmodmodality:CONST_NO CONST_YES
[out]Bsgncompulsory '+' sign:CONST_NO CONST_YES
[out]Incnumber of figures in integer part
[out]Indnumber of figures in decimal part
[out]Bsdeccompulsory decimal sign:CONST_NO CONST_YES
[out]Sdecstring with decimal sign
[out]Rminmini value allowed
[out]Rmaxmaxi value allowed
ok := ICALL(TEST_select_string_tec,TEC_PPCLEF,GPP_STRING_KEY,Sclef);
IF (ok = CONST_YES) THEN
BEGIN
PCALL(READ_DPP_boolean,GPP_BOOLEAN_KEY_SIGN,Bsgn);
END;

◆ READ_DPP_key_string()

void READ_DPP_key_string ( const std::string & Sclef,
std::string & Sval )

read string associated with address letter

Parameters
[in]Sclefconcerned address letter key
[out]Svalassociated string
ok := ICALL(TEST_select_string_tec,TEC_PPCLEF,GPP_STRING_KEY,'S');
IF (ok = CONST_YES) THEN
BEGIN
PCALL(READ_DPP_string,GPP_STRING_KEY_STRING,Sval);
END;
void READ_DPP_string(int Bclef, std::string &Sval)
read DPP processing key in memory
Definition pp_pas25.c:516

◆ READ_DPP_key_unit()

void READ_DPP_key_unit ( const std::string & Sclef,
double * Rval )

read address letter unit

Parameters
[in]Sclefconcerned address letter
[out]Rvalunit coefficient
ok := ICALL(TEST_select_string_tec,TEC_PPCLEF,GPP_STRING_KEY,'X_LATHE');
IF (ok = CONST_YES) THEN
BEGIN
PCALL(READ_DPP_real,GPP_REAL_KEY_FACTOR,Rval);
END;

◆ READ_DPP_nc_type()

void READ_DPP_nc_type ( int * Btyp)

Read machine type of DPP.

Version
4.5
Parameters
[out]Btypmachine type:CONST_MAC_TURNING! , !CONST_MAC_MILLING

◆ READ_DPP_real()

void READ_DPP_real ( int Bclef,
double * Rval )

read DPP processing real in memory

Version
4.5
Parameters
[in]BclefDPP key (GPP_REAL_MAX_ANGLE_ARC,...)
[out]Rvalvalue
PCALL(READ_DPP_real,GPP_REAL_MAX_ANGLE_ARC,Rval);

◆ READ_DPP_start_plane()

void READ_DPP_start_plane ( int * Inum)

read starting plane number entered in .DPP

Parameters
[out]Inumstarting plane number of .DPP
PCALL(READ_DPP_integer,GPP_INTEGER_PLANE_REFERENCE_OLD,Ival);

◆ READ_DPP_string()

void READ_DPP_string ( int Bclef,
std::string & Sval )

read DPP processing key in memory

Version
4.5
Parameters
[in]BclefDPP key (GPP_STRING_BLOCK_START,...)
[out]Svalcharacter string
PCALL(READ_DPP_string,GPP_STRING_BLOCK_START,Sval);

◆ READ_DPP_turret_nb()

void READ_DPP_turret_nb ( int * Ival)

read number of turrets in mac file

Version
4.4
Parameters
[out]Ivalnumber of turrets
PCALL(READ_PART_tec_nb,TEC_TOURELLE,Ival);
void READ_PART_tec_nb(int Btyp, int *Inombre)
read number of DPP,MAC,... structure
Definition pp_pas30.c:2551

◆ READ_DPP_Unit()

void READ_DPP_Unit ( int * Bunit)

Read Unit use for movment output.

Version
6.10
Parameters
[out]BunitCONST_MM
CONST_INCH