MC_ReadAxisInfo

This function block outputs general axis information.

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

HomeAbsSwitch

BOOL

Reference cam is activated

LimitSwitchPos

BOOL

Positive hardware limit switch is activated

LimitSwitchNeg

BOOL

Negative hardware limit switch is activated

Simulation

BOOL

Axis is in simulation mode

CommunicationReady

BOOL

Communication to the axis exists

ReadyForPowerOn

BOOL

Axis is ready to switch on

PowerOn

BOOL

Axis is switched on

IsHomed

BOOL

Axis is referenced

AxisWarning

BOOL

There is a warning for the axis