Bronkhorst RS232 interface User Manual

Page 18

Advertising
background image

BRONKHORST

®

 

Page 18   

 

 

 

 

RS232 interface   

 

 

 

9.17.027 

Answer to the request

Nr 

Byte 

Layout 

Description

start character

Length 

Message length

Node 

Node address

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

Value 1 

Value for all types. For ‘strings’ this field contains the string length.

Value 2 

Value for type ‘integer’, ‘float’ or ‘long’.

Value 3 

Value for type ‘float’ or ‘long’.

Value 4 

Value for type ‘float’ or ‘long’.

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. 

 

Advertising