SDK
Read assembly

Functions

int SPI_ASM_is_MTE_loaded ()
 Tests if an MTE machine is loaded and active on current part.
 
int SPI_ASM_load_fmo ()
 Loads the tool assembly model of MTE.
 
int SPI_ASM_free_fmo ()
 Releases the tool assembly model of MTE.
 
int SPI_ASM_nb_turret ()
 Reads the number of turret.
 
int SPI_ASM_select_turret (int index)
 Selects the turret by its index.
 
int SPI_ASM_select_turret_no (int notrl)
 Selects the turret by its number.
 
int SPI_ASM_read_turret_name (std::string &name)
 Reads the turret name.
 
int SPI_ASM_read_turret_type ()
 Reads the type of a turret.
 
int SPI_ASM_nb_support_turret ()
 Reads the number of the tool support.
 
int SPI_ASM_select_support (int index)
 Selects a support of a turret by its index.
 
int SPI_ASM_select_support_notool (int notool, int poste)
 Selects a support of a turret by tool number.
 
int SPI_ASM_read_support_name (std::string &name)
 Reads the tool support name.
 
int SPI_ASM_select_component ()
 Select a component.
 
int SPI_ASM_read_component_name (std::string &name)
 Reads the component name.
 
int SPI_ASM_read_component_type ()
 Reads the type of the component.
 
void SPI_ASM_read_component_typetool (std::string &nameType)
 Reads the name of the type tool.
 
int SPI_ASM_component_is_tool ()
 Tests if the component is a tool.
 
int SPI_ASM_nb_support_component ()
 Reads the support number of a component.
 
int SPI_ASM_select_support_component (int level, int index)
 Selects a support of a component by its index.
 
int SPI_ASM_select_tool2 ()
 Selects a tool.
 

Detailed Description

Read assembly

Function Documentation

◆ SPI_ASM_component_is_tool()

int SPI_ASM_component_is_tool ( )

Tests if the component is a tool.

Version
6.07
Returns
SPI_YES or SPI_NO

◆ SPI_ASM_free_fmo()

int SPI_ASM_free_fmo ( )

Releases the tool assembly model of MTE.

Version
6.07

◆ SPI_ASM_is_MTE_loaded()

int SPI_ASM_is_MTE_loaded ( )

Tests if an MTE machine is loaded and active on current part.

Version
6.07.213
Returns
SPI_NO / SPI_YES

◆ SPI_ASM_load_fmo()

int SPI_ASM_load_fmo ( )

Loads the tool assembly model of MTE.

Version
6.07

◆ SPI_ASM_nb_support_component()

int SPI_ASM_nb_support_component ( )

Reads the support number of a component.

Version
6.07
Returns
Support number

◆ SPI_ASM_nb_support_turret()

int SPI_ASM_nb_support_turret ( )

Reads the number of the tool support.

Version
6.07
Returns
number of support

◆ SPI_ASM_nb_turret()

int SPI_ASM_nb_turret ( )

Reads the number of turret.

Version
6.07
Returns
Number of turret

◆ SPI_ASM_read_component_name()

int SPI_ASM_read_component_name ( std::string & name)

Reads the component name.

Version
6.07
Parameters
[out]nameName of the component

◆ SPI_ASM_read_component_type()

int SPI_ASM_read_component_type ( )

Reads the type of the component.

Version
6.07
Returns
type of the component
(3:Symbol Holder, 4:Milling Holder, 5:Turning Holder, 6:Tool)

◆ SPI_ASM_read_component_typetool()

void SPI_ASM_read_component_typetool ( std::string & nameType)

Reads the name of the type tool.

Version
6.07
Parameters
[out]nameTypeName of the type tool

◆ SPI_ASM_read_support_name()

int SPI_ASM_read_support_name ( std::string & name)

Reads the tool support name.

Version
6.07
Parameters
[out]nameName of the support

◆ SPI_ASM_read_turret_name()

int SPI_ASM_read_turret_name ( std::string & name)

Reads the turret name.

Version
6.07
Parameters
[out]nameName of the turret

◆ SPI_ASM_read_turret_type()

int SPI_ASM_read_turret_type ( )

Reads the type of a turret.

Version
6.07
Returns
type of the turret (1:Turret, 2:Spindle, 11:Rack)

◆ SPI_ASM_select_component()

int SPI_ASM_select_component ( )

Select a component.

Version
6.07

◆ SPI_ASM_select_support()

int SPI_ASM_select_support ( int index)

Selects a support of a turret by its index.

Version
6.07
Parameters
[in]indexIndex of the support

◆ SPI_ASM_select_support_component()

int SPI_ASM_select_support_component ( int level,
int index )

Selects a support of a component by its index.

Version
6.07
Parameters
[in]levelLevel of a support
[in]indexIndex of a support

◆ SPI_ASM_select_support_notool()

int SPI_ASM_select_support_notool ( int notool,
int poste )

Selects a support of a turret by tool number.

Version
6.07
Parameters
[in]notooltool number
[in]posteposte number

◆ SPI_ASM_select_tool2()

int SPI_ASM_select_tool2 ( )

Selects a tool.

Version
6.07

◆ SPI_ASM_select_turret()

int SPI_ASM_select_turret ( int index)

Selects the turret by its index.

Version
6.07
Parameters
[in]indexIndex of the turret

◆ SPI_ASM_select_turret_no()

int SPI_ASM_select_turret_no ( int notrl)

Selects the turret by its number.

Version
6.08
Parameters
[in]notrlturret number