5-72
MICRONIX USA, LLC
www.micronixusa.com
Rev: 3.02
Status Byte
During Motion
Real-time
Program
Global
Set
Read
Set
Read
Set
Read
Set
Read
Command
Description:
This command is used to check the status register for a specified
axis.
Returns:
A read operation will return an integer from 0 to 255 describing the
status of the axis. The byte must be decoded in binary to determine
the value of each bit.
Bit
7
6
5
4
3
2
1
0
Name
ERR
ACC CNST
DEC
STP
PGM PLS
NLS
Note: Bits 2, 1 and 0 are unused
Bit 7:
1
–
One or more errors have occurred. Use ERR? Or CER to
clear.
0
–
No Errors have occurred.
Bit 6:
1
–
Currently in Acceleration phase of motion.
0
–
Not in Acceleration phase of motion.
Bit 5:
1
–
Currently in Constant Velocity phase of motion.
0
–
Not in Constant Velocity phase of motion.
Bit 4:
1
–
Currently in Deceleration phase of motion.
0
–
Not in Deceleration phase of motion.
Bit 3:
1
–
Stage has stopped. (In Closed Loop Stage, is in the deadband)
0
–
Stage is moving. (In Closed Loop, Stage is out of deadband)
Bit 2: 1
–
A Program is currently running
0
–
No program is running
Bit 1: 1
–
Positive Switch is Activated
0
–
Positive Switch is not Activated
Bit 0: 1
–
Negative Switch is Activated
0
–
Negative Switch is not Activated
Syntax:
nSTA?
–
Standard syntax
Error(s):
STA
?
–
Read operation with missing axis number [27]
nSTA
–
Missing read operation parameter [28]
Parameter
Description:
n[int]
–
Axis number
?
–
Read status register
Parameter
Range:
n
–
1 to 99
Related Commands: None
Example:
6STA?
|
Axis 6, Read status register
Summary of Contents for MMC-200 Series
Page 1: ......