MC_ReadAxisError (FB)

 

FUNCTION_BLOCK MC_ReadAxisError

This function block is designed for describing general axis errors that are not related to function blocks.

Notice

This function block is equival to MC_ReadParameter when the value AxisErrorID is given on its input ParameterNumber.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_SM3

Reference to axis

Input

Enable

BOOL

FALSE

While TRUE, the output value provides the parameter value continuously for reading out.

Output

Valid

BOOL

FALSE

TRUE: Valid outputs are available.

Busy

BOOL

FALSE

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

Error

BOOL

FALSE

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

0

Error identification

AxisError

BOOL

FALSE

TRUE: Axis error has occured.

AxisErrorID

DWORD

0

Vendor specific identification of the axis error.

SWEndSwitchActive

BOOL

FALSE

TRUE: Software limits are exceeded.