Read drive status (sts), Read drive status (sts) -10 – Rockwell Automation 2092-DAx Ultra1500 Host Commands for Serial Communication Reference Manual User Manual

Page 22

Advertising
background image

Publication 2092-RM001A-EN-P — March 2005

2-10

Command Reference

Read Drive Status (STS)

Command:

STS

Description:

Read status

Format:

STX ID # STS : BSS ETX

Response Format: STX ID $ STS Mode S1 S2 SS FChars : BSS ETX

Response Data:

Arguments

Description

Mode

One of the following operating modes
‘ ‘F = Follower mode
‘ ‘S = Analog Velocity mode
‘ ‘P = Preset Velocity mode
‘ ‘C = Analog Current mode
‘ ‘D = Dual Current Command mode
‘ ‘ = blank space
PF, PS, PC FS, FC, SC = Mixed modes
(See “[Pr – 0.00] Operations Mode” on
page 2-14
for additional information.)

S1

S1 means:
In Follower mode:

1 = In Position
0 = not In Position

In Analog velocity Mode or Preset Velocity
mode:

1 = In Speed Window
0 = not In Speed Window

If position or speed data is not available S1 is
set to 0.

S2

One of the following:

1 = Up to Speed
0 = not Up to Speed

If speed data is not available, S2 is set to 0.

S3

One of the following:

1 = drive is Enabled
0 = drive is Disabled

S4

One of the following:

1 = Positive Overtravel is active
0 = Positive Overtravel is inactive

S5

One of the following:

1 = Negative Overtravel is active
0 = Negative Overtravel is inactive

SS

One of the following:

Edd = fault occurred (See Appendix A)
dd: 2 byte error code, 0x00 to 0xFF
Wdd = warning occurred (See Appendix A)
dd: 2 byte warning code
RDY = no errors or warnings

FChars

Abbreviation of the fault/warning name.
In the case of Estop fault, Fchars = “ESTOP”
FChars size is 5 bytes when fault occurs and
3 bytes when warning occurs.

Advertising