SDK
EDM table files

Functions

void SPI_FIL_free_edm_table ()
 Releases GO2cam EDM techno table.
 
int SPI_FIL_save_edm_table (const std::string &dir, const std::string &name)
 Saves a GO2cam EDM techno table.
 
void SPI_FIL_free_edm_seqlist ()
 Releases GO2cam EDM sequence list.
 
int SPI_FIL_save_edm_seqlist (const std::string &dir, const std::string &name)
 Saves a GO2cam EDM sequence list.
 
int SPI_FIL_load_edm_table (const std::string &dir, const std::string &name)
 Loads a GO2cam EDM techno table.
 
int SPI_FIL_new_edm_table (const std::string &partMat, const std::string &wireRef, double wireDia)
 Initializes a GO2cam EDM table with material and wire
necessary before applying adds if table not loaded.
 
int SPI_FIL_criteres_edm_table (double ra, const std::string &condition)
 Adds criterions to GO2cam EDM table
Can be called after SPI_FIL_init_edm_table.
 
int SPI_FIL_add_techno_edm_table (const std::string &name, int setting, double hMin, double hMax, double pMax)
 Adds a technology on the current GO2cam EDM table.
 
int SPI_FIL_add_param_edm_table (double height, int noOff, double offset, double feed, int coolant, int corAng)
 Adds parameters according to the height on the current EDM technology table.
 
int SPI_FIL_add_param_str_edm_table (double height, int noOff, double offset, double feed, int coolant, int corAng, const std::string &sComment, const std::string &sControl, const std::string &sQuality)
 Adds parameters according to the height on the current EDM technology table.
 
int SPI_FIL_select_techno_edm_table (int setting)
 Selects a technology in the GO2cam EDM table by its setting number.
 
int SPI_FIL_load_edm_seqlist (const std::string &dir, const std::string &name)
 Loads a GO2cam EDM sequence list.
 
int SPI_FIL_init_edm_seqlist (const std::string &partMat, const std::string &wireRef, double wireDia)
 Initializes an EDM GO2cam sequence list structure with material and thread
necessary before adding if the sequence is not loaded.
 
int SPI_FIL_add_sequence_edm_seqlist (const std::string &name, double height, double ra, const std::string &condition)
 Adds a sequence in GO2cam EDM liste.
 
int SPI_FIL_add_cut_edm_sequence (const std::string &name, int setting, double feed, int coolant, int corAng, double offset, int noOff, const std::string &comment, const std::string &control, const std::string &quality)
 Adds a pass with its parameters to the current EDM sequence.
 

Detailed Description

Manage EDM table files

Function Documentation

◆ SPI_FIL_add_cut_edm_sequence()

int SPI_FIL_add_cut_edm_sequence ( const std::string & name,
int setting,
double feed,
int coolant,
int corAng,
double offset,
int noOff,
const std::string & comment,
const std::string & control,
const std::string & quality )

Adds a pass with its parameters to the current EDM sequence.

Version
6.03
Parameters
[in]namecut name
[in]settingsetting number
[in]feedfeed move
[in]coolantcoolant number
[in]corAngangular setting number
[in]offsetoffset value
[in]noOffoffset number
[in]commentcomment info
[in]controlcontrol info
[in]qualityquality info
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_add_cut_edm_sequence('cut1',2,0.1,0,1,0.121,3,'com','','')
int SPI_FIL_add_cut_edm_sequence(const std::string &name, int setting, double feed, int coolant, int corAng, double offset, int noOff, const std::string &comment, const std::string &control, const std::string &quality)
Adds a pass with its parameters to the current EDM sequence.
Definition sp_fil06.c:624
See also
SPI_FIL_init_edm_seqlist
SPI_FIL_add_cut_edm_seqlist
SPI_FIL_save_edm_seqlist
SPI_FIL_free_edm_seqlist

◆ SPI_FIL_add_param_edm_table()

int SPI_FIL_add_param_edm_table ( double height,
int noOff,
double offset,
double feed,
int coolant,
int corAng )

Adds parameters according to the height on the current EDM technology table.

Version
5.9
Parameters
[in]heightheight which validate parameters
[in]noOffoffset number
[in]offsetoffset value
[in]feedfeedrate
[in]coolantcoolant number
[in]corAngangular setting number
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_add_param_edm_table(20.0,2,0.16,0.6,8,0);
int SPI_FIL_add_param_edm_table(double height, int noOff, double offset, double feed, int coolant, int corAng)
Adds parameters according to the height on the current EDM technology table.
Definition sp_fil06.c:325
See also
SPI_FIL_new_edm_table
SPI_FIL_add_techno_edm_table
SPI_FIL_save_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_add_param_str_edm_table()

int SPI_FIL_add_param_str_edm_table ( double height,
int noOff,
double offset,
double feed,
int coolant,
int corAng,
const std::string & sComment,
const std::string & sControl,
const std::string & sQuality )

Adds parameters according to the height on the current EDM technology table.

Version
5.12
Parameters
[in]heightheight which validate parameters
[in]noOffoffset number
[in]offsetoffset value
[in]feedfeedrate
[in]coolantcoolant number
[in]corAngangular setting number
[in]sCommenttechno commentary
[in]sControlcontrol commentary
[in]sQualityquality commentary
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_add_param_str_edm_table(20.0,2,0.16,0.6,8,0,'','','')
int SPI_FIL_add_param_str_edm_table(double height, int noOff, double offset, double feed, int coolant, int corAng, const std::string &sComment, const std::string &sControl, const std::string &sQuality)
Adds parameters according to the height on the current EDM technology table.
Definition sp_fil06.c:383
See also
SPI_FIL_new_edm_table
SPI_FIL_add_techno_edm_table
SPI_FIL_save_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_add_sequence_edm_seqlist()

int SPI_FIL_add_sequence_edm_seqlist ( const std::string & name,
double height,
double ra,
const std::string & condition )

Adds a sequence in GO2cam EDM liste.

Version
6.03
Parameters
[in]namename of dequence
[in]heightreference height
[in]rarefernec ra
[in]conditionmachining condition
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_add_sequence_edm_seqlist,'finition',10.0,0.006,'std');
int SPI_FIL_add_sequence_edm_seqlist(const std::string &name, double height, double ra, const std::string &condition)
Adds a sequence in GO2cam EDM liste.
Definition sp_fil06.c:574
See also
SPI_FIL_init_edm_seqlist
SPI_FIL_add_cut_edm_seqlist
SPI_FIL_save_edm_seqlist
SPI_FIL_free_edm_seqlist

◆ SPI_FIL_add_techno_edm_table()

int SPI_FIL_add_techno_edm_table ( const std::string & name,
int setting,
double hMin,
double hMax,
double pMax )

Adds a technology on the current GO2cam EDM table.

Version
5.9
Parameters
[in]namename of techno
[in]settingsetting number
[in]hMinmini height
[in]hMaxmaxi height
[in]pMaxmaxi pass increment
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_add_techno_edm_table,'finition',2,1.0,100.0,0.2);
int SPI_FIL_add_techno_edm_table(const std::string &name, int setting, double hMin, double hMax, double pMax)
Adds a technology on the current GO2cam EDM table.
Definition sp_fil06.c:275
See also
SPI_FIL_new_edm_table
SPI_FIL_add_param_edm_table
SPI_FIL_save_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_criteres_edm_table()

int SPI_FIL_criteres_edm_table ( double ra,
const std::string & condition )

Adds criterions to GO2cam EDM table
Can be called after SPI_FIL_init_edm_table.

Version
6.03
Parameters
[in]rara to choose techno if not null
[in]conditioncomplementary information on machining type
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_criteres_edm_table,0.34,'open');
int SPI_FIL_criteres_edm_table(double ra, const std::string &condition)
Adds criterions to GO2cam EDM table Can be called after SPI_FIL_init_edm_table.
Definition sp_fil06.c:237
See also
SPI_FIL_init_edm_table

◆ SPI_FIL_free_edm_seqlist()

void SPI_FIL_free_edm_seqlist ( )

Releases GO2cam EDM sequence list.

Version
6.03
void SPI_FIL_free_edm_seqlist()
Releases GO2cam EDM sequence list.
Definition sp_fil06.c:98
See also
SPI_FIL_init_edm_seqlist
SPI_FIL_load_edm_seqlist
SPI_FIL_save_edm_seqlist

◆ SPI_FIL_free_edm_table()

void SPI_FIL_free_edm_table ( )

Releases GO2cam EDM techno table.

Version
5.9
ier := ICALL(SPI_FIL_free_edm_table);
void SPI_FIL_free_edm_table()
Releases GO2cam EDM techno table.
Definition sp_fil06.c:42
See also
SPI_FIL_new_edm_table
SPI_FIL_load_edm_table
SPI_FIL_save_edm_table

◆ SPI_FIL_init_edm_seqlist()

int SPI_FIL_init_edm_seqlist ( const std::string & partMat,
const std::string & wireRef,
double wireDia )

Initializes an EDM GO2cam sequence list structure with material and thread
necessary before adding if the sequence is not loaded.

Version
6.03
Parameters
[in]partMatmaterial of part
[in]wireRefreference of wire
[in]wireDiawire diameter
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_init_edm_seqlist,'Cu','Lt15',0.15)
int SPI_FIL_init_edm_seqlist(const std::string &partMat, const std::string &wireRef, double wireDia)
Initializes an EDM GO2cam sequence list structure with material and thread necessary before adding ...
Definition sp_fil06.c:529
See also
SPI_FIL_load_edm_seqlist
SPI_FIL_save_edm_seqlist
SPI_FIL_free_edm_seqlist

◆ SPI_FIL_load_edm_seqlist()

int SPI_FIL_load_edm_seqlist ( const std::string & dir,
const std::string & name )

Loads a GO2cam EDM sequence list.

Version
6.03
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_load_edm_seqlist,'mac\dirfile','tecfile');
int SPI_FIL_load_edm_seqlist(const std::string &dir, const std::string &name)
Loads a GO2cam EDM sequence list.
Definition sp_fil06.c:498
See also
SPI_FIL_init_edm_seqlist
SPI_FIL_save_edm_seqlist
SPI_FIL_free_edm_seqlist

◆ SPI_FIL_load_edm_table()

int SPI_FIL_load_edm_table ( const std::string & dir,
const std::string & name )

Loads a GO2cam EDM techno table.

Version
5.9
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_load_edm_table,'mac\dirfile','tecfile');
int SPI_FIL_load_edm_table(const std::string &dir, const std::string &name)
Loads a GO2cam EDM techno table.
Definition sp_fil06.c:161
See also
SPI_FIL_new_edm_table
SPI_FIL_save_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_new_edm_table()

int SPI_FIL_new_edm_table ( const std::string & partMat,
const std::string & wireRef,
double wireDia )

Initializes a GO2cam EDM table with material and wire
necessary before applying adds if table not loaded.

Version
5.9
Parameters
[in]partMatmaterial of part
[in]wireRefreference of wire
[in]wireDiawire diameter
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_new_edm_table,'Cu','Lt15',0.15)
int SPI_FIL_new_edm_table(const std::string &partMat, const std::string &wireRef, double wireDia)
Initializes a GO2cam EDM table with material and wire necessary before applying adds if table not l...
Definition sp_fil06.c:192
See also
SPI_FIL_load_edm_table
SPI_FIL_save_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_save_edm_seqlist()

int SPI_FIL_save_edm_seqlist ( const std::string & dir,
const std::string & name )

Saves a GO2cam EDM sequence list.

Version
6.03
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_save_edm_seqlist,'mac\dirfile','seqfile');
int SPI_FIL_save_edm_seqlist(const std::string &dir, const std::string &name)
Saves a GO2cam EDM sequence list.
Definition sp_fil06.c:123
See also
SPI_FIL_init_edm_seqlist
SPI_FIL_load_edm_seqlist
SPI_FIL_free_edm_seqlist

◆ SPI_FIL_save_edm_table()

int SPI_FIL_save_edm_table ( const std::string & dir,
const std::string & name )

Saves a GO2cam EDM techno table.

Version
5.9
Returns
SPI_YES | SPI_NO
ier := ICALL(SPI_FIL_save_edm_table,'mac\dirfile','tecfile');
int SPI_FIL_save_edm_table(const std::string &dir, const std::string &name)
Saves a GO2cam EDM techno table.
Definition sp_fil06.c:67
See also
SPI_FIL_new_edm_table
SPI_FIL_load_edm_table
SPI_FIL_free_edm_table

◆ SPI_FIL_select_techno_edm_table()

int SPI_FIL_select_techno_edm_table ( int setting)

Selects a technology in the GO2cam EDM table by its setting number.

Version
5.9
Returns
SPI_YES | SPI_NO
int SPI_FIL_select_techno_edm_table(int setting)
Selects a technology in the GO2cam EDM table by its setting number.
Definition sp_fil06.c:453
See also
SPI_FIL_add_techno_edm_table
SPI_FIL_add_param_edm_table