GO2cam Pascal API

Functions

void OUTPUT_NC_apt_integer (int Ival, int Iminor)
 writes a minor with integer format. Only for APT post processor
(Use the 1st inactive MINOR key
positioned from MINOR Iminor)
 
void OUTPUT_NC_apt_major (const std::string &Smot)
 writes Smot on the MAJOR key (reserved). Only for APT post processor
(Use the reserved MAJOR key)
 
void OUTPUT_NC_apt_real (double Rval, int Imineur)
 writes a minor with real format. Only for APT post processor
 
void OUTPUT_NC_apt_string (const std::string &Str, int Imineur)
 writes a minor with string format. Only for APT post processor.
 
void OUTPUT_NC_buffer_off ()
 deactivates blocks bufferization (punchb())
 
void OUTPUT_NC_buffer_on ()
 activates blocks bufferization (punchb())
In Operation_Begin, it works with OUTPUT_NC_buffer_off(Operation_End)
to mask the output of an NC blocks.
 
void OUTPUT_NC_buffer_punch ()
 writes bufferized blocks in the NC blocks file
clears the buffer of blocks
 
void OUTPUT_NC_comment_begin ()
 writes starting comments defined in .DPP
 
void OUTPUT_NC_comment_begin_no (int Inum)
 writes only 1 line from starting comment defined in .DPP
 
void OUTPUT_NC_comment_cycle ()
 writes cycle's comments defined in .DPP
The cycle name is output in NC as a comment.
 
void OUTPUT_NC_comment_cycle_no (int Inum)
 writes only 1 line from cycle's comments defined in .DPP
 
void OUTPUT_NC_comment_tool ()
 writes tool's comments defined in .DPP
The tool name is output in NC as a comment.
 
void OUTPUT_NC_coolant (int Inum)
 writes the coolant number in the buffer block according to .DPP
Try Inum as index, then as value,
ask again Inum if incompatible .DPP.
The coolant number must be read first with READ_PART_coolant
 
void OUTPUT_NC_coolant_db ()
 Writes coolant directly with only 1 call. It is equal to :READ_PART_coolant(Ival) + OUTPUT_NC_coolant(Ival)
 
void OUTPUT_NC_coolant_rotation (int Bsens, int Inum)
 writes combined spindle and coolant in block ( M13 M14 M15 )
In the DPP spindle page, the value in the input bar after '+ coolant'
Use READ_PART_rotation and READ_PART_coolant to read values.
Ask again Inum if incompatible .DPP
 
void OUTPUT_NC_coolant_rotation_db (int Ityp)
 writes combined spindle and coolant in block ( M13 M14 M15 ) with 1 call.It is equal to : READ_PART_rotation(Bsens)
+ READ_PART_coolant(Ival)
+ OUTPUT_NC_coolant_rotation(Bsens,Ival) Bsens selon ityp
 
void OUTPUT_NC_cut_file_name (const std::string &Str)
 Closes the current ISO file and opens a new one with the name given in parameter.
 
void OUTPUT_NC_cut_program ()
 Close the current ISO file and open a new one. The name of the new ISO file depends on what is defined in .DPP
The file format is '*.NC+Num', the Num is the number of splits.
 
void OUTPUT_NC_cutcom (int Bcote)
 writes cutter radius compensation in the buffer block (ie : G40,G41 or G42).
 
void OUTPUT_NC_directory_read (std::string &Str)
 Read ISO directory by post-processor
For example, you will get D:/GO2cam_Intl/GO2camV611/iso.
 
void OUTPUT_NC_directory_write (const std::string &Str)
 Change ISO directory by post-processor.
 
void OUTPUT_NC_feed (double Rval, int Bunite)
 writes feed in buffer block according to .DPP
Use READ_PATH_feed to read values.
Output sample: G95 F0.2
 
void OUTPUT_NC_feed_db ()
 writes feed in buffer block with only 1 call. It is equal to : READ_PATH_feed(&Rval,&Bunit) + OUTPUT_NC_feed(Rval,Bunit)
 
void OUTPUT_NC_file_str (const std::string &Str)
 writes str in buffer block without any control
 
void OUTPUT_NC_filename_replace (const std::string &Str)
 Change ISO file name.
 
void OUTPUT_NC_g (int Icode, int Iforce)
 writes G with Icode in buffer block
 
void OUTPUT_NC_line_feed (int Bval)
 Writes a empty line in buffer block or/and on screen.
 
void OUTPUT_NC_m (int Icode, int Iforce)
 writes M with Icode in buffer block
 
void OUTPUT_NC_paxis1 (double Rval, int Iforce)
 writes plane 1st axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 1st axis is Z
In milling, pt(x,y,z), 1st axis is X
 
void OUTPUT_NC_paxis1_db (int Iforce)
 writes plane 1st axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis1(pt[0],Iforce)
 
void OUTPUT_NC_paxis2 (double Rval, int Iforce)
 writes plane 2nd axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 2nd axis is X
In milling, pt(x,y,z), 2nd axis is Y
 
void OUTPUT_NC_paxis2_db (int Iforce)
 writes plane 2nd axis in buffer block with 1 call.It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis2(pt[1],Iforce)
 
void OUTPUT_NC_paxis3 (double Rval, int Iforce)
 writes plane 3rd axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 3rd axis is Y
In milling, pt(x,y,z), 3rd axis is Z
 
void OUTPUT_NC_paxis3_db (int Iforce)
 writes plane 3rd axis in buffer block. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis3(pt[2],Iforce)
 
void OUTPUT_NC_pplane (double Rvalx, double Rvaly, int Iforce)
 writes plane 1st and 2nd axis in buffer block.The key used is defined in .DPP and depend on the active plane.
Use READ_PATH_point to read values of movements to perform.
 
void OUTPUT_NC_pplane_db (int Iforce)
 writes plane 1st and 2nd axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_pplane(pt[0],pt[1],Iforce)
 
void OUTPUT_NC_primary (double Rval, int Iforce)
 writes primary rotary axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In milling machine, you can choose the type of rotary axis,
such as: AB model, BA model, CA model or CB model.
The first letter is primary
In turning machine, The C angle is primary
 
void OUTPUT_NC_punch_com (int Itype, const std::string &String, int Iforce, int Iform)
 writes comments in blocks file
 
void OUTPUT_NC_punch_str (const std::string &Str)
 writes NC bloc in buffer block using 'SP' key
 
void OUTPUT_NC_punch_validate (int Bval)
 allows to temporarily invalidate blocks output (No NC code output)
 
void OUTPUT_NC_punchb (int Inum)
 Writes the current buffer block in the ISO file.
 
void OUTPUT_NC_radius (double *Pcentre, double Rangouv)
 writes arc center position (IJ or R) in buffer.
Uses pp.DPP file's parameters :
 
void OUTPUT_NC_radius_db ()
 writes arc center position (IJ or R) in buffer with 1 call. It is equal to : READ_PATH_center(ptc)
+ READ_PATH_angle(Rang)
+ OUTPUT_NC_radius(ptc,Rang)
 
void OUTPUT_NC_rapid ()
 writes a rapid movement in buffer block according to .DPP :
G0 , G1 F5000, ...
 
void OUTPUT_NC_rotation (int Bsens)
 writes spindle stop/rotation in buffer block according to .DPP
 
void OUTPUT_NC_rotation_db (int Ityp)
 writes spindle stop/rotation in buffer block with 1 call. It is equal to : READ_PART_rotation(Bsens) + OUTPUT_NC_rotation(sens)
 
void OUTPUT_NC_rotation_livetool (int Bsens)
 writes spindle stop/rotation for livetool used in turning cycle, according to .DPP
 
void OUTPUT_NC_second_file_close ()
 closes second ISO file
ESSENTIAL if OUTPUT_NC_second_file_open was used
 
void OUTPUT_NC_second_file_open (const std::string &Sadr, const std::string &Snom)
 opens a second ISO file, without closing the main one
 
void OUTPUT_NC_second_file_select (int Bval)
 allows to select a second ISO file to write in
 
void OUTPUT_NC_secondary (double Rval, int Iforce)
 writes secondary rotary axis in buffer block
In milling machine, you can choose the type of rotary axis,
such as: AB model, BA model, CA model or CB model.
The second letter is secondary
In turning machine, you may be have typeA or typeB
 
void OUTPUT_NC_spindle (double Rval, int Bunite, int Igamme)
 writes spindle speed range + spindle in block according to .DPP
 
void OUTPUT_NC_spindle_db ()
 writes spindle speed range + spindle in block according to .DPP with 1 call.It is equal to : READ_PART_spindle(Rval,Bunit,Inum)
+ OUTPUT_NC_spindle(Rval,Bunit,Inum)
 
void OUTPUT_NC_spindle_livetool (double Rval)
 writes livetool speed for turning cycles with livetool according to .DPP
 
void OUTPUT_NC_spindle_range (double Rval, int Bunite, int Igamme)
 writes spindle speed range number in the block according to .DPP
Use READ_PART_spindle to read values.
Ask again Igamme if incompatible DPP
 
void OUTPUT_NC_spindle_range_db ()
 Writes spindle speed range with 1 call. It is equal to : READ_PART_spindle(&Rval,&Bunit,&Inum)
+ OUTPUT_NC_spindle_range(Rval,Bunit,Inum)
 
void OUTPUT_NC_tab (const std::string &Key, double Rval, int Iforce)
 writes key address+value in buffer block.
 
void OUTPUT_NC_tab_axis (int Iaxe, const std::string &Key, double Rval, int Iforce)
 writes key address+value in buffer.
Value can be inverted as for current plane's axis.
 
void OUTPUT_NC_tab_com (const std::string &String)
 writes comment in buffer block
to validate, a key with string format must
have been defined and perform a (OUTPUT_NC_tab,clef,-99,1)
 
void OUTPUT_NC_tab_index (const std::string &Key, double Rval, int Indice)
 writes address + key value in buffer with index
allows to write : "CLEF[Indice]=Rval" (ie : CLEF1=10
 
void OUTPUT_NC_tab_str (const std::string &Key, const std::string &Str, int Iforce)
 writes address + string in buffer
Keys page in the DPP
 
void OUTPUT_NC_tab_str_index (const std::string &Key, const std::string &Str, int Indice)
 writes address + string in buffer with index
allows to write : "CLEF[Indice]=Str"
 
void OUTPUT_NC_tab_str_val (const std::string &Key, const std::string &Str, double Rval)
 write Str + value in buffer
allows to write : "TODAY MYSTR=Rval"
 
void OUTPUT_NC_write_com (int Itype, const std::string &String, int Iforce)
 writes comments in buffer block.
 
void OUTPUT_NC_writeb ()
 Writes the current buffer block in the ISO file.
 

Detailed Description

Writing in the ISO file

Function Documentation

◆ OUTPUT_NC_apt_integer()

void OUTPUT_NC_apt_integer ( int Ival,
int Iminor )

writes a minor with integer format. Only for APT post processor
(Use the 1st inactive MINOR key
positioned from MINOR Iminor)

Parameters
[in]Ivalinteger minor value
[in]Iminorminimum position to use
PCALL(bcn_ENTIER_APT,Ival,0);
See also
OUTPUT_NC_apt_major, OUTPUT_NC_apt_real, OUTPUT_NC_apt_string

◆ OUTPUT_NC_apt_major()

void OUTPUT_NC_apt_major ( const std::string & Smot)

writes Smot on the MAJOR key (reserved). Only for APT post processor
(Use the reserved MAJOR key)

Parameters
[in]SmotAPT word string
PCALL(OUTPUT_NC_apt_major,'INSERT');
void OUTPUT_NC_apt_major(const std::string &Smot)
writes Smot on the MAJOR key (reserved). Only for APT post processor (Use the reserved MAJOR key)
Definition pp_pas20.c:889
See also
OUTPUT_NC_mINEUR_APT, OUTPUT_NC_apt_string

◆ OUTPUT_NC_apt_real()

void OUTPUT_NC_apt_real ( double Rval,
int Imineur )

writes a minor with real format. Only for APT post processor

Parameters
[in]Rvalreal minor value
[in]Imineurminor number (idem ENTIER_APT)
PCALL(bcn_REEL_APT,Rval,Imineur);
See also
OUTPUT_NC_apt_major, OUTPUT_NC_apt_integer, OUTPUT_NC_apt_string

◆ OUTPUT_NC_apt_string()

void OUTPUT_NC_apt_string ( const std::string & Str,
int Imineur )

writes a minor with string format. Only for APT post processor.

Parameters
[in]Strstring minor value
[in]Imineurminor number (idem ENTIER_APT)
PCALL(bcn_STRING_APT,Str,Imineur);
See also
OUTPUT_NC_apt_major, OUTPUT_NC_apt_real, OUTPUT_NC_apt_integer

◆ OUTPUT_NC_buffer_off()

void OUTPUT_NC_buffer_off ( )

deactivates blocks bufferization (punchb())

PCALL(READ_PART_cycle_no,int_CycleNo);
IF (int_CycleNo = CONST_ROUGHING) THEN
BEGIN
PCALL(OUTPUT_NC_TAB_STR,'CO','END_NC CAN BE OUTPUT!!',1);
WRITEB;
END;
void OUTPUT_NC_buffer_off()
deactivates blocks bufferization (punchb())
Definition pp_pas20.c:64
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
OUTPUT_NC_buffer_on, OUTPUT_NC_buffer_punch

◆ OUTPUT_NC_buffer_on()

void OUTPUT_NC_buffer_on ( )

activates blocks bufferization (punchb())
In Operation_Begin, it works with OUTPUT_NC_buffer_off(Operation_End)
to mask the output of an NC blocks.

PCALL(READ_PART_cycle_no,int_CycleNo);
IF (int_CycleNo = CONST_ROUGHING) THEN
BEGIN
PCALL(OUTPUT_NC_TAB_STR,'CO','START_NO NC OUTPUT!!',1);
WRITEB;
END;
void OUTPUT_NC_buffer_on()
activates blocks bufferization (punchb()) In Operation_Begin, it works with OUTPUT_NC_buffer_off(Op...
Definition pp_pas20.c:35
See also
OUTPUT_NC_buffer_off, OUTPUT_NC_buffer_punch

◆ OUTPUT_NC_buffer_punch()

void OUTPUT_NC_buffer_punch ( )

writes bufferized blocks in the NC blocks file
clears the buffer of blocks

void OUTPUT_NC_buffer_punch()
writes bufferized blocks in the NC blocks file clears the buffer of blocks
Definition pp_pas20.c:91
See also
OUTPUT_NC_buffer_on, OUTPUT_NC_buffer_off

◆ OUTPUT_NC_comment_begin()

void OUTPUT_NC_comment_begin ( )

writes starting comments defined in .DPP

void OUTPUT_NC_comment_begin()
writes starting comments defined in .DPP
Definition pp_pas20.c:352
See also
OUTPUT_NC_comment_begin_no

◆ OUTPUT_NC_comment_begin_no()

void OUTPUT_NC_comment_begin_no ( int Inum)

writes only 1 line from starting comment defined in .DPP

Parameters
[in]Inumline number (1...)
Remarks
Be carreful to number of lines in file .DPP
void OUTPUT_NC_comment_begin_no(int Inum)
writes only 1 line from starting comment defined in .DPP
Definition pp_pas20.c:374
See also
OUTPUT_NC_comment_begin

◆ OUTPUT_NC_comment_cycle()

void OUTPUT_NC_comment_cycle ( )

writes cycle's comments defined in .DPP
The cycle name is output in NC as a comment.

IF int_IsChangeCycle = CONST_YES THEN PCALL(OUTPUT_NC_comment_cycle);
void OUTPUT_NC_comment_cycle()
writes cycle's comments defined in .DPP The cycle name is output in NC as a comment.
Definition pp_pas20.c:296
See also
OUTPUT_NC_comment_cycle_no

◆ OUTPUT_NC_comment_cycle_no()

void OUTPUT_NC_comment_cycle_no ( int Inum)

writes only 1 line from cycle's comments defined in .DPP

Parameters
[in]Inumline number (1...)
Remarks
Be carreful to number of lines in file .DPP
void OUTPUT_NC_comment_cycle_no(int Inum)
writes only 1 line from cycle's comments defined in .DPP
Definition pp_pas20.c:320
See also
OUTPUT_NC_comment_cycle

◆ OUTPUT_NC_comment_tool()

void OUTPUT_NC_comment_tool ( )

writes tool's comments defined in .DPP
The tool name is output in NC as a comment.

Version
4.4
void OUTPUT_NC_comment_tool()
writes tool's comments defined in .DPP The tool name is output in NC as a comment.
Definition pp_pas20.c:406
BOOLEAN FUNCTION IsOutputToolChange() BOOLEAN
Test if the tool change will be output.
Definition PP67_MILL.LIB:3037
See also
OUTPUT_NC_comment_cycle

◆ OUTPUT_NC_coolant()

void OUTPUT_NC_coolant ( int Inum)

writes the coolant number in the buffer block according to .DPP
Try Inum as index, then as value,
ask again Inum if incompatible .DPP.
The coolant number must be read first with READ_PART_coolant

Parameters
[in]Inumcoolant number (direct GOE)
PCALL(READ_PART_coolant,Icool);
PCALL(OUTPUT_NC_coolant,Icool);
void OUTPUT_NC_coolant(int Inum)
writes the coolant number in the buffer block according to .DPP Try Inum as index,...
Definition pp_pas20.c:431
void READ_PART_coolant(int *Inum)
read coolant number
Definition pp_pas30.c:916
See also
READ_PART_coolant, OUTPUT_NC_coolant_rotation, WRITE_NC_coolant, OUTPUT_NC_coolant_db

◆ OUTPUT_NC_coolant_db()

void OUTPUT_NC_coolant_db ( )

Writes coolant directly with only 1 call. It is equal to :READ_PART_coolant(Ival) + OUTPUT_NC_coolant(Ival)

void OUTPUT_NC_coolant_db()
Writes coolant directly with only 1 call. It is equal to :READ_PART_coolant(Ival) + OUTPUT_NC_coolant...
Definition pp_pas20.c:465
See also
OUTPUT_NC_coolant, READ_PART_coolant

◆ OUTPUT_NC_coolant_rotation()

void OUTPUT_NC_coolant_rotation ( int Bsens,
int Inum )

writes combined spindle and coolant in block ( M13 M14 M15 )
In the DPP spindle page, the value in the input bar after '+ coolant'
Use READ_PART_rotation and READ_PART_coolant to read values.
Ask again Inum if incompatible .DPP

Parameters
[in]Bsens
  • CONST_CW
  • CONST_CCW
  • CONST_BREAK
[in]Inumcoolant number (direct GOE)
PCALL(READ_PART_rotation,rot);
PCALL(READ_PART_coolant,cool);
void OUTPUT_NC_coolant_rotation(int Bsens, int Inum)
writes combined spindle and coolant in block ( M13 M14 M15 ) In the DPP spindle page,...
Definition pp_pas20.c:1554
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_coolant, OUTPUT_NC_coolant_rotation_db@
READ_PART_rotation, READ_PART_coolant

◆ OUTPUT_NC_coolant_rotation_db()

void OUTPUT_NC_coolant_rotation_db ( int Ityp)

writes combined spindle and coolant in block ( M13 M14 M15 ) with 1 call.It is equal to : READ_PART_rotation(Bsens)
+ READ_PART_coolant(Ival)
+ OUTPUT_NC_coolant_rotation(Bsens,Ival) Bsens selon ityp

Parameters
[in]Ityp1 direct, -1 reverse, 0 stop
void OUTPUT_NC_coolant_rotation_db(int Ityp)
writes combined spindle and coolant in block ( M13 M14 M15 ) with 1 call.It is equal to : READ_PART_r...
Definition pp_pas20.c:1598
See also
OUTPUT_NC_coolant_rotation, OUTPUT_NC_rotation_db, OUTPUT_NC_coolant_db

◆ OUTPUT_NC_cut_file_name()

void OUTPUT_NC_cut_file_name ( const std::string & Str)

Closes the current ISO file and opens a new one with the name given in parameter.

Parameters
[in]Strname of new block file
PCALL(OUTPUT_NC_cut_file_name,'iso\ruban2.txt');
void OUTPUT_NC_cut_file_name(const std::string &Str)
Closes the current ISO file and opens a new one with the name given in parameter.
Definition pp_pas20.c:511
See also
OUTPUT_NC_cut_program, READ_PART_isofile

◆ OUTPUT_NC_cut_program()

void OUTPUT_NC_cut_program ( )

Close the current ISO file and open a new one. The name of the new ISO file depends on what is defined in .DPP
The file format is '*.NC+Num', the Num is the number of splits.

void OUTPUT_NC_cut_program()
Close the current ISO file and open a new one. The name of the new ISO file depends on what is define...
Definition pp_pas20.c:487
See also
OUTPUT_NC_cut_file_name, READ_PART_isofile

◆ OUTPUT_NC_cutcom()

void OUTPUT_NC_cutcom ( int Bcote)

writes cutter radius compensation in the buffer block (ie : G40,G41 or G42).

Parameters
[in]BcoteCONST_RIGHT
CONST_LEFT
CONST_CENTER
PCALL(READ_PATH_CUTCOM,diaco);
PCALL(OUTPUT_NC_cutcom,diaco);
void OUTPUT_NC_cutcom(int Bcote)
writes cutter radius compensation in the buffer block (ie : G40,G41 or G42).
Definition pp_pas20.c:539
See also
READ_PATH_cutcom, WRITE_NC_cutcom

◆ OUTPUT_NC_directory_read()

void OUTPUT_NC_directory_read ( std::string & Str)

Read ISO directory by post-processor
For example, you will get D:/GO2cam_Intl/GO2camV611/iso.

Version
6.09
Parameters
[out]Strname of directory
void OUTPUT_NC_directory_read(std::string &Str)
Read ISO directory by post-processor For example, you will get D:/GO2cam_Intl/GO2camV611/iso.
Definition pp_pas20.c:114

◆ OUTPUT_NC_directory_write()

void OUTPUT_NC_directory_write ( const std::string & Str)

Change ISO directory by post-processor.

Version
6.09
Parameters
[in]Strname of directory
Remarks
Only available in FILE_BEGIN procedure
PCALL(OUTPUT_NC_directory_write,'c:\projet1');
void OUTPUT_NC_directory_write(const std::string &Str)
Change ISO directory by post-processor.
Definition pp_pas20.c:140

◆ OUTPUT_NC_feed()

void OUTPUT_NC_feed ( double Rval,
int Bunite )

writes feed in buffer block according to .DPP
Use READ_PATH_feed to read values.
Output sample: G95 F0.2

Parameters
[in]Rvalfeed value
[in]BuniteCONST_MMPM
CONST_MMPR
PCALL(READ_PATH_FEED,feed,unite);
PCALL(OUTPUT_NC_feed,feed,unite);
void OUTPUT_NC_feed(double Rval, int Bunite)
writes feed in buffer block according to .DPP Use READ_PATH_feed to read values....
Definition pp_pas20.c:678
See also
READ_PATH_feed, WRITE_NC_feed

◆ OUTPUT_NC_feed_db()

void OUTPUT_NC_feed_db ( )

writes feed in buffer block with only 1 call. It is equal to : READ_PATH_feed(&Rval,&Bunit) + OUTPUT_NC_feed(Rval,Bunit)

void OUTPUT_NC_feed_db()
writes feed in buffer block with only 1 call. It is equal to : READ_PATH_feed(&Rval,...
Definition pp_pas20.c:714
See also
OUTPUT_NC_feed

◆ OUTPUT_NC_file_str()

void OUTPUT_NC_file_str ( const std::string & Str)

writes str in buffer block without any control

Version
6.03
Parameters
[in]Strchar array to output
PCALL(OUTPUT_NC_file_str,'G40 G80 G90');
void OUTPUT_NC_file_str(const std::string &Str)
writes str in buffer block without any control
Definition pp_pas20.c:737

◆ OUTPUT_NC_filename_replace()

void OUTPUT_NC_filename_replace ( const std::string & Str)

Change ISO file name.

Version
5.1
Parameters
[in]Strname of ISO name
Remarks
Only available in FILE_BEGIN procedure
PCALL(OUTPUT_NC_filename_replace,'iso\ruban2.txt');
void OUTPUT_NC_filename_replace(const std::string &Str)
Change ISO file name.
Definition pp_pas20.c:262
See also
OUTPUT_NC_cut_file_name, READ_PART_isofile

◆ OUTPUT_NC_g()

void OUTPUT_NC_g ( int Icode,
int Iforce )

writes G with Icode in buffer block

Parameters
[in]IcodeG code to be written
[in]IforceCONST_YES/CONST_NO
PCALL(OUTPUT_NC_g,1,0);
void OUTPUT_NC_g(int Icode, int Iforce)
writes G with Icode in buffer block
Definition pp_pas20.c:766
See also
READ_NC_g, WRITE_NC_g, WRITE_NC_g_force

◆ OUTPUT_NC_line_feed()

void OUTPUT_NC_line_feed ( int Bval)

Writes a empty line in buffer block or/and on screen.

Parameters
[in]BvalCONST_NO on screen only
CONST_YES on screen and in buffer block.
PCALL(OUTPUT_NC_line_feed,CONST_YES);
void OUTPUT_NC_line_feed(int Bval)
Writes a empty line in buffer block or/and on screen.
Definition pp_pas20.c:1630

◆ OUTPUT_NC_m()

void OUTPUT_NC_m ( int Icode,
int Iforce )

writes M with Icode in buffer block

Parameters
[in]IcodeM code to be written
[in]Iforce1 forces / 0 no (active test)
PCALL(OUTPUT_NC_m,2,1);
void OUTPUT_NC_m(int Icode, int Iforce)
writes M with Icode in buffer block
Definition pp_pas20.c:859
See also
READ_NC_m, WRITE_NC_m, WRITE_NC_m_force

◆ OUTPUT_NC_paxis1()

void OUTPUT_NC_paxis1 ( double Rval,
int Iforce )

writes plane 1st axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 1st axis is Z
In milling, pt(x,y,z), 1st axis is X

Parameters
[in]Rvalplane 1st axis value
[in]IforceCONST_YES/CONST_NO
PCALL(READ_PATH_point,pt);
PCALL(OUTPUT_NC_paxis1,pt[0],CONST_NO);
void OUTPUT_NC_paxis1(double Rval, int Iforce)
writes plane 1st axis in buffer block. The key used is defined in .DPP and depend on the active plane...
Definition pp_pas20.c:919
void READ_PATH_point(double *Pt)
element extremity point : mouvement : point to reach cables : reference point ( extremity point...
Definition pp_pas31.c:1109
See also
READ_NC_paxis1, READ_PATH_point, OUTPUT_NC_paxis1_db

◆ OUTPUT_NC_paxis1_db()

void OUTPUT_NC_paxis1_db ( int Iforce)

writes plane 1st axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis1(pt[0],Iforce)

Parameters
[in]IforceCONST_YES/CONST_NO
PCALL(OUTPUT_NC_paxis1_db,CONST_NO);
void OUTPUT_NC_paxis1_db(int Iforce)
writes plane 1st axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_p...
Definition pp_pas20.c:952
See also
OUTPUT_NC_paxis1, READ_PATH_point

◆ OUTPUT_NC_paxis2()

void OUTPUT_NC_paxis2 ( double Rval,
int Iforce )

writes plane 2nd axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 2nd axis is X
In milling, pt(x,y,z), 2nd axis is Y

Parameters
[in]Rvalplane 2nd axis value
[in]IforceCONST_YES/CONST_NO
PCALL(READ_PATH_point,pt);
PCALL(OUTPUT_NC_paxis2,pt[1],CONST_NO);
void OUTPUT_NC_paxis2(double Rval, int Iforce)
writes plane 2nd axis in buffer block. The key used is defined in .DPP and depend on the active plane...
Definition pp_pas20.c:980
See also
READ_NC_paxis2, READ_PATH_point, OUTPUT_NC_paxis2_db

◆ OUTPUT_NC_paxis2_db()

void OUTPUT_NC_paxis2_db ( int Iforce)

writes plane 2nd axis in buffer block with 1 call.It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis2(pt[1],Iforce)

Parameters
[in]IforceCONST_NO/CONST_YES
PCALL(OUTPUT_NC_paxis1_db,CONST_YES);
See also
OUTPUT_NC_paxis2, READ_PATH_point

◆ OUTPUT_NC_paxis3()

void OUTPUT_NC_paxis3 ( double Rval,
int Iforce )

writes plane 3rd axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In turning, pt(z,x,y), 3rd axis is Y
In milling, pt(x,y,z), 3rd axis is Z

Parameters
[in]Rvalvalue for axis perpendicular to plane
[in]IforceCONST_NO/CONST_YES
PCALL(OUTPUT_NC_paxis3,pt[2],CONST_NO);
void OUTPUT_NC_paxis3(double Rval, int Iforce)
writes plane 3rd axis in buffer block. The key used is defined in .DPP and depend on the active plane...
Definition pp_pas20.c:1041
See also
READ_NC_pax3, READ_PATH_point, OUTPUT_NC_paxis3_db

◆ OUTPUT_NC_paxis3_db()

void OUTPUT_NC_paxis3_db ( int Iforce)

writes plane 3rd axis in buffer block. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis3(pt[2],Iforce)

Parameters
[in]IforceCONST_NO/CONST_YES
PCALL(OUTPUT_NC_paxis3_db,CONST_NO);
void OUTPUT_NC_paxis3_db(int Iforce)
writes plane 3rd axis in buffer block. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_paxis3(pt[2],...
Definition pp_pas20.c:1074
See also
OUTPUT_NC_paxis1, READ_PATH_point

◆ OUTPUT_NC_pplane()

void OUTPUT_NC_pplane ( double Rvalx,
double Rvaly,
int Iforce )

writes plane 1st and 2nd axis in buffer block.The key used is defined in .DPP and depend on the active plane.
Use READ_PATH_point to read values of movements to perform.

Parameters
[in]Rvalx1st axis of plane value
[in]Rvaly2nd axis of plane value
[in]Iforce0:no axis is forced
1:only 1st axis is forced
2:only 2nd axis is forced
3:the 2 axes are forced
4:the 2 axes are forced if movement
PCALL(READ_PATH_point,pt);
PCALL(OUTPUT_NC_pplane,pt[0],pt[1],0);
void OUTPUT_NC_pplane(double Rvalx, double Rvaly, int Iforce)
writes plane 1st and 2nd axis in buffer block.The key used is defined in .DPP and depend on the activ...
Definition pp_pas20.c:1102
See also
READ_PATH_point, WRITE_NC_init_plane
OUTPUT_NC_paxis3, READ_NC_pplane, WRITE_NC_pplane, OUTPUT_NC_pplane_db

◆ OUTPUT_NC_pplane_db()

void OUTPUT_NC_pplane_db ( int Iforce)

writes plane 1st and 2nd axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUTPUT_NC_pplane(pt[0],pt[1],Iforce)

Parameters
[in]Iforce0:no axis is forced
1:only 1st axis is forced
2:only 2nd axis is forced
3:the 2 axes are forced
4:the 2 axes are forced if movement
void OUTPUT_NC_pplane_db(int Iforce)
writes plane 1st and 2nd axis in buffer block with 1 call. It is equal to : READ_PATH_point(pt) + OUT...
Definition pp_pas20.c:1147
See also
OUTPUT_NC_pplane, READ_PATH_point

◆ OUTPUT_NC_primary()

void OUTPUT_NC_primary ( double Rval,
int Iforce )

writes primary rotary axis in buffer block. The key used is defined in .DPP and depend on the active plane.
In milling machine, you can choose the type of rotary axis,
such as: AB model, BA model, CA model or CB model.
The first letter is primary
In turning machine, The C angle is primary

Parameters
[in]Rvalprimary axis value
[in]IforceCONST_NO/CONST_YES
PCALL(READ_NC_primary,angle);
PCALL(OUTPUT_NC_primary,angle,CONST_NO);
void OUTPUT_NC_primary(double Rval, int Iforce)
writes primary rotary axis in buffer block. The key used is defined in .DPP and depend on the active ...
Definition pp_pas20.c:1184
void READ_NC_primary(double *Rval)
read primary rotary axis current position
Definition pp_pas22.c:1044
See also
WRITE_NC_primary, READ_NC_primary, OUTPUT_NC_secondary

◆ OUTPUT_NC_punch_com()

void OUTPUT_NC_punch_com ( int Itype,
const std::string & String,
int Iforce,
int Iform )

writes comments in blocks file

Parameters
[in]Itype0:String output
-1:label (cycle) output
-2:techno name output
-3:cycle's comment output
-4:tool name output
-5:material name output
-6:machine name output
-7:element toolpath comment output
-8:part name output
-9:tape name output
[in]Stringcomment if Itype = 0
[in]Iforce1 forces / 0 does not force
[in]Iformcomment format number,You need to combine the comment field in DPP,
enter the ID in the number field, and enter the comment format
in the "start" and "end" fields. Note that Nb blocks
and files should be adjusted to "yes".
PCALL(OUTPUT_NC_punch_com,0,str,1,2);
void OUTPUT_NC_punch_com(int Itype, const std::string &String, int Iforce, int Iform)
writes comments in blocks file
Definition pp_pas20.c:1246
See also
WRITE_NC_comment_format OUTPUT_NC_write_com

◆ OUTPUT_NC_punch_str()

void OUTPUT_NC_punch_str ( const std::string & Str)

writes NC bloc in buffer block using 'SP' key

Version
5.13
Parameters
[in]Strnc bloc to output
PCALL(OUTPUT_NC_punch_str,'G40 G80 G90');
void OUTPUT_NC_punch_str(const std::string &Str)
writes NC bloc in buffer block using 'SP' key
Definition pp_pas20.c:1303
See also
WRITE_NC_block_format OUTPUT_NC_tab_str

◆ OUTPUT_NC_punch_validate()

void OUTPUT_NC_punch_validate ( int Bval)

allows to temporarily invalidate blocks output (No NC code output)

Version
4.4
Parameters
[in]BvalCONST_NO suspends blocks output
CONST_YES resumes blocks output
PCALL(OUTPUT_NC_punch_validate, CONST_NO);
void OUTPUT_NC_punch_validate(int Bval)
allows to temporarily invalidate blocks output (No NC code output)
Definition pp_pas20.c:2071

◆ OUTPUT_NC_punchb()

void OUTPUT_NC_punchb ( int Inum)

Writes the current buffer block in the ISO file.

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

◆ OUTPUT_NC_radius()

void OUTPUT_NC_radius ( double * Pcentre,
double Rangouv )

writes arc center position (IJ or R) in buffer.
Uses pp.DPP file's parameters :

Parameters
[in]Pcentrecenter point coordinates
[in]Rangouvopening angle
Remarks
Must be used before !OUTPUT_NC_pplane! , (for relative IJ and R)
PCALL(READ_PATH_center,ptc);
PCALL(READ_PATH_angle,angle);
PCALL(OUTPUT_NC_radius,ptc,angle);
void OUTPUT_NC_radius(double *Pcentre, double Rangouv)
writes arc center position (IJ or R) in buffer. Uses pp.DPP file's parameters :
Definition pp_pas20.c:1339
void READ_PATH_angle(double *Rval)
"element's characteristic" angle arcs opening angle pockets/entity orientation angle
Definition pp_pas31.c:93
void READ_PATH_center(double *Ptc)
element center point (CRCL,CANNED POCKETS)
Definition pp_pas31.c:158
See also
READ_PATH_angle, READ_PATH_center, OUTPUT_NC_radius_db

◆ OUTPUT_NC_radius_db()

void OUTPUT_NC_radius_db ( )

writes arc center position (IJ or R) in buffer with 1 call. It is equal to : READ_PATH_center(ptc)
+ READ_PATH_angle(Rang)
+ OUTPUT_NC_radius(ptc,Rang)

void OUTPUT_NC_radius_db()
writes arc center position (IJ or R) in buffer with 1 call. It is equal to : READ_PATH_center(ptc) ...
Definition pp_pas20.c:1377
See also
OUTPUT_NC_radius

◆ OUTPUT_NC_rapid()

void OUTPUT_NC_rapid ( )

writes a rapid movement in buffer block according to .DPP :
G0 , G1 F5000, ...

void OUTPUT_NC_rapid()
writes a rapid movement in buffer block according to .DPP : G0 , G1 F5000, ...
Definition pp_pas20.c:1403

◆ OUTPUT_NC_rotation()

void OUTPUT_NC_rotation ( int Bsens)

writes spindle stop/rotation in buffer block according to .DPP

Parameters
[in]BsensCONST_CW
CONST_CCW
CONST_BREAK
Remarks
Direction must first be read with !READ_PART_rotation!
PCALL(READ_PART_rotation,sens);
PCALL(OUTPUT_NC_rotation,sens);
void OUTPUT_NC_rotation(int Bsens)
writes spindle stop/rotation in buffer block according to .DPP
Definition pp_pas20.c:1456
See also
READ_PART_rotation, OUTPUT_NC_rotation_db, OUTPUT_NC_coolant_rotation

◆ OUTPUT_NC_rotation_db()

void OUTPUT_NC_rotation_db ( int Ityp)

writes spindle stop/rotation in buffer block with 1 call. It is equal to : READ_PART_rotation(Bsens) + OUTPUT_NC_rotation(sens)

Parameters
[in]Ityp1 direct,
-1 reverse,
0 stop
void OUTPUT_NC_rotation_db(int Ityp)
writes spindle stop/rotation in buffer block with 1 call. It is equal to : READ_PART_rotation(Bsens) ...
Definition pp_pas20.c:1490
See also
READ_PART_rotation, OUTPUT_NC_rotation

◆ OUTPUT_NC_rotation_livetool()

void OUTPUT_NC_rotation_livetool ( int Bsens)

writes spindle stop/rotation for livetool used in turning cycle, according to .DPP

Version
6.09
Parameters
[in]BsensCONST_CW
CONST_CCW
CONST_BREAK
Remarks
Direction must first be read with !READ_PART_rotation_livetool!
void OUTPUT_NC_rotation_livetool(int Bsens)
writes spindle stop/rotation for livetool used in turning cycle, according to .DPP
Definition pp_pas20.c:1519
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
READ_PART_rotation_livetool

◆ OUTPUT_NC_second_file_close()

void OUTPUT_NC_second_file_close ( )

closes second ISO file
ESSENTIAL if OUTPUT_NC_second_file_open was used

Version
4.4
void OUTPUT_NC_second_file_close()
closes second ISO file ESSENTIAL if OUTPUT_NC_second_file_open was used
Definition pp_pas20.c:204
See also
OUTPUT_NC_second_file_open, OUTPUT_NC_second_file_select

◆ OUTPUT_NC_second_file_open()

void OUTPUT_NC_second_file_open ( const std::string & Sadr,
const std::string & Snom )

opens a second ISO file, without closing the main one

Version
4.4
Parameters
[in]Sadrfile address
[in]Snomfile name
PCALL(OUTPUT_NC_second_file_open,adriso,newfic);
void OUTPUT_NC_second_file_open(const std::string &Sadr, const std::string &Snom)
opens a second ISO file, without closing the main one
Definition pp_pas20.c:230
See also
OUTPUT_NC_second_file_close, OUTPUT_NC_second_file_select

◆ OUTPUT_NC_second_file_select()

void OUTPUT_NC_second_file_select ( int Bval)

allows to select a second ISO file to write in

Version
4.4
Parameters
[in]BvalCONST_NO Write on main ISO file
CONST_YES Write on second ISO file
void OUTPUT_NC_second_file_select(int Bval)
allows to select a second ISO file to write in
Definition pp_pas20.c:172
See also
OUTPUT_NC_second_file_open, OUTPUT_NC_second_file_close

◆ OUTPUT_NC_secondary()

void OUTPUT_NC_secondary ( double Rval,
int Iforce )

writes secondary rotary axis in buffer block
In milling machine, you can choose the type of rotary axis,
such as: AB model, BA model, CA model or CB model.
The second letter is secondary
In turning machine, you may be have typeA or typeB

Parameters
[in]Rvalsecondary axis value
[in]Iforce0/1 (1 forces, no 0)
PCALL(READ_NC_secondary,angle);
PCALL(OUTPUT_NC_secondary,angle,0);
void OUTPUT_NC_secondary(double Rval, int Iforce)
writes secondary rotary axis in buffer block In milling machine, you can choose the type of rotary ...
Definition pp_pas20.c:1660
void READ_NC_secondary(double *Rval)
read NC secondary rotary axis position
Definition pp_pas22.c:1232
See also
READ_NC_secondary, WRITE_NC_secondary, OUTPUT_NC_primary

◆ OUTPUT_NC_spindle()

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

writes spindle speed range + spindle in block according to .DPP

Parameters
[in]Rvalspindle speed.
[in]BuniteCONST_RPM
CONST_SMM
[in]Igammespindle speed range number
Remarks
Values must be read first with !READ_PART_spindle!
Ask again Igamme if incompatible .DPP
PCALL(READ_PART_spindle,speed,unit,igam);
PCALL(OUTPUT_NC_spindle,speed,unit,igam);
void OUTPUT_NC_spindle(double Rval, int Bunite, int Igamme)
writes spindle speed range + spindle in block according to .DPP
Definition pp_pas20.c:1695
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
READ_PART_spindle, OUTPUT_NC_spindle_db

◆ OUTPUT_NC_spindle_db()

void OUTPUT_NC_spindle_db ( )

writes spindle speed range + spindle in block according to .DPP with 1 call.It is equal to : READ_PART_spindle(Rval,Bunit,Inum)
+ OUTPUT_NC_spindle(Rval,Bunit,Inum)

void OUTPUT_NC_spindle_db()
writes spindle speed range + spindle in block according to .DPP with 1 call.It is equal to : READ_PAR...
Definition pp_pas20.c:1736
See also
READ_PART_spindle, OUTPUT_NC_spindle

◆ OUTPUT_NC_spindle_livetool()

void OUTPUT_NC_spindle_livetool ( double Rval)

writes livetool speed for turning cycles with livetool according to .DPP

Version
6.09
Parameters
[in]Rvalspindle speed.
Remarks
Values must be read first with !READ_PART_spindle_livetool!
void OUTPUT_NC_spindle_livetool(double Rval)
writes livetool speed for turning cycles with livetool according to .DPP
Definition pp_pas20.c:1761
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
READ_PART_spindle_livetool

◆ OUTPUT_NC_spindle_range()

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

writes spindle speed range number in the block according to .DPP
Use READ_PART_spindle to read values.
Ask again Igamme if incompatible DPP

Parameters
[in]Rvalspindle speed
[in]BuniteCONST_RPM
CONST_SMM
[in]Igammespindle speed range number (direct GOE)
PCALL(READ_PART_spindle,speed,unit,igam);
PCALL(OUTPUT_NC_spindle_range,speed,unit,igam);
void OUTPUT_NC_spindle_range(double Rval, int Bunite, int Igamme)
writes spindle speed range number in the block according to .DPP Use READ_PART_spindle to read valu...
Definition pp_pas20.c:796
See also
READ_PART_spindle, OUTPUT_NC_spindle_range_db

◆ OUTPUT_NC_spindle_range_db()

void OUTPUT_NC_spindle_range_db ( )

Writes spindle speed range with 1 call. It is equal to : READ_PART_spindle(&Rval,&Bunit,&Inum)
+ OUTPUT_NC_spindle_range(Rval,Bunit,Inum)

void OUTPUT_NC_spindle_range_db()
Writes spindle speed range with 1 call. It is equal to : READ_PART_spindle(&Rval,&Bunit,...
Definition pp_pas20.c:835
See also
OUTPUT_NC_spindle_range

◆ OUTPUT_NC_tab()

void OUTPUT_NC_tab ( const std::string & Key,
double Rval,
int Iforce )

writes key address+value in buffer block.

Parameters
[in]Keykey defined in pp.DPP
[in]Rvalnumerical value
[in]IforceCONST_YES/CONST_NO
PCALL(OUTPUT_NC_tab,'%',Inum_prog,CONST_YES);
PCALL(OUTPUT_NC_tab,'T',(int_ToolNo * 100 + int_ToolLengthOffset), CONST_NO);
void OUTPUT_NC_tab(const std::string &Key, double Rval, int Iforce)
writes key address+value in buffer block.
Definition pp_pas20.c:1823
See also
READ_NC_key, WRITE_NC_key, WRITE_NC_init_key

◆ OUTPUT_NC_tab_axis()

void OUTPUT_NC_tab_axis ( int Iaxe,
const std::string & Key,
double Rval,
int Iforce )

writes key address+value in buffer.
Value can be inverted as for current plane's axis.

Version
4.5
Parameters
[in]Iaxeaxis number:1,2,3
[in]Keykey defined in pp.DPP
[in]Rvalnumerical value
[in]Iforce1 force / 0 non
PCALL(OUTPUT_NC_tab_axis,3,'ZPER',prof,1);
void OUTPUT_NC_tab_axis(int Iaxe, const std::string &Key, double Rval, int Iforce)
writes key address+value in buffer. Value can be inverted as for current plane's axis.
Definition pp_pas20.c:1856
See also
OUTPUT_NC_tab

◆ OUTPUT_NC_tab_com()

void OUTPUT_NC_tab_com ( const std::string & String)

writes comment in buffer block
to validate, a key with string format must
have been defined and perform a (OUTPUT_NC_tab,clef,-99,1)

Parameters
[in]Stringcomment to be written (str255)
Remarks
it's more easy to use !OUTPUT_NC_tab_str!
PCALL(OUTPUT_NC_tab_com,str);
PCALL(OUTPUT_NC_tab_com,' toto va a la peche ');
void OUTPUT_NC_tab_com(const std::string &String)
writes comment in buffer block to validate, a key with string format must have been defined and p...
Definition pp_pas20.c:1894
See also
OUTPUT_NC_tab_str

◆ OUTPUT_NC_tab_index()

void OUTPUT_NC_tab_index ( const std::string & Key,
double Rval,
int Indice )

writes address + key value in buffer with index
allows to write : "CLEF[Indice]=Rval" (ie : CLEF1=10

Version
4.5
Parameters
[in]Keykey defined in pp.DPP
[in]Rvalnumerical value to be written after the end of the key
[in]Indiceindex to be written behind the key, in front of the Rval
PCALL(OUTPUT_NC_tab_index,'LG',rval,4);
void OUTPUT_NC_tab_index(const std::string &Key, double Rval, int Indice)
writes address + key value in buffer with index allows to write : "CLEF[Indice]=Rval" (ie : CLEF1=1...
Definition pp_pas20.c:1931
See also
OUTPUT_NC_tab, OUTPUT_NC_tab_str_index

◆ OUTPUT_NC_tab_str()

void OUTPUT_NC_tab_str ( const std::string & Key,
const std::string & Str,
int Iforce )

writes address + string in buffer
Keys page in the DPP

Parameters
[in]Keykey defined in pp.DPP
[in]Strstring to be written (str255)
[in]Iforce0/1:(0 ignores void strings)
PCALL(OUTPUT_NC_tab_str,'SP','#RTCP ON',CONST_YES);
void OUTPUT_NC_tab_str(const std::string &Key, const std::string &Str, int Iforce)
writes address + string in buffer Keys page in the DPP
Definition pp_pas20.c:1967

◆ OUTPUT_NC_tab_str_index()

void OUTPUT_NC_tab_str_index ( const std::string & Key,
const std::string & Str,
int Indice )

writes address + string in buffer with index
allows to write : "CLEF[Indice]=Str"

Version
4.5
Parameters
[in]Keykey defined in pp.DPP
[in]StrString to be written (str255) after the end of the key
[in]Indiceindex to be written before the end of the key
PCALL(OUTPUT_NC_tab_str,'NOM',str,4);
See also
OUTPUT_NC_tab_str, OUTPUT_NC_tab_index

◆ OUTPUT_NC_tab_str_val()

void OUTPUT_NC_tab_str_val ( const std::string & Key,
const std::string & Str,
double Rval )

write Str + value in buffer
allows to write : "TODAY MYSTR=Rval"

Version
5.12
Parameters
[in]Keykey defined in pp.DPP
[in]Strstring to be written before value, it will replace the Key
[in]Rvalnumerical value to be written after the end of the key
PCALL(OUTPUT_NC_tab_str_val,'R1','P200=',rval);
void OUTPUT_NC_tab_str_val(const std::string &Key, const std::string &Str, double Rval)
write Str + value in buffer allows to write : "TODAY MYSTR=Rval"
Definition pp_pas20.c:1999
See also
OUTPUT_NC_tab, OUTPUT_NC_tab_str

◆ OUTPUT_NC_write_com()

void OUTPUT_NC_write_com ( int Itype,
const std::string & String,
int Iforce )

writes comments in buffer block.

Parameters
[in]Itype0:String output
-1:label (cycle) output
-2:techno name output
-3:cycle's comment output
-4:tool name output
-5:material name output
-6:machine name output
-7:element toolpath comment output
-8:part name output (V4.5)
-9:tape name output (V4.5)
[in]Stringcomment if Itype = 0
[in]Iforce1 forces / 0 does not force
PCALL(OUTPUT_NC_write_com,0,'user comment',1);
PCALL(OUTPUT_NC_write_com,-6,str,1);
void OUTPUT_NC_write_com(int Itype, const std::string &String, int Iforce)
writes comments in buffer block.
Definition pp_pas20.c:591
See also
WRITE_NC_comment_format OUTPUT_NC_punch_com