beautypg.com

Axisstatus, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 434

background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

421


AxisStatus

This function block uses MC_ReadAxisError to provide further breakdown of the ErrorClass and AxisErrorID by
providing BOOL and UINT outputs for the drive faults, and a DINT value for the controller alarm which is
consistent with the 32 bit controller alarm reporting in the web server. This function was created for use inside
the AxisControl function block in the PLCopen Toolbox. This function's outputs are available at the output of the
AxisControl function block.

Parameters

*

Parameter

Data
Type

Description

VAR_IN_OUT

B

Axis

AXIS_REF

Logical axis reference. This value can be located on the
Configuration tab in the Hardware Configuration (logical axis
number).

VAR_INPUT

Default

B

Enable

BOOL

The function will continue to execute while
enable is held high.

FALSE