Bronkhorst RS232 interface User Manual

Page 15

Advertising
background image

BRONKHORST

®

 

Page 15   

 

 

 

 

RS232 interface   

 

 

 

9.17.027 

 

3.4.2 Parameter types 

 

Parameter types

Type 

Id 

Bytes

Bits

Range

Character 

00h 

00000000

0…255

Integer 

20h 

00100000

0…65535

Float 

40h 

01000000

+‐1.18e‐38...+‐3.39e+38

Long 

40h 

01000000

4 bytes 0... 4294967296

String 

60h 

01100000

length needs to be specified

 

Number of bytes per parameter type

Value 1 

Value 2 

Value 3

Value 4

Value 5

Value 6 

Byte 

 

 

Integer 

 

 

Float 

 

 

Long 

 

 

String length  String 

 

 
 
The messages make use of bytes which are composed of data from several bytes. 
An example of such a composed byte is shown below. 
 
 
 
 
 
 
 
 
 

3.5

C

HAINING

 

Chaining  can  be  used  to  send  or  request  more  than  one  parameter  per  message.  When  the  parameters  are  all 
members  of  the  same  process,  they  can  be  chained  at  parameter  level.  When  the  parameters  are  members  of 
different processes, they can be chained at process level. A combination is also possible. For chaining at parameter 
level the first bit of the parameter number should be set if there is following another parameter at the same process. 
For chaining at process level the first bit of the process number should be set if there is another process following. 

c  t  t  p  p  p  p p

Parameter number (FBnr. see tables) 

Parameter type 

Start communication

Advertising