Summary of Contents for TSI Instruments 5200 Series
Page 1
GENERAL PURPOSE THERMAL MASS FLOW METERS SERIES 5200/5300 ® ASCII COMMAND SET P/N 6011697, REVISION A April 2019...
Page 3
THERMAL MASS FLOW METERS SERIES 5200/5300 ® ASCII COMMAND SET P/N 6011697, REVISION A April 2019 U.S. & INTERNATIONAL TSI Instruments Ltd. (UK) Sales and Customer Service: Sales and Customer Service: (800) 680-1220 / +1(651) 490-2860 +44 (0) 1494 459200 Fax: +1(651) 490-3824...
Page 5
FDA 510k and in no situation should they be utilized for human respiration measurements. I n f o r m a t i o n Refer to the 5300 or 5200 Series Operations Manuals for Warranty, Liability, and Service information.
CONTENTS Chapter 1 FLOW METER IDENTIFICATION ............ 1 Meter Front ..................1 Meter Back ..................1 Chapter 2 CONNECTING COMPUTER TO FLOW METER......3 Direct USB NDIS Interface ............... 3 Steps to Establish Communication over NDIS: ......3 RS232 Communication Utilizing a USB A to RS232 Adapter ..7 Chapter 3 ASCII PROTOCOL .................
Chapter 1 Flow Meter Identification Meter Front Meter Back Figure 1-1. Series 5300 Mass Flow Meter 5. USB-C Power Communications 1. Power Button (On/Off) Port 2. Color Touchscreen Display* 6. USB-A Ports (2) 7. Low Differential Ports 3. Interchangeable Tube Ends (5 x 10 5 x 20 5 x 30 models only)
Page 10
(This page intentionally left blank) Chapter 1...
Chapter 2 Connecting Computer to Flow Meter The 5000 Series can establish communication with a computer over either a direct USB link utilizing a NDIS driver or over RS232 using a USB to RS232 converter. Direct USB NDIS Interface Using the direct link USB interface is the preferred method to establish communication.
Page 12
The driver function can be confirmed by looking into the computer’s device manager. The instrument will show up as a Remote NDIS device under Network Adapters (see screen capture below). The next step to test the communication is to open up a terminal program and establish a TCP/IP winsock connection.
Page 13
Now, commands typed into the terminal will be relayed to the instrument and responses presented in the terminal screen. If the connection is working, the meter will respond to a question mark command “?” with “OK”. Connecting Computer to Flow Meter...
Page 14
The graphic below shows the full system for connecting the instrument to the computer over NDIS. Chapter 2...
RS232 Communication Utilizing a USB A to RS232 Adapter Another method for communicating to the GP Flow instrument is to utilize a USB to RS232 adapter and then communicate to the computer using RS232 protocols. The first step is to connect a USB to RS232 converter to the GP Flow instrument.
Page 16
Once the RS232 connection has been created between the GP Flow instrument and the computer, that connection can be tested using a Terminal program. The RS232 Settings to be entered into the terminal program are shown below. RS232 Settings: Baud Rate ..115,200 k Data Bits ....
Page 17
Note that the RS232 baud rate is factory set at 115,200. This rate can be changed to 38,400 to be backwards compatible with the 4000 Series instrument. See the baud rate commands in the manual for steps in changing the baud rate. The graphic below shows the full system for connecting the instrument to the computer over RS232.
Page 18
(This page intentionally left blank) Chapter 2...
Chapter 3 ASCII Protocol Command Format The serial interface commands in this manual are designated by the bold font (ex. DmFTPnnnn). The commands are case-sensitive. Upper case letters are used throughout the command set except as designated. The TSI Series 5XXX use ASCII characters as the input command set.
Page 20
(This page intentionally left blank) Chapter 3...
Chapter 4 Command Set Command Set Summary Commands for Flow Rate, Temperature, Pressure, and Volume Backward Compatible with Command Description 4000/4100 Series Returns flow rate, DmFTPnnnn temperature, and absolute pressure data at an interval equal to the sample rate. DmFTPHLInnnn Returns flow rate, temperature, absolute pressure, humidity, low...
Backward Compatible with Command Description 4000/4100 Series Sets the gas calibration to be used. SGMmm Selects the air/oxygen mixture concentration. Selects either standard or volumetric units of flow. SSTnn.nn Sets user standard temperature. SSPnnn.nn Sets user standard pressure. Sets output flow units to SDU2 Cubic Feet per Minute.
Backward Compatible with Command Description 4000/4100 Series HREV Returns the internal hardware revision of the flow meter. DATE Returns the date of the last calibration. Returns “OK” to tell if the flow meter is communicating. SUSTRxxxxxxxx Set user string. RUSTR Read user string.
Command Set Detailed DmFTPnnnn Backwards compatible with Series 4000 / 4100 flow meters. Returns Flow, Temperature, and Pressure data at an interval equal to the sample rate. The data is returned in the order of Flow, Temperature, and Pressure. All three measurements may be requested or a combination of the three as indicated below.
Page 25
The data can be returned in either ASCII or binary. If ASCII mode is chosen, the acknowledge sequence is “OK” <CR><LF>. If the command generated an error, an error code “ERRn” <CR><LF> will be returned where n represents an error code 0 through 9.
Page 26
SG1 Use the oxygen gas calibration. Flow meter returns OK <CR><LF> SBTF+001.00 Begin sample by triggering on increasing flow at 1.0 Std. L/min. Flow meter returns OK <CR><LF> DAFxx0005 Request 5 samples of flow in ASCII format. Flow meter returns OK <CR><LF> Flow meter returns flow data as follows.
DmFTPHLInnnn Returns Flow, Temperature, Absolute Pressure, Humidity, Low Pressure, and Totalizer data at an interval equal to the sample rate. The data is returned in the order of Flow, Temperature, Absolute Pressure, Humidity, Low Pressure, and Totalizer. All six measurements may be requested or a combination of the three as indicated below.
Vmnnnn Backwards compatible with Series 4000 / 4100 flow meters. Returns a volume measurement by integrating flow rate over time. Denotes volume measurement Denotes data format: A = ASCII, B = binary nnnn Denotes maximum number of flow samples to integrate, range is 1 to 9999 (“0500”...
Page 29
(0 to 65535) that has been multiplied by 100 (Series 4000) or by 1,000 (Series 4100). Therefore, you must divide the integer that is returned by 100 or 1000 to get the correct result. The termination sequence for binary is 0xff 0xff. If no begin-trigger is set, the data acquisition begins immediately upon processing of the command.
SBTxnnn.nn (Series 5300) SBTxnn.nnn (Series 5200) Backwards compatible with Series 4000 / 4100 flow meters. Sets the begin-trigger level for starting the data acquisition. Denotes set begin-trigger. Denotes trigger source: F = flow (Std. L/min), P = pressure (kPa), L = low pressure (cmH ...
SETxnnn.nn (Series 5300) SETxnn.nnn (Series 5200) Backwards compatible with Series 4000 / 4100 flow meters Sets the end-trigger level for stopping data acquisition. Denotes set end-trigger. Denotes trigger source: F = flow, P = pressure. First sign denotes positive or negative slope. Second sign denotes positive or negative trigger level.
SSRnnnn Backwards compatible with Series 4000 / 4100 flow meters Sets the sample rate for data returned through the serial port and also controls the update rate of the linearized analog flow output. Denotes set sample rate. Denotes number of milliseconds per sample, range nnnn 1 to 1000.
Models 52xx Only Denotes set gas calibration. Denotes the gas calibration desired; range is 0, 1, 2, 6 0 = Air, 1 = 100% O , 2 = 100% N O, 6 = 100% N The display will indicate the current gas calibration, either air, O or N NOTE: Only select gas calibration for gases in which the...
The following equation is based on applications of the ideal gas law. Volumetric Flow Standard Flow Choose U to select the user standard temperature (used in place of 21.11°C) and user pressure (used in place of 101.3 kPa). Choose UT (User Temperature) to select the standard temperature and the pressure used is actual pressure.
SDU2 Backwards compatible with Series 4000 / 4100 flow meters. Outputs flow in Cubic Feet per Minute. SSU2 Denotes set flow units to Cubic Feet per Minute. This will control the units of measure for the gas reading over the communications port.
SCDx Turn on/off flow direction sensor Denotes set Flow direction command. Denotes to turn on or off Humidity compensation. x= 0 to turn off x= 1 to turn on This will turn the flow direction sensor on/off. If off then flow will always read positive independent of direction.
Partially backwards compatible with Series 4000 / 4100 flow meters. Reads the current values for sample rate, gas calibration, standard / volumetric flow units, trigger values, analog output scaling and display update rate. Denotes read current values. xx=SR Denotes sample rate (returns 0 to 1000). xx=G Denotes gas calibration (returns 0 to 6 for gas calibration, returns M21 to M99 for air/O...
DEFAULT Backwards compatible with Series 4000 / 4100 flow meters. Returns the values for sample rate, calibration gas/gas mixture, standard / volumetric flow units, display update rate, display mode, analog zero, and full-scale scaling factors to the factory default settings. This command also clears both the begin- and end-trigger values.
HREV Returns the internal hardware revision of the flow meter in ASCII. The revision is an alpha-numeric string terminated by a <CR><LF>. The string can be a maximum of three characters in length plus the terminating <CR><LF>. Example: A DATE Backwards compatible with Series 4000 / 4100 flow meters Returns the date of the last calibration in ASCII.
RUSTR Backwards compatible with Series 4000 / 4100 flow meters. Read the user-defined string to be stored in the meter. RUSTR Denotes read user string command. Returns the 8 character user string. SALIASxxxxxxxxxxxxxxxx Set a user-defined string to be stored as the alias of the flow meter. SUSTR Denotes Set user string command.
SBAUDnnnnnn Sets the RS232 baud rate of the instrument, when using the USB to RS232 converter cable. Denotes the Set Baud command. SBAUD Denotes Baud Rate nnnnnn can equal 38400 or 115200. nnnnnn The instrument needs to be rebooted for the new baud rate to take effect.
SURnnnn Backwards compatible with Series 4000 / 4100 flow meters. Sets the update rate for the LCD display. Denotes the set update rate command. nnnn Denotes the number of milliseconds per update. Range is 50 to 5000. (“0050” denotes 50 milliseconds per update, leading zeroes must be included).
Chapter 5 Troubleshooting The table below lists the symptoms, possible causes, and recommended solutions for common problems encountered with the flow meter. If the symptom is not listed, or if none of the solutions solves the problem, please contact TSI Customer Support at 800- 680-1220 or 651-490-2860.
Frequently Asked Questions The table below lists frequently asked questions that may arise when establishing a connection to the flow meter. Question Response Under NDIS mode does the meter The meter always uses the Link- always use the Link Local IP Local IP address space.
Appendix A Error Codes Unrecognizable The flow meter uses the length of the command command and the first few letters (how many letters depends on the command) to recognize a valid command. Number out of The number entered as the operand to range a command was out of the specified range or unrecognizable.
Page 48
(This page intentionally left blank) Appendix A...
Appendix B Factory Default Parameters Default factory parameter settings of the Series 5XXX flow meters. Sample Rate ........ 10 ms Gas Calibration ......0 = Air Flow Units ........Standard Display Update Rate ....500 ms Humidity Compensation ....Directional Sensor ......Triggers ........
Page 51
TSI Incorporated – Visit our website www.tsi.com for more information. Tel: +1 800 680 1220 India Tel: +91 80 67877200 Tel: +44 149 4 459200 China Tel: +86 10 8219 7688 France Tel: +33 1 41 19 21 99 Singapore Tel: +65 6595 6388 Germany Tel: +49 241 523030 P/N 6011697 Rev.
Need help?
Do you have a question about the 5200 Series and is the answer not in the manual?
Questions and answers