CHECKSUM CALCULATION
The one-byte checksum is calculated by adding the Hex values of all ASCII characters between the start of
message character ‘>’ or acknowledge character ‘A’ and the checksum character ’ss.’ Overflows from the
addition are ignored.
Example:
Request
To request engineering units from a SonoTracker Series controller, the command is:
>aa2ssr
If the controller address is ‘3’, the command is:
>032ssr
Calculating the checksum ‘ss’ as the sum of the Hex values of all characters between ‘>’ and ’ss’:
032 ASCII = 30 Hex + 33 Hex + 32 hex = 95 Hex
‘0’
‘3’
‘2’
Therefore, the ASCII string transmitted to the controller is:
> 0 3 2 9 5 CR
3E 30 33 32 39 35 0D Hex
Response
The response to a request for engineering units is:
Adddddddssr
If the level is 63.84 feet (transmitted without decimal points as 6384) and there is no echo loss, the
response is:
A0006384ssr
Calculating the checksum ‘ss’ as the sum of the Hex values of all characters between ‘A’ and ‘ss’:
0006384 ASCII =
30 Hex+ 30 Hex+ 30 Hex+ 36 Hex+ 33 Hex+ 38 Hex+ 34 Hex = 165 Hex
‘0’ ‘0’ ‘0’ ‘6’ ‘3’ ‘8’ ‘4’
Ignoring the overflow, the checksum is 65 Hex. Therefore, the ASCII string transmitted back to the
master is:
A 0 0 0 6 3 8 4 6 5 CR
41
30 30 30 36 33 38 34 36 35 0D Hex
79
www.bindicator.com
SON280020 Rev. C
Содержание SonoTracker Ultrasonic Liquid Level
Страница 1: ...IOM SON280020 Rev C SonoTracker Ultrasonic Liquid Level Installation Operation Manual...
Страница 2: ......
Страница 14: ...10 www bindicator com SON280020 Rev C...
Страница 15: ...11 www bindicator com SON280020 Rev C...
Страница 16: ...12 www bindicator com SON280020 Rev C...
Страница 17: ...13 www bindicator com SON280020 Rev C...
Страница 18: ...14 www bindicator com SON280020 Rev C...
Страница 19: ...15 www bindicator com SON280020 Rev C...
Страница 20: ...16 www bindicator com SON280020 Rev C...
Страница 21: ...venture M E U R E A S T N E M 17 www bindicator com SON280020 Rev C...
Страница 24: ...20 www bindicator com SON280020 Rev C...
Страница 26: ...22 www bindicator com SON280020 Rev C...
Страница 27: ...23 www bindicator com SON280020 Rev C...
Страница 28: ...24 www bindicator com SON280020 Rev C...
Страница 29: ...25 www bindicator com SON280020 Rev C...
Страница 30: ...26 www bindicator com SON280020 Rev C...
Страница 31: ...27 www bindicator com SON280020 Rev C...
Страница 32: ...28 www bindicator com SON280020 Rev C...
Страница 33: ...29 www bindicator com SON280020 Rev C...
Страница 34: ...30 www bindicator com SON280020 Rev C...
Страница 42: ...Figure 10b 30 Relay Set Point Figure 10c 50 Serial PLC 38 www bindicator com SON280020 Rev C...
Страница 43: ...Figure 10d 70 Range Filters Figure 10e 90 Service Menu 39 www bindicator com SON280020 Rev C...
Страница 93: ...89 www bindicator com SON280020 Rev C...
Страница 94: ...90 www bindicator com SON280020 Rev C...
Страница 95: ...91 www bindicator com SON280020 Rev C...