GO2cam Pascal API

Functions

void WRITE_NC_block_format (int Inum)
 selects a format type for ecritB
formats ecritB to obtain PUNCHB(Inum)
 
void WRITE_NC_block_max_size (int Ilg, const std::string &Slim, const std::string &Sfin)
 allows long blocks cutting in ISO file
(used for APT post processor)
 
void WRITE_NC_block_no (int Inum)
 writes block number for current buffer
 
void WRITE_NC_block_optional (int Bval)
 activates optional block mode for ecritB according to DPP
 
void WRITE_NC_cancel_paxis1 (int Bval)
 invalidate OUTPUT_NC_paxis1
 
void WRITE_NC_cancel_paxis2 (int Bval)
 invalidate OUTPUT_NC_paxis2
 
void WRITE_NC_cancel_paxis3 (int Bval)
 invalidate OUTPUT_NC_paxis3
 
void WRITE_NC_cancel_primary (int Bval)
 invalidate OUTPUT_NC_primary
 
void WRITE_NC_cancel_secondary (int Bval)
 invalidate OUTPUT_NC_secondary
 
void WRITE_NC_comment_format (int Inum)
 selects a type of format for comments generated by OUTPUT_NC_write_com.
The format numbers are defined in .DPP
 
void WRITE_NC_comment_space (int Bval)
 allows to invalidate address spaces for CO and FC
 
void WRITE_NC_coolant (int Ival)
 Initializes the current coolant number.
 
void WRITE_NC_coord_translate (double Rx, double Ry, double Rz)
 add vector to output coordinates
(can be use to translate coordinates in developped plane)
 
void WRITE_NC_cutcom (int Bval)
 writes current radius correction dimension
 
void WRITE_NC_feed (double Rval, int Bunit)
 writes current feed rate
 
void WRITE_NC_force_feed (int Bfeed, int Bunit)
 forces writing of keys to the next OUTPUT_NC_feed
 
void WRITE_NC_force_paxis1 ()
 forces writing of 1st axis to the next OUTPUT_NC_paxis1
 
void WRITE_NC_force_paxis2 ()
 forces writing of 2nd axis to the next OUTPUT_NC_paxis2
 
void WRITE_NC_force_primary ()
 forces writing of 1st rotary axis to the next OUTPUT_NC_primary
 
void WRITE_NC_force_secondary ()
 forces writing of 2nd rotary axis to the next OUTPUT_NC_secondary
 
void WRITE_NC_force_spindle (int Bspeed, int Bunit, int Bgamme)
 forces writing of keys to the next OUTPUT_NC_spindle
 
void WRITE_NC_g (int Icode)
 writes G value on the group concerned
In DPP - Res.key - G CODES;You can find the group
Tell GO2cam the G-code that is currently in use
 
void WRITE_NC_g_force (int Ival)
 forces writing of next G of the group
 
void WRITE_NC_init_coolant ()
 initializes coolant value
 
void WRITE_NC_init_feed ()
 initializes feed rate value,unit and G code.
performs an init_g()
 
void WRITE_NC_init_g (int Ival)
 initializes G group with .DPP initial value
 
void WRITE_NC_init_key (const std::string &Sclef)
 initializes the concerned key
 
void WRITE_NC_init_m (int Ival)
 initializes M group with .DPP initial value
 
void WRITE_NC_init_paxis3 ()
 initializes 3rd axe value
 
void WRITE_NC_init_plane (int Inum)
 initializes plane processing according to .DPP number
 
void WRITE_NC_init_plane_db ()
 initializes plane processing by using the
DPP plane number corresponding to type of plane.
 
void WRITE_NC_init_pplane ()
 initializes 1st and 2nd axes values according to abs/rel prog
#:END_ENGLISH
 
void WRITE_NC_init_rotation ()
 initializes rotation value
In DPP - Res.key - G CODES;You can find the group M
 
void WRITE_NC_init_spindle ()
 initializes spindle value, unit, speed range, G code
performs an init_g()
 
void WRITE_NC_key (const std::string &Sclef, double Rval)
 writes a value on the concerned key
 
void WRITE_NC_key_axis1 (const std::string &Sclef)
 writes 1st NC axis key after WRITE_NC_init_plane
 
void WRITE_NC_key_axis2 (const std::string &Sclef)
 writes 2nd NC axis key after WRITE_NC_init_plane
 
void WRITE_NC_key_axis3 (const std::string &Sclef)
 writes 3nd NC axis key after WRITE_NC_init_plane
 
void WRITE_NC_key_primary (const std::string &Sclef)
 writes 1st NC rotating axis key
 
void WRITE_NC_key_secondary (const std::string &Sclef)
 writes 2nd NC rotating axis key
 
void WRITE_NC_linprog (int Bval)
 writes linear axes programming type
 
void WRITE_NC_m (int Icode)
 writes M value on concerned group
 
void WRITE_NC_m_force (int Ival)
 forces writing of next M of the group
 
void WRITE_NC_origin_coord (double Rx, double Ry, double Rz)
 writes current NC origins offset values.
 
void WRITE_NC_origin_no (int Inum)
 memorizes NC origin number
Generally used in ORI_DECAL.
 
void WRITE_NC_osetno (int Inum)
 writes length compensation number
 
void WRITE_NC_osetno_dia (int Inum)
 writes diameter compensation number
 
void WRITE_NC_paxis1 (double Rval)
 writes 1st NC axis current position
 
void WRITE_NC_paxis2 (double Rval)
 writes 2nd NC axis current position
 
void WRITE_NC_paxis3 (double Rval)
 writes 3rd NC axis current position
 
void WRITE_NC_paxis3_cycle (double Rval)
 writes cycles' 3rd axis position
this value is copied again on the 3rd axis before
calling hole milling procedures
 
void WRITE_NC_paxis3_force ()
 forces writing of 3rd axis to the next OUTPUT_NC_paxis3
 
void WRITE_NC_plane_origin (double Rx, double Ry, double Rz)
 add offset to origin values :
- mixing origin numbers with offset values
- coordinates offset for "relative+dec" planes
 
void WRITE_NC_plane_rotation (double Rang)
 rotates coordinates for READ_PATH_point,...
(used with G112 on FANUC)
 
void WRITE_NC_plane_translate (double Rx, double Ry, double Rz)
 Replace offset values of coordinates
useful for non concurrent rotary axes.
 
void WRITE_NC_pplane (double Rval1, double Rval2)
 writes 1st and 2nd NC axis current position
 
void WRITE_NC_pplane_force ()
 forces 1st/2nd axis writing to the next PPLAN
 
void WRITE_NC_primary (double Rval)
 writes primary rotary axis current position
 
void WRITE_NC_program_name (const std::string &Str)
 writes program name (allows to read it after)
 
void WRITE_NC_program_no (int Inum)
 writes program number
necessary for sub-routines numbered in relative mode
 
void WRITE_NC_rotation (int Bval)
 writes spindle current rotation direction
 
void WRITE_NC_rotation_livetool (int Bval)
 writes spindle livetool current rotation direction for turning cycle
 
void WRITE_NC_rotprog (int Bval)
 writes rotary axes programming type
 
void WRITE_NC_secondary (double Rval)
 writes secondary rotary axis current position
 
void WRITE_NC_spindle (double Rval, int Bunite, int Igamme)
 writes spindle speed in NC states
 
void WRITE_NC_spindle_livetool (double Rval)
 writes livetool spindle speed in NC states for turning cycle
 
void WRITE_NC_testmove (int Bval)
 forces true TESTMOVE
useful for rotary axes outputted with OUTPUT_NC_tab
 
void WRITE_NC_tool_no (int Inum)
 writes current NC tool number
 
void WRITE_NC_toolchgt_point (int Itrl, double *Ptchgt)
 writes tool change point
 

Detailed Description

writes current NC states

Function Documentation

◆ WRITE_NC_block_format()

void WRITE_NC_block_format ( int Inum)

selects a format type for ecritB
formats ecritB to obtain PUNCHB(Inum)

Parameters
[in]Inum0:NC block normal output
1:output with special block number address
2:output block without block number
5:as 0 without starting and ending characters
6:as 1 without starting and ending characters
7:as 2 without starting and ending characters
void WRITE_NC_block_format(int Inum)
selects a format type for ecritB formats ecritB to obtain PUNCHB(Inum)
Definition pp_pas21.c:791
See also
ecritB, punchB

◆ WRITE_NC_block_max_size()

void WRITE_NC_block_max_size ( int Ilg,
const std::string & Slim,
const std::string & Sfin )

allows long blocks cutting in ISO file
(used for APT post processor)

Parameters
[in]Ilgmaximum length allowed by block
(Ilg < 0 -> cut after Slim)
[in]Slimstring used to delimite cut
[in]Sfinstring added after cutted block
PCALL(WRITE_NC_block_max_size,-1,'TXT','TXTADDED');
void WRITE_NC_block_max_size(int Ilg, const std::string &Slim, const std::string &Sfin)
allows long blocks cutting in ISO file (used for APT post processor)
Definition pp_pas21.c:1174

◆ WRITE_NC_block_no()

void WRITE_NC_block_no ( int Inum)

writes block number for current buffer

Parameters
[in]Inumnext block number punchb() or ecritB
void WRITE_NC_block_no(int Inum)
writes block number for current buffer
Definition pp_pas21.c:1264
See also
READ_NC_block_no, ecritB, punchB, lcnINCR_BLOC

◆ WRITE_NC_block_optional()

void WRITE_NC_block_optional ( int Bval)

activates optional block mode for ecritB according to DPP

Parameters
[in]BvalCONST_YES activate
CONST_NO deactivate
PCALL(WRITE_NC_block_optional,CONST_YES);
void WRITE_NC_block_optional(int Bval)
activates optional block mode for ecritB according to DPP
Definition pp_pas21.c:179
See also
READ_NC_block_optional

◆ WRITE_NC_cancel_paxis1()

void WRITE_NC_cancel_paxis1 ( int Bval)

invalidate OUTPUT_NC_paxis1

Version
5.3
Parameters
[in]BvalCONST_YES display a warning when pax1 is not nul
CONST_NO no warning
PCALL(WRITE_NC_cancel_paxis1,CONST_NO);
void WRITE_NC_cancel_paxis1(int Bval)
invalidate OUTPUT_NC_paxis1
Definition pp_pas21.c:33

◆ WRITE_NC_cancel_paxis2()

void WRITE_NC_cancel_paxis2 ( int Bval)

invalidate OUTPUT_NC_paxis2

Version
5.3
Parameters
[in]BvalCONST_YES display a warning when pax2 is not nul
CONST_NO no warning
PCALL(WRITE_NC_cancel_paxis2,CONST_NO);
void WRITE_NC_cancel_paxis2(int Bval)
invalidate OUTPUT_NC_paxis2
Definition pp_pas21.c:63

◆ WRITE_NC_cancel_paxis3()

void WRITE_NC_cancel_paxis3 ( int Bval)

invalidate OUTPUT_NC_paxis3

Version
5.3
Parameters
[in]BvalCONST_YES display a warning when pax3 is not nul
CONST_NO no warning
PCALL(WRITE_NC_cancel_paxis3,CONST_NO);
void WRITE_NC_cancel_paxis3(int Bval)
invalidate OUTPUT_NC_paxis3
Definition pp_pas21.c:91

◆ WRITE_NC_cancel_primary()

void WRITE_NC_cancel_primary ( int Bval)

invalidate OUTPUT_NC_primary

Version
5.7
Parameters
[in]BvalCONST_YES display a warning when primaire is not nul
CONST_NO no warning
PCALL(WRITE_NC_cancel_primary,CONST_NO);
void WRITE_NC_cancel_primary(int Bval)
invalidate OUTPUT_NC_primary
Definition pp_pas21.c:120

◆ WRITE_NC_cancel_secondary()

void WRITE_NC_cancel_secondary ( int Bval)

invalidate OUTPUT_NC_secondary

Version
5.7
Parameters
[in]BvalCONST_YES display a warning when secondaire is not nul
CONST_NO no warning
PCALL(WRITE_NC_cancel_secondary,CONST_NO);
void WRITE_NC_cancel_secondary(int Bval)
invalidate OUTPUT_NC_secondary
Definition pp_pas21.c:149

◆ WRITE_NC_comment_format()

void WRITE_NC_comment_format ( int Inum)

selects a type of format for comments generated by OUTPUT_NC_write_com.
The format numbers are defined in .DPP

Parameters
[in]Inumformat number
void WRITE_NC_comment_format(int Inum)
selects a type of format for comments generated by OUTPUT_NC_write_com. The format numbers are defi...
Definition pp_pas21.c:831
See also
OUTPUT_NC_write_com, OUTPUT_NC_tab_com

◆ WRITE_NC_comment_space()

void WRITE_NC_comment_space ( int Bval)

allows to invalidate address spaces for CO and FC

Parameters
[in]BvalCONST_YES:validate
CONST_NO:invalidate
PCALL(WRITE_NC_comment_space,CONST_NO);
void WRITE_NC_comment_space(int Bval)
allows to invalidate address spaces for CO and FC
Definition pp_pas21.c:476

◆ WRITE_NC_coolant()

void WRITE_NC_coolant ( int Ival)

Initializes the current coolant number.

Parameters
[in]Ivalcurrent coolant number
void WRITE_NC_coolant(int Ival)
Initializes the current coolant number.
Definition pp_pas21.c:385
See also
OUTPUT_NC_coolant, READ_NC_coolant

◆ WRITE_NC_coord_translate()

void WRITE_NC_coord_translate ( double Rx,
double Ry,
double Rz )

add vector to output coordinates
(can be use to translate coordinates in developped plane)

Version
5.9
Parameters
[in]Rxoffset in X
[in]Ryoffset in Y
[in]Rzoffset in Z
PCALL(WRITE_NC_coord_translate,Rx,Ry,Rz);
void WRITE_NC_coord_translate(double Rx, double Ry, double Rz)
add vector to output coordinates (can be use to translate coordinates in developped plane)
Definition pp_pas21.c:1964

◆ WRITE_NC_cutcom()

void WRITE_NC_cutcom ( int Bval)

writes current radius correction dimension

Parameters
[in]BvalCONST_RIGHT
CONST_LEFT
CONST_CENTER
PCALL(WRITE_NC_cutcom,CONST_CENTER);
void WRITE_NC_cutcom(int Bval)
writes current radius correction dimension
Definition pp_pas21.c:444
See also
READ_NC_cutcom, READ_PATH_cutcom, OUTPUT_NC_cutcom

◆ WRITE_NC_feed()

void WRITE_NC_feed ( double Rval,
int Bunit )

writes current feed rate

Parameters
[in]Rvalfeed value
[in]BunitCONST_MMPM
CONST_MMPR
PCALL(WRITE_NC_feed,0.1,CONST_MMPR);
void WRITE_NC_feed(double Rval, int Bunit)
writes current feed rate
Definition pp_pas21.c:506
See also
READ_PATH_feed, READ_NC_feed, OUTPUT_NC_feed

◆ WRITE_NC_force_feed()

void WRITE_NC_force_feed ( int Bfeed,
int Bunit )

forces writing of keys to the next OUTPUT_NC_feed

Version
4.5
Parameters
[in]Bfeedforces feed key CONST_YES CONST_NO
[in]Bunitforces unit key CONST_YES CONST_NO
PCALL(WRITE_NC_force_feed,CONST_YES,CONST_NO);
void WRITE_NC_force_feed(int Bfeed, int Bunit)
forces writing of keys to the next OUTPUT_NC_feed
Definition pp_pas21.c:538

◆ WRITE_NC_force_paxis1()

void WRITE_NC_force_paxis1 ( )

forces writing of 1st axis to the next OUTPUT_NC_paxis1

void WRITE_NC_force_paxis1()
forces writing of 1st axis to the next OUTPUT_NC_paxis1
Definition pp_pas21.c:628

◆ WRITE_NC_force_paxis2()

void WRITE_NC_force_paxis2 ( )

forces writing of 2nd axis to the next OUTPUT_NC_paxis2

void WRITE_NC_force_paxis2()
forces writing of 2nd axis to the next OUTPUT_NC_paxis2
Definition pp_pas21.c:649

◆ WRITE_NC_force_primary()

void WRITE_NC_force_primary ( )

forces writing of 1st rotary axis to the next OUTPUT_NC_primary

Version
4.5
void WRITE_NC_force_primary()
forces writing of 1st rotary axis to the next OUTPUT_NC_primary
Definition pp_pas21.c:712

◆ WRITE_NC_force_secondary()

void WRITE_NC_force_secondary ( )

forces writing of 2nd rotary axis to the next OUTPUT_NC_secondary

Version
4.5
void WRITE_NC_force_secondary()
forces writing of 2nd rotary axis to the next OUTPUT_NC_secondary
Definition pp_pas21.c:735

◆ WRITE_NC_force_spindle()

void WRITE_NC_force_spindle ( int Bspeed,
int Bunit,
int Bgamme )

forces writing of keys to the next OUTPUT_NC_spindle

Version
4.5
Parameters
[in]Bspeedforces speed key CONST_YES CONST_NO
[in]Bunitforces unit key CONST_YES CONST_NO
[in]Bgammeforces range key CONST_YES CONST_NO
PCALL(WRITE_NC_force_spindle,CONST_YES,CONST_NO,CONST_NO);
void WRITE_NC_force_spindle(int Bspeed, int Bunit, int Bgamme)
forces writing of keys to the next OUTPUT_NC_spindle
Definition pp_pas21.c:758

◆ WRITE_NC_g()

void WRITE_NC_g ( int Icode)

writes G value on the group concerned
In DPP - Res.key - G CODES;You can find the group
Tell GO2cam the G-code that is currently in use

Parameters
[in]IcodeG value
PCALL(WRITE_NC_g,1);
void WRITE_NC_g(int Icode)
writes G value on the group concerned In DPP - Res.key - G CODES;You can find the group Tell GO2c...
Definition pp_pas21.c:861
See also
READ_NC_g, OUTPUT_NC_g, WRITE_NC_g_force

◆ WRITE_NC_g_force()

void WRITE_NC_g_force ( int Ival)

forces writing of next G of the group

Parameters
[in]IvalG number allowing to determine group
void WRITE_NC_g_force(int Ival)
forces writing of next G of the group
Definition pp_pas21.c:570
See also
OUTPUT_NC_g, READ_NC_g, WRITE_NC_g

◆ WRITE_NC_init_coolant()

void WRITE_NC_init_coolant ( )

initializes coolant value

Remarks
performs an init_m()
void WRITE_NC_init_coolant()
initializes coolant value
Definition pp_pas21.c:921

◆ WRITE_NC_init_feed()

void WRITE_NC_init_feed ( )

initializes feed rate value,unit and G code.
performs an init_g()

void WRITE_NC_init_feed()
initializes feed rate value,unit and G code. performs an init_g()
Definition pp_pas21.c:946

◆ WRITE_NC_init_g()

void WRITE_NC_init_g ( int Ival)

initializes G group with .DPP initial value

Parameters
[in]IvalG number allowing to determine group
PCALL(WRITE_NC_init_g,1);
void WRITE_NC_init_g(int Ival)
initializes G group with .DPP initial value
Definition pp_pas21.c:968

◆ WRITE_NC_init_key()

void WRITE_NC_init_key ( const std::string & Sclef)

initializes the concerned key

Parameters
[in]Sclefstring identifying the key
PCALL(WRITE_NC_init_key,'S');
void WRITE_NC_init_key(const std::string &Sclef)
initializes the concerned key
Definition pp_pas21.c:892
See also
OUTPUT_NC_tab

◆ WRITE_NC_init_m()

void WRITE_NC_init_m ( int Ival)

initializes M group with .DPP initial value

Parameters
[in]IvalG number allowing to determine group
PCALL(WRITE_NC_init_m,1);
void WRITE_NC_init_m(int Ival)
initializes M group with .DPP initial value
Definition pp_pas21.c:996

◆ WRITE_NC_init_paxis3()

void WRITE_NC_init_paxis3 ( )

initializes 3rd axe value

void WRITE_NC_init_paxis3()
initializes 3rd axe value
Definition pp_pas21.c:1024

◆ WRITE_NC_init_plane()

void WRITE_NC_init_plane ( int Inum)

initializes plane processing according to .DPP number

Parameters
[in]Inumplane number (complementary plane numbers > 100)
Remarks
Uses !READ_PART_cycle_plane_type! to read current plane.
PCALL(READ_PART_cycle_plane_type,int_NumPlane);
PCALL(WRITE_NC_init_plane,int_NumPlane);
void READ_PART_cycle_plane_type(int *Btyp)
reads GO2cam plane type for current cycle.
Definition pp_pas30.c:7421
void WRITE_NC_init_plane(int Inum)
initializes plane processing according to .DPP number
Definition pp_pas21.c:1045
See also
READ_PART_cycle_plane_type WRITE_NC_init_plane_db

◆ WRITE_NC_init_plane_db()

void WRITE_NC_init_plane_db ( )

initializes plane processing by using the
DPP plane number corresponding to type of plane.

void WRITE_NC_init_plane_db()
initializes plane processing by using the DPP plane number corresponding to type of plane.
Definition pp_pas21.c:1082
See also
WRITE_NC_init_plane

◆ WRITE_NC_init_pplane()

void WRITE_NC_init_pplane ( )

initializes 1st and 2nd axes values according to abs/rel prog
#:END_ENGLISH

initialise valeurs 1er et 2eme axes selon prog absolu/relatif

void WRITE_NC_init_pplane()
initializes 1st and 2nd axes values according to abs/rel prog #:END_ENGLISH
Definition pp_pas21.c:1107

◆ WRITE_NC_init_rotation()

void WRITE_NC_init_rotation ( )

initializes rotation value
In DPP - Res.key - G CODES;You can find the group M

void WRITE_NC_init_rotation()
initializes rotation value In DPP - Res.key - G CODES;You can find the group M
Definition pp_pas21.c:1129

◆ WRITE_NC_init_spindle()

void WRITE_NC_init_spindle ( )

initializes spindle value, unit, speed range, G code
performs an init_g()

void WRITE_NC_init_spindle()
initializes spindle value, unit, speed range, G code performs an init_g()
Definition pp_pas21.c:1151
See also
WRITE_NC_force_spindle

◆ WRITE_NC_key()

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

writes a value on the concerned key

Parameters
[in]Sclefstring identifying the key
[in]Rvalnumerical value
PCALL(WRITE_NC_key,'S',1000.0);
void WRITE_NC_key(const std::string &Sclef, double Rval)
writes a value on the concerned key
Definition pp_pas21.c:209
See also
READ_NC_key, OUTPUT_NC_tab

◆ WRITE_NC_key_axis1()

void WRITE_NC_key_axis1 ( const std::string & Sclef)

writes 1st NC axis key after WRITE_NC_init_plane

Parameters
[in]Sclefnew string identifying the key
PCALL(WRITE_NC_key_axis1,'X2');
void WRITE_NC_key_axis1(const std::string &Sclef)
writes 1st NC axis key after WRITE_NC_init_plane
Definition pp_pas21.c:239
See also
READ_NC_key_axis1

◆ WRITE_NC_key_axis2()

void WRITE_NC_key_axis2 ( const std::string & Sclef)

writes 2nd NC axis key after WRITE_NC_init_plane

Parameters
[in]Sclefnew string identifying the key
PCALL(WRITE_NC_key_axis2,'Y2');
void WRITE_NC_key_axis2(const std::string &Sclef)
writes 2nd NC axis key after WRITE_NC_init_plane
Definition pp_pas21.c:268
See also
READ_NC_key_axis2

◆ WRITE_NC_key_axis3()

void WRITE_NC_key_axis3 ( const std::string & Sclef)

writes 3nd NC axis key after WRITE_NC_init_plane

Parameters
[in]Sclefnew string identifying the key
PCALL(WRITE_NC_key_axis1,'Z2');
See also
READ_NC_key_axis3

◆ WRITE_NC_key_primary()

void WRITE_NC_key_primary ( const std::string & Sclef)

writes 1st NC rotating axis key

Parameters
[in]Sclefnew string identifying the key
void WRITE_NC_key_primary(const std::string &Sclef)
writes 1st NC rotating axis key
Definition pp_pas21.c:326
See also
READ_NC_key_primary

◆ WRITE_NC_key_secondary()

void WRITE_NC_key_secondary ( const std::string & Sclef)

writes 2nd NC rotating axis key

Parameters
[in]Sclefnew string identifying the key
void WRITE_NC_key_secondary(const std::string &Sclef)
writes 2nd NC rotating axis key
Definition pp_pas21.c:355
See also
READ_NC_key_secondary

◆ WRITE_NC_linprog()

void WRITE_NC_linprog ( int Bval)

writes linear axes programming type

Parameters
[in]BvalCONST_ABSOLUTE
CONST_RELATIVE
PCALL(WRITE_NC_linprog,CONST_ABSOLUTE);
void WRITE_NC_linprog(int Bval)
writes linear axes programming type
Definition pp_pas21.c:1657

◆ WRITE_NC_m()

void WRITE_NC_m ( int Icode)

writes M value on concerned group

Parameters
[in]IcodeM value
PCALL(WRITE_NC_m,3);
void WRITE_NC_m(int Icode)
writes M value on concerned group
Definition pp_pas21.c:1208
See also
READ_NC_m, OUTPUT_NC_m, WRITE_NC_m_force

◆ WRITE_NC_m_force()

void WRITE_NC_m_force ( int Ival)

forces writing of next M of the group

Parameters
[in]IvalM number allowing to determine group
void WRITE_NC_m_force(int Ival)
forces writing of next M of the group
Definition pp_pas21.c:599
See also
OUTPUT_NC_m, READ_NC_m, WRITE_NC_m

◆ WRITE_NC_origin_coord()

void WRITE_NC_origin_coord ( double Rx,
double Ry,
double Rz )

writes current NC origins offset values.

param[in] Rx value on 1st axis param[in] Ry value on 2nd axis param[in] Rz value on 3rd axis

PCALL(WRITE_NC_origin_coord,decx,decy,decz);
void WRITE_NC_origin_coord(double Rx, double Ry, double Rz)
writes current NC origins offset values.
Definition pp_pas21.c:413
See also
READ_PART_ori_coord, READ_NC_origin_coord

◆ WRITE_NC_origin_no()

void WRITE_NC_origin_no ( int Inum)

memorizes NC origin number
Generally used in ORI_DECAL.

Parameters
[in]Inumorigin number
PCALL(READ_NC_origin_no,numori);
PCALL(WRITE_NC_origin_no,numori);
void READ_NC_origin_no(int *Inum)
read NC origin number previously memorized
Definition pp_pas22.c:710
void WRITE_NC_origin_no(int Inum)
memorizes NC origin number Generally used in ORI_DECAL.
Definition pp_pas21.c:1348
See also
READ_NC_origin_no, READ_PART_origin_no

◆ WRITE_NC_osetno()

void WRITE_NC_osetno ( int Inum)

writes length compensation number

Parameters
[in]Inumlength compensation number
PCALL(WRITE_NC_osetno,numcorlg); {mise a jour pour lcn..}
void WRITE_NC_osetno(int Inum)
writes length compensation number
Definition pp_pas21.c:1321

◆ WRITE_NC_osetno_dia()

void WRITE_NC_osetno_dia ( int Inum)

writes diameter compensation number

Parameters
[in]Inumdiameter compensation number
PCALL(READ_PART_tool,numout,numcorlg,numcordia);
PCALL(WRITE_NC_osetno_dia,numcordia);
void READ_PART_tool(int *Iout, int *Icorl, int *Icord)
read tool re-processed by PPG (tec fct)
Definition pp_pas30.c:6744
void WRITE_NC_osetno_dia(int Inum)
writes diameter compensation number
Definition pp_pas21.c:1292
See also
READ_PART_tool

◆ WRITE_NC_paxis1()

void WRITE_NC_paxis1 ( double Rval)

writes 1st NC axis current position

Parameters
[in]Rval1st axis position value
PCALL(WRITE_NC_paxis1,9999);
void WRITE_NC_paxis1(double Rval)
writes 1st NC axis current position
Definition pp_pas21.c:1474

◆ WRITE_NC_paxis2()

void WRITE_NC_paxis2 ( double Rval)

writes 2nd NC axis current position

Parameters
[in]Rval2nd axis position value
PCALL(WRITE_NC_paxis2,9999);
void WRITE_NC_paxis2(double Rval)
writes 2nd NC axis current position
Definition pp_pas21.c:1503

◆ WRITE_NC_paxis3()

void WRITE_NC_paxis3 ( double Rval)

writes 3rd NC axis current position

Parameters
[in]Rval3rd axis position value
PCALL(WRITE_NC_paxis3,9999);
void WRITE_NC_paxis3(double Rval)
writes 3rd NC axis current position
Definition pp_pas21.c:1532

◆ WRITE_NC_paxis3_cycle()

void WRITE_NC_paxis3_cycle ( double Rval)

writes cycles' 3rd axis position
this value is copied again on the 3rd axis before
calling hole milling procedures

Parameters
[in]Rvalcycles' 3rd axis position value
void WRITE_NC_paxis3_cycle(double Rval)
writes cycles' 3rd axis position this value is copied again on the 3rd axis before calling hole m...
Definition pp_pas21.c:1561
See also
READ_NC_paxis3_cycle

◆ WRITE_NC_paxis3_force()

void WRITE_NC_paxis3_force ( )

forces writing of 3rd axis to the next OUTPUT_NC_paxis3

void WRITE_NC_paxis3_force()
forces writing of 3rd axis to the next OUTPUT_NC_paxis3
Definition pp_pas21.c:670

◆ WRITE_NC_plane_origin()

void WRITE_NC_plane_origin ( double Rx,
double Ry,
double Rz )

add offset to origin values :
- mixing origin numbers with offset values
- coordinates offset for "relative+dec" planes

Parameters
[in]Rxoffset value in X (old / new)
[in]Ryoffset value in Y (old / new)
[in]Rzoffset value in Z (old / new)
PCALL(WRITE_NC_plane_origin,100,100,100);
void WRITE_NC_plane_origin(double Rx, double Ry, double Rz)
add offset to origin values : - mixing origin numbers with offset values - coordinates offset for...
Definition pp_pas21.c:1438
See also
READ_NC_origin_validate READ_PART_ori_coord

◆ WRITE_NC_plane_rotation()

void WRITE_NC_plane_rotation ( double Rang)

rotates coordinates for READ_PATH_point,...
(used with G112 on FANUC)

Version
4.5
Parameters
[in]Rangangle value
void WRITE_NC_plane_rotation(double Rang)
rotates coordinates for READ_PATH_point,... (used with G112 on FANUC)
Definition pp_pas21.c:1742
Remarks
utile avec G112 FANUC
See also
WRITE_NC_plane_origin, WRITE_NC_init_plane

◆ WRITE_NC_plane_translate()

void WRITE_NC_plane_translate ( double Rx,
double Ry,
double Rz )

Replace offset values of coordinates
useful for non concurrent rotary axes.

Version
4.4
Parameters
[in]Rxoffset in X
[in]Ryoffset in Y
[in]Rzoffset in Z
PCALL(WRITE_NC_plane_translate,Rx,Ry,Rz);
void WRITE_NC_plane_translate(double Rx, double Ry, double Rz)
Replace offset values of coordinates useful for non concurrent rotary axes.
Definition pp_pas21.c:2000

◆ WRITE_NC_pplane()

void WRITE_NC_pplane ( double Rval1,
double Rval2 )

writes 1st and 2nd NC axis current position

Parameters
[in]Rval11st axis position value
[in]Rval22nd axis position value
PCALL(WRITE_NC_pplane,X,Y)
void WRITE_NC_pplane(double Rval1, double Rval2)
writes 1st and 2nd NC axis current position
Definition pp_pas21.c:1594
See also
OUTPUT_NC_pplane, READ_NC_pplane

◆ WRITE_NC_pplane_force()

void WRITE_NC_pplane_force ( )

forces 1st/2nd axis writing to the next PPLAN

void WRITE_NC_pplane_force()
forces 1st/2nd axis writing to the next PPLAN
Definition pp_pas21.c:691

◆ WRITE_NC_primary()

void WRITE_NC_primary ( double Rval)

writes primary rotary axis current position

Parameters
[in]Rvalprimary rotary axis value
PCALL(WRITE_NC_primary,0.0);
void WRITE_NC_primary(double Rval)
writes primary rotary axis current position
Definition pp_pas21.c:1628
See also
OUTPUT_NC_primary, WRITE_NC_secondary, READ_NC_primary

◆ WRITE_NC_program_name()

void WRITE_NC_program_name ( const std::string & Str)

writes program name (allows to read it after)

Parameters
[in]Strcharacter string indicating program
void WRITE_NC_program_name(const std::string &Str)
writes program name (allows to read it after)
Definition pp_pas21.c:1237

◆ WRITE_NC_program_no()

void WRITE_NC_program_no ( int Inum)

writes program number
necessary for sub-routines numbered in relative mode

Parameters
[in]Inumprogram number
void WRITE_NC_program_no(int Inum)
writes program number necessary for sub-routines numbered in relative mode
Definition pp_pas21.c:1408
See also
READ_NC_program_no

◆ WRITE_NC_rotation()

void WRITE_NC_rotation ( int Bval)

writes spindle current rotation direction

Parameters
[in]BvalCONST_CCW
CONST_CW
CONST_BREAK
PCALL(READ_PART_rotation,sensrot);
PCALL(WRITE_NC_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
void WRITE_NC_rotation(int Bval)
writes spindle current rotation direction
Definition pp_pas21.c:1776
See also
READ_PART_rotation

◆ WRITE_NC_rotation_livetool()

void WRITE_NC_rotation_livetool ( int Bval)

writes spindle livetool current rotation direction for turning cycle

Version
6.09
Parameters
[in]BvalCONST_CCW
CONST_CW
CONST_BREAK
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
void WRITE_NC_rotation_livetool(int Bval)
writes spindle livetool current rotation direction for turning cycle
Definition pp_pas21.c:1809
See also
READ_PART_rotation_livetool

◆ WRITE_NC_rotprog()

void WRITE_NC_rotprog ( int Bval)

writes rotary axes programming type

Parameters
[in]BvalCONST_ABSOLUTE
CONST_RELATIVE
PCALL(WRITE_NC_rotprog,CONST_ABSOLUTE);
void WRITE_NC_rotprog(int Bval)
writes rotary axes programming type
Definition pp_pas21.c:1686

◆ WRITE_NC_secondary()

void WRITE_NC_secondary ( double Rval)

writes secondary rotary axis current position

Parameters
[in]Rvalsecondary rotary axis value
PCALL(READ_NC_secondary,angle);
PCALL(WRITE_NC_secondary,angle);
void READ_NC_secondary(double *Rval)
read NC secondary rotary axis position
Definition pp_pas22.c:1232
void WRITE_NC_secondary(double Rval)
writes secondary rotary axis current position
Definition pp_pas21.c:1842
See also
OUTPUT_NC_secondary, WRITE_NC_primary, READ_NC_secondary

◆ WRITE_NC_spindle()

void WRITE_NC_spindle ( double Rval,
int Bunite,
int Igamme )

writes spindle speed in NC states

Parameters
[in]Rvalspeed value
[in]BuniteCONST_RPM
CONST_SMM
[in]Igammespindle speed range number (direct GOE)
PCALL(READ_NC_spindle,real_CurSpeed,int_CurBUnit, int_CurRange);
PCALL(WRITE_NC_spindle,real_CurSpeed,int_CurBUnit, int_CurRange);
void READ_NC_spindle(double *Rval, int *Bunite, int *Igamme)
read current NC spindle
Definition pp_pas22.c:1293
void WRITE_NC_spindle(double Rval, int Bunite, int Igamme)
writes spindle speed in NC states
Definition pp_pas21.c:1872
See also
READ_NC_spindle, OUTPUT_NC_spindle

◆ WRITE_NC_spindle_livetool()

void WRITE_NC_spindle_livetool ( double Rval)

writes livetool spindle speed in NC states for turning cycle

Version
6.09
Parameters
[in]Rvalspeed value
void READ_NC_spindle_livetool(double *Rval)
read current NC spindle livetool on turning cycle
Definition pp_pas22.c:1326
void WRITE_NC_spindle_livetool(double Rval)
writes livetool spindle speed in NC states for turning cycle
Definition pp_pas21.c:1907
See also

◆ WRITE_NC_testmove()

void WRITE_NC_testmove ( int Bval)

forces true TESTMOVE
useful for rotary axes outputted with OUTPUT_NC_tab

Parameters
[in]BvalCONST_YES
PCALL(WRITE_NC_testmove,CONST_YES);
void WRITE_NC_testmove(int Bval)
forces true TESTMOVE useful for rotary axes outputted with OUTPUT_NC_tab
Definition pp_pas21.c:1934

◆ WRITE_NC_tool_no()

void WRITE_NC_tool_no ( int Inum)

writes current NC tool number

Parameters
[in]Inumtool number
PCALL(READ_NC_tool_no,iout);
PCALL(WRITE_NC_tool_no,iout);
void READ_NC_tool_no(int *Inum)
read NC current tool number
Definition pp_pas22.c:738
void WRITE_NC_tool_no(int Inum)
writes current NC tool number
Definition pp_pas21.c:1379
See also
READ_NC_tool_no, READ_PART_tool_no

◆ WRITE_NC_toolchgt_point()

void WRITE_NC_toolchgt_point ( int Itrl,
double * Ptchgt )

writes tool change point

Parameters
[in]Itrlturret number
[in]Ptchgttool change point coordinates
void WRITE_NC_toolchgt_point(int Itrl, double *Ptchgt)
writes tool change point
Definition pp_pas21.c:1714