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. | |
Writing in the ISO file
| 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)
| [in] | Ival | integer minor value |
| [in] | Iminor | minimum position to use |
| 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)
| [in] | Smot | APT word string |
| void OUTPUT_NC_apt_real | ( | double | Rval, |
| int | Imineur ) |
writes a minor with real format. Only for APT post processor
| [in] | Rval | real minor value |
| [in] | Imineur | minor number (idem ENTIER_APT) |
| void OUTPUT_NC_apt_string | ( | const std::string & | Str, |
| int | Imineur ) |
writes a minor with string format. Only for APT post processor.
| [in] | Str | string minor value |
| [in] | Imineur | minor number (idem ENTIER_APT) |
| 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
| [in] | Inum | line number (1...) |
| 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
| [in] | Inum | line number (1...) |
| 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
| [in] | Inum | coolant number (direct GOE) |
| 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
| [in] | Bsens |
|
| [in] | Inum | coolant number (direct GOE) |
| 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
| [in] | Ityp | 1 direct, -1 reverse, 0 stop |
| 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.
| [in] | Str | name of new block file |
| 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).
| [in] | Bcote | CONST_RIGHT CONST_LEFT CONST_CENTER |
| void OUTPUT_NC_directory_read | ( | std::string & | Str | ) |
Read ISO directory by post-processor
For example, you will get D:/GO2cam_Intl/GO2camV611/iso.
| [out] | Str | name of directory |
| void OUTPUT_NC_directory_write | ( | const std::string & | Str | ) |
Change ISO directory by post-processor.
| [in] | Str | name of directory |
| 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
| [in] | Rval | feed value |
| [in] | Bunite | CONST_MMPM CONST_MMPR |
| 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
| [in] | Str | char array to output |
| void OUTPUT_NC_filename_replace | ( | const std::string & | Str | ) |
Change ISO file name.
| [in] | Str | name of ISO name |
| void OUTPUT_NC_g | ( | int | Icode, |
| int | Iforce ) |
writes G with Icode in buffer block
| [in] | Icode | G code to be written |
| [in] | Iforce | CONST_YES/CONST_NO |
| void OUTPUT_NC_line_feed | ( | int | Bval | ) |
Writes a empty line in buffer block or/and on screen.
| [in] | Bval | CONST_NO on screen only CONST_YES on screen and in buffer block. |
| void OUTPUT_NC_m | ( | int | Icode, |
| int | Iforce ) |
writes M with Icode in buffer block
| [in] | Icode | M code to be written |
| [in] | Iforce | 1 forces / 0 no (active test) |
| 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
| [in] | Rval | plane 1st axis value |
| [in] | Iforce | CONST_YES/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_paxis1(pt[0],Iforce)
| [in] | Iforce | CONST_YES/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.
In turning, pt(z,x,y), 2nd axis is X
In milling, pt(x,y,z), 2nd axis is Y
| [in] | Rval | plane 2nd axis value |
| [in] | Iforce | CONST_YES/CONST_NO |
| 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)
| [in] | Iforce | CONST_NO/CONST_YES |
| 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
| [in] | Rval | value for axis perpendicular to plane |
| [in] | Iforce | CONST_NO/CONST_YES |
| 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)
| [in] | Iforce | CONST_NO/CONST_YES |
| 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.
| [in] | Rvalx | 1st axis of plane value |
| [in] | Rvaly | 2nd axis of plane value |
| [in] | Iforce | 0: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) + OUTPUT_NC_pplane(pt[0],pt[1],Iforce)
| [in] | Iforce | 0: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_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
| [in] | Rval | primary axis value |
| [in] | Iforce | CONST_NO/CONST_YES |
| void OUTPUT_NC_punch_com | ( | int | Itype, |
| const std::string & | String, | ||
| int | Iforce, | ||
| int | Iform ) |
writes comments in blocks file
| [in] | Itype | 0: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] | String | comment if Itype = 0 |
| [in] | Iforce | 1 forces / 0 does not force |
| [in] | Iform | comment 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". |
| void OUTPUT_NC_punch_str | ( | const std::string & | Str | ) |
writes NC bloc in buffer block using 'SP' key
| [in] | Str | nc bloc to output |
| void OUTPUT_NC_punch_validate | ( | int | Bval | ) |
allows to temporarily invalidate blocks output (No NC code output)
| [in] | Bval | CONST_NO suspends blocks output CONST_YES resumes blocks output |
| void OUTPUT_NC_punchb | ( | int | Inum | ) |
Writes the current buffer block in the ISO file.
| [in] | Inum | 0: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 OUTPUT_NC_radius | ( | double * | Pcentre, |
| double | Rangouv ) |
writes arc center position (IJ or R) in buffer.
Uses pp.DPP file's parameters :
| [in] | Pcentre | center point coordinates |
| [in] | Rangouv | opening angle |
| 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
| [in] | Bsens | CONST_CW CONST_CCW CONST_BREAK |
| 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)
| [in] | Ityp | 1 direct, -1 reverse, 0 stop |
| void OUTPUT_NC_rotation_livetool | ( | int | Bsens | ) |
writes spindle stop/rotation for livetool used in turning cycle, according to .DPP
| [in] | Bsens | CONST_CW CONST_CCW CONST_BREAK |
| 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
| [in] | Sadr | file address |
| [in] | Snom | file name |
| void OUTPUT_NC_second_file_select | ( | int | Bval | ) |
allows to select a second ISO file to write in
| [in] | Bval | CONST_NO Write on main ISO file CONST_YES Write on second ISO file |
| 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
| [in] | Rval | secondary axis value |
| [in] | Iforce | 0/1 (1 forces, no 0) |
| void OUTPUT_NC_spindle | ( | double | Rval, |
| int | Bunite, | ||
| int | Igamme ) |
writes spindle speed range + spindle in block according to .DPP
| [in] | Rval | spindle speed. |
| [in] | Bunite | CONST_RPM CONST_SMM |
| [in] | Igamme | spindle speed range number |
| 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
| [in] | Rval | spindle speed. |
| 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
| [in] | Rval | spindle speed |
| [in] | Bunite | CONST_RPM CONST_SMM |
| [in] | Igamme | spindle speed range number (direct GOE) |
| 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.
| [in] | Key | key defined in pp.DPP |
| [in] | Rval | numerical value |
| [in] | Iforce | CONST_YES/CONST_NO |
| 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.
| [in] | Iaxe | axis number:1,2,3 |
| [in] | Key | key defined in pp.DPP |
| [in] | Rval | numerical value |
| [in] | Iforce | 1 force / 0 non |
| 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)
| [in] | String | comment to be written (str255) |
| 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
| [in] | Key | key defined in pp.DPP |
| [in] | Rval | numerical value to be written after the end of the key |
| [in] | Indice | index to be written behind the key, in front of the Rval |
| 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
| [in] | Key | key defined in pp.DPP |
| [in] | Str | string to be written (str255) |
| [in] | Iforce | 0/1:(0 ignores void strings) |
| 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"
| [in] | Key | key defined in pp.DPP |
| [in] | Str | String to be written (str255) after the end of the key |
| [in] | Indice | index to be written before the end of the key |
| 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"
| [in] | Key | key defined in pp.DPP |
| [in] | Str | string to be written before value, it will replace the Key |
| [in] | Rval | numerical value to be written after the end of the key |
| void OUTPUT_NC_write_com | ( | int | Itype, |
| const std::string & | String, | ||
| int | Iforce ) |
writes comments in buffer block.
| [in] | Itype | 0: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] | String | comment if Itype = 0 |
| [in] | Iforce | 1 forces / 0 does not force |