Data format
6.1
For transmission of block length and checksum, the hexadecimal format is used,
whilst set-points and process values are transmitted in BCD format. For
transmission, hexadecimal values are converted into ASCII. For simplification,
values above 9 (A-F) are coded as 3Ah - 3Fh instead of 41h-46h (ASCII A-F).
Protocol structure
6.2
1
Address
Byte 1:
Byte 2-4:
Byte 5:
Byte 6-n:
Byte n+1,n+2:
g
Hexadecimal numbers are coded in form xxh, e.g. 41h means decimal 65 or 'A'
in ASCII.
Operating note KS 50-1 TCont
2
3
4
Length
Device address of instruments 1 – 32, default 1
• Master → slave (range: B1h...D1h, B0h: reserved)
• Slave → master (range: 31h...51h, 30h: reserved)
Block length; each message contains 3 bytes, which include
(ASCII-coded) the binary number of bytes of the overall message
(including checksum bytes). When receiving, the correct number of
bytes is checked
(range: 30h,30h,37h ... 3Fh,3Fh,3Fh)
Identification marks the message type,(range: 41h, 7Fh), see below
Information bytes, see below
Checksum; every message is completed by 2 checksum bytes, which
are also counted in the block length bytes. The checksum bytes are the
(ASCII-coded) 8 bit wide sum of all bytes of the message including
block length bytes, checksum bytes not included.
(range: 30h,30h...3Fh,3Fh)
5
6
...
Message
Identificaton
15
Communication protocol
n
n+1
n+2
Checksum
Data format