ThermoFlex-Manual - 第127页
Thermo Scientific Appendix D ThermoFlex D-3 Thermo Scientific Note All byte v alues are shown in hex, hex represents the binar y values that m ust be sent to the chiller . Do not use ASCII. The framing of the communicati…

Thermo Scientific
D-2 ThermoFlex
Appendix D
Thermo Scientific
Thermo Scientific
RS-232 COMM RS-485 COMM
Pin # Function Pin # Function
1 No connection 1-7 No connection
2 TX 8 T+
3 RX 9 T-
4 No connection
5 GND = Signal ground
6 - 9 No connection
TX = Transmitted data from controller
RX = Received data to controller.
Hardware Mating Connector
AMP Part# 745492-2 or equivalent
All data is sent and received in binary form, do not use ASCII. In the following pages the
binary data is represented in hexadecimal (hex) format.
The NC Serial Communications Protocol is based on a master-slave model. The master
is a host computer, while the slave is the chiller's controller. Only the master can initiate a
communications transaction (half-duplex). The slave ends the transaction by responding
to the master’s query. The protocol uses RS-232/RS-485 serial interface with the default
parameters: 9600 baud, 8 data bits, 1 stop bit, and no parity. RS-485 offers a slave address
selection, default parameter: 1.
The chiller can be controlled through your computer’s serial port by using the chiller's
standard female 9-pin connection.
Communication cables are available from Thermo Fisher. Contact us for additional
information.
5 4 3 2 1
9 8 7 6
All commands must be entered in the exact format shown in the tables on the following
pages. The tables show all commands available, their format and responses. Controller
responses are either the requested data or an error message. The controller response must
be received before the host sends the next command.
The host sends a command embedded in a single communications packet, then waits for
the controller’s response. If the command is not understood or the checksums do not
agree, the controller responds with an error command. Otherwise, the controller responds
with the requested data. If the controller fails to respond within 1 second, the host should
resend the command.

Thermo Scientific
Appendix D
ThermoFlex D-3
Thermo Scientific
Note All byte values are shown in hex, hex represents the binary values that must be sent to the
chiller. Do not use ASCII.
The framing of the communications packet in both directions is:
Checksum region
Lead char Addr-MSB Addr-LSB Command n d-bytes d-byte 1 ... d-byte n Checksum
Lead char 0xCA (RS-232) 0xCC (RS-485)
Device address is 1 (RS-232)
Addr-msb Most signicant byte of slave address (RS-232: 0)
Addr-lsb Least signicant byte of slave address (RS-232: 1)
Command Command byte (see Table of Commands)
n d-bytes Number of data bytes to follow
d-byte 1 1
st
data byte (the qualier byte is considered a data byte)
... ...
d-byte n n
th
data byte.
Checksum Bitwise inversion of the 1 byte sum of bytes beginning with the most
signicant address byte and ending with the byte preceding the checksum.
(To perform a bitwise inversion, "exclusive OR" the one byte sum with FF
hex.)
When a command has no value associated with it (e.g., REQ ACK), “n d-bytes” will be set to 0.
Values such as temperature and ow are sent as either 2 or 4 byte signed integers, depending on
how they are stored in the controller RAM.
When the controller sends a value, a qualier byte is sent rst, followed by a 2 or 4 byte
integer (the least signicant byte is sent last). The qualier indicates the precision and units of
the value. The host does not send the qualier byte; it must send the value using the correct
precision, units and number of bytes. The host rst inquires about a value it wants to change,
then uses the number of data bytes and the qualier byte it receives to generate the proper
integer to send.
OxCA/OxCC

Thermo Scientific
D-4 ThermoFlex
Appendix D
Thermo Scientific
Thermo Scientific
Analog Values
Qualifier Byte
b.7
b.6
b.5
b.4
b.3
b.2
b.1
b.0
A qualier byte of 0x12 indicated that the value contains one decimal point and the units
are °F , e.g., 98.6°F.
Example to set setpoint to 25°C:
If the temperature units are unknown, before changing the setpoint send a command to request
setpoint. The response will include both the precision and units. Precision is xed at 0.1 and units can
be either °C or °F. If the units are already known skip to step 3.
1. Master sends: CA 00 01 70 00 8E (REQ SETPOINT1)
2. Slave responds: CA 00 01 70 03 11 00 C8 B2 Precision =0.1, units =°C, value=200
(200 x 0.1°C=20.0°C)
Response indicates:
uses a 2 byte integer (nn=03)
precision and units are 0.1°C (d1=11)
3. Master sends: CA 00 01 F0 02 00 FA 12 (Set Setpoint 1 to 25.0°C)
4. Slave responds: CA 00 01 F0 03 11 00 FA 00 Precision =0.1, units =°C, value=250
(250 x 0.1°=25.0.0°C)
See Additional Command Examples in this Appendix.
Unit of Measure
Index Unit
0 NONE
1 Temperature in °C
2 Temperature in °F
3 Flow liters per minute
4 Flow in gallons per minute
5 Time in seconds
6 Pressure in PSI
7 Pressure in bars
8 Resistivity in MΩ-cm
9 %
10 Volts
11 Pressure in kPa
Precision of measurement
Unit of measure index