MC_MoveAbsolute

Movement of the axis to an absolute position is commanded with the FB MC_MoveAbsolute FB. The motion is always executed jerk-limited with the constant set input ‘Jerk’. This value is valid for both ‘acceleration’ and ‘deceleration’.

Block diagram

MC_MoveAbsolute 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference.

VAR_INPUT

 

Execute

BOOL

Start the motion at rising edge.

 

Position

LREAL

Target position for the motion.

Range [-2147483648.0, 2147483647.0]
Default unit [0,1µm or 10-4 °]

 

Velocity

LREAL

Value of the maximum velocity (always positive, not necessarily reached).

Range [1.0, 2147483647.0]
Default unit [1µm/s or 10-3 °/s]

 

Acceleration

LREAL

Value of the acceleration (always positive, increasing energy of the motor).

Range [1.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

 

Deceleration

LREAL

Value of the decceleration (always positive, decreasing energy of the motor).

Range [1.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

 

Jerk

LREAL

Value of the Jerk (always positive).

Range [1.0, 2147483647.0]
Default unit [1m/s3 or 1000°/s3]

 

Direction

INT

Direction in which the movement is started:

1 positive direction

2 shortest way

3 negative direction

4 current direction

Note: Specifying the direction is effective only if a modulo coordinate system has been defined for the axis in the axis-specific machine data, using parameter kenngr.achs_mode.

VAR_OUTPUT

 

Done

BOOL

The axis is within a range close to the target position. The range is specified by the parameter getriebe[...].window of the axis-specific machine data.

 

CommandAborted

BOOL

Command is aborted by another command.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

Behavior of the FB