MC_GroupSetPosition

This FB serves to set the current position of all axes of the axes group to an absolute value or shift it by a relative position.

  • The axes do not move.
  • A following error continues to exist if pending.
  • Setting the positions is possible in the device states "GroupStandby" and "GroupDisabled".
  • With regard to the function, this FB can be compared with the FB MC_SetPosition for the single axis.

 

 

 

MC_GroupSetPosition

 

 

 

AXES_GROUP_REF

-

AxesGroup

Done

-

BOOL

BOOL

-

Execute

Busy

-

BOOL

ARRAY [1..N] OF LREAL

-

Position

Active

-

BOOL

BOOL

-

Relative

Error

-

BOOL

ErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

AxesGroup

AXES_GROUP_REF

axes group reference

Execute

BOOL

FALSE รค TRUE

Set axis positions.

Position

ARRAY [1 ... 12] OF LREAL

Home positions for homing

Axis assignment:

  • Index 1 ... 6: Drive axes A1 ... A6
  • Index 7 ... 12: Auxiliary axes Aux1 ... Aux6

Relative

BOOL

FALSE

The positions in the array are interpreted as absolute positions.

TRUE

The positions in the array are interpreted as relative positions (distances).

Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

Processing successfully completed.

Busy

BOOL

TRUE

Processing is running.

Active

BOOL

TRUE

The command of the FB is currently executed.

  • The Active output matters if a motion control is carried out by several FBs (BufferMode).

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

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