5.2. RS232 communication protocol
For the RS232 communication, the following port settings is recommeded:
Baud rate (Bits per second): 38400
Date bits: 8
Stop bits: 1
Parity: None
Flow control: None
The FS4001 has three options in communication:
A. Data transmission mode: This allows the user to read the data continuously from the product:
1) Send 0x9d to the sensor and receive 0x9d from the sensor;
2) Send 0x56 to the sensor and receive 0x56 from the sensor;
The product will relay the following data continuously:
IN CUSTOMER MODE......\n\r
In this case, the data from the sensor will be sent via RS232 in an interval of 200 ms with the
following data format continuously:
F= ffffffff\n;\n The value corresponds to an instant flow rate of fffff.fff sccm.
B. Data transmission stop mode:
1) Send 0x9d to the sensor and receive 0x9d from the sensor;
2) Send 0x00 to the sensor and receive 0x00 from the sensor;
The time interval between two bytes sent to the sensor must be longer than 5 ms. The
sensor will then relay the following data:
IN USER MODE......\n\r
In this case, data transmission will be stopped via RS232 from the sensor.
D. Read single instant flow rate:
1) Send 0x9d to the sensor and receive 0x9d from the sensor;
2) Send 0x55 to the sensor and receive 0x55 from the sensor;