15. ABSOLUTE POSITION DETECTION SYSTEM

(c) Checksum

The check sum is the code which is used by the programmable controller to check for errors in the received ABS data. The 6-bit check sum is transmitted following the 32-bit ABS data.

At the programmable controller, calculate the sum of the received ABS data using the ladder program and compare it with the check sum code sent from the servo.

The method of calculating the check sum is shown. Every time the programmable controller receives 2 bits of ABS data, it adds the data to obtain the sum of the received data. The check sum is 6-bit data.

Negative data is available for the FX-1PG and unavailable for the A1SD71.

Example: ABS data: 10 (FFFFFFF6H)

10b

01b

11b

11b

11b

11b

11b

11b

11b

11b

11b

11b

11b

11b

11b

11b

101101 b

<Appendix>

Decimal10

Hexadecimal

FFFF FFF6

 

 

 

 

 

Binary

1111 1111 1111

0110

When the binary data of each 2bits of the ABS data is added up, "10 1101b " is obtained.

Therefore, the check sum of " 10" (ABS data) is "2Db"

15 - 11

Page 262
Image 262
Mitsubishi Electronics MR-J2S- A instruction manual Therefore, the check sum of 10 ABS data is 2Db, Ffff FFF6