MM4006
MS R e a d motor status
Usage
■
IMM
■
PGM
■
MIP
Syntax x x M S
Parameters
Description x x
[ i n t ] A x i s number.
Range x x
—
0 to 8.
Units
x x
N
o
n
e
.
Defaults
x x M i s s i n g : 0 .
Out of range: E r r o r B.
Floating point: E r r o r A.
Description
T h i s command reads the motor status byte of the specified axis. If the axis
number (xx) is missing or set to 0, the controller returns the motor status
bytes for all four axes, separated by a comma.
Each b i t of the status byte represents a particular axis parameter, as
described in the following table:
Bit # F u n c t i o n
Meaning for
0
1
0 A x i s in Motion
N
O
Y
E
S
Motor power
O
N
O
F
F
Motion direction N e g a t i v e P o s i t i v e
Right (+) travel limit
N
o
t
tripped T r i p p e d
Left (-) travel limit
N
o
t
tripped T r i p p e d
Mechanical zero signal
L
o
w
H i g h
Not used
—
D e f a u l t
7 N o t used
Default
The byte returned is in the form of an ASCII character. Converting the ASCII
code to binary will give us the status bits values.
NOTE
For a complete ASCII to binary conversion table see Appendix F.
Returns x x M S a a or xx1MSaa1, xx2MSaa2, xx3MSaa3, xx4MSaa4
X X , X X I , X X 2 , x x 3 , x x 4
— A x i s number.
aa, aal, aa2, aa3, aa4
- A S C I I character representing the status byte.
Errors
A - U n k n o w n message code.
B — I n c o r r e c t axis number.
S — Communication time-out.
Rel. Commands T S
TX
— R e a d controller status.
- R e a d controller activity.
Example 2 M S I
R e a d motor status byte for axis #2.
2MSe I Controller returns character e, or ASCII character 101; converting 101
to binary we get 01100101 which has the following meaning: axis in
motion, motor power ON, motion direction positive, n o limits
tripped and mechanical zero high.
c v
EDI 10181En 1020 — 03/03
3.86
M
l
e
v
v
p
o
r
t
.
Summary of Contents for MM4006
Page 9: ...F D110181En1020 03 03 b J e w p o r t...
Page 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Page 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Page 42: ...Section 2 Local Mode C Newport...
Page 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Page 96: ...Section 3 Remote Mode C klevvport...
Page 97: ...Newport...
Page 310: ...Section 4 Motion Control Tutorial Ilevvport...
Page 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Page 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Page 334: ...Section 5 Trajectory Functions Tutorial Newport...
Page 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Page 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Page 346: ...Section 6 Feature Descriptions Tutorial Newport...
Page 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Page 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Page 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Page 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Page 368: ...Section 8 Appendices INevvport...
Page 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Page 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Page 410: ...A7 h7s z c 7...