MC_ReadAxisInfo

This FB serves to read various state information on the axis or inverter.

 

 

 

MC_ReadAxisInfo

 

 

 

AXIS_REF

-

Axis

Valid

-

BOOL

BOOL

-

ENABLE

Busy

-

BOOL

Error

-

BOOL

ErrorID

-

L_IE1P_Error

HomeAbsSwitch

-

BOOL

LimitSwitchPos

-

BOOL

LimitSwitchNeg

-

BOOL

Simulation

-

BOOL

CommunicationReady

-

BOOL

ReadyForPowerOn

-

BOOL

PowerOn

-

BOOL

IsHomed

-

BOOL

AxisError

-

BOOL

AxisWarning

-

BOOL

DriveWarning

-

BOOL

DriveError

-

BOOL

SWLimitSwitchPos

-

BOOL

SWLimitSwitchNeg

-

BOOL

ReadyForMotion

-

BOOL

STOActive

-

BOOL

VoltageEnabled

-

BOOL

MotorMagnetised

-

BOOL

QSPApplActive

-

BOOL

QSPDriveActive

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

ENABLE

BOOL

TRUE

Read actual error message of the axis continuously.

Outputs

Name

Data type

Value/meaning

Valid

BOOL

TRUE

Valid values are applied to the FB outputs.

Busy

BOOL

TRUE

Processing is running.

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

If Error = TRUE: Error number for the error that has occurred.

HomeAbsSwitch

BOOL

TRUE

Reference switch is active.

LimitSwitchPos

BOOL

TRUE

Positive travel range limit switch is active.

LimitSwitchNeg

BOOL

TRUE

Negative travel range limit switch is active.

Simulation

BOOL

TRUE

Axis in the virtual mode.

CommunicationReady

BOOL

TRUE

Bus system/network is initialised and ready for communication.

ReadyForPowerOn

BOOL

TRUE

Inverter is ready to switch on (inverter fault-free, no STO active, DC bus available).

PowerOn

BOOL

TRUE

Inverter is switched on.

IsHomed

BOOL

TRUE

The axis has been referenced ("Reference known").

AxisError

BOOL

TRUE

An error has occurred in the axis data or a connected function block that leads to a change to the " ErrorStop " axis state.

AxisWarning

BOOL

TRUE

An error has occurred in the axis data or a connected function block that does not lead to a change to the " ErrorStop " axis state.

DriveWarning

BOOL

TRUE

There is a warning in the inverter.

DriveError

BOOL

TRUE

There is an error in the inverter.

SWLimitSwitchPos

BOOL

TRUE

Positive software limit position exceeded.

SWLimitSwitchNeg

BOOL

TRUE

Negative software limit position exceeded.

ReadyForMotion

BOOL

TRUE

The axis is enabled and fault-free. A motion task can be started.

STOActive

BOOL

TRUE

Inverter is inhibited via STO.

VoltageEnabled

BOOL

TRUE

DC bus voltage available

MotorMagnetised

BOOL

TRUE

Motor is magnetised

QSPApplActive

BOOL

TRUE

Quick stop function in Axis_Ref is active.

QSPDriveActive

BOOL

TRUE

Quick stop function of the drive is active.