10 e – Bronkhorst RS232 interface User Manual
Page 20
BRONKHORST
®
Page 20
RS232 interface
9.17.027
Communication can be closed and interface can be disabled from FLOW‐BUS token‐ring traffic by sending the
command below via the RS232 to the interface.
Stop communication RS232 interface
Send
Comment
:050101001101\r\n
close communication instruction for interface module there will be no answer (because
communication stops) second byte is actual node address for interface (here: 01)
3.10 E
XAMPLES
3.10.1 Sending setpoint
Send setpoint = 50% to node 3 process 1. Setpoint values should be given in a range from 0 to 32000 so for this
example 16000 should be send.
Send setpoint = 50% to node 3 process 1 parameter 1
Nr Byte
Layout
Description
Description per block
0
:
Start character
Start
1
06
Length 6
2
03
Node 3
3
01
Command write with status response
4
01
cppppppp
00000001
c 00 Process not chained
Process 1
p
01 Process 1
5
21
cttppppp
00100001
c 00 Parameter not chained
Parameter number 1
Setpoint
t 20 Parameter type ‘integer’
p
01 Parameter number (FBnr.) 1
6
3E
Setpoint 16000 = 3E80h
7
80
8
\r
Carriage Return
End
9
\n
Line Feed
Total String
:06030101213E80\r\n
Answer from node 3
Nr
Byte Description
Description per block
0
:
Start character
Start
1
04
Fixed message length 4.
2
03
Node address 03
3
00
Command status
4
00
Status ok.
Status answer
5
05
Status ok, value points to end of send message.
6
\r
Carriage Return
End
7
\n
Line Feed
Total String
:0403000005\r\n
Position of nr 5 is as follows.
String
:
06
03
01
01
21
3E
80
\r\n
Position
1
2
3
4
5
6