Bronkhorst RS232 interface User Manual
Page 18
BRONKHORST
®
Page 18
RS232 interface
9.17.027
Answer to the request
Nr
Byte
Layout
Description
0
:
start character
1
Length
Message length
2
Node
Node address
3
02
Command write
4*
Process
cppppppp
c
Process chained
p Process number
5*
Parameter
cttnnnnn
c Parameter chained
t Parameter type
n Parameter index 0…31
6
Value 1
Value for all types. For ‘strings’ this field contains the string length.
7
Value 2
Value for type ‘integer’, ‘float’ or ‘long’.
8
Value 3
Value for type ‘float’ or ‘long’.
9
Value 4
Value for type ‘float’ or ‘long’.
X
Value x
More value fields follow for type ‘string’ depending on string length. If given
string length is zero, the final field should also contain a zero.
X+1
\r
Carriage Return
X+2
\n
Line Feed
* The requested module copies these values from the request message directly into the answer
message.