GA130001441_002_C0
– 09/2016
41
8.2
Communication
8.2.1
Protocol
The following log is used for communication:
8 data bits
no parity bit
1 stop bit
The baud rate is selectable.
9600
19200
38400
No hardware handshake is used. The messages are transferred by way of ASCII strings. A
comma (0x2C) in the string is taken as a separating character. Space characters (0x20) or
tabs (0x09) may be contained in the string. As to the communication, the computer is always
the master. The input buffer of the computer must have a capacity of at least 50 bytes.
8.2.2
General String Structure
Input of
Address
is necessary for RS485 only
Output of
Address
for RS485 only
Write command
S:
Address Command <,> [Parameter] <CR>
E:
OK
Reading command
S:
Address Command <CR>
E:
Address <,> <TAB> [Parameter] <CR>
Error code
E:
? <TAB> X
Incorrect command
E:
? <TAB> P <,> <TAB> z
Incorrect parameter ,
Parameter number of the
transmitted command
E:
? <TAB> C <,> <TAB> x
Channel x on device not available
E:
? <TAB> S <,> <TAB> x
No sensor on Channel x
connected
E:
? <TAB> K
No divider in the command
available