L_MC4P_SetActiveTool

This FB serves to activate one of the tools defined in the axes group online (or no tool).

Up to library L_MC4P_RoboticHandling V03.25.00 applies:

As of the library L_MC4P_RoboticHandling version V03.26.00 applies:

Note!

When the tool is changed, the coordinates of the drive axes remain constant, the position and orientation of the MCS axes usually change erratically.

 

 

 

L_MC4P_SetActiveTool

 

 

 

AXES_GROUP_KIN

-

AxesGroup

xDone

-

BOOL

BOOL

-

xExecute

xBusy

-

BOOL

L_MC4P_ToolSystem

-

eToolSystem

xError

-

BOOL

eErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

AxesGroup

AXES_GROUP_KIN

axes group reference

xExecute

BOOL

FALSE รค TRUE

Start execution of the function block.

eToolSystem

L_MC4P_ToolSystem

Tool to be activated:

  • NoTool
  • Tool_1
  • Tool_2
  • Tool_3
  • Tool_4
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.