Ascii Write Example - Johnson Controls FRICK QUANTUM HD Setup

Compressor control panel communications setup
Hide thumbs Also See for FRICK QUANTUM HD:
Table of Contents

Advertisement

so our decimal 1 is formatted as 0001 (hex).
: 01 03 07 D3 00 01 21 CRLF
Where:
Message Start:
Quantum™ ID #:
Read Function:
H. O. address (hex):
L. O. address (hex):
H. O. # of Data Registers:
L. O. # of Data Registers:
Error Correction Code:
Carriage Return - Line Feed:
In order to ensure that the Quantum™ in question re-
ceives the data request accurately, we must append
an Error Check byte to the end of the message. This is
accomplished by adding each of the byte pairs (hex)
that we have generated thus far:
01 + 03 + 07 + D3 + 00 + 01 = DF hex
Next, subtract DF (hex) from 100 (hex):
100 (hex) - DF (hex) = 21 (hex)
: 01 03 07 D3 00 01 21 CRLF
Where:
Message Start:
Quantum™ ID #:
Read Function:
H. O. address (hex):
L. O. address (hex):
H. O. # of Data Registers:
L. O. # of Data Registers:
Error Correction Code:
Carriage Return - Line Feed:
After the entire data packet has been created, simply
press the [Enter] key, a Line Feed will automatically
be sent also.
: 01 03 07 D3 00 01 21 CRLF
Where:
Message Start:
Quantum™ ID #:
Read Function:
H. O. address (hex):
L. O. address (hex):
H. O. # of Data Registers:
L. O. # of Data Registers:
Error Correction Code:
Carriage Return - Line Feed:

ASCII Write Example

To demonstrate how an address within the Quan-
tum™ HD may be written to, the following test can
be performed using Windows HyperTerminal (NOTE:
Hyperterminal cannot be used to test RTU or TCP/IP
communications).
QUANTUM™ HD COMPRESSOR CONTROL PANEL
COMMUNICATIONS SETUP
As an example, a MODBUS® command will be cre-
ated and sent to the Quantum™ to set Regulation
Mode 1 Setpoint to 100.0 PSIA. First, be aware that
data sent to and received by the Quantum™ has one
decimal place assumed. This means that to send the
value of 100.0, you actually need to send 1000. Using
the address tables found later in this manual, locate
the address for the Regulation Mode 1 Setpoint. In
this case, it would be Frick
Since this is the only address we are interested in
writing to, send the following message:
: 01 06 1B EE 03 E8 05 CRLF
Where:
Message Start:
Quantum™ ID #:
Write Function:
H. O. address (hex):
L. O. address (hex):
H. O. # of Data Value:
L. O. # of Data Value:
Error Correction Code:
Carriage Return - Line Feed:
Look at this message on a more basic level, to un-
derstand how the address that we are writing to is
arrived at. We want to send the value of 1000 (100.0)
to the Regulation Mode 1 Setpoint, Frick
7150 (decimal).
The first part of the message will be a Colon (:). This
represents a heads up alert that data is coming down
the line.
: 01 06 1B EE 03 E8 05 CRLF
Where:
Message Start:
Quantum™ ID #:
Write Function:
H. O. address (hex):
L. O. address (hex):
H. O. # of Data Value:
L. O. # of Data Value:
Error Correction Code:
Carriage Return - Line Feed:
Any time that a message is sent, all of the Quantum™
panels that are on the MODBUS® network will be-
come active, communications wise, once the Colon
appears. Next, all panels will look at the first byte
following the Colon (:). If this byte equals the Panel
ID # of the particular Quantum™ being queried, it will
immediately finish reading the remainder of the mes-
sage. If the byte does not equal its ID #, the message
will be ignored.
090.040-CS (JAN 14)
Page 49
Address 7150 (decimal).
®
Address
®

Advertisement

Table of Contents
loading

Table of Contents