14. COMMUNICATION FUNCTIONS

14.5 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 operation

Data transmitted was processed properly.

Positive response

[B]

[b]

Parity error

Parity error occurred in the transmitted data.

 

[C]

[c]

Checksum error

Checksum error occurred in the transmitted data.

 

[D]

[d]

Character error

Character not existing in the specifications was

 

transmitted.

 

 

 

 

Negative response

[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.

 

 

 

 

 

14.6 Checksum

Checksum range

Station number

or

group

STX or

SOH

ETX Check

Checksum range

The check sum is a JIS8-coded hexadecimal representing the lower two digits of the sum of JIS8-coded hexadecimal numbers up to ETX, with the exception of the first control code (STX or S0H).

(Example)

S

 

 

 

 

 

 

E

T

[0]

[A]

[1]

[2]

[5]

[F]

T

X

 

 

 

 

 

 

X

 

 

 

 

 

 

 

 

[5] [2]

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].

14 - 8

Page 231
Image 231
Mitsubishi Electronics MR-J2S- A instruction manual Error codes, Checksum range, Soh