MC_ReadActualPosition (FB)

FUNCTION_BLOCK MC_ReadActualPosition

This function block returns the actual position.

../../../../../../_images/plcopen.png
InOut:

Scope

Name

Type

Comment

Input

Enable

BOOL

Read continuously on “TRUE”

ValueSource

MC_Source

Default: MCActualValue: Decide to use the actual position or reference position of axis

Output

Valid

BOOL

Value is available

Error

BOOL

Signals that error has occurred within function block

ErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

Position

LREAL

[u] New absolute position

Inout

Axis

Axis_Ref

Reference to axis