S90-555 CS FRICK QUANTUM™ CONDENSER/VESSEL CONTROL PANEL
Page 8 COMMUNICATIONS SETUP
Frick Protocols
All commands for Frick protocols must be in ASCII to be
recognized (see Conversion chart later in this manual).
The data should be setup as an 8-bit Word, with either no
Parity or even Parity, and a Stop Bit. The commands must
be entered in upper case letters. A Condenser or Vessel
with an ID code of [00] is considered disabled. ID codes
from [01] through [99] are valid and recognized by the
microprocessor.
All data is returned as integer values. If decimal positions
are assumed, then divide the data by the proper multiple
of 10 to get the actual value.
Quantum™ “$” Protocol Specifications
Quantum™ (“$”) protocol commands have been added
specifically for the Quantum™. Unless otherwise shown, 9
characters are returned from the Quantum™ for a data
value. The data value includes two decimal fields and the
first character position is either; “0” if the value is negative,
or it is “+” if the value is positive. For example, if the data’s
value is 25.5; then the value +00002550 is sent. All
temperatures are in degree C and all pressures are in
PSIA. A mode such as Condenser Mode (Summer /
Winter) is returned as an integer value that represents the
mode it is in. For example, a +00000000 is sent if it is in
summer, or a +00000100 is sent if it is in winter. The value
+00000000, which is received as a 0 (zero), is used to
represent an “OFF” status and a “DISABLED” option. The
value +00000100, which is received as a 1 (one), is used
to represent an “ON” status and an “ENABLED” option.
Setpoints are only changed if the value sent is within the
acceptable range. The checksum is the 2 byte
hexadecimal sum of each character within the command
or returned answer excluding the command type identifier,
“$”. If the command’s checksum is replaced with “??”, the
Quantum™ returns a response without using checksum
error checking on the received command (refer to the
“Data Packet” section for more information). If the
Quantum™ detects a checksum error, a “N” (Not
Acknowledged), the Condenser or Vessel ID code, “02”,
Carriage return, and Linefeed are returned.
This document will demonstrate how to communicate to the
Quantum™ panel using the tables that appear on the
following pages.
Data Packet
If you were interested in viewing the Condenser Pressure
value that is displayed on the “Operating Status - Page 1”
screen (“Home” screen), you would want to refer to the
table entitled “RETURN DATA VALUE FROM TABLE
$IDT1” table.
The quickest and easiest way to demonstrate this protocol
is through Hyperterminal (see the section entitled
“Hyperterminal” later in this manual). After setting up
Hyperterminal and ensuring that all wiring and jumper
configurations are correct, type a “$” symbol. This is the
character that will alert all of the Quantum™ panels on the
communications line that data is on its way. Following the
“$” symbol, type the ID code of the Quantum™ that you
wish to query (for instance “01” for the first Quantum™).
After the ID number, type a “T1”. The protocol code in the
Quantum™ recognizes this portion of the data packet as a
request data. Then the Quantum™ will need to know what
data to return. In this case, we are interested in reading the
Condenser Pressure. Referring to the “Condenser Tables”
later in this manual, we find that “Condenser Pressure” is
located at Frick address 200, so type in 200. The
Quantum™ will need to know how much data to send,
starting as address 200. We are only requesting the
Condenser Pressure, so we will type in a “01” (we could
ask for up to 50 (fifty) consecutive addresses).
Up to now you have typed the following information:
“$01T1020001”. The next thing that must be done is to
enter a checksum value. You may elect to type in a “??” as
a wildcard if you do not have the time to figure the correct
checksum, however, the information that is returned may or
may not always be reliable. The checksum will ensure
reliability.
To arrive at the checksum value for the command you have
just typed, you will need to convert each ASCII digit into
hexadecimal (do not include the “$” symbol). For this
example, you will need to take the first digit “0”, and
referring to the Conversion Chart at the end of this section,
look down the ASCII column until you find “0”. You will
notice that the Hexadecimal equivalent “30” hex. Repeat
the process of looking up each digit in the ASCII column,
and finding its equivalent in the Hexadecimal column, and
write each value down. When all digits (01T1020001) have
been converted to hexadecimal, you will need to add the
values together. Remember that the values are in
hexadecimal format, not decimal. If you are not familiar
with hexadecimal math, you may wish to utilize the
calculator that comes with Microsoft Windows. Look at the
following chart:
ASCII Value of
Data Packaet Hexadecimal
Equivalent
030
131
T54
131
030
232
030
030
030
131
Hex Total = 209
The answer that is arrived at from the previous chart is
“209”.
NOTE: For any calculation that results in an answer of
more than two digits, use only the right most two digits, and
disregard all digits to the left.
With the example that was uses, drop the “2” from “209”.
The “09” that is left over will become the checksum for the
data packet, and is appended to the end of the data that
has so far been typed in.
The result should look like this:
$01T102000109
Press the [Enter] key. You should see an immediate
response. The format of this response should resemble
something (but not necessarily exactly) like:
A01+000063701C
Referring to the entitled “RETURN DATA VALUE FROM
TABLE $IDT1” table, we find that the first line of the
response, “A01”, indicates that an Acknowledgement (A)
was received from device 01 (01). This is followed by