8. For experienced users: Serial interface RS 232/RS 422/RS 485
transmission protocols
General
Data bits:
8
Parity:
even, odd, mark, space
Stop bits:
1, 2
Protocol:
SOH Unit address STX Message ETX BCC
Unit address:
‘0’’0’..’9‘’9’ presettable in set up.
Unit address:
‘A‘’A’ is the broadcast address (always functions independently of
the unit address).
BCC:
Exclusive Or link of all Bytes in the message inclusively ETX.
On incorrect BCC the unit answers with NAK and returns to its
basic mode “Wait for SOH”.
On all other transmission faults (e.g. parity error, protocol error, etc.) the unit returns
to basic mode “Wait for SOH”.
The receive time-out time between two characters is 1 second.
The unit only operates in slave mode, this means it only transmits data after a
command from the master. The slave answers with its own unit address.
The character set (expanded ASCII character set of an IBM PC without graphic
characters):
‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,
‘A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’,’M’,’N’,’O’,’P’,
‘Q’,’R’,’S’,’T’,’U’,’V’,’W’,’X’,’Y’,’Z’,
‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,
‘q’,’r’,’s’,’t’,’u’,’v’,’w’,’x’,’y’,’z’,
‘Ç’,’ü’,’é’,’â’,’ä’,’à’,’å’,’ç’,’ê’,’ë’,’è’,’ï’,’î’,’ì’,’Ä’,’Å’,
‘É’,’æ’,’Æ’,’ô’,’ö’,’ò’,’û’,’ù’,’ÿ’,’Ö’,’Ü’,’¢’,’á’,’í’,’ó’,’ú’,
‘ñ’,’Ñ’,’ß’,
‘%’,’/’,’*’,’+’,’-’,’,’,’.’,’(‘,’)’,’@’,’°’,’²’,’‘‘
Special character 252: sub text 2
Special character 254: high text 3
All control characters between 1h (SOH) and 15h (NAK as well as FFh in the data
block are transmitted in two Bytes. Here the first Byte FFh and the second Byte 80h
are ored with he Byte to be transmitted. Is the second Byte FFh, the Byte to be
transmitted was FFh.
Example:
Byte to be transmitted: 12h
Transmitted is: FFh 92h
8.1 Setting up
commands
Transmission sequence
To unit:
SOH Unit address STX Command ETX BCC
From unit: SOH Unit address STX Answer ETX BCC
Commands and answers are transmitted between STX and ETX.
8. For experienced users: Serial interface RS 232/RS 422/RS 485 transmission protocols
104