Rockwell Automation Motion Control PTO Application Building Block User Manual
Page 72

72
Rockwell Automation Publication CC-QS033A-EN-P - February 2014
Appendix B Global Variables
(User-defined prefix)_Cmd_HscRset_Auto
Execute to reset High Speed Counter
BOOL
Applicable only when using an encoder.
(User-defined prefix)_Cfg_HscMode_Auto
Selection of High Speed Count mode
UINT
Applicable only when using an encoder.
(User-defined prefix)_Cfg_HscID_Auto
Selection of High Speed Counter
UINT
Applicable only when using an encoder.
(User-defined prefix)_Cfg_HscIniPos_Auto
Set initial value for High Speed Counter
DINT
Applicable only when using an encoder.
(User-defined prefix)_Cfg_HPSetting_Auto
Set the high preset setting for High Speed Counter (Setting not
available in faceplate)
DINT
Applicable only when using an encoder.
(User-defined prefix)_Cfg_LPSetting_Auto
Set the low preset setting for High Speed Counter (Setting not
available in faceplate)
DINT
Applicable only when using an encoder.
(User-defined prefix)_Alm_DrvCode
INT
This is the most recent alarm code registered by the drive.
(User-defined prefix)_Alm_DrvText
STRING
This is the alarm message associated with the most recent alarm code.
(User-defined prefix)_Err_AxisErrID
UINT
This shows a short name error for motion axis.
(User-defined prefix)_Err_HscErrID
UINT
(Status not available in faceplate)
(User-defined prefix)_Err_MotionErrID
UINT
This shows a short name error for motion instruction.
(User-defined prefix)_Sts_AxisEn
BOOL
True when axis is powered on.
(User-defined prefix)_Sts_AxisErr
BOOL
True when there is a motion axis error.
(User-defined prefix)_Sts_AxisHomed
BOOL
True when axis is homed.
(User-defined prefix)_Sts_AxisHoming
BOOL
True when axis is homing.
(User-defined prefix)_Sts_AxisState
USINT
This value returns the status of the axis with respect to the motion currently in progress.
(Status not available in faceplate)
(User-defined prefix)_Sts_CmdPos
REAL
This value returns the actual command position of the axis
(User-defined prefix)_Sts_CmdVel
REAL
This value returns the actual command velocity of the axis.
(User-defined prefix)_Sts_CurrentMode
INT
This value returns the Move mode. (Status not available in faceplate)
(User-defined prefix)_Sts_DrvAlm
BOOL
True when the drive faulted.
(User-defined prefix)_Sts_DrvComm
BOOL
True when drive communication is lost.
(User-defined prefix)_Sts_DrvPosFdbk
DINT
This value returns the position feedback from drive.
(User-defined prefix)_Sts_DrvRdy
BOOL
True when drive is not faulted.
(User-defined prefix)_Sts_DrvVelFdbk
INT
This value returns the velocity feedback from drive.
(User-defined prefix)_Sts_ER_Hsc
BOOL
True when there is an error in the configured High Speed Counter.
(User-defined prefix)_Sts_HomeDone
BOOL
True when home instruction is completed. (Status not available in faceplate)
(User-defined prefix)_Sts_HscRdy
BOOL
True when High Speed Counter is ready to count.
(User-defined prefix)_Sts_InMotion
BOOL
True when axis is in motion.
(User-defined prefix)_Sts_MotionErr
BOOL
True when there is a motion instruction error.
(User-defined prefix)_Sts_MoveDone
BOOL
True when move instruction is completed. (Status not available in faceplate)
(User-defined prefix)_Sts_RsetDone
BOOL
True when axis is reset. (Status not available in faceplate)
(User-defined prefix)_Sts_StopDone
BOOL
True when Stop command is completed. (Status not available in faceplate)
(User-defined prefix)_Val_HscCnt
DINT
This value returns the encoder count value.
Table 15 - Global Variable (continued)
Variable Name
Data Type
Variable Description