47
11.2.
General information
The remote commands must be closed by a <LF>. Just before the <LF> the
check sum of the complete string must be transmitted.
Calculating : check sum = 100
H
- (sum of all ASCII codes in one byte)
Example:
NU,180;]<LF>
command
comma
end of
command
parameter
checksum
linefeed
ASCII Hex
N
4E
H
U
55
H
,
2C
H
1
31
H
8
38
H
0
30
H
;
3B
H
in Byte
100
H
- Byte
Check-Sum
SUMME
1A3
H
=>
A3
H
=>
100
H
-A3
H
=5D
H
=>
]
Remark: sum of all ASCII codes in one byte:
Only the last 2 Digits of
the sum of all ASCII
codes in HEX will be
considered.
- The messages coming back from the CWS 500A are sent without check
sum. At the end of the message there is also a <LF>.