MC_ReadAxisError

This function block outputs general axis errors generated by the physical or logical device. Errors specific to the function block are displayed on the function block.

All relevant error codes are described in the enumeration MC_ErrorID of the library "SEW PLCopen ErrorCodes Interfaces" with the namespace "SEW_oIError". The AxisErrorID has the following format:

High word

Low word

High byte

Low byte

High byte

Low byte

Reserved

Reserved

Error number

Sub error number

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

Activate function block.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Outputs are valid

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

AxisErrorID

MC_ErrorId

Value of the axis error