SMC_ReadSetPosition (FB)

 

FUNCTION_BLOCK SMC_ReadSetPosition

This function block can be used for reading the currently set position of the drive.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_SM3

Reference to axis

Input

Enable

BOOL

FALSE

TRUE: Enables the execution of the function block.

Output

Valid

BOOL

FALSE

TRUE: Parameter is available.

Busy

BOOL

FALSE

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

Error

BOOL

FALSE

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

0

Error identification

Position

LREAL

0

Position of drive