Error Codes; Checksum; Time-Out Processing - Mitsubishi Electric MELSERVO-J3 Series Manual

Hide thumbs Also See for MELSERVO-J3 Series:
Table of Contents

Advertisement

Part 5: Common Reference Material

4.3.3 Error codes

Error codes are used in the following cases and an error code of single-code length is transmitted.
Receiving 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
Servo: normal
[A]
[B]
[C]
[D]
[E]
[F]

4.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).
Station No.
STX
or
SOH
Checksum range

4.3.5 Time-out processing

The master station transmits EOT when the slave station does not start return processing (STX is not
received) 300 [ms] after the master station has ended communication processing. 100 ms 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)
Controller side
(master station)
Servo side
(slave station)
Error name
Servo: alarm
[a]
Normal
[b]
Parity error
[c]
Checksum error
[d]
Character error
[e]
Command error
[f]
Data No. error
ETX
Check
100 ms
300 ms
300 ms
Data transmitted was processed normally.
Parity error occurred in the transmitted
data.
Checksum error occurred in the
transmitted data.
The transmitted character is out of
specifications.
The transmitted command is out of
specifications.
The transmitted data No. is out of
specifications.
[0] [A] [1]
[2]
[5]
02H 30H 41H 31H 32H 35H 46H 03H
30H + 41H + 31H + 32H + 35H + 46H + 03H
= 152H
Lower 2 digits 52 is sent after conversion into ASCII code [5] [2].
100 ms
300 ms
5 - 64
Explanation
[F]
[5] [2]
100 ms
*Time-out
300 ms
Remark
Positive
response
Negative
response

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents