Chapter 17 Motion control instructions
486 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Arguments
Parameter Parameter type Data type Description
EN Input BOOL Function block enable.
When EN = TRUE, execute current MC_ReadAxisError computation.
When EN = FALSE, Error, ErrorID, and AxisErrorID are reset to False(or 0).
Applies only to LD programs.
AxisIn Input AXIS_REF
FB_AXIS_REF
See also AXIS_REF data type on page 433.
See also FB_AXIS_REF data type on page 434.
Enable Input BOOL When TRUE, gets the value of the parameter continuously.
ENO Output BOOL Enable out.
Applies only to LD programs.
Axis Output AXIS_REF Axis output is read-only in LD programs.
See also AXIS_REF data type on page 442.
Valid Output BOOL When TRUE, indicates the function block is active and new output values are
expected.
Busy Output BOOL When TRUE, the function block is not finished.
Error Output BOOL When TRUE, an error was detected.
ErrorID Output UINT Error identification.
See also Motion control function block error IDs on page 440.
AxisErrorID Output UINT Error identification. See AxisErrorID error codes on page 488.
MC_ReadAxisError function block language examples
Function Block Diagram (FBD)