L_MC4P_SetToolTransform

This FB serves to set the parameters of one of the tools defined in the axes group.

  • The active tool cannot be modified.
  • The No_Tool tool cannot be changed.
  • A currently buffered tool cannot be changed.
  • This is an administrative FB as no motion command is generated.
Note!

Observe the following when using 4D kinematics:

When programming a movement using an active tool, the Z axis of the tool must be aligned following the Z axis of the flange (orientation A and B parameters of the respective tool must be zero)!

See also: Special handling of 4D kinematics

 

 

 

L_MC4P_SetToolTransform

 

 

 

AXES_GROUP_KIN

-

AxesGroup

xDone

-

BOOL

BOOL

-

xExecute

xBusy

-

BOOL

L_MC4P_TOOL_REF

-

scToolParameter

xError

-

BOOL

L_MC4P_ToolSystem

-

eToolSystem

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.

scToolParameter

L_MC4P_TOOL_REF

Parameters of the tool to be set

Basics of the tool management

eToolSystem

L_MC4P_ToolSystem

Tool to be parameterised:

  • 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.