MDI_ReadPosition (FB)

FUNCTION_BLOCK MDI_ReadPosition

This function block makes the actual position available from the axis reference structure.

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

FALSE

Enable the function block.

Inout

Axis

MDI_AxisRef

Reference to the axis structure.

Output

Valid

BOOL

Completed sourcing of valid data without error.

Error

BOOL

Signals that an error has occurred within function block.

ErrorID

ERROR_ID

Contains the error code when there is an error.

ActualPosition

REAL

Actual position in user units, only for E530.