35
6-3 Command to read out of motor status
<ch>: 0 ~ F(Hexadecimal) for channel.
Command STS?
Read motor status which is displayed on LCD.
Reply
<RL><0123>/<DIR>/<LS>/<MT>/<POS>/<POS>/<POS>/<POS>
<RL>
R/ REMOTE control mode
L/ LOCAL control mode
<0123>
Show displayed motor CH No. at 1 digit hex. The order of this
data is applied on <DIR>, <LS>, <MT>, and <POS>.
<DIR>
P/ Moving for CW direction
S/ Stopping
N/ Moving for CCW direction
<LS>
Hold off and LS status (hex)
When these signals are activating, its bits stands 1.
b3: HOLD off
b2: HP LS
b1: CCW LS
b0: CW LS
<MT>
Indicate current motor status by 2 digit hex.
b7:ESEND :Emergency stop command executed.
b6:SSEND :Normal stop command executed.
b5:LSEND :Stopped by LS signal.
b4:COMERR : Command error
b3:ACCN :Decelerating
b2:ACCP :Accelerating
b1:DRIVE :Motor is moving.
b0:BUSY :Driving or dealing with command.
<POS>
Displaying current position with signed 10 digit decimal.
Digit is increased if data is more than 10 million.
Example
STS? Reply:
R1234/PSSN/0A80/0700000000000000/
-0000001239/-0000005009
Remarks
Command STS<ch>?
Read the specified CH motor data. Data format is same
of ”STS” command.
Reply
<RL><CH><DIR><LS><MT><POS>
Data format is same as “STS?” except <CH>.
<CH>
Shows read out CH on hex.
Example
STS1? Reply:
0000002784
Remarks