SMC3_PersistPositionLogical (FB)

 

FUNCTION_BLOCK SMC3_PersistPositionLogical

This function block serves to persist the axis position of a logical axis.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_LOGICAL_SM3

PersistentData

SMC3_PersistPositionLogical_Data

Input

bEnable

BOOL

FALSE

TRUE: Activares FB, else inactive.

Output

bPositionRestored

BOOL

TRUE: The position has been restored during the last start- up of the axis.

bPositionStored

BOOL

TRUE: The position has been stored during the last call.

bBusy

BOOL

TRUE: FB is not idle.

bError

BOOL

FALSE

TRUE: Error has occured within the function block.

eErrorID

SMC_ERROR

SMC_NO_ERROR

Error identification

eRestoringDiag

SMC3_PersistPositionDiag

SMC3_PersistPositionDiag.SMC3_PPD_RESTORING_OK

Diagnostic information about restoring