SMC_FollowPosition (FB)

 

FUNCTION_BLOCK SMC_FollowPosition

This function block writes the position set points to the axis without doing any checks.

InOut:

Scope

Name

Type

Comment

Inout

Axis

AXIS_REF_SM3

Input

bExecute

BOOL

Rising edge: Starts the execution of the function block.

fSetPosition

LREAL

Set position in technical units

Output

bBusy

BOOL

TRUE: Execution of the function block has not been finished.

bCommandAborted

BOOL

TRUE: Command has been aborted by another command.

bError

BOOL

TRUE: Error has occurred within the function block.

iErrorID

SMC_ERROR

Error identification