
Appendix F
Example 2
This example explains how to calculate the checksum value of a Read
High alarm limit command string:
Case 1. (If the Checksum feature is
disabled
)
Command:
$07RH(cr)
Response:
!07+2.0500(cr) when the command is valid.
Case 2. (If the Checksum feature is
enabled
)
Command:
$07RH25(cr)
Response:
!07+2.0500D8(cr)
where:
25 represents the checksum of this command, and
D8 represents the checksum of the response.
The checksum of the command string is derived as shown below:
25h = (24h+ 30h + 37h + 52h + 48h) MOD 100h
The hexadecimal ASCII codes for $, 0, 7, R, H are 24h, 30h, 37h, 52h
and 48h respectively. The sum of these ASCII codes is 125h, and the
result equals to 25h after modulus-256(100h) execution.
Appendix F How to use the Checksum feature F-
3
Summary of Contents for ADAM 4100
Page 1: ...ADAM 4100 Industrial Grade Data Acquisition Modules User s Manual ...
Page 5: ...Introduction 1 ...
Page 9: ...Installation Guideline 2 ...
Page 24: ...I O Modules 3 ...
Page 25: ......
Page 37: ...Chapter 3 I O Modules 3 13 I O Modules Figure 3 10 Digital Output used with SSR ADAM 4150 ...
Page 40: ...Command Set 4 ...
Page 41: ......
Page 51: ......
Page 105: ...Calibration 5 ...
Page 109: ...5 4 ADAM 4100 Series User s Manual ...
Page 110: ...Utility Software A ...
Page 111: ......
Page 121: ...ADAM 4100 I O Modbus Mapping Table B ...
Page 131: ...Technical Diagrams C ...
Page 134: ...C 4 ADAM 4100 Series User s Manual Appendix C Figure C 3 DIN Rail Mounting ...
Page 136: ...C 6 ADAM 4100 Series User s Manual Appendix C Figure C 5 Panel Mounting ...
Page 138: ...Data Formats and I O Ranges D ...
Page 142: ...RS 485 Network E ...
Page 143: ......
Page 150: ...How to use the Checksum feature F ...
Page 154: ...Changing Configuration to Modbus Protocol G ...