Documente Academic
Documente Profesional
Documente Cultură
COMMUNICATIONS SETUP
File: SERVICE MANUAL - SECTION 90
Replaces: S90-020 CS/DEC 2004
Dist: 3, 3a, 3b, 3c
COMMUNICATIONS SETUP
FRICK® QUANTUM™ LX
COMPRESSOR
CONTROL PANEL
VERSION 6.0x
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 2 COMMUNICATIONS SETUP
Table of Contents
QUANTUM™ LX IDENTIFICATION ___________________________________________________________ 4
QUANTUM™ LX COMMUNICATIONS _________________________________________________________ 5
QUANTUM™ LX SERIAL COMMUNICATIONS __________________________________________________ 5
Com-1 and Com-2 Description _______________________________________________________________________ 5
Com-3 Description _________________________________________________________________________________ 5
RS-232__________________________________________________________________________________________ 6
Locations of the RS-232 com ports ________________________________________________________________ 7
TB3 (RS-232) Communications Pin-Out (COM-2) _________________________________________________ 8
PL6 (RS-232) Communications Pin-out (Com-3) __________________________________________________ 8
RS-422/RS-485 ___________________________________________________________________________________ 9
Locations of the RS-422/485 Com ports ____________________________________________________________ 9
Converting An RS-232 Signal To RS-422/485 __________________________________________________________ 11
COMMUNICATIONS SETUP ________________________________________________________________ 12
Using the MAP File _______________________________________________________________________________ 14
Downloading The Map File From The Quantum™ ___________________________________________________ 14
ETHERNET AND NETWORKING ____________________________________________________________ 17
Description______________________________________________________________________________________ 17
Cabling_________________________________________________________________________________________ 17
Cabling Do’s and Don’ts ___________________________________________________________________________ 17
RJ-45 Connectors ________________________________________________________________________________ 17
EtherNet/IP _____________________________________________________________________________________ 17
The Switch ______________________________________________________________________________________ 18
THE INTERNET __________________________________________________________________________ 19
Internet Setup ___________________________________________________________________________________ 19
IP Data _____________________________________________________________________________________ 19
Naming Data_________________________________________________________________________________ 20
E-Mail Data__________________________________________________________________________________ 20
PROTOCOL DESCRIPTION ________________________________________________________________ 21
Quantum™ Communications Protocols _______________________________________________________________ 21
Checklist For Setting Up Communication___________________________________________________________ 21
Frick® Protocols __________________________________________________________________________________ 22
Frick® # Protocol Specifications __________________________________________________________________ 22
Quantum™ $ Protocol Specifications______________________________________________________________ 26
Data Packet______________________________________________________________________________ 26
CONVERSION CHART FOR DECIMAL / HEXADECIMAL / ASCII __________________________________ 32
ALLEN-BRADLEY COMMUNICATION ________________________________________________________ 33
Overview _______________________________________________________________________________ 33
SLC-500 - Suggested Setup ________________________________________________________________________ 33
Channel Configuration____________________________________________________________ 33
Read Message Setup Example_____________________________________________________ 34
Write Message Setup Example _____________________________________________________ 34
PLC-5/30 - Suggested Setup________________________________________________________________________ 34
Channel Configuration____________________________________________________________ 34
Read Message Setup Example_____________________________________________________ 35
Allen-Bradley Programming Overview_________________________________________________________________ 35
Channel Configuration____________________________________________________________ 35
General Configuration _____________________________________________________________________________ 35
System Configuration _____________________________________________________________________________ 36
Message Sequence Logic __________________________________________________________________________ 36
Message Read Logic ______________________________________________________________________________ 37
Message Read Setup Screen ______________________________________________________ 38
Message Write Logic ______________________________________________________________________________ 39
Message Write Setup Screen ______________________________________________________ 41
Allen-Bradley Data Access _________________________________________________________________________ 41
EtherNet/IP _____________________________________________________________________________________ 41
MODBUS® Protocol_______________________________________________________________________ 42
MODBUS® ASCII (Serial Communications)_____________________________________________________________ 42
MODBUS® RTU (Serial Communications)______________________________________________________________ 42
MODBUS® TCP/IP (Ethernet) _______________________________________________________________________ 42
Serial Port Configuration of The Master _______________________________________________________________ 43
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 3
Data Packet_____________________________________________________________________________________ 43
The Query ______________________________________________________________________________________ 43
The Response ___________________________________________________________________________________ 43
Data Field ______________________________________________________________________________________ 43
Error Checking __________________________________________________________________________________ 43
ASCII ______________________________________________________________________________________ 43
RTU _______________________________________________________________________________________ 44
Framing ________________________________________________________________________________________ 44
ASCII __________________________________________________________________________________________ 44
RTU _______________________________________________________________________________________ 44
ASCII Query (Read) Example _______________________________________________________________________ 45
ASCII Write Example _____________________________________________________________________________ 46
ASCII Response Example__________________________________________________________________________ 48
RTU Query (Read) Example ________________________________________________________________________ 49
RTU Response Example___________________________________________________________________________ 49
MODBUS® Notes_________________________________________________________________________________ 49
MODBUS® Data Access _______________________________________________________________________ 49
HYPERTERMINAL ________________________________________________________________________50
Description _____________________________________________________________________________________ 50
Setting up Hyperterminal___________________________________________________________________________ 50
Testing Communications___________________________________________________________________________ 55
General Notes ___________________________________________________________________________________ 55
QUANTUM™ DATA TABLES________________________________________________________________56
Digital Board Values ______________________________________________________________________________ 56
Analog Board Values _____________________________________________________________________________ 57
Calculated Values _______________________________________________________________________________ 58
Mode Values ___________________________________________________________________________________ 59
Warning/Shutdown Values _________________________________________________________________________ 65
Timer Values ____________________________________________________________________________________ 69
Setpoint Values __________________________________________________________________________________ 70
WARNING/SHUTDOWN MESSAGE CODES ___________________________________________________86
QUANTUM™ LX MAIN BOARD HISTORY AND IDENTIFICATION __________________________________88
Communications Board Jumpers ____________________________________________________________________ 90
Com-1 (TB1) ________________________________________________________________________________ 90
Com-2 (TB2 - TB3) ___________________________________________________________________________ 90
Communications Wiring ___________________________________________________________________________ 90
APPENDIX A_____________________________________________________________________________91
Frick® Serial Communications Converter Module ________________________________________________________ 91
Description _____________________________________________________________________________________ 91
Setting the jumpers _______________________________________________________________________________ 91
Mounting the module______________________________________________________________________________ 91
Wiring the module ________________________________________________________________________________ 92
RS-232 CONNECTIONS _______________________________________________________________________ 92
RS-422 Connections __________________________________________________________________________ 92
RS-485 Connections __________________________________________________________________________ 92
APPENDIX B_____________________________________________________________________________93
Quantum™ LX Panel Software Update Procedure_______________________________________________________ 93
APPENDIX C_____________________________________________________________________________94
Ethernet Communications Wiring ____________________________________________________________________ 94
Local Ethernet Configurations_______________________________________________________________________ 95
Ethernet Network Configurations ____________________________________________________________________ 96
APPENDIX D_____________________________________________________________________________97
Quantum™ Lx Serial Communications Wiring __________________________________________________________ 97
To Customer Remote Computer/DCS _______________________________________________________________ 100
RS-422/485 Communications _________________________________________________________100
Multicompressor Sequencing (Lead-Lag) _____________________________________________________________ 100
RS-422/485 Communications __________________________________________________________________ 100
INDEX _________________________________________________________________________________101
The Quantum™ has the capability of being modified by the user/owner in order to obtain different performance characteristics. Any modification to the
standard default settings may have a severe negative impact on the operation and performance of the equipment. Any modification to these control
®
settings is the sole responsibility of the user/owner and Frick disclaims any liability for the consequences of these modifications. It is possible that the
modification of these settings may cause improper operation and performance that results in property damage, personal injury or death. It is the
responsibility of the user/owner to evaluate and assess the consequences of their actions prior to modifying the controls for this unit.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 4 COMMUNICATIONS SETUP
QUANTUM™ LX IDENTIFICATION
The Quantum™ LX controller (refer to Figure 1), actually RS-232) serial communications as well as the keypad
consists of two circuit boards. The larger of these two is interface.
the main processor board. It stores and runs the main
software program as well as processing of data, and The purpose of this manual is provide the necessary
controls the video that is displayed on the screen. information (protocols, data registers, wiring, etc.) to allow
Ethernet capabilities (to be described in the Ethernet and the end user to reliably communicate with the Quantum™
Networking section) are also performed here as well as LX controller via various communications methods (to be
Com-3 serial RS-232 communications. Attached to the described later) for the purpose of obtaining and sending
larger processor board is a smaller daughter board. It data and/or for compressor control.
handles Com-1 (RS-422/485) and Com-2 (RS-422/485 or
PL6
Com-3
RS-232
TB1
Com-1
RS-422/485
TB2
Com-2
RS-422/485
TB3
Com-2
RS-232
PL5
Ethernet
Port
QUANTUM™ LX COMMUNICATIONS
Data communications to and from the Quantum™ can be The Quantum™ LX does NOT begin any communications
through any of the following methods: conversations on its own, it only responds to queries
(requests) from external devices.
• A modem.
• Remote data communications terminal. Refer to the section entitled Converting An RS-232
• Programmable controller (PLC). Serial Port To RS-422/485 section for the correct jumper
• Master computer via either RS-232, RS-422, or settings of RS-232, RS-422, or RS-485 (no jumpers
RS-485 connections to the Quantum™ using an required for Ethernet). Also, refer to the drawing of the
HMI software platform, or Frick™ Q-Talk. Quantum™ LX Main Board section to identify wiring
• Lead-Lag sequencing. configurations for Com-2.
• Ethernet using the Quantum™ Ethernet port
(see the section on Ethernet and Networking).
TB1
Com-1
RS-422/485
TB2
Com-2
RS-422/485
TB3
Com-2
RS-232
Com-1 and Com-2 Description When TB2 (Com-2) is setup to be used for RS-422/485,
then TB3 cannot be used for RS-232, and vice-versa. The
The board pictured in Figure 2 actually has three serial reason for this is that there is a jumper (LK11) that needs
communications ports (labeled as TB1, TB2 and TB3). to be properly set that will tell the controller which of the
TB1 is known as Com-1, and is reserved solely for RS- two ports will be used (either TB2 as RS-422/285 OR TB3
422/485 communications. It can be used either for lead- as RS-232).
lag sequencing between multiple compressors, or for
external communications to the outside world. Com-3 Description
TB2 is known as Com-2. However, TB3 is also known as Com-3 (PL6) is to be used for RS-232 hardware protocol
Com-2. The difference here is that TB2 is for RS-422/485 only, and can be used in addition to any of the other
whereas TB3 is for RS-232. TB2 can be used in the same communications ports that may be being used. So it is
manner as TB1. possible to have two RS-232 ports active (Com-2 AND
Com-3) at the same time, as well as Com-1 for RS-
422/485. Please note however that if Com-2 (TB2) is to be
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 6 COMMUNICATIONS SETUP
used for RS-422/485, then Com-2 (TB3) is not available, to use one of the RS-232 ports, however to
so Com-3 will be the only RS-232 port available. do this, a communications converter would
be required).
A typical customer scenario could be as follows (refer to
Figure 3): • HMI – Again, the five compressors can be
daisy-chained together using either TB1
The customer has five compressors that they would (Com-1) or TB2 (Com-2) or any combination
like to connect together for the purpose of lead-lag of both, using either RS-422 or RS-485 (RS-
sequencing. They also have an HMI (Human-Machine 232 cannot be used). For instance, if the first
Interface) application whereby they need to remotely compressor used TB1 (Com-1) for lead-lag
communicate with each of the five compressors. Each sequencing, then use TB2 (Com-2) for the
compressor is also equipped with a DBS motor starter HMI connection. Select one end of the daisy-
system. chain to run the communications wiring to
the HMI device (Master).
• Lead-Lag sequencing - The five
compressors can be daisy-chained together, • DSB Motor Starter – Use TB3 (Com-2, RS-
using either TB1 (Com-1) or TB2 (Com-2) or 232) to communicate to the DBS.
any combination of both, using either RS-
422 or RS-485. (Another possibility would be
DBS Motor DBS Motor DBS Motor DBS Motor DBS Motor
Communications Communications Communications Communications Communications
1 2 3 4 5
Locations of the RS-232 com ports associated jumper and LED’s, and Figure 5 for the
location of PL6 (Com-3). Note: Com-3 does not have
Refer to Figure 4 for the location of Com-2 (TB3) with its any on-board jumpers or LED’s associated with it.
PORT 0H
0
1
2
3
4
6
7
ON DIP
COM- SW1
D13
D11
D12
D4
D5
D10
D7
D8
1 D3 8 7 6 5 4 3 2
LK
10
4 LK
Receive 3 9 PL2
TB1
LK B A
LK
the Quantum™ LX will
7
COM-
LK2 11 use TB3 for Com-2 (RS-
Transmit 2 TB2
LK D1
232). When set to position
Data LED 6 B, TB2 will be used for
4 LK
(TX) 3 5 Com-2 (RS-422/485).
A B
2 LK17 LK11 has no affect on
LK
1 4
PL4 TB1 (Com-1).
LK
1 2 3
D8
TB3
Location of TB3 3 2 1 PL1
(Com-2) RS-232 PL3
Connector COM-2
RS-232
Figure 4 – TB3 Com-2 RS232 Connector, Jumper Selection and LED Locations
PL7 PL9
PL12 PL17
LK1
PL24
PL8 PL13
PL18
PL19
LK2
LK12 PWR
PL1 PL6 PL10 PL14 LK10 PL16
LK11
Location of LK9
LK8
SUSP
6
1
2
5
3
PORT ON
connector. 80H
D4D5D7 D D D1 D D
SW
COM-1 8 10 1 12 13
LK10 D3
4 RS-
LK9
3 422 PL2
2 D2
RS- LK8 COM2 (RX)
1 LK16 D6
485
A B
TB1 LK11
LK7
LK2 B A
A LK7 COM2 (TX)
B TB2 LK6
D1
LK5 LK6
4 RS-
3 422
LK5 AB
2
RS- LK17
LK4
1 485
PL4
PL4 LK1 KB
LK3
D8
PL3 PL1
TB3 RS-232
PL3
COM-2 3 2 1
LK4
PL11
A B
LK3
PL15
PL5
TB3 (RS-232) Communications Pin-Out (COM-2) Refer to Figure 8 and Table 2 for the pin connections
showing how to wire the Frick® Communications Converter
Refer to Figure 6 and Table 1 for the pin connections Module (converts from RS-232 to RS-422/485) to the 3-pin
showing how to wire a standard 9-Pin RS-232 D- Com-3 (PL6) connector on the Quantum™ LX:
connector directly to the 3-pin Com-2 (TB3) connector on
Quantum™ LX
the Quantum™ LX: RS-232 PL6
RS-232 to RS-422/485 10-Pin Connector
®
PC or PLC Frick Communications Converter
9-Pin Quantum™ LX Module Connection
D-Connector RS-232 TB3 (P/N 639B0086H01)
1 3-Pin Connector
6 1 2
2 RX COM COM RX
3 3 4
7 TX RX RX TX
3 2 5 6
8 TX TX
4
1 7 8
9 COM
5 COM 9 10
TABLE 1 – TB3 (RS-232) PIN-OUT (COM-2) TABLE 2 – PL6 (RS-232) PIN-OUT (COM-3)
Signal Signal
1 Transmit Data (TX) 3 Received Data (RX)
2 Received Data (RX) 5 Transmit Data (TX)
3 Ground (COM) 9 Ground (COM)
Notice that in Figure 4, the only jumper associated with Notice that in Figure 5, there are no jumpers or LED’s
TB3 Com-2 (RS-232) is jumper LK11. Notice also the two associated with PL6 Com-3 (RS-232).
LED indicators that are pointed out. D4 LED will flash each
time that the Quantum™ LX transmits (TX) data. D6 LED If communications with the Quantum™ LX cannot be
will flash each time that data is received (RX). established using PL6, verify that the wiring is per Figure 7
when wired direct from a remote RS-232 port, or Figure 8
If communications with the Quantum™ LX cannot be if wired from the Communications Converter Module (see
established using TB3, then note the status of these two the section entitled CONVERTING AN RS-232 SIGNAL
LED’s (D4 and D6). If D6 is constantly lit, it may indicate TO RS-422/485 for further details).
an external wiring issue (TX and RX possibly swapped).
Also verify the position of LK11, and ensure that it is in Also verify that the proper Panel ID, Baud rate, data bits,
position A. and protocol has been setup at the Quantum™ LX, and
matches that of the initiating device (see the section
Also verify that the proper Panel ID, Baud rate, data bits, entitled COMMUNICATIONS SETUP for further details).
and protocol has been setup at the Quantum™ LX, and
matches that of the initiating device.
6
2
5
3
PORT ON
Jumpers 80H
D4 D5 D7 D D D D D
SW1
COM-1
LK10 D3
8 10 11 12 13
1 234 5 6 7 8 Transmit Data
Com-1 (TB1) 4 RS- COM1 (TX)
(TX) LED
LK9
RS-422/485 3 422 COM1 (RX) PL2
2 LK8 D2
Connector 1
RS-
LK16
COM2 (RX)
D6
485
TB1 A B LK11
LK7
LK2 BA
COM2 (TX)
TB2 LK6
D1
PL3
COM-2 3 2 1
Figure 9 – Com-1 (TB1) RS-422/485 Connector, Jumper Selection and LED Location
4
0
1
6
2
5
3
PORT
80H
ON
SW1 IfReceived
LK11 Data
is set to the B
D4 D5 D7 D D D D D
COM-1
LK10 D3
8 10 11 12 13
1 234 5 6 7 8 position as shown here, the
(RX) LED
4 COM1 (TX)
RS-
LK9
Quantum™ LX will use TB2
3 422 COM1 (RX) PL2
2 LK8 D2
for Com-2 (RS-422/485).
RS- COM2 (RX)
1
485 LK16 When set to position B, TB2
TB1
LK7
A B LK11 will be used for Com-2 (RS-
LK2 BA 422/485). LK11 has no
COM2 (TX)
TB2 LK6
D1
affect on TB1 (Com-1).
Com-2 (TB2) 4 RS-
3 422
RS-422/485 2
LK5 A B
RS- LK17
Connector 1 485
LK4
COM-2 LK1 KB
LK3
D8
RS-232 PL1
Jumpers TB3
Figure 10 – Com-2 (TB2) RS-422/485 Connector, Jumper Selection and LED Location
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 10 COMMUNICATIONS SETUP
TB1 (RS-422/485) Troubleshooting (Com-1) TB1 and TB2 (RS-422/485) Communications Pin-
out and Jumpers (Com-1 and Com-2)
Notice that in Figure 9, there are six jumpers associated
with Com-1 (TB1). Refer to Table 4 for the function of Table 3 lists the RS-422 and RS-485 pin descriptions for
each of these jumpers. Notice also the two LED indicators Com Ports 1 and 2 (also referred to as Com-1 and Com-
that are pointed out in Figure 9. D3 LED will flash each 2):
time that the Quantum™ LX transmits (TX) data. D2 LED
will flash each time that data is received (RX). TABLE 3 – RS-422/485 PINOUTS
RS-422 Pin-out RS-485 Pin-out
If communications with the Quantum™ LX cannot be (4-Pin Connector) (4-Pin Connector)
established using TB1, then note the status of these two
1 - RX (Receive) 1 - RX / - TX
LED’s (D2 and D3). If D2 is constantly lit, it may indicate
2 + RX (Receive) 2 + RX / + TX
an external wiring issue (TX and RX possibly swapped). If
3 - TX (Transmit)
D2 never flashes, then the LX is not receiving any data. If
4 + TX (Transmit)
D2 does flash each time a data bit is received, but D3
never flashes, this may indicate that the LX has received a
data command, but that the protocol package is not TABLE 4 – COM-1 JUMPERS (REFER TO FIGURE 9)
properly formatted, and the LX cannot respond. Note: in Terminate COM1
LK2 RS-422/485
out* No termination
LK11 is not used for Com-1 (TB1).
in Pull down COM1
LK7 RS-422/485 (Rx-/Tx-)
out* No pull down
On the Communications Setup screen, verify that the in Pull up COM1
proper Panel ID, Baud rate, data bits, and protocol has LK8 RS-422/485 (Rx+/Tx+)
out* No pull up
been setup at the Quantum™ LX, and matches that of the in Pull down COM1
LK9 RS-422 (Tx-)
initiating device. Ensure that the RS-485 pull down out* No pull down
selection has been properly set also: in Pull up COM1
LK10 RS-422 (Tx+)
out* No pull up
• No = RS-422 LK16
A COM1 RS-422 (TB1)
B* COM1 RS-485 (TB1)
• Yes = RS-485
* Standard Setting
TB2 (RS-422/485) Troubleshooting (Com-2) TABLE 5 – COM-2 JUMPERS (REFER TO FIGURE 10)
in Terminate COM2
Notice that in Figure 10, there are seven jumpers LK 1 RS-422/485
out* No termination
associated with Com-2 (TB2). Refer to Table 5 for the in Pull down COM2
function of each of these jumpers. Notice also the two LED LK 3 RS-422/485 (Rx-/Tx-)
out* No pull down
indicators that are pointed out in Figure 10. D1 LED will in Pull up COM2
LK 4 RS-422/485 (Rx+/Tx+)
flash each time that the Quantum™ LX transmits (TX) out* No pull up
data. D6 LED will flash each time that data is received in Pull down COM2
LK 5 RS-422 (Tx-)
(RX). out* No pull down
in Pull up COM2
LK 6 RS-422 (Tx+)
out* No pull up
If communications with the Quantum™ LX cannot be
A Select RS-232 for COM2 (TB3)
established using TB2, then note the status of these two LK 11
B* Select RS-422/RS-485 for COM2 (TB2)
LED’s (D1 and D6). If D6 is constantly lit, it may indicate A COM2 RS-422 (TB2)
an external wiring issue (TX and RX possibly swapped). LK 17
B* COM2 RS-485 (TB2)
Note: LK11 must be set to position B, and the setting of * Standard Setting
LK17 will determine whether the port is configured for RS-
422 OR RS-485. NOTE: Some of these jumper settings may need to
be modified to ensure optimum communications
Also verify that the proper Panel ID, Baud rate, data bits, performance. Typically, the termination jumper should
and protocol has been setup at the Quantum™ LX, and be installed in the last Quantum™ in the
matches that of the initiating device. communications daisy chain only (Link 1 for the
Quantum™ LX).
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 11
CONVERTING AN RS-232 SIGNAL TO RS-422/485 One converter that can be used is a DIN rail mountable
device, the Frick® Serial Communications Converter
In order to communicate to the Quantum™ controller via Module, manufactured by YORK International (P/N
RS-422 or RS-485 on Comm. Ports 1 or 2, you will need 639B0086H01). This module will allow the conversion
to convert the RS-232 signal from the source (Note: If the from a standard RS-232 signal to either RS-422 or RS-485
originating signal is already RS-422/485, the Quantum™ or vice-versa. The module is powered from a 24VDC
can accept these signals directly on the 4-pin connectors source. It can be used in a standalone panel along with an
of Comm. Ports 1 & 2). Allen Bradley SLC or with an external modem.
Once DIP switch settings on the converter module have TABLE 6 –CONVERTER MODULE CONNECTIONS
been verified, you will need to verify the jumper settings of
the Quantum™ controller. Refer to Tables 4 and 5. MODLUE POWER RS-232 RS-422 RS-485
Pin 1 -RX
After verifying both the Converter module and Quantum™ Pin 2 +RX
settings, the interconnecting wiring must be done. Be sure Pin 3
to use 4-conductor shielded communications cable (two Pin 4 -TX -RX / -TX
Pin 5 +TX +RX / +TX
wires for transmit, two for receive) for RS-422, or 2-
Pin 6
conductor shielded cable for RS-485. Refer to Figure 12
Pin 7 - 24VDC
for RS-422 to RS-232 wiring, and Figure 13 for RS-485 to Pin 9 +24VDC
RS-232 wiring. Pin 8
Pin 10 GND
NOTE: Refer to Appendix A for additional information, Pin 11 RX
or the manual (S90-0700 I) that comes with the Pin 12 TX
module.
+TX RX
+RX TX
Figure 12 – RS-422 and RS-232 Wiring signals for the Communications Converter Module
TX
Figure 13 – RS-485 and RS-232 Wiring signals for the Communications Converter Module
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 12 COMMUNICATIONS SETUP
COMMUNICATIONS SETUP
DESCRIPTION: The purpose of this screen is to allow the user to assign and setup serial communications
parameters.
The following setpoints are provided: Baud Rate - The baud rate defines the speed at
which external communications can occur. The
Compressor ID - A number that is used by an higher the baud rate, the faster the
external communications application, to converse to communications. The faster the baud rate, the
individual compressors. On interconnected systems, more susceptible to external EMF. It is best to
this number must be unique. Valid values are from 0 - start out using a lower baud rate, and increasing
99. the value only after verifying that communications
errors do not occur. If errors start to occur, drop
Comm1 - (Setup parameter definitions for Com-1 and the baud rate back down. A pull down menu is
Com-2 are identical) Communications related provided to select from the following:
information for the communications ports:
• 1200
Status - Shows the current communications • 2400
status of the port. The possible messages are: • 4800
• 9600
• Off - No communications are currently • 19200
taking place. NOTE: A delay of 15 • 38400
seconds or more of inactive • 57600
communications (time between valid • 115200
responses) will cause this message to
display. Data Bits - Determines the number of bits in a
transmitted data package. A pull down menu is
• Active - Valid communications are provided to select from the following:
actively occurring.
• 7
• 8
• Failed - An invalid command was
received by the port. This could be due Stop Bits - A bit(s) which signals the end of a
to a bad checksum value, a wiring unit of transmission on a serial line. A pull down
issue, or hardware problem at either the menu is provided to select from the following:
transmitting (host) or receiving
(Quantum™ LX) end. • 1
• 2
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 13
Parity - In communications, parity checking created. The map file is a conversion utility that
refers to the use of parity bits to check that data can be used to allow a communications
has been transmitted accurately. The parity bit is application that was previously written by the
added to every data unit (typically seven or eight user under the Quantum™ version 5.0x and
data bits) that are transmitted. The parity bit for earlier to function properly with the LX by
each unit is set so that all bytes have either an redirecting the old addresses to the new LX
odd number or an even number of set bits. Parity addresses (see the section entitled Using the
checking is the most basic form of error detection MAP file for additional information). A pull down
in communications. A pull down menu is provided menu is provided to select from the following:
to select from the following:
• No - Do not use map file, the user is
• None either not going to be using external
• Even communications, or they will be writing
• Odd the communication application based
upon the LX addresses.
RS-485 Connection - This defines to the • Yes - The user has an application that
Quantum™ the type of hardware that the was previously written for the
Quantum™ will be communicating to. This Quantum™ version 5.0x or earlier, and
selection does not apply to Com-3, as it is they want to utilize the same code for
dedicated to RS-232 communications only. A pull the LX.
down menu is provided for Com-1 and Com-2 to
select from the following: I/O Comms - A status indicator is provided to show
the current state of the internal communications of the
• Yes – This port will be connected to an I/O boards. The possible displayed states are:
RS-485 device.
• No – This port will not be connected to • Off - Loss of, or intermittent communications
an RS-485 device. It will be using RS- failures to the internal Quantum™ LX I/O
422. If Com-2 is setup through jumper boards.
11 to use RS-232, then this setting will • Active - Indicates that normal I/O
be ignored. communications are occurring.
• Failed - Loss of communications, a
Protocol - A protocol is the special set of rules shutdown message will be generated.
that each end of a communications connection
use when they communicate. A pull down menu Redetect IO Comms - Select this key to detect all
is provided to select from the following Frick connected Analog and Digital boards. If a board has
recognized protocols: been removed, a communication error shutdown will
be issued until this key is selected. Reference the
• None About screen to view what has been detected.
• Frick
• ModBus ASCII Two keys are located at the bottom right hand side of the
• ModBus RTU screen. The following describes there function:
• AB DF1 Full Duplex
• AB DF1 Half Duplex Download MapFile.txt from Quantum™ LX – With a
• DBS Motor Starter USB memory stick installed on the LX, pressing this
• Vyper key will cause the MapFile.txt file to be downloaded
from the LX into the USB memory.
Map File - Because the addressing scheme
between the Quantum™ version 5.0x and earlier Upload MapFile.txt to Quantum™ LX – After the
software and the Quantum™ LX version 6.0x and user has modified the MapFile.txt file to suit their
later software is not the same, this file was needs, pressing this key will cause the file to be
uploaded from the USB memory back into the LX.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 14 COMMUNICATIONS SETUP
Using the MAP File needed) in the locations as shown in either Figures 15 or
16 (depending on which version you have). From the
The MAP file is simply a text file (map.txt), which can be Communications Screen, press the [Download
downloaded from the Quantum™ panel. The file can be MapFile.txt from Quantum™ LX] key. Within seconds, a
used in its original format, which contains a limited number box will appear in the center of the screen with the words
of addresses, or may be modified by the user, to Operation Complete!. It is now safe to unplug the USB
incorporate additional addresses. stick.
Downloading The Map File From The Quantum™ Take the stick to computer with a USB port, and plug it
into the port. Use Microsoft® Explorer to access the USB
The Quantum™ LX controller board currently consists of drive, and double click on the Mapfile.txt program. Any text
two variations. The first of these variations is represented editor should work for viewing or modifying this file. The
in Figure 16. If the LX that you wish to download from contents of the MapFile contain two columns; one entitled
looks like this, then you will need both a Windows® Q lists the version 5.0 software and earlier address, and
formatted USB memory stick AND an adapter (shown in the LX column shows the version 6.0 and later address.
Figure 14). If the LX that you wish to download from looks There is a third column which lists the description of the
like the example in Figure 17, you will not need an LX address. The first 159 addresses have been converted
adapter. in this file. These addresses represent the most likely
requested information. To add addresses to this file,
USB Adapter USB Stick simply type the old (version 5.0x or earlier) address into
the file, using the same format that the file was created
with, and referring to the Address tables found later in this
manual, locate the equivalent LX address, and enter it in
the appropriate column.
Figure 14 – USB Memory Stick (Frick® Part Shown) A sample of the original file appears in Figure 15:
Baud Rate
" 9600 " 9600 " 9600
" 19200 " 19200 " 19200
" 38400 " 38400 " 38400
" 57600 " 57600 " 57600
" 115200 " 115200 " 115200
Data Bits
" 7 " 7 " 7
" 8 " 8 " 8
Stop Bits
" 1 " 1 " 1
" 2 " 2 " 2
" None " None " None
Parity " Even " Even " Even
" Odd " Odd " Odd
RS-485 " No " No " No
Connection
" Yes " Yes " Yes
" None " None " None
" Frick " Frick " Frick
" Modbus ASCII " Modbus ASCII " Modbus ASCII
Protocol
" Modbus RTU " Modbus RTU " Modbus RTU
" AB DF1 Full Duplex " AB DF1 Full Duplex " AB DF1 Full Duplex
" AB DF1 Half Duplex " AB DF1 Half Duplex " AB DF1 Half Duplex
" DBS Motor Starter " DBS Motor Starter " DBS Motor Starter
" Vyper " Vyper " Vyper
Map File
" No " No " No
" Yes " Yes " Yes
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 17
Cabling Do’s and Don’ts – Frick® Controls Figure 18 - Typical RJ-45 Connector
recommends the following guidelines when installing and
using CAT 5 Ethernet cable: When looking at this connector, pin 1 is at the left, and pin
8 is at the right.
Do
EtherNet/IP
• Run all cables in a star (homerun)
configuration. Frick® Controls supports the use of EtherNet/IP (as
• Keep all individual cable lengths under 300 described on the ab.com website, under the EtherNet/IP
feet. If greater distances are needed, use a heading) with LX software 6.06 and later. Address
switch every 300 feet. mapping follows the Allen-Bradley N: format, as shown in
the Data Tables under the heading of AB Address.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 18 COMMUNICATIONS SETUP
Configure your Ethernet port for 44818. Although this Note: If you want to connect one computer to one
protocol is basically self-configuring, if you do have Quantum™ LX, you can avoid the switch and use a
additional questions, please contact Frick® Controls. crossover Cat 5 cable. With a crossover cable, you
directly connect one Ethernet device to the other
The Switch without a Switch. To connect more than two you need
a Switch. Refer to the following pictorial to construct a
Network Switches look nearly identical to hubs, but a crossover cable:
switch generally contains more intelligence than a hub.
Unlike hubs, network switches are capable of inspecting
the data packets as they are received, determining the 1 2 3 4 5 6 7 8 3 6 1 4 5 2 7 8
source and destination device of that packet, and
forwarding that packet appropriately. By delivering
messages only to the connected device that it was
intended for, network switches conserve network
bandwidth and offer generally better performance than
hubs.
THE INTERNET
The Internet is a world wide data and information sharing address). This address is known as an Internet Protocol
system. To put it simply, it is a method of connecting one address (IP). The IP address consists of a series of 4 to
network to another (and another, and so on). These 12 digits, and is normally transparent to the end user. For
networks are inter-connected, hence the name those individuals familiar with using the internet, they are
INTERNET. Another name that the Internet is sometimes familiar that every time they activate their web browser
referred to is the World Wide Web. Anyone even remotely (the software that allows your computer to connect), there
familiar with this term will notice that the abbreviation is is an address bar that appears near the top of the screen.
also the prefix that is assigned to most Internet addresses, This address bar is where you would enter the IP address
as in WWW. of the computer or network that you would like to
communicate with. To make this simpler, these numeric IP
Any Windows or Linux based computer is capable of addresses are also coded to allow alpha-numeric names
accessing this network. All that is needed is either a to be masked over them, so that rather than having to
modem, USB port, or an Ethernet port. These devices enter an address of 216.27.61.137, you can simply enter
provide the necessary point of connection for one end in www.frickcold.com, as an example. Although the actual
(branch) of the connection (a home computer for process is more detailed and complicated than this basic
instance). The other point that completes the connection is explanation, the end result is that most of the work is
usually provided by an Internet Service Provider (or ISP). being done invisibly, and the end user in not even aware
The Internet Service Provider usually has a very large of how it all works, nor do most people care. The following
network router, or means of bring in many individual write up describes how to set up the Quantum™ LX to do
connections. The router then assigns a discrete and this behind the scenes work, so that it can communicate
individual address to each connection (much like a street both at the Internet level, and at a local Ethernet level.
INTERNET SETUP
DESCRIPTION: The purpose of this screen is to allow the user to assign and setup Internet and Email
communications parameters.
IP Address – (Internet Protocol) Four setpoint boxes could be the name of a work group. Another three
are provided here. Every machine on an Internet units may be High Stage compressors, this work
network must be assigned a unique identifying group could be named HighStage1, and the
number, called an IP Address (this is similar in remaining four units could be standard compressors,
concept to the Quantum™ panel ID number). The IP and they could be named Comp1. So name each unit
address is how the network identifies each device that by these functional Work Group names. The Work
is attached. A typical IP address would look like this: Group name must be fifteen characters or less in
length, and can use numerals and upper and lower
• 216.27.61.137 case letters. When using the network neighborhood
Gateway Address – Four setpoint boxes are feature of Windows® Explorer, and look at your
provided here. This is the IP address for the computer Network Neighbor hood, you would see the name of
or device onto which your local network is connected the Work Group, and within that work group you
to. This gateway device is how all of the devices would see the individual Host Names of each unit
attached to your local network are routed to other within that work group. After modifying a Work Group
gateways and networks. A router is a Gateway device name, you will be required to cycle power. The
that routes packets between different physical network router could take up to fifteen minutes to
networks. The purpose of a Gateway is to convert recognize the change.
messages from one protocol to another, such as Server String – This is a comment area that can be
Modbus on RS-232 to Ethernet Modbus/TCP. used in conjunction with the Host Name. For example,
Subnet Mask - A TCP/IP number used to determine if the Host Name is Booster1, you could set the
to which TCP/IP subnet a device belongs. Devices in Server String to print something like DockBooster, or
the same subnet can be communicated with locally some other additional information about the unit. The
without going through a router (to the outside world). Server String has no control function, it is strictly an
When a TCP/IP device tries to communicate with informational area.
another device the bits of the TCP/IP destination
address are "ANDed" with the subnet mask to
E-MAIL DATA
determine whether the address is a local address Email Notification On Warning Or Shutdown – For
(broadcastable) or must be reached through a router. the E-mail notification feature to work, it must be
A subnet mask of 255.255.255.0 used by a computer enabled (it is disabled as a default). The following
with a TCP/IP address of 10.10.10.1 would include drop-down menu is provided:
the addresses 10.10.10.0 through 10.10.10.255 in the
local network, basically telling the computer to try a • Disabled
router if it's transmitting to any other IP address. This • Enabled
is all part of the TCP/IP protocol.
Local Email Address - Use this setpoint box to
Web Server Port – This is the port, or channel, that a enter a valid E-mail address that has been assigned
web server uses to communicate through. Just as a to the internet account.
computer sends data to a printer through a printer
Alias Name For Local Email Address – Enter here
port, a web server sends and receives data through
a custom name to identify more clearly the local Email
the Web Server Port. By default, the port number for a
address. When a message is sent to all recipients,
Web server is 80.
this is the name that will appear in the Email FROM
NAMING DATA column.
NOTE: The IP Address Type must be set to DHCP Subject - Enter here a custom subject that you would
(Dynamic) for this section to work. like to have appear when a message failure is sent.
When a message is sent to all recipients, this is the
Host Name – Enter here a distinct name that you wording that will appear in the Email SUBJECT
wish to be able to identify this particular compressor column.
by (for example; Unit1). The Host Name must be
fifteen characters or less in length, use no spaces and SMTP Server Name OR IP Address - SMTP stands
use only upper and lower case letters. It is similar in for Simple Mail Transfer Protocol. SMTP servers
concept to the function of the Panel ID, and basically handle outgoing email, and accept email from other
allows the network router to interpret the actual IP domains. When you set up an email client, you must
address of a particular unit as this host name. When specify an outgoing server (sometimes called an
using a web browser within the system network, this SMTP server). Often, this server is designated in the
name can be entered as the web location that you form of smtp.domain.com. But this can vary, so be
wish to visit (instead of having to type in the IP sure to check with your email service provider or LAN
address). After modifying a Host Name, you will be administrator to find out their outgoing server.
required to cycle power. The network router could SMTP Server Port Number - This value is in almost
take up to fifteen minutes to recognize the change. all cases going to be 25. This should be set by the
Work Group – All of the Quantum™ LX units within a network or LAN administrator.
network may be grouped into different categories. Comma-Delimited List Of Email Recipients - This
These categories could be unit locations, or perhaps is simply the list of the Email addresses that you
categorized by unit function. For instance, if you would like to have any messages sent to. Separate
wanted to group the units by function, and had 10 each e-mail address with a comma.
units, and three of them were ACUairs, then ACUair1
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 21
PROTOCOL DESCRIPTION
The use of communication protocols, permits data • Reference the drawing of the Quantum™
transmission between devices. Protocol determines how Main Board in this manual to identify wiring
contact is established and how the query (question) and and jumpering locations for the Comm Ports.
response (answer) takes place. The information in a • Reference the Main Board Communications
message command requires an identity of the intended section in this manual for the correct
receiver (ID #), what the receiver is to do (read or write to jumpering of RS-232, RS-422, or RS-485.
a setpoint, etc.), data needed to perform an action (the
value of a setpoint to be changed), and a means of 7. Send a single command to read data from this
checking for errors (checksum). Quantum™ using its ID.
When using any of the communications ports, check what 8. Check if you received a data response at your
communication protocol, if any has been selected, from device.
the Communications screen. The baud rate, data bits,
stop bits, parity and connection type of all comm. ports, as 9. Troubleshooting when you don’t receive a data
well as the panel ID number are also changed from this response:
screen, and should coincide with the setup of the other
device. • Check to see if the status of the Comm Port
on the Communications screen is showing
Note: The data communication protocols are continuously ACTIVE or OFF.
being expanded and improved. Therefore, you should
consult Frick® Controls for the exact details on your • ACTIVE is shown only when the Quantum™
particular unit(s) before developing system software to understands it is receiving a properly
interface with the panel. composed message to itself.
3. Next, setup the Quantum™ for the desired Note: A useful tool for troubleshooting is Windows
communication protocol. Select the protocol from HyperTerminal. Using HyperTerminal can help you
the Communications screen. determine if you are wired properly. Reference the
HyperTerminal Setup section in this manual.
4. Setup the baud rate of the Comm Port to coincide
with the setup of your device’s communication 1. If you properly receive data and you need to
port. communicate to more than one panel, then setup
and wire to another panel. Reference the wiring
5. Enter the Quantum™ ID. This will be used to
diagram drawings in the back of this manual.
identify commands that are sent to it.
Send a single command to read data from this
6. Wire to the first panel via RS-232, RS-422, or Quantum™ using it’s ID and troubleshoot as
RS-485 connections to the Quantum™ Comm above, if necessary. To prevent noise feedback
Port. which is possible when communicating over a
long distance, only the last panel should have the
• If you are communicating to more than one termination for long communications lines
panel, then you will not be able to use RS- jumpered.
232. You can however, convert RS-232 to
either RS-422 or RS-485 with an adapter
card. Reference the Converting an RS-232
Serial Port to RS-422 or RS-485 section for
information about an adapter card.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 22 COMMUNICATIONS SETUP
®
Frick Protocols Pressure data is usually returned in the current pressure
units. However, the Filter differential reading is always
All commands for Frick® protocols must be in ASCII to be returned in PSIA. When in PSIG or in PSIA, the pressure
recognized (see the Conversion Chart For Decimal / data is returned as 3 characters with no decimal position.
Hexadecimal / ASCII, located later in this manual). The However; in order to show the full transducer range, the
data should be setup as an 8 bit Word with no Parity, and #IDPS command returns 4 characters with one decimal
a Stop Bit. The commands can be in upper or lower case position assumed. The #IDI, and #IDPA commands return
letters. A compressor with an ID code of [00] is considered 3 characters that assume one decimal position; therefore,
disabled. ID codes from [01] through [99] are valid and 99.9 is the highest value that can be returned. When in
recognized by the microprocessor. PSIG, suction pressure is returned in PSIA. When in Bar
and BarA, the pressure data is returned as 4 characters
with two decimal positions assumed. When in KpaA, the
FRICK® # PROTOCOL SPECIFICATIONS
pressure data is returned as 4 characters with no decimal
position.
Frick # protocol consists of commands that are available
for most other existing models of Frick control panels. The
The following is a detailed description of each command:
Frick # protocol does not utilize a checksum. It is better to
use Frick Quantum™ ($) protocol when only
communicating to Quantum™ panels. RETURN COMPRESSOR STATUS INFO: #01I
When there is more than one panel, a Quantum™ can be # Start of command sequence.
wired from it’s Com-2 to another panels Com-2 or can be 01 Compressor ID code.
wired from it’s Com-2 to Port 1 of a RWB, RDB, RXB or I Return Status information command.
RXF Micro Plus panel. RETURNED ANSWER, ie: 090RRRN340
Character Description
Frick® RWB, RDB, RXB, or RXF Panel Frick® # Position of returned data
Communications Port #1
RS-422 Pinout 1, 2, 3 Slide Valve position.
9 - TX (Transmit) 4 Remote, Auto, Manual (Slide Valve)
8 + TX (Transmit) 5 Delay-recycle, Running, Off, Slide Valve
5 - RX (Receive) too high, Permissive Start not enabled,
d(I)fferential Pressure too high, s(T)opping,
4 + RX (Receive) au(X) not energized, (U)nable to start
®
6 Rem, M Keypad, Auto (Compressor mode)
The following is a complete list of available Frick Protocol 7 Cutout (Shutdown), Alarm, Normal
# commands: 8, 9, 10 Suction in PSIA.
(Carriage return, line feed.)
COMMAND CODE and DESCRIPTION
Note: The following control commands are for remote
I = Returns compressor status information.
control of a compressor. A compressor should be in both
R = Compressor start control.
remote compressor mode and remote Slide Valve or
S = Compressor stop control.
capacity mode for remote control.
V = Slide Valve/Slide stop control.
P = Return Pressures information.
A = Return full load amps information. COMPRESSOR START CONTROL: #01R01
T = Return Temperatures information.
Q = Query setpoints data. # Start command sequence.
C = Enter Change setpoints mode. 01 Compressor ID code.
MC = Change compressor mode. R Start compressor command.
MV = Change Slide Valve mode. 01 ID code repeated for verification
KF = Clear Failures.
KR = Clear remaining recycle delay time.
F = Return Failures. NOTE: The compressor must be in the remote Start
mode for this command to be executed.
All data is returned as integer values. If decimal positions Returned answer: A01
are assumed, then divide the data by the proper multiple
Character
of 10 to get the actual value. Description of returned data
Position
Temperature data, except for Suction Temperature, is 1 Acknowledge of command sent.
returned in the current temperature units as 3 characters 2, 3 ID code of compressor.
with no decimal position (i.e. 032 would represent 32 (Carriage return, line feed.)
degrees Fahrenheit if the panel temperature units are in
Fahrenheit, or it would represent 32 degrees Celsius, if the
panel temperature units are in Celsius). Suction
Temperature is returned as 4 characters with a + or - as
the leading character (i.e. –010 would represent –10
degree).
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 23
If the command was #01VL00, then the load Slide If the command was #01A, then the microprocessor
Valve output on compressor #1 would be turned off. If would dump the full load amps value
the command was #01VL05, then the load Slide Valve RETURNED ANSWER:
output on compressor #1 would be turned on for 5
seconds, and would then automatically turn off. NOTE: XXX = 3 characters followed by a carriage return, line
the Slide Valve must be in the remote mode for this feed.
command to be executed. Time is not accrued, each
command restarts timer. RETURN TEMPERATURES COMMAND: #01TX
RETURNED ANSWER (for L or U commands): A01
# Start command sequence.
Character Description 01 Compressor ID code.
Position of returned data T Return temperature command.
QUERY SETPOINTS DATA - #IDQ1 will return QUERY SETPOINTS DATA - #IDQ3 will return
Position # Byte(s) Setpoint (Name/Comment)
Position # Byte(s) Setpoint (Name/Comment)
1, 2, 3, 4 4 Spaces
1 1 Always 0 5, 6, 7, 8 4 Future
Capacity Control Setpoint, 9 1 Setback active 1=yes, 0=no
2, 3, 4, 5 4 10, 11, 12, 13 4 Auto. Cycling comp. start
3 chars followed by g or h
14, 15, 16, 17 4 Auto. Cycling comp. stop
14, 15 2 Prop band 18, 19 2 Future
16, 17 2 Dead band 20, 21 2 Future
18, 19 2 Cycle time 22, 23 2 Autocycle min. Slide Valve
20, 21, 22, 23 4 Future 24 1 Autocycle active 0=no 1=yes
24, 25, 26, 27 4 Future 25, 26, 27, 28 4 Future
28, 29, 30, 31 4 Future 29, 30, 31, 32 4 Future
32, 33 2 Future 33, 34 2 Future
34, 35 2 Future 35, 36 2 Future
36, 37 2 Future 37, 38 2 Future
High Discharge Pressure 39 1 Future
38, 39, 40, 41 4 40 1 ID (tenths position byte)
Shutdown
42, 43, 44, 45 4 High Discharge Press. Alarm 41 1 ID (ones position byte)
46 1 ID (tenths position byte) 42 1 ID Chksum of data (pos 1-47)
47 1 ID (ones position byte) 43 1 CR code 13
ID Checksum of all data (pos. 44 1 LF code 10
48 1 45 1 0 null terminator char.
1 to 47)
49 1 CR code 13
50 1 LF code 10 CHANGE SETPOINTS COMMAND: #01C
51 1 0 null terminator char.
# Start command sequence.
01 Compressor ID code.
QUERY SETPOINTS DATA - #IDQ2 will return C Change setpoint command.
xx Which setpoint
Position # Byte(s) Setpoint (Name/Comment) xxx New value
y g or h for gauge or inches
1, 2, 3 3 Future
4, 5, 6 3 Future The following is the complete list of setpoints that may
7, 8, 9 3 MLC amps stop load be changed while in the change setpoints command:
10, 11, 12 3 MLC amps force unload 01xxxy Capacity Control Setpoint
13, 14, 15 3 CT factor (y deleted for KpaA & BarA ver.)
16, 17 2 Recycle delay (setpoint, not 02xxxy Change Low Suction Shutdown Setpoint
time left) (y deleted for KpaA & BarA ver.)
18 1 Aux 1 0=alarm, 1=shutdown 03xxxy Capacity Low Suction Alarm Setpoint
19 1 Aux 1 0 = NO, 1 = NC (y deleted for KpaA & BarA ver.)
20 1 Aux 2 0=alarm, 1=shutdown 04xxx Change High Press. Shutdown Setpoint
21 1 Aux 2 0 = NO, 1 = NC (xxxx is used for KpaA & BarA ver.)
22 1 Future 05xxx Change High Press. Alarm Setpoint
23, 24 2 Future (xxxx is used for KpaA & BarA ver.)
25 1 Future 06xxx Change MLC Stop Load Setpoint
26 1 Future 07xxx Change MLC Force Unload Setpoint
27, 28 2 Future 08xx Change Recycle Delay Setpoint
29 1 Future 09xxx Change CTF Setpoint
30 1 ID (tenths position byte) 10xx Proportional Band
31 1 ID (ones position byte) 11xx Dead Band
32 1 ID Checksum of all data 12xx Cycle Time
(pos. 1 to 47) 01 Compressor ID code
33 1 CR code 13 RETURNED ANSWER:
34 1 LF code 10
35 1 0 null terminator char. Axxxx The new setpoint which was sent followed by a
carriage return, line feed. BAD followed by the
ID, CR, LF if unsuccessful.
If the command was sent #01C01300g01, the capacity
control setpoint would be changed to 30.0g and the
returned answer is A300g followed by a CR, LF. If the
command was sent #01C0711001, the MLC force
unload setpoint would be changed to 110% and the
returned answer is A110 followed by a CR, LF. If the
command sent was #01C0520002, the returned answer
is BAD followed by the ID number and a CR, LF.
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 25
0 = safe 1 = alarm/shutdown
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 26 COMMUNICATIONS SETUP
QUANTUM™ $ PROTOCOL SPECIFICATIONS recognizes this portion of the data packet as a request for
the data from a memory location (address).
Quantum™ ($) protocol commands have been added
specifically for the Quantum™. This protocol has been Up to now you have typed the following information: $01T1.
modified slightly for the LX, in that the D command has Now you to need specify the address(s) that you wish to
been eliminated, and the addressing structure has query. Up to sixteen addresses may simultaneously be
changed. Any previously configured Quantum™ protocol requested. The format for this entry must be in the form of
applications that had been written for pre-LX panels, will four digits, so if you want to query the Frick address for
still work for the LX, by setting the Map File drop down box Suction Pressure (address 2002), simply enter the value
to YES on the Communications Screen. By setting the 2002. Your command line should now look like this:
Map File to YES, the LX software will automatically $01T12002. If you would like to view additional addresses,
convert all the addresses from the older protocol version, simply continue to append the address numbers to this
to the LX. command (up to sixteen total). For this example, we will
only use the one address (2002 for Suction Pressure). The
Unless otherwise shown, 9 characters are returned from next thing that must be done is to enter a checksum value.
the Quantum™ for a data value. The data value includes You may elect to type in a ?? as a wildcard if you do not
two decimal fields and the first character position is either; have the time to figure the correct checksum, however, the
- if the value is negative, or it is + if the value is positive. information that is returned may or may not always be
For example, if the data’s value is 25.5; then the value reliable. The checksum will ensure reliability.
+00002550 is sent. All temperatures are in degree C and
all pressures are in PSIA. A mode such as Slide Valve To arrive at the checksum value for the command you have
mode is returned as an integer value that represents the just typed, you will need to convert each ASCII digit into
mode that it is in. For example, a +00000000 is sent if it is hexadecimal (do not include the $ symbol). For this
in manual, or a +00000100 is sent if it is in automatic, or a example, you will need to take the first digit 0, and referring
+00000200 is sent if it is in remote. The value zero to the Conversion Chart at the end of this section, look
+00000000 is used to represent an OFF status and a down the ASCII column until you find 0. You will notice that
DISABLED option. The value one +00000100, which is the Hexadecimal equivalent for ASCII 0 is 30 hex. Repeat
received as a 1, is used to represent an ON status and an the process of looking up each digit in the ASCII column,
ENABLED option. Setpoints are only changed if the value and finding its equivalent in the Hexadecimal column, and
sent is within the acceptable range. Reference the Frick® write each value down. When all eight (minimum) digits
Quantum™ Control Panel Maintenance publication S90- (01T12002) have been converted to hexadecimal, you will
020 M for the setpoints default settings and ranges. The need to add the eight values together. Remember, the
checksum is the 2 byte hexadecimal sum of each values are in hexadecimal format, not decimal. If you are
character within the command or returned answer not familiar with hexadecimal math, you may wish to utilize
excluding the command type identifier, $. If the the calculator that comes with Microsoft Windows. Look at
command’s checksum is replaced with ??, the Quantum™ the following chart:
LX returns a response without using checksum error
checking on the received command (refer to the Data ASCII Value of Hexadecimal
Packet section for more information). If the Quantum™ LX Data Packaet Equivalent
detects a checksum error, a N (Not Acknowledged), the 0 30
Compressor ID code, 02, Carriage return, and Linefeed 1 31
are returned. T 54
1 31
This document will demonstrate how to communicate to the 2 32
Quantum™ LX panel using the tables that appear on the 0 30
following pages. 0 30
2 32
Data Packet Hex Total = 1A8
If you were interested in viewing the information that is The answer that is arrived at from the previous chart is
contained in any of the accessible Quantum™ addresses, 1A8.
you would want to refer to the table entitled RETURN
DATA VALUE FROM TABLE $IDT1 table later in this NOTE: For any calculation that results in an answer of
section. more than two digits, use only the right most two digits, and
disregard all digits to the left.
The quickest and easiest way to demonstrate this protocol
is through Hyperterminal (see the section entitled This will become the checksum for the data packet, and is
Hyperterminal later in this manual). After setting up appended to the end of the data that has so far been typed
Hyperterminal and ensuring that all wiring and jumper in.
configurations are correct, type a $ symbol. This is the
character that will alert all of the Quantum™ panels on the The result should look like this:
communications line that data is on its way. Following the $
symbol, type the ID code of the Quantum™ that you wish $01T1002A8
to query (for instance 01 for the first Quantum™). After the
ID number, type a T1. The protocol code in the Quantum™
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 27
Press the [Enter] key. You should see an immediate SLIDE VALVE CONTROL COMMANDS: $IDCLXX
response. The format of this response should resemble
something (but not necessarily exactly) like: $ Start command sequence.
ID Compressor ID code.
A01+00006166B6 C Slide Valve/Slide Stop command.
L Load Slide Valve command.
Referring to the RETURN DATA VALUE FROM TABLE XX = 00 Turns selected output off.
$IDT1 table on the next page, we find that the first line of XX=01 to 15 Turns selected output on for XX seconds.
the response, A01, indicates that an Acknowledgement (A)
was received from device 01 (01). This is followed by If the command is $01CL00, then the load Slide Valve
+00006166 (Suction Pressure). The plus (+) symbol output on compressor #1 would be turned off. Time is
indicates a positive value, followed by 00006166. Since not accrued, each command restarts timer. NOTE: the
there are two decimal positions assumed, 0006166 equals Slide Valve must be in the remote mode for this
61.66 PSIA. Using the +/- symbols as a delimiter in the command to be executed.
above example, each section of 8 digits can be interpreted
as the actual value being returned from each of the RETURNED ANSWER (for L or U commands): A01
address queries. The B6 value at the very end of the
response is the checksum value that the Quantum™ Character
returned, not actual data. Description of returned data
Position
The following is a complete list of available $ command 1 Acknowledge of command sent.
types: 2,3 ID code of compressor. (CR, line feed.)
Character
Description of returned data
Position
RETURN OPERATING STATUS Page 1 data: $IDD1 RETURN OPERATING STATUS Page 3 data: $IDD3
$ Start of command sequence. $ Start of command sequence.
ID Compressor ID code. ID Compressor ID code.
D1 Operating Status – Page 1 command. D3 Operating Status – Page 1 command.
CS Checksum CS Checksum
CR Carriage Return CR Carriage Return
RETURNED ANSWER, RETURNED ANSWER,
Starting Starting
Character Description of returned data Character Description of returned data
Position Position
1 A Acknowledge 1 A Acknowledge
2 01 Compressor ID code. 2 01 Compressor ID code.
4 Suction Pressure 4 Communication Port 1 Code
13 Suction Temperature 13 Communication Port 2 Code
22 Discharge Pressure 22 I/O Communication Port Code
31 Discharge Temperature 31 Capacity Control Mode
40 Oil Pressure 40 Process Control
49 Oil Temperature 49 Oil Pump Mode
58 Filter Differential 58 Oil Pump Code
67 Motor Current 67 Oil Heater Code
76 FLA% 76 Process Setpoint
85 Kilowatts 85 Slide Valve Mode
94 Slide Valve 94 Slide Stop Mode
103 Slide Stop 103 Runtime Hours
112 Process Temperature 112 CS (Checksum followed by Carriage return,
121 CS (Checksum followed by Carriage return, Line feed.)
Line feed.)
RETURN OPERATING STATUS Page 4 data: $IDD4
RETURN OPERATING STATUS Page 2 data: $IDD2 $ Start of command sequence.
$ Start of command sequence. ID Compressor ID code.
ID Compressor ID code. D4 Operating Status – Page 1 command.
D2 Operating Status – Page 1 command. CS Checksum
CS Checksum CR Carriage Return
CR Carriage Return RETURNED ANSWER,
RETURNED ANSWER, Starting
Starting Character Description of returned data
Character Description of returned data Position
Position 1 A Acknowledge
1 A Acknowledge 2 01 Compressor ID code.
2 01 Compressor ID code. 4 Date as 00/00/00
4 Alarm Status 13 Time as hh:mm:ss
13 Shutdown Status 23 Remaining Recycle time as mm:ss
22 Running Status 30 CS (Checksum followed by Carriage return,
31 Slide Valve Load Line feed.)
40 Slide Valve Unload
49 Slide Stop Increase
58 Slide Stop Decrease
67 Stop Load/Force Unload Code
76 Separator Temperature
85 Balance Piston Pressure
94 Process Variable
103 Compressor Mode
112 CS (Checksum followed by Carriage return,
Line feed.)
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 29
RETURN Alarms & Shutdowns – Page 1 $IDF1 RETURN Alarms & Shutdowns – Page 2 $IDF2
Starting Starting
Character Description of returned data Character Description of returned data
Position Position
1 A Acknowledge 1 A Acknowledge
2 01 Compressor ID code. 2 01 Compressor ID code.
4 Message Code 1 4 Message Code 7
7 Date 1 as mm/dd/yy 7 Date 7 as mm/dd/yy
15 Time 1 as hh:mm:ss 15 Time 7 as hh:mm:ss
23 Space 23 Space
24 Message Code 2 24 Message Code 8
27 Date 2 as mm/dd/yy 27 Date 8 as mm/dd/yy
35 Time 2 as hh:mm:ss 35 Time 8 as hh:mm:ss
43 Space 43 Space
44 Message Code 3 44 Message Code 9
47 Date 3 as mm/dd/yy 47 Date 9 as mm/dd/yy
55 Time 3 as hh:mm:ss 55 Time 9 as hh:mm:ss
63 Space 63 Space
64 Message Code 4 64 Message Code 10
67 Date 4 as mm/dd/yy 67 Date 10 as mm/dd/yy
75 Time 4 as hh:mm:ss 75 Time 10 as hh:mm:ss
83 Space 83 Space
84 Message Code 5 84 Message Code 11
87 Date 5 as mm/dd/yy 87 Date 11 as mm/dd/yy
95 Time 5 as hh:mm:ss 95 Time 11 as hh:mm:ss
103 Space 103 Space
104 Message Code 6 104 Message Code 12
107 Date 6 as mm/dd/yy 107 Date 12 as mm/dd/yy
115 Time 6 as hh:mm:ss 115 Time 12 as hh:mm:ss
123 Space 123 Space
124 CS (Checksum followed by Carriage return, 124 CS (Checksum followed by Carriage return,
Line feed.) Line feed.)
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 30 COMMUNICATIONS SETUP
RETURN Alarms & Shutdowns – Page 3 $IDF3 RETURN DATA VALUE FROM TABLE $IDT1
Character
Description of returned data
Position
ALLEN-BRADLEY COMMUNICATION
This section contains programming examples for reading slaves increase on the link, the time between when each
data from and writing data to the Frick Quantum control Quantum™ is polled also increases. This increase in time
panel from an Allen Bradley (AB) SLC500 or PLC5 may become larger if you are using low baud rates. As
processor. Allen Bradley (AB) RSLogix500 programming these time periods grow, the timeouts such as the
software has been used for the following examples, message timeout, poll timeout and reply timeout may need
however, these examples can also be used for the AB to be changed to avoid loss of communication.
RSLogix5 software.
ACK Timeout - The amount of time in 20 milliseconds
Overview increments that you want the processor to wait for an
acknowledgment to the message it has sent before the
To provide for the reading and writing of data to processor retries the message or the message errors out.
Quantum™ panels using Allen-Bradley communication,
the Quantum™ has an Allen-Bradley DF1 communication Reply Message Wait Time - Define the amount of time in
driver that recognizes both half-duplex and full duplex SLC 20 millisecond increments that the master station will wait
500 protected typed logical read and write commands. after receiving an ACK (to a master-initiate message)
This is a Master / Slave multi-drop communication before polling the remote station for a reply. Choose a
method. The Quantum™ talks Allen-Bradley SLC protocol time that is, at minimum, equal to the longest time that a
and is programmed to resemble an Allen-Bradley SLC500 remote station needs to format a reply packet. Some
slave station. The customer’s PLC or DCS must be setup remote stations can format reply packets faster than
to initiate the reading and writing of data to a Quantum™. others.
The Quantum™ does not initiate any communications.
The Quantum™ panels ID number is used as its station Message Timeout - Defines the amount of time in
address and the target node. With the AB PLC, the MSG seconds that the message will wait for a reply. If this time
(Message) instruction is used to send read and write elapses without a reply, the error bit is set, indicating that
requests. A DCS (Distributed Control System) will use a the instruction timed out. A timeout of 0 seconds means
SLC 500 DF1 protocol driver to send protected typed that there is no timer and the message will wait indefinitely
logical read with 3 address fields and protected typed for a reply. Valid range 0-255 seconds.
logical write requests with 3 address fields to a
Quantum™. Fifty (50) data elements can be read with one Note: Make sure the Allen-Bradley PLC and the
read. The most desired data (information on the Operating programming software is the most recent software
Status screen) exists in a fifty (50) element data area. revision. Some revisions have been made that do not
Setpoints are changed by sending a write command to allow the SLC Typed Logical Read/Write Message
one element. Changing a setpoint causes the Quantum™ Command.
to save the new setpoint to Flash memory (non-volatile
memory). Be careful not to continuously request a SLC-500 - Suggested Setup
setpoint change. It is to be expected that
communications may slow down during the process The following are representations of the channel
of writing setpoints or clearing alarms. Both of these configuration screens from the AB RSLogix500
processes involve writing to either EEPROM or Flash programming software for the SLC500. Enter values as
Memory and does take some time. If communication shown in order to establish communications via AB
requests are being sent faster than once every couple Protocol.
of seconds, there will be temporary slowdowns during
these processes. Additionally, keeping the Quantum™ CHANNEL CONFIGURATION
busy writing to Flash memory will interfere with the
Quantum™ communicating to it’s I/O Boards. A Configure the communication channel – Channel 0:
communication failure to an I/O board will cause the Current Communication Mode: System
compressor to shutdown. Control commands such as Communication Driver: DF1 Half-Duplex Master or DF1
starting the compressor are also sent with a write Full-Duplex
command. For more detail and a list of the data, reference Baud Rate: 19200 (suggested)
the Quantum™ Data Table section. For details about the Stop Bits: 1
actual protocol, reference the AB publication 1770-6.5.16 Duplicate Detect: Disabled
DF1 Protocol and Command Set Reference Manual. ACK Timeout (x20ms): 30
Message Retries: 3
Because overrun can occur, the baud rate and commands Parity: None
should be setup to produce the most desired throughput. Station Address (Source ID): 5 (Master’s DF1 selected
The master station should have the Stop Bit set to 1, ID#)
Parity set to none, Duplicate Detect disabled, and Error Error Detect: BCC / CRC
Detect set for BCC or CRC. RTS off Delay (x20ms): 0
RTS Send Delay (x20ms): 0
When communication is between either your programming Pre-Send Time Delay (x1 ms): 0
software and a Quantum™ or an Allen-Bradley PLC and a Control Line: No Handshaking
Quantum™ on a multi-drop link, the devices depend on a Polling Mode: Message Based (do not allow slave to
DF1 Master to give each of them polling permission to initiate messages)
transmit in a timely manner. As the number of Quantum™ Priority Polling Range - Low: 255, High: 0
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 34 COMMUNICATIONS SETUP
Normal Polling Range - Low: 255, High: 0 • The distance and transmission rate are reduced
Normal Poll Group Size: 0 to comply with RS-423 requirements
Reply Message Wait Time (x20ms): 20
System Mode Driver: DF1 Half-Duplex Master or DF1 Full- The PLC-5’s switch 2 is used to select RS-232C, RS-
Duplex 422A, or RS-423. Channel 0 can be wired for RS-422.
User Mode Driver: Generic ASCII
Write Protect: DISABLED Following is the pin connections showing how to wire the
Mode Changes: DISABLED PLC-5 channel 0 connector to the Quantum™ for RS-422
Mode Attention Character: \0x1b (default) communication:
System Mode Character: S (default)
User Mode Character: U (default) PLC-5 CH0 Quantum™ Com-2
Edit Resource/File Owner Timeout (Sec): 60 Pin 2 (TXD.OUT+) Pin 1 (-RX)
Passthru Link ID (decimal): 1 Pin 3 (RXD.IN+) Pin 3 (-TX)
Pin 14 (TXD.OUT-) Pin 2 (+RX)
Read Message Setup Example Pin 16 (RXD.IN-) Pin 4 (+TX)
PLC-5 Series and Firmware that support SL C500 Allen-Bradley Programming Overview
commands
This section contains programming examples for reading
Model Series Firmware must data from, and writing data to the Frick® Quantum™
be at least: control panel from an Allen Bradley (AB) SLC500 or PLC5
C L processor. AB RSLogix500 programming software has
5/30
D C been used for the following examples, however, these
A M examples can also be used for the AB RSLogix5 software.
5/40 B J
C G CHANNEL CONFIGURATION
A M
B J The following are representations of the channel
5/60 configuration screens from the AB RSLogix500
C G
E B programming software for the SLC500. Enter values as
shown in order to establish communications via AB
READ MESSAGE SETUP EXAMPLE Protocol.
General Configuration
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 36 COMMUNICATIONS SETUP
System Configuration
Message Sequence Logic message to the Quantum™ panel. This logic prevents
hang up due to lost communications or message errors.
Use the following logic to sequence read and write
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 37
Use the following logic to read data from the Quantum™ The delay timer on rung 3 must be used when
panel. To read more data or to read data from several communicating to the Quantum™ LX with the 100ms
compressors, copy / paste these rungs as needed then preset as shown. This time delay may be decreased
modify the control block and setup screen parameters when communicating to more than one compressor
accordingly. The following message read instruction will provided the messages are alternated between
be executed whenever counter 5:0 (logic shown above) is compressors. This time delay is not required for Quantum
equal to 0. 1, 2, 3, or 4 communications.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 38 COMMUNICATIONS SETUP
MESSAGE READ SETUP SCREEN register and place them into the SLC500’s N10:1 through
N10:28 register. The target address must be changed to
The following setup screen is programmed to obtain 28 for the Quantum LX.
consecutive data files from the Quantum™ (ID#1) N10:1
Message Write Logic accordingly. The following write message instruction will
be executed when counter 5:0 (logic shown above) is
Use the following logic to write data from the Quantum™ equal to 1 and when called upon by the change
panel. To write more data or to write data to several compressor mode bit B3/2. When B3/2 is off, the counter
compressors, copy / paste these rungs as needed then will be incremented to execute the next message in the
modify the control block and setup screen parameters sequence.
MESSAGE WRITE SETUP SCREEN compressor mode to the Quantum™ (ID#1) N55:3 data file
from the SLC500’s N55:3 data file. The target address
The following setup screen is programmed to write the must be changed to for the Quantum LX.
• This Controller: SLC500 ENABLED option. Only data values that are designated as
setpoints are modifiable. Read Only is used to help
• Data Table Address: Data file location in the identify what data is not modifiable. The setpoint range is
SLC500 checked to see if it is an allowed setting. If it is not
• Size in Elements: # of data file to read allowed, the setting is not changed. Reference the
• Channel: Port location on the SLC processor Quantum™ Data Tables in this manual for the address
(Channel 0 is the RS232 port) listing and description of data.
• Target Device: Quantum™ Panel A command has been provided that selects whether data
to and from the Quantum™ will be integer values with
• Data Table Address: Data file location in the either one or two decimal fields assumed. Another
Quantum™ controller. command has been provided that selects whether data to
and from the Quantum™ will be returned in the units that
• Local Node: Quantum™ ID# (Octal)
are the default (pressure in PSIA and temperature in
Degree C) or in the units that are selected to display at the
Allen-Bradley Data Access panel.
Data passed to and from the Quantum™ are integer
values with one decimal field assumed unless shown EtherNet/IP
otherwise or the command is sent to select two decimal
fields. For example, if the data’s value is 25.5 then the Frick Controls supports the use of EtherNet/IP (as
value 255 is sent. All temperatures are in degree C and all described on the ab.com website, under the EtherNet/IP
pressures are in PSIA unless the command is sent to heading) with LX software 6.06 and later. Address
select the units of the panel. A mode such as Slide Valve mapping follows the Allen-Bradley N: format, as shown in
mode is sent as an integer value that represents the mode the Data Tables under the heading of AB Address.
it is in. For example, a 0 is sent if it is in manual, or a 10 is Configure your Ethernet port for 44818. Although this
sent if it is in automatic, or a 20 is sent if it is in remote. protocol is basically self-configuring, if you do have
additional questions, please contact Frick Controls.
The value zero (0) is used to represent an OFF status and
a DISABLED option. The value one (1), which is received
as a 10, is used to represent an ON status and an
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 42 COMMUNICATIONS SETUP
MODBUS® Protocol
General Description compressor to shutdown. For more detail and a list of the
data, reference the Quantum™ Data Table section of this
MODBUS® Protocol is a messaging structure developed manual. For details about the actual protocol, reference
by Modicon in 1979, used to establish master-slave/client- the Modicon website at http://www.modicon.com.
server communication between intelligent devices. It is a
standard, truly open and the most widely used network MODBUS® ASCII (Serial Communications)
protocol in the industrial manufacturing environment. The
MODBUS® protocol provides an industry standard method In the ASCII Transmission Mode (American Standard
that MODBUS® devices use for parsing messages. Code for Information Interchange), each character byte in
a message is sent as 2 ASCII characters. This mode
Since MODBUS® protocol is a messaging structure, it is allows time intervals of up to a second between characters
independent of the underlying physical layer. It is during transmission without generating errors. Some
traditionally implemented using RS-232, RS-422, or RS- particulars about MODBUS® ASCII:
485 communications hardware. With the Quantum™ LX,
MODBUS® TCP can also be utilized as it applies to • Error checking is accomplished using LRC
Ethernet networks. (Longitudinal Redundancy Check).
• The function code field of the message frame will
The Quantum™ controller is setup to communicate on contain two characters.
standard MODBUS® networks using either ASCII • The address field of the message frame contains
(American Standard Code for Information Interchange), two characters.
RTU or TCP/IP. • Word size is 7 bits.
• Hyperterminal can be used to test
NOTE: The mode and serial parameters must be the communications.
same for all devices on a MODBUS® network,
therefore, ensure that your network is utilizing the
MODBUS® RTU (Serial Communications)
MODBUS® protocol before attempting to try to
communicate to the Quantum™ portion of the
In RTU (Remote Terminal Unit) Mode, each 8-bit message
network.
byte contains two 4-bit hexadecimal characters, and the
message is transmitted in a continuous stream. The
The Quantum™ provides the capability to interface with
greater effective character density increases throughput
other devices that support serial data communications
over ASCII mode at the same baud rate. Some particulars
using the MODBUS® protocol. This is a Master / Slave
about MODBUS® RTU:
multi-drop communication method whereby the
Quantum™ is setup to be a MODBUS® Slave. The
• Error checking is accomplished using CRC
customer’s PLC (Programmable Logic Controller) or DCS
(Cyclical Redundancy Check).
(Data Communications System, such as a desktop or
laptop computer) must be setup as a MODBUS® Master. • The function code field of the message frame will
The Master initiates the reading and writing of data contain 8 binary bits
(queries) to a Quantum™. The Quantum™ does not • The address field of the message frame contains
generate its own data, it will only reply from a request by 8 binary bits.
the Master. • Word size is bits.
• Hyperterminal cannot be used to test
The Quantum™ ID number is used as the MODBUS® communications.
Slave address (for ASCII and RTU). The Master uses
Function Code 3 (Read Holding Registers) to send a MODBUS® TCP/IP (Ethernet)
request to read data from the Quantum™. The Master
uses Function Code 6 (Load Register) to request to TCP/IP is the common transport protocol of the Internet
change a setpoint or to send a command such as starting and is actually a set of layered protocols, providing a
the compressor. Up to fifty (50) data elements can be read reliable data transport highway between Quantum™ LX
with one read request. panels and an Ethernet network. Ethernet has become the
standard for factory networking, replacing many of the
The most desired data (information on the Operating data-bus systems used in the past.
Status screen) exists in a 50 (fifty) element data area. The
address references are numbered relative to the Frick® The specification of this protocol is available through many
addresses in the Quantum™ Data Table (see MODBUS sources, and as such, will not be described in this
Addressing Note in the Quantum™ Data Table section of document. MODBUS® TCP/IP simply takes the MODBUS®
this manual for additional information). The Quantum™ instruction set and transparently wraps TCP/IP around it. If
only accepts one value with a Load Register request. you already have a MODBUS® driver, and if you
Changing a setpoint causes the Quantum™ to save the understand Ethernet and TCP/IP sockets, you can have a
new setpoint to nonvolatile memory. Be careful not to driver up and running and talking to a PC, PLC or other
continuously request a setpoint change. Keeping the Quantum™ LX panels. Unlike MODBUS® ASCII and RTU,
Quantum™ busy writing to memory will interfere with the there no parameters that need to be set (such as baud
Quantum™ communicating to its I/O boards. A rate, data bits, etc.).
communication failure to an I/O board will cause the
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 43
NOTE: When using Modicon Setup Software, ensure that: the field contains an exception code that the
Master application can use to determine the next
• Head number = Rack Position (position of action to be taken.
Ethernet card in its rack) • An error-checking field.
• Map Index = Quantum physical ID number
• Socket # = 502 The Query
Combining a versatile physical network (Ethernet) with a The function code in the query tells the addressed
universal networking standard (TCP/IP) and a vendor- Quantum™ what kind of action to perform. The data bytes
neutral data representation (MODBUS®) gives a truly contain any additional information that the Quantum™ will
open, accessible network for exchange of process data. need to perform the function. For example, function code
03 will query the Quantum™ to read holding registers and
Frick® Controls utilizes function codes 3 (Read), 6 (Write) respond with their contents. The data field must contain
and 16 (Multiple Write) of the TCP/IP protocol. Use port the information telling the Quantum™ which register to
502 for Ethernet setup. start at and how many registers to read. The error check
field provides a method for the Quantum™ to validate the
Serial Port Configuration of The Master integrity of the message contents.
The Longitudinal Redundancy Check (LRC) field is When the CRC is appended to the message, the low-
one byte, containing an eight-bit binary value. The order byte is appended first, followed by the high-
LRC value is calculated by the transmitting device, by order byte.
adding together successive eight-bit bytes of the
message, discarding any carries, and then two's Framing
complementing the result. It is performed on the
ASCII message field contents excluding the colon A message frame is used to mark the beginning and
character that begins the message, and excluding the ending point of a message allowing the receiving device to
CRLF pair at the end of the message. The LRC is determine which device is being addressed and to know
then appended to the message as the last field when the message is completed. It also allows partial
preceding the CRLF (Carriage – Line Feed) messages to be detected and errors flagged as a result.
characters. Each new addition of a character that
would result in a value higher than 255 decimal simply ASCII
rolls over the field's value through zero. Because
there is no ninth bit, the carry is discarded In ASCII mode, messages start with a colon ( : )
automatically. character (3A hex), and end with a carriage return-line
feed (CRLF) pair (0D and 0A hex).
The receiving device recalculates an LRC during
receipt of the message, and compares the calculated The allowable characters transmitted for all other
value to the actual value it received in the LRC field. If fields are hexadecimal 0 - 9, A - F.
the two values are not equal, an error results.
All Quantum™ panels connected to the network
RTU monitor the network bus continuously for the colon
character. When one is received, each Quantum™
In RTU mode, messages include an error–checking decodes the next field (the address field) to find out if
field that is based on a Cyclical Redundancy Check it is the addressed device.
(CRC) method. The CRC field checks the contents of
the entire message. It is applied regardless of any A MODBUS® message is placed by the transmitting
parity check method used for the individual characters device into a frame that has a known beginning and
of the message. ending point. This allows receiving devices to begin at
the start of the message, read the address portion
The CRC field is two bytes, containing a 16–bit binary and determine which device is addressed, and to
value. The CRC value is calculated by the know when the message is completed. Partial
transmitting device, which appends the CRC to the messages can be detected and errors can be set as a
message. The receiving device recalculates a CRC result.
during receipt of the message, and compares the
calculated value to the actual value it received in the A typical message frame as sent by the Master is
CRC field. If the two values are not equal, an error shown below:
results.
LRC
The CRC is started by first preloading a 16–bit START ADDRESS FUNCTION DATA END
CHECK
register to all 1’s. Then a process begins of applying : 01 03 00870001 74 CRLF
successive 8–bit bytes of the message to the current 1 2 2 8 2 2
CHAR CHAR CHAR CHAR CHAR CHAR
contents of the register. Only the eight bits of data in
each character are used for generating the CRC.
Start and stop bits, and the parity bit, do not apply to Start of Quantum™ LRC Carriage
Function
the CRC. message ID Error Return –
Correction Line
During generation of the CRC, each 8–bit character is Code Feed
exclusive ORed with the register contents. Then the 00 = H.O. Address
87 = L.O. Address
result is shifted in the direction of the least significant 00 = H.O. # of Data of Registers
bit (LSB), with a zero filled into the most significant bit 01 = L.O. # of Data Registers
(MSB) position. The LSB is extracted and examined.
If the LSB was a 1, the register is then exclusive RTU
ORed with a preset, fixed value. If the LSB was a 0,
no exclusive OR takes place. In RTU mode, messages start with a silent interval of
at least 3.5 character times. This is most easily
This process is repeated until eight shifts have been implemented as a multiple of character times at the
performed. After the last (eighth) shift, the next 8–bit baud rate that is being used on the network (shown
byte is exclusive ORed with the register’s current as T1–T2–T3–T4 in the figure below). The first field
value, and the process repeats for eight more shifts then transmitted is the device address.
as described above. The final contents of the register,
after all the bytes of the message have been applied, The allowable characters transmitted for all fields are
is the CRC value. hexadecimal 0–9, A–F. Networked devices monitor
the network bus continuously, including during the
‘silent’ intervals. When the first field (the address field)
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 45
is received, each device decodes it to find out if it is Look at this message on a more basic level, to understand
the addressed device. how the address that we are requesting is arrived at. We
want to know the actual value of the Discharge Pressure,
Following the last transmitted character, a similar Frick® Address 2003 (decimal).
interval of at least 3.5 character times marks the end
of the message. A new message can begin after this The first part of the message will be a Colon ( : ). This
interval. The entire message frame must be represents a heads up alert that data is coming:
transmitted as a continuous stream. If a silent interval
}
of more than 1.5 character times occurs before
: 01 03 07 D3 00 01 21 CRLF
completion of the frame, the receiving device flushes
the incomplete message and assumes that the next
Where:
byte will be the address field of a new message.
Start of Message
Similarly, if a new message begins earlier than 3.5 Quantum™ ID #
character times following a previous message, the Read Function
receiving device will consider it a continuation of the H.O. address (hex)
previous message. This will set an error, as the value L.O. address (hex)
in the final CRC field will not be valid for the combined H.O. # of Data Registers
messages. A typical message frame is shown below: L.O. # of Data Registers
Error Correction Code
CRC Carriage Return – Line Feed
START ADDRESS FUNCTION DATA END
CHECK
8 Bits Nx T1-T2-T3-T4
T1-T2-T3-T4 8 Bits 16 Bits Any time that a message is sent, all of the Quantum™
8 Bits
panels on the MODBUS® network will become active,
communications-wise, once the Colon appears. Next, the
Start of Quantum™ Function CRC End of panels will look at the first byte following the Colon ( : ). If
message ID Error message this byte equals the Panel ID # of the particular
Correction
Code
Quantum™ being queried, it will immediately finish
00 = H.O. Address
reading the remainder of the message. If the byte does not
87 = L.O. Address equal its ID #, the message will be ignored.
00 = H.O. # of Data of Registers
}
01 = L.O. # of Data Registers : 01 03 07 D3 00 01 21 CRLF
: 01 03 07 D3 00 01 21 CRLF : 01 03 07 D3 00 01 21 CRLF
Where: Where:
Start of Message Start of Message
Quantum™ ID # Quantum™ ID #
Read Function Read Function
H.O. address (hex) H.O. address (hex)
L.O. address (hex) L.O. address (hex)
H.O. # of Data Registers H.O. # of Data Registers
L.O. # of Data Registers L.O. # of Data Registers
Error Correction Code Error Correction Code
Carriage Return – Line Feed Carriage Return – Line Feed
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 46 COMMUNICATIONS SETUP
2003 decimal equals 07D3 hex. Looking at our example, After the entire data packet has been created, simply
we see that we need a H.O. (High Order) address and a press the [Enter] key, a Line Feed will automatically be
L.O. (Low Order) address. Since all data sent and sent also.
}
received is in ASCII Hex Byte format, we need to look at : 01 03 07 D3 00 01 21 CRLF
D3 Hex as the Low Order portion of the address. The High
Order portion is 07. Now our decimal 2003 is formatted as Where:
07D3 Hex. Start of Message
Quantum™ ID #
}
: 01 03 07 D3 00 01 21 CRLF Read Function
H.O. address (hex)
Where: L.O. address (hex)
Start of Message H.O. # of Data Registers
Quantum™ ID # L.O. # of Data Registers
Read Function Error Correction Code
H.O. address (hex) Carriage Return – Line Feed
L.O. address (hex)
H.O. # of Data Registers ASCII Write Example
L.O. # of Data Registers
Error Correction Code To demonstrate how an address within the Quantum™
Carriage Return – Line Feed may be written to, the following test can be performed
using Windows HyperTerminal (NOTE: Hyperterminal
Since we are only looking for this one address, and no cannot be used to test RTU or TCP/IP communications):
other, we can say that we are only looking for one Data
Address. Our Data Address part of the data packet is also As an example, a MODBUS® command will be created,
looking for a High and a Low Order value. Fortunately, the and sent to set the Quantum™ to set the Regulation Mode
number one (1) is the same in decimal as it is in Hex, 1 Setpoint to 100.0 PSIA. First, be aware that data sent to
therefore, the Low Order Address is 01 (hex). The High and received by the Quantum™ has one decimal place
Order Address is 00 (hex), so our decimal 1 is formatted assumed. This means that to send the value of 100.0, you
as 0001 (hex). actually need to send 1000. Using the address tables
}
: 01 03 07 D3 00 01 21 CRLF line.
}
: 01 06 1B EE 03 E8 05 CRLF
Where:
Start of Message Where:
Quantum™ ID #
Read Function Start of Message
H.O. address (hex) Quantum™ ID #
L.O. address (hex) Write Function
H.O. # of Data Registers H.O. address (hex)
L.O. # of Data Registers L.O. address (hex)
Error Correction Code H.O. # of Data Value
Carriage Return – Line Feed L.O. # of Data Value
Error Correction Code
Carriage Return – Line Feed
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 47
Any time that a message is sent, all of the Quantum™ In order to ensure that the Quantum™ in question
panels that are on the MODBUS® network will become receives the data request accurately, we must append an
active, communications wise, once the Colon appears. Error Check byte to the end of the message. This is
Next, all panels will look at the first byte following the accomplished by adding each of the byte pairs (hex) that
Colon (:). If this byte equals the Panel ID # of the particular we have generated thus far:
Quantum™ being queried, it will immediately finish
reading the remainder of the message. If the byte does not 01 + 06 + 1B + EE + 03 + E8 = 1FB hex
equal its ID #, the message will be ignored.
Normally, we would subtract 1FB (hex) from 100 (hex), as
In this particular example, we are strictly looking to write a in the previous read example. However, in this case we
data value, so we will be performing a write function (06): see that 1FB hex is greater than 100 hex. Since the math
in this particular example would yield a negative number
}
: 01 06 1B EE 03 E8 05 CRLF (FFFF FFFF FFFF FF05), we need to modify the value of
1FB in order to provide a positive result. This is
Where: accomplished quite simply by dropping the most left hand
Start of Message digit (1FB becomes FB), and then subtracting FB hex from
Quantum™ ID # 100 hex:
Write Function
H.O. address (hex) 100 (hex) - FB (hex) = 05 (hex)
L.O. address (hex)
}
H.O. # of Data Value
: 01 06 1B EE 03 E8 05 CRLF
L.O. # of Data Value
Error Correction Code
Carriage Return – Line Feed Where:
Start of Message
7150 decimal equals 1BEE hex. Looking at our example, Quantum™ ID #
we see that we need a H.O. (High Order) address and a Write Function
L.O. (Low Order) address. Since all data sent and H.O. address (hex)
received is in ASCII Hex Byte format, we need to look at L.O. address (hex)
EE Hex as the Low Order portion of the address. The High H.O. # of Data Value
Order portion is 1B. Now our decimal 7150 is formatted as L.O. # of Data Value
1BEE Hex. Error Correction Code
}
Where: After the entire data packet has been created, simply
Start of Message press the [Enter] key, a Line Feed will automatically be
Quantum™ ID # sent also.
Write Function
}
H.O. address (hex) : 01 06 1B EE 03 E8 05 CRLF
L.O. address (hex)
H.O. # of Data Value Where:
L.O. # of Data Value Start of Message
Error Correction Code Quantum™ ID #
Carriage Return – Line Feed Write Function
H.O. address (hex)
The value that we wish to send is 100.0 (1000). The Data L.O. address (hex)
Value part of the data packet is looking for a High and a H.O. # of Data Value
Low Order value. The number 1000 (dec) must be L.O. # of Data Value
converted to hexadecimal. This conversion results in 03E8 Error Correction Code
(hex). Separating 03E8 into two bytes results in the Low Carriage Return – Line Feed
Order Value of E8 (hex) and the High Order Value of 03
(hex):
}
: 01 06 1B EE 03 E8 05 CRLF
Where:
Start of Message
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
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 48 COMMUNICATIONS SETUP
ASCII Response Example The next byte tells the Master how many bytes of
information are being returned as a response. In this case,
If the packet was properly received by the Quantum™, there are two (2) bytes of valid data.
you should see an immediate response in HyperTerminal.
{
In the Query Response (read function) example used
earlier, a response of :01030205D025 (hex) was received. : 01 03 02 05 D0 25
Where:
}
: 01 03 02 05 D0 25 Start of Message
Quantum™ ID #
Where: Read Function
Start of Message Number of Bytes Returned
Quantum™ ID # Data
Read Function
Number of Bytes Returned Error Correction Code
Data
The next two bytes (in this case) are the actual data in
Error Correction Code response to our original request.
Once again, the first part of the message will be a Colon
(:). This represents a heads up alert that data is coming
down the line, but since the data is coming from the : 01 03 02 05 D0 25
Quantum™ to the Master this time, the Master will accept Where:
it.
Start of Message
Quantum™ ID #
After having received the Colon (:), the Master will look at
Read Function
the two bytes that follows it, so that it may determine from
Number of Bytes Returned
which Quantum™ the message is coming from.
Data
}
04 = H.O. value Data passed to and from the Quantum™ are integer
23 = L.O. value values with one decimal field assumed unless shown
The returned value in the above example is 0423 hex. otherwise or the command is sent to select two decimal
Converting this to decimal equates to 1059, and assuming fields. For example, if the data’s value is 25.5 then the
a decimal point gives an answer of 105.9 (PSIA or Panel value 255 is sent. All temperatures are in degree C and all
units, depending on which has been selected). pressures are in PSIA unless the command is sent to
select the units of the panel. A mode such as Slide Valve
MODBUS® NOTES mode is sent as an integer value that represents the mode
it is in. For example, a 0 is sent if it is in manual, or a 10 is
This has been an example of how the Quantum™ sent if it is in automatic, or a 20 is sent if it is in remote.
Controller uses the MODBUS® Protocol. It is hoped that The value zero (0) is used to represent an OFF status and
the information provided here will assist the end user in a DISABLED option. The value one (1), which is received
writing applications that will allow the Quantum™ to be as a 10, is used to represent an ON status and an
implemented into networks that the customer may already ENABLED option. Only data values that are designated as
have in use. setpoints are modifiable. Read Only is used to help
identify what data is not modifiable. The setpoint range is
This information is subject to change at any time, and is checked to see if it is an allowed setting. If it is not
provided as a reference only. Not all areas of the allowed, the setting is not changed. Reference the
MODBUS® Protocol can be handled in this document. Quantum™ Data Tables in this manual for the address
Some additional information regarding MODBUS® Protocol listing and description of data.
that the end user should be aware of:
A command has been provided that selects whether data
• There are many versions of MODBUS® Protocol to and from the Quantum™ will be integer values with
that are available, and an application that works either one or two decimal fields assumed. Another
properly on one system, may not function command has been provided that selects whether data to
identically on another. and from the Quantum™ will be returned in the units that
• Some versions of MODBUS® Protocol may are the default (pressure in PSIA and temperature in
require the user to increment any referenced Degree C) or in the units that are selected to display at the
addresses by 1 (one). For instance, if you wanted panel.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 50 COMMUNICATIONS SETUP
HYPERTERMINAL
Description Setting up Hyperterminal
HyperTerminal is a terminal emulation program which • You will need to locate either a lap top or desktop
resides in the Microsoft Windows environment, and as computer, that has Hyperterminal installed.
such, will normally be found on any computer that is
running Microsoft Windows. HyperTerminal provides a • Turn on the power for the lap top.
method by which the end user may verify conclusively that
their Quantum™ controller is functioning properly, and as • After the laptop has fully booted, locate the
designed, with respect to external communications to Hyperterminal program. (Hyperterminal is usually
remote devices. found in the Accessories folder). If Hyperterminal
can't be found there, try using the Find File
NOTE: Hyperterminal can only be used to test command, and search the entire hard drive.
MODBUS® ASCII. It CANNOT be used to test Allen-
Bradley or MODBUS® RTU or TCP/IP. • Be aware that the screens that are actually
shown on the test computer may or may not
Many times, the Quantum™ controller will be installed into appear exactly as shown here. Various versions
an environment whereby the end user wishes to of Windows can affect the appearance, as well as
communicate to it, either through a PLC (Programmable whether or not the screen has been maximized,
Logic Controller), a desktop computer for the purpose of or if it has been scaled to a smaller size.
monitoring/controlling plant operations through HMI Regardless of how the screen work appears, the
(Human Machine Interface), or any number of other function of the screen work is what is important,
communications applications. and that function is not affected by the way the
screen looks.
The purpose of this desired communications typically
involves viewing and changing setpoints, starting and • Once Hyperterminal has been located, execute it.
stopping a compressor, viewing alarm and shutdown A dialog box will appear. You will be prompted to
information, and viewing current operating conditions. enter a name for the New Connection. Type in
whatever name you would like to use, Frick® was
When first connecting a Quantum™ panel to a used in this example. This name will also create
communications network, it would be highly desirable to a file once you are finished, saving all of the
determine that all necessary parameters (jumper settings, setup parameters for future use. It is
panel setup, and cabling) are properly met so that recommended that a name be chosen to reflect
communications may be established quickly with the the type of Protocol that you will be using as you
Quantum™, so that time is not lost in trying to may wish to setup for various protocols. Once
troubleshoot a potentially simple problem. you have entered a name, click [OK].
A modem or direct connection from a Comm port of a
computer running Microsoft Windows can be used to
connect to Com-2 of the Quantum™.
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 51
A new dialog box will be shown asking to select a Com is attached to, this will normally be Com-1). The phone
port (choose the Com port that your communications cable number box should be blank. Click on [OK].
The Com-1 properties dialog box will now appear. The Set the five boxes as follows, then click [OK].
parameters in this box must match the requirements of the
protocol that you are wishing to use. The one box that • Bits per second: 9600 (must match the
normally would need to be changed from one protocol to Quantum™)
the next is the Data Bits box. For MODBUS® ASCII, you
can use either 7 or 8 data bits, for Frick® and Quantum™ • Data bits: 8
protocols, use only 8 data bits. • Parity: None
®
NOTE: Allen-Bradley, MODBUS RTU and TCP/IP • Stop Bits: 1
protocols cannot be tested using Hyperterminal.
• Flow Control: None
®
For the purpose of this document, Frick # protocol will be
used. Refer to the MODBUS® ASCII section of this manual
for information on MODBUS®.
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 52 COMMUNICATIONS SETUP
The following screen will appear. This is the screen that data, and a response will be shown below the sent
whereby all communications (out of the computer, and into data. Click on [File].
it) will be shown. When valid data is typed in here, then
sent, the connected device recognizes and responds to
A pull down menu will appear. From this menu, locate and following screen. This time, click on the [Settings] tab.
click on [Properties]. You will once again see the
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 53
The computer will need to be set up to match the and work as shown later. To do this, click on the [ASCII
documentation as presented here, for everything to look Setup…] button.
On the ASCII Setup screen, for best results, check the For Frick® protocols (# and $):
boxes according to the following chart:
• Echo typed characters locally
For MODBUS® ASCII: • Append line feeds to incoming line ends
• Wrap lines that exceed terminal width
• Send line ends with line feeds
• Echo typed characters locally Leave everything else on this dialog box unchanged, then
• Append line feeds to incoming line ends click on [OK].
• Wrap lines that exceed terminal width
S90-020 CS (JUNE 05) FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 54 COMMUNICATIONS SETUP
You will now be back to the main Hyperterminal computer (from the Quantum™), will appear on this
communications screen. This screen will be blank. All screen. Proceed to the Testing Communications section.
communications, both from the computer, and to the
®
FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 55
If the communications is working properly, there should be master. You should see the LED’s on the Com-2 port
an immediate response from the first Quantum™. The flickering as the Quantum™ talks to the master. If nothing
response should look something (but not necessarily happens, it would be best to consult the HyperTerminal
exactly) like #01I000AOMN609. section of this manual for more detailed troubleshooting.
If this portion of the test has passed, you can try to If no data appears, or if the data does not match the
communicate to the next (or any Quantum™), by changing specific protocol requirements that you are using, then
the value that you type into the HyperTerminal screen as check the following:
follows:
• Verify that the communications wiring matches
Instead of [#01], replace the 01 portion with the ID that shown in the drawings at the end of this
that you would like to access. For instance, if you manual.
wanted to talk to a fourth Quantum™ (ID 4), type in • Access the Communications screen and verify
[#04]. This should return a message from that that the Quantum™ ID is set to the same value
Quantum™. that you are trying to access. Also, check that the
baud rate matches that of the setup in the
This has been just a brief description of how to check your properties section of the Hyperterminal example.
communications and verify that it is working. Greater detail
• Verify the position of the jumpers by comparing
can be found by consulting tables for each of the protocols
them with the section entitled Quantum™
in this manual.
Communications Jumpers.
General Notes • Ensure that the data that you have entered in
Hyperterminal, exactly matches the example.
Ensure that the Quantum™ communications parameters • Go back through the Setting up Hyperterminal
are correct. This setup can be found on the section, and ensure that it has been followed
Communications screen. This info must match that of the exactly. Repeat the process if necessary.
device that you are trying to talk to at the other end. • If you are using a converter card (to convert the
RS-232 signal from the computer to RS-422 or
There are two red LED’s associated with the Com-2 port
RS-485), then either verify that the converter card
on the Quantum™ (TX2 & RX2). Ensure that neither of
is working properly with a different piece of
these LED’s are on continuously. If one or the other (or
known functioning equipment, or eliminate it
both) are on constantly, disconnect the Com cable. If the
completely by tying into the Quantum™ directly
status of the LED’s does not change, check the wiring
through RS-232.
connections to the comm port. Ensure that the wiring is
• The Communications port on the computer is
not backwards. If the wiring is correct, power the
bad. Try to verify this by communicating to a
Quantum™ down, then back up. If either or both of the
different piece of known good equipment.
LED’s is still on, a bad driver chip may be suspected on
the Quantum™, and the board should be replaced. • The Communications port on the Quantum™ is
bad.
Once everything has been inspected (cables, jumpers,
and setup), try to develop communications from the
®
S90-020 CS (JUNE 05) FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 56 COMMUNICATIONS SETUP
1049 N10:49 41050 External starting permission - stop instantly (permissive start) 2 17 Input
1050 N10:50 41051 Ready to run 2 1 Output
1051 N10:51 41052 Remote enabled 2 2 Output
1052 N10:52 41053 Anti recycle 2 6 Output
1053 N10:53 41054 Remote start/stop 2 3 Input
1054 N10:54 41055 Remote load 2 4 Input
1055 N10:55 41056 Remote unload 2 5 Input
1056 N10:56 41057 Condenser Control Step 1 2 21 Output
1057 N10:57 41058 Condenser Control Step 2 2 22 Output
1058 N10:58 41059 Condenser Control Step 3 2 23 Output
1059 N10:59 41060 Condenser Control Step 4 2 24 Output
1060 N10:60 41061 Power Assist 1 24 Output
1061 N10:61 41062 Dx Circuit #1 2 19 Output
1062 N10:62 41063 Dx Circuit #2 2 20 Output
1063 N10:63 41064 User defined digital input #1 1 17 Input
1064 N10:64 41065 User defined digital input #2 1 18 Input
1065 N10:65 41066 User defined digital input #3 2 9 Input
1066 N10:66 41067 User defined digital input #4 2 10 Input
1067 N10:67 41068 User defined digital input #5 2 11 Input
1068 N10:68 41069 User defined digital input #6 2 12 Input
1069 N10:69 41070 User defined digital input #7 2 13 Input
1070 N10:70 41071 User defined digital input #8 2 14 Input
0 = Regulation 1
1 = Regulation 2
4014 N40:14 44015 Regulation Mode
2 = Regulation 3
3 = Regulation 4
4015 N40:15 44016 Regulation Mode 1 Direction
4016 N40:16 44017 Regulation Mode 2 Direction 0 = Forward
4017 N40:17 44018 Regulation Mode 3 Direction 1 = Backward
4018 N40:18 44019 Regulation Mode 4 Direction
®
S90-020 CS (JUNE 05) FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 60 COMMUNICATIONS SETUP
0 = No
4063 N40:63 44064 Clear Safeties
1 = Yes
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 61
0 = Off
4237 N42:37 44238 Oil Pump Status
1 = Running
0 = Disabled
4239 N42:39 44240 PID 1 Control 1 = Running
2 = Always
0 = Disabled
4242 N42:42 44243 PID 2 Control 1 = Running
2 = Always
0 = Disabled
4245 N42:45 44246 PID 3 Control 1 = Running
2 = Always
0 = Disabled
4248 N42:48 44249 PID 4 Control 1 = Running
2 = Always
0 = Disabled
4251 N42:51 44252 PID 5 Control 1 = Running
2 = Always
0 = Disabled
4254 N42:54 44255 PID 6 Control 1 = Running
2 = Always
0 = Disabled
4257 N42:57 44258 PID 7 Control 1 = Running
2 = Always
0 = Disabled
4260 N42:60 44261 PID 8 Control 1 = Running
2 = Always
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 63
0 = Disabled
4407 N44:07 44408 Sequencing Enable - System 1
1 = Enabled
0 = Disabled
4457 N44:57 44458 Sequencing Enable - System 2
1 = Enabled
®
S90-020 CS (JUNE 05) FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 64 COMMUNICATIONS SETUP
0 = Disabled
4507 N45:07 44508 Sequencing Enable - System 3
1 = Enabled
0 = Manual
4533 N45:33 44534 Oil Pump Mode
1 = Automatic
0 = Disabled
4534 N45:34 44535 Screen Saver
1 = Enabled
0 = Disabled
4547 N45:47 44548 Input Module Capacity Mode Selection
1 = Enabled
0 = Disabled
4548 N45:48 44549 Permissive Start 1 = Starting
2 = Running
0 = Disabled
4549 N45:49 44550 PLC Interlock
1 = Enabled
0 = Disabled
1 = Compressor Mode: Remote I/O
4550 N45:50 44551 Remote Enable Output
2 = Compressor Mode: Remote I/O and Capacity
Mode: Remote I/O
0 = Disabled
4551 N45:51 44552 Oil Log Mode
1 = Enabled
0 = Celsius
4566 N45:66 44567 Communications Unit Flag
1 = Panel Units
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 65
SETPOINT VALUES:
®
Frick AB Modbus
Description of Data Security Field
Address Address Address
7060 N100:60 47061 Screen Saver Delay Setpoint
7061 N100:61 47062 PSIG Offset
COMMANDS: (Read/Write)
®
Frick AB Modbus
Description of Data Value Codes
Address Address Address
8910 N119:10 48911 Remote – Start 1 = Start
8911 N119:11 48912 Remote – Stop 1 = Stop
0 = Turn off
8912 N119:12 48913 Remote - Load Slide Valve
1 – 15 = Load x seconds
0 = Turn off
8913 N119:13 48914 Remote - Unload Slide Valve
1 – 15 = Unload x seconds
8914 N119:14 48915 Remote - RDB Capacity 25, 50, 75, 100 (represents capacity %)
0 = Manual
8915 N119:15 48916 Remote - Compressor Mode 1 = Auto
2 = Remote
1 = Auto
8916 N119:16 48917 Remote - Capacity Mode
2 = Remote
8917 N119:17 48918 Remote - Clear Alarms 1 = Clear Alarms
8918 N119:18 48919 Remote - Clear Recycle Delay 1 = Clear Recycle Delay
0 = Disable
8919 N119:19 48920 Remote - Sequencing Mode
1 = Enable
Note 1: The compressor must be in remote to accept the start and stop commands that are sent through serial
communications, and the Slide Valve must be in remote to accept load and unload commands that are sent.
Note 2: A write message for more than one element is allowed for the Allen Bradley N119:10 address. A maximum size of 10
elements can be written to. An invalid setting sent with a Write Message is ignored.
Note 3: Command Values need tenths field added. For example, to start the compressor, the table above states that 1 = Start.
However, being that one decimal place is assumed, a value of 10 actually needs to be sent.
Note 4: The address to allow the reading and writing of the proper Temperature/Pressure units can be found at Frick® Address
4566.
The Quantum™ LX is capable of running two different Unlike the Quantum™ 1 & 2, which utilized EPROMS for
operating software programs. The first of these is a DOS the Operating Software, the Quantum™ LX utilizes Flash
based operating system, and is typically referred to simply Card technology, as did the Quantum™ 3. There is a
as the Quantum™. This software ended with version 5.x. Flash Card socket located on the under side of this main
The second operating software is based on the Microsoft board. The Operating System has been pre-loaded at the
Windows environment, and is known as the Quantum™ factory, so this Flash Card feature will primarily be utilized
LX. This software started with version 6.x, and was for future program updates.
developed to more closely mimic the look and feel of a
Windows desktop computer screen. When calling Frick® Company for service or help, it will
greatly assist us if the type of board is known, either
The Quantum™ LX board can be identified by the Quantum™ 1, 2, 3 or LX. Additionally, Frick® will request
presence of a piggy-backed daughter board mounted to the Sales Order number, and the Operating System
the main board. This daughter board is the version number (this can be found on the About…
communications portion of the Quantum™, and it can be screen). The more information you have at the time of the
identified by the presence of an 8 position DIP switch. call, the better able we will be to assist you.
There are also a number of jumpers (or links) present on
this smaller board, as well as three green connectors (RS- The information that follows will primarily describe the
232, RS-422 and RS-485 ports). The jumpers are used to jumper configuration for communications settings, as well
set up the communications parameters that are listed on as wiring diagrams for the different types of
the next page. communications that are possible with the Quantum™ LX.
USB Connector
(Depending on board version,
USB could be located in either of
these to places).
PL PL PL
PL7
9 12 17
LK1
PL PL
Com-3 18 19
RS-232 PL8 PL13
PL
Connector 24
LK2
LK12 P
PL14 W
PL6 PL10 LK10 PL16 R SU
LK11 FL
Com-1 LK9 AS
SP
4
0
1
6
2
5
RT
7
ON
80H
Connector (TX)
SW1 RS-422 and
D4 D5 D7 D8 D1 D1 D1 D1
PL2 COM-1 LK 0 1 2 3 RS-485 for
8
7
6
5
4
3
2
1
D3
RS- 10 Com-1 (TB1).
4
422 LK COM1
3 9 (RX)
PL2 LK11 Selects
2 D2 COM2
RS- LK (RX) between using
1 485 8 LK16 D6 RS-422/485 on
LK A B
Com-2 (TB2)
TB1 7 LK11 OR
LK2 COM2 B A
A LK (TX) RS-232 on
B 7 TB2 LK D1 Com-2 (TB1)
RS- 6
LK LK 4
5 6 422 LK
3 5 LK17 selects
A B between
2 RS-
LK LK17 RS-422 and
1 485 4
PL RS-485 for
LK 4
COM-2 KB Com-2 (TB2).
PL LK1 3
4 D8
PL
3
RS-232
PL
TB
PL13
Com-2 3
(TB2)
COM-2 3 2 1
RS-422/485
Connector
Flash Card Socket
(Located under
board) Com-2
(TB3)
RS-232
Connector
LK4 PL
A B 11
LK3
PL
15
PL5
CAT-5 Ethernet
Connector
Communications Wiring
TB1 - COM1 RS-485/422 (Used for Sequencing):
4-way screw terminal
Pin Signal (RS-422) Signal (RS-485)
4 COM1 TX+ -
3 COM1 TX- -
2 COM1 RX+ COM1 TX+ / RX+
1 COM1 RX- COM1 TX- / RX-
APPENDIX A
®
FRICK SERIAL COMMUNICATIONS CONVERTER MODULE
(Part Number 639B0086H01)
Description Press the tabs using the thumb and finger, and with your
other hand carefully slide the circuit board out of the
®
Frick Controls has developed a DIN-rail mountable housing. Ensure that proper anti-static guidelines are
communications module for the purpose of converting followed while handling the circuit board.
typical RS-232 serial protocol to either RS-422 or RS-485
serial protocols. The module will also work converting RS- The following diagram (Figure 3) shows the circuit board:
422 or RS-485 to RS-232 (bi-directional). Due to the tight
mounting restrictions in many existing control panels, this
module provides the ultimate solution for field
communications upgrades or modifications. No drilling is
required, and no valuable space is lost. The only
requirement is an external source of 24 volt DC power.
3. Catch one end of the DIN rail latch (at the bottom RS-232 CONNECTIONS
of the module, under one edge of the DIN rail,
then snap the other latch onto the opposite side Refer to Figure 5 for the pin connections showing how to
of the DIN rail, as shown below in Figure 4: wire a standard 9-Pin RS-232 connector directly to the
Frick® Communications Converter Module:
RS-232
9-Pin
Connector
GND 5
9
4
8
3
RX TX 7
2
6
TX RX 1
APPENDIX B
QUANTUM™ LX PANEL SOFTWARE UPDATE PROCEDURE
This procedure covers updating from version 6.06 or This procedure covers updating from version 6.07 or
below to version 6.07 or above. above.
APPENDIX C
QUANTUM™ LX ETHERNET COMMUNICATIONS WIRING
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 95
Switch
Computer
Quantum™ LX Quantum™ LX
Computer Quantum™ LX
Computer
Quantum™ LX
Internet
Ethernet Network
Switch
Computer
Quantum™ LX Quantum™ LX
Internet
Ethernet Network
Computer
Quantum™ LX
Computer
Quantum™ LX
APPENDIX D
QUANTUM™ LX SERIAL COMMUNICATIONS WIRING
Generic DCS/PLC Setup
Page 98
RS-232
RS-422
RS-485
Direct to one
S90-020 CS (JUNE 05)
Quantum™
DCS (Distributed Quantum™ Quantum™ Quantum™
Control System) OR
®
RS-232
COMMUNICATIONS SETUP
RS-422 / RS-485
PLC-5
RS-232
Direct to one
RS-232 to 422/485
Converter
RS-232 DH+
RS-422 /
DH+ DH+ RS-485
RS-232 to 422/485
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL
Converter
Panel View
Operator Interface
3 4 COMPRESSOR #4
CONTROLLING
COMPRESSOR (#1) 2
COMPRESSOR #2
1
COMPRESSOR #3
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 101
INDEX
Flash memory......................................................... 33
A Flow Control ........................................................... 51
Active.......................................................... 12, 13, 21 Frick “#” protocol .................................................... 51
Address ............................................................. 56-85 Full Duplex .............................................9, 16, 21, 33
Allen-Bradley...................... 21, 33, 34, 35, 41, 51, 84 Function Code ........................................................ 43
Allen-Bradley DF-1................................................. 21
G
ASCII .................16, 21, 22, 26, 32, 34, 42-49, 51, 53
Gateway ................................................................. 20
B
H
Bandwidth............................................................... 18
Baud Rate ............................................ 12, 21, 33, 55 Half Duplex................................................... 9, 16, 21
Bend Radius........................................................... 17 Hexadecimal........................................................... 32
Bits Per Second ..................................................... 51 HMI ......................................................................... 50
Browser .................................................................. 19 Homerun................................................................. 17
Hub ................................................................... 18, 19
C Human Machine Interface ...................................... 50
Cable Lengths ........................................................ 17 Hyperterminal ................21, 26, 45, 46, 48-51, 54, 55
Cabling ................................................................... 50
I
Carriage Return............17, 18, 22, 23, 25, 26, 29, 30
CAT 5 ..................................................................... 17 I/O Comms ............................................................. 13
Character................................................................ 28 ID 16, 20-27, 29-31, 33-35, 38, 41-43, 45, 47, 55, 82,
Checksum ............................................ 21, 22, 26, 27 83
Com-1................................................... 10, 12, 51, 90 ID code ................................................................... 28
Com-2........................2-10, 12, 13, 22, 34, 50, 55, 90 Internet ....................................................... 18, 19, 20
Com-3..........................................................2, 4-8, 13 Internet Protocol ..................................................... 19
Comm Port ............................................................. 21 Internet Service Provider........................................ 19
Command.... 21-27, 29-31, 33, 34, 41-43, 45, 46, 48- IP ...................................................................... 19, 20
50, 55 ISP.......................................................................... 19
Communications Wiring ................................... 90, 91
Compressor ID ....................................................... 12 J
Connection Type .................................................... 13 Jumper Settings ..................................................... 50
CONNECTIONS..................................................... 92
CRC................................................ 33, 34, 44, 45, 49 L
Crossover Cable .................................................... 18
Lead-Lag ................................................................ 91
D Linefeed.................................................................. 26
Linux ....................................................................... 19
Daisy-Chaining....................................................... 17 LRC ........................................................................ 43
Data Bits........................................................... 12, 51
Data Packet................................................ 18, 26, 43 M
Data Table.............................................................. 56
MAP.............................................................. 2, 13, 14
DBS Motor Starter............................................ 16, 21
Map File.................................................................. 13
DCS............................................................ 33, 42, 91
Master.................................33, 34, 42, 43, 44, 48, 55
Decimal ............................................................ 32, 84
Message ..... 20, 21, 25, 33, 36, 37, 39, 43-49, 55, 84
Destination ....................................................... 18, 20
Microprocessor........................................... 22, 23, 88
DHCP ..................................................................... 19
Modbus.............. 16, 20, 21, 42-47, 49, 51, 53, 56-85
Direct Connection................................................... 50
Modem.............................................................. 19, 50
DOS........................................................................ 88
Multi-drop ......................................................... 33, 42
E
N
E-mail ............................................................... 19, 20
Network ...............................17-20, 42, 44, 45, 47, 50
EMI ......................................................................... 17
Network Switches................................................... 18
Ethernet................................................ 17, 18, 19, 20
Noise Immunity....................................................... 17
F
P
Failed................................................................ 12, 13
Packet..................................................................... 55
Fixed................................................................. 19, 76
®
S90-020 CS (JUNE 05) FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 102 COMMUNICATIONS SETUP
Panel 11, 17, 20-22, 26, 33, 35-37, 39, 41, 43, 48-50 Sequencing....................................................... 90, 91
Panel Setup...................................................... 50, 55 Serial ...................................................................... 84
Parity .......................................................... 13, 21, 51 Setting up Hyperterminal.................................. 50, 55
PL6 ..............................................................5, 6-8, 90 Shielded......................................................11, 17, 18
PLC ...............................16, 33-35, 42, 50, 64, 69, 70 Shutdown.... 20, 22, 24, 25, 56, 59, 61, 65-68, 70-72,
Polling............................................................... 33, 34 74-80, 86, 87
Port......................................................................... 28 Slave.........................................33, 34, 42, 81, 82, 83
Programmable Logic Controller ............................. 50 SLC.................................................11, 33, 35, 38, 41
Protocol 13, 16, 17, 19-22, 26, 33, 35, 42, 43, 49-51, SLC500.................................................33, 35, 38, 41
55 SMTP...................................................................... 20
Source .............................................................. 11, 18
Q Splice...................................................................... 17
Quantum™ . 3, 5, 8, 10, 11, 17-22, 26, 27, 33-39, 41- Star ......................................................................... 17
51, 54, 55, 88, 89 Status ............................................................... 12, 55
Quantum™ 1 .......................................................... 88 Stop Bits .....................................................12, 21, 51
Quantum™ 1 & 2 ................................................... 88 STP......................................................................... 18
Quantum™ 3 .................................................... 55, 88 Subject.................................................................... 20
Quantum™ 4 .................................... 4, 55, 88, 89, 91 Subnet Mask .......................................................... 20
Quantum™ LX................................ 12, 17, 18, 26, 88 Switch .............................................17, 18, 34, 56, 88
Query.......................................................... 21, 26, 43
T
R TCP/IP .................................................................... 20
Read....................................................................... 36 Testing Communications.................................. 54, 55
Read Data ............................................ 21, 37, 42, 43 Timeouts................................................................. 33
Receiver ................................................................. 21 Toning..................................................................... 17
Redetect IO Comms............................................... 13 Troubleshooting............................................8, 10, 21
Remote.. 5, 22, 23, 25-27, 30, 31, 33, 34, 41, 49, 50, TX2 ................................................................... 21, 55
84
U
Request ............................................................ 55, 88
Response ...............21, 26, 27, 30, 43, 48, 49, 52, 55 Unshielded.............................................................. 17
RJ-45................................................................ 17, 18 USB .............................................................13-15, 19
Router..................................................................... 20 UTP ........................................................................ 18
RS-232 ......2, 4-11, 13, 17, 20, 21, 38, 42, 55, 88, 90
RS-422 ..... 2, 3-6, 8-11, 13, 21, 22, 34, 42, 55, 88-91 W
RS-485 ...... 2, 3, 5, 6, 9-11, 13, 16, 21, 42, 55, 88-91 Warning ........ 20, 56, 59, 65-68, 70-72, 74-80, 86, 87
RS-485/422 ............................................................ 90 Web .................................................................. 19, 20
RSLogix5.......................................................... 33, 35 Web Server Port..................................................... 20
RTU .................................................16, 21, 42-46, 49 Windows .......................19, 21, 26, 45, 46, 49, 50, 88
RX2 .................................................................. 21, 55 World Wide Web .................................................... 19
Write ....................................................................... 84
S
WWW ..................................................................... 19
Screen .................................................................... 13 www.frickcold.com.................................................. 19
FRICK® QUANTUM™ LX COMPRESSOR CONTROL PANEL S90-020 CS (JUNE 05)
COMMUNICATIONS SETUP Page 103
®
S90-020 CS (JUNE 05) FRICK QUANTUM™ LX COMPRESSOR CONTROL PANEL
Page 104 COMMUNICATIONS SETUP