MC_ SEW_ReadStatus

This function block outputs the status of the PLCopen state machine. A detailed description of the PLCopen states can be found in the chapters State diagram and in the enumeration E_AxisStates in the library "SEW PLCopen MotionControl Interfaces" with the namespace "SEW_oIMoCo".

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

Busy

BOOL

Function block is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

AxisState

E_AxisStates

State of the axis