Thermo Scientific NESLAB EX Series Installation, Operation And Maintanance Manual page 50

Bath/circulator
Hide thumbs Also See for NESLAB EX Series:
Table of Contents

Advertisement

NOTE: All byte values are shown in hex, hex represents the binary values that must be sent to the bath. Do not
use ASCII.
The framing of the communications packet in both directions is:
Lead char
Addr-MSB
CA or CC
00
Lead char
Addr-msb
Addr-lsb
Command
n d-bytes
d-byte 1
...
d-byte n
Checksum
The master requests information by sending one of the Read Functions as shown in Table 1 on page B-4. Since
no data is sent to the bath during a read request, the master uses 00 for the number of data bytes following the
command byte.
The bath will respond to a Read Function by echoing the lead character, address, and command byte, followed
by the requested data and checksum. When the bath sends data, a qualifier byte is sent first, followed by a two
byte signed integer (16 bit, MSB sent first). The qualifier byte indicates the precision and units of measure for
the requested data as detailed in Table 2.
As an RS-232 example, the master requests to read internal temperature by sending:
CA 00 01 20 00 DE
If the temperature is 62.5°C, the bath would reply:
CA 00 01 20 03 11 02 71 57
NC Serial Communications Protocol
Checksum region
Addr-LSB Command
RS-232 = CA (hex)
Device address is 1 - 64 hex (1 - 100 decimal)
Most significant byte of device address is 00 hex.
Least significant byte of device address is 01 - 64 hex (1 - 100 decimal) for
RS-485, 01 for RS-232.
Command byte (see Table 1).
Number of data bytes to follow (00 to 08 hex).
1
st
data byte (the qualifier byte is considered a data byte).
...
th
n
data byte.
Bitwise inversion of the 1 byte sum of bytes beginning with the most signifi-
cant address byte and ending with the byte preceding the checksum. (To
perform a bitwise inversion, "exclusive OR" the one byte sum with FF hex.)
command byte
0 bytes of data
command byte
3 bytes to follow
n d-bytes
d-byte 1
RS-485 = CC (hex).
The checksum is the bitwise inversion of 21
(00+01+20+00) = 21
byte values are in hex
The qualifier byte of 11 indicates a precision of 1
decimal point and units of °C. The temperature of
62.5°C is 625 decimal = 271 hex.
The checksum is the bitwise inversion of A8
(00+01+20+03+11+02+71) = A8
A8 ^ FF = 57
^ = Bitwise XOR function
B - 2
...
d-byte n
Checksum

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents