L_MC4P_GetActiveTool

This FB serves to read out the active tool of the axes group and its parameters.

  • This is an administrative FB as no motion command is generated.

 

 

 

L_MC4P_GetActiveTool

 

 

 

AXES_GROUP_KIN

-

AxesGroup

xDone

-

BOOL

BOOL

-

xExecute

xBusy

-

BOOL

xError

-

BOOL

eErrorID

-

L_IE1P_Error

eToolSystem

-

L_MC4P_ToolSystem

scToolParameter

-

L_MC4P_TOOL_REF

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

AxesGroup

AXES_GROUP_KIN

axes group reference

xExecute

BOOL

FALSE รค TRUE

Start execution of the function block.

Outputs

Name

Data type

Value/meaning

xDone

BOOL

TRUE

Processing is completed.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

L_IE1P_Error

If xError = TRUE: Error number for the error that has occurred.

eToolSystem

L_MC4P_ToolSystem

Active tool:

  • NoTool
  • Tool_1
  • Tool_2
  • Tool_3
  • Tool_4

scToolParameter

L_MC4P_TOOL_REF

Parameters of the active tool

Basics of the tool management