15 - 7
15. COMMUNICATION FUNCTION
15.3.3 Error codes
Error codes are used in the following cases and an error code of single-code length is transmitted.
On receipt of data from the master station, the slave station sends the error code corresponding to that data to
the master station.
The error code sent in upper case indicates that the servo is normal and the one in lower case indicates that an
alarm occurred.
Error code
Error name
Description
Remarks
Servo normal
Servo alarm
[A]
[a]
Normal processing
Data transmitted was processed properly.
Positive response
[B]
[b]
Parity error
Parity error occurred in the transmitted data.
Negative response
[C]
[c]
Checksum error
Checksum error occurred in the transmitted data.
[D] [d]
Character
error
Character not existing in the specifications was
transmitted.
[E] [e]
Command
error
Command not existing in the specifications was
transmitted.
[F] [f]
Data
No.
error
Data No. not existing in the specifications was
transmitted.
15.3.4 Checksum
The checksum is an ASCII-coded hexadecimal representing the lower two digits of the sum of ASCII-coded
hexadecimal numbers up to ETX, with the exception of the first control code (STX or SOH).
Check
Checksum range
ETX
STX or
SOH
Station number
or
group
S
T
X
02H
[0]
30H
[A]
41H
[1]
31H
[2]
32H
[5]
35H
[F]
46H
E
T
X
[5] [2]
03H
30H 41H 31H 32H 35H 46H 03H
152H
(Example)
Lower 2 digits 52 is sent after conversion into ASCII code [5][2].
15.3.5 Time-out processing
The master station transmits EOT when the slave station does not start reply processing (STX is not received)
300ms after the master station has ended communication processing. 100ms after that, the master station
retransmits the message. Time-out occurs if the slave station does not answer after the master station has
performed the above communication processing three times. (Communication error)
E
O
T
300ms
100ms
E
O
T
300ms
100ms
E
O
T
300ms
100ms
300ms
*Time-out
Controller
(Master station)
Servo
(Slave station)
Me
ss
ag
e
Me
ss
ag
e
Me
ss
ag
e
Me
ss
ag
e
Содержание Melservo-J3 Series MR-J3-B
Страница 19: ...10 MEMO ...
Страница 55: ...1 36 1 FUNCTIONS AND CONFIGURATION MEMO ...
Страница 61: ...2 6 2 INSTALLATION MEMO ...
Страница 179: ...4 58 4 SIGNALS AND WIRING MEMO ...
Страница 241: ...5 62 5 OPERATION MEMO ...
Страница 357: ...10 16 10 SPECIAL ADJUSTMENT FUNCTIONS MEMO ...
Страница 385: ...11 28 11 TROUBLESHOOTING MEMO ...
Страница 397: ...12 12 12 OUTLINE DRAWINGS MEMO ...
Страница 755: ...17 70 17 SPEED CONTROL OPERATION MEMO ...
Страница 793: ...App 38 APPENDIX MEMO ...
Страница 799: ...MEMO ...