MD?
Motion done status query.
Description
xxMD?
Syntax
This command is used to query the motion status for an axis.
Remarks
Note that since this product implements a multiplexed driver architecture, it is recommended
that each axis be checked for its motion done status to definitively determine if it is OK to issue
a move command to that motor. That is because, for example, although motor 1 move is done
(1MD?=0) it still would not be available for a new move command if, say, motor 2 is moving
(2MD?=1).
The MD command can be used to monitor motion done status for the following commands: PR,
PA, MV, OR, MT, MZ
Argument
xx
Response
Value
2MD?
Example
1
TP?, PA, PR, OR, MZ, MT, MV
See Also
Value
Description
1 to 2
Axis number
Value
Description
0
Motion is in progress
1
Motion is not in progress
(get motor 2 motion status)
(returns value of 1 which means motor 2 is not moving)
93