background image

 

FRICK

®

 QUANTUM™ COMPRESSOR CONTROL PANEL                   S90-010 CS (APR 08) 

COMMUNICATIONS SETUP                                                                Page 31

MODBUS Protocol 

 
Since Modbus protocol is a messaging structure, it is 
independent of the underlying physical layer. It is 
traditionally implemented using RS-232, RS-422, or RS-
485 communications hardware. 

 

The Quantum™ controller is setup to communicate on 
standard Modbus networks using ASCII (American 
Standard Code for Information Interchange). 
 

NOTE:

 With the Quantum™ Controller, 

ONLY

 Modbus 

ASCII (7 or 8 data bits) is recognized, and all references to 
Modbus protocol in this document will be as they relate to 
ASCII. The mode and serial parameters must be the same 
for all devices on a Modbus network, therefore, ensure 
that your network is utilizing the Modbus ASCII protocol 
before attempting to try to communicate to the Quantum™ 
portion of the network. Additionally, typical Modbus 
protocols allow for network broadcasting, whereby a single 
message can be sent to all devices simultaneously. This 
Broadcasting is 

NOT

 allowed or supported by the 

Quantum™ Controller. 

 

The Quantum™ provides the capability to interface with 
other devices that support serial data communications 
using the Modbus ASCII protocol. This is a Master / Slave 
multi-drop communication method whereby the 
Quantum™ is setup to be a Modbus ASCII Slave. The 
customer’s PLC (Programmable Logic Controller) or DCS 
(Data Communications System, such as a desktop or 
laptop computer) must be setup as a Modbus ASCII 
Master. The Master initiates the reading and writing of 
data (queries) to a Quantum™. The Quantum™ does not 
generate its own data, it will only reply from a request by 
the Master. 

 

The Quantum™ ID number is used as the Modbus Slave 
address. The Master uses Function Code 3 (Read Holding 
Registers) to send a request to read data from the 
Quantum™. The Master uses Function Code 6 (Load 
Register) to request to change a setpoint or to send a 
command such as starting the compressor. Up to fifty (50) 
data elements can be read with one read request. 

 

The most desired data (information on the 

Operating 

Status

 screen) exists in a 50 (fifty) element data area. The 

address references are numbered relative to the Frick

®

 

addresses in the 

Quantum™ Data Table 

(see 

MODBUS 

Addressing Note

 in the 

Quantum™ Data Table

 section of 

this manual for additional information). The Quantum™ 
only accepts one value with a Load Register request. 
Changing a setpoint causes the Quantum™ to save the 
new setpoint to nonvolatile memory. Be careful not to 
continuously request a setpoint change. Keeping the 
Quantum™ busy writing to memory will interfere with the 
Quantum™ communicating to its I/O boards. A 
communication failure to an I/O board will cause the 
compressor to shutdown. For more detail and a list of the 
data, reference the 

Quantum™ Data Table

 section of this 

manual. For details about the actual protocol, reference

 

the

 

Modicon

 

website at http://www.modicon.com. 

 

Port Configuration of The Master 

 
7 or 8 Bits per Character (Data Bits) 
Odd, Even or No Parity 
1 or 2 Stop Bits 
No Handshake 
 

Data Packet 

 
The Modbus protocol establishes the format for the 
Master's query by creating a message (data packet) as 
follows:  

 

 

Assign the device address (Quantum™ panel ID 
#). The address field of a message frame 
contains two characters (ASCII). Valid 
Quantum™ device addresses are in the range of 
01 – 99 decimal. A master addresses a 
Quantum™ by placing the Quantum™ address in 
the address field of the message. When the 
Quantum™ sends its response, it places its own 
address in this address field of the response to 
let the Master know which Quantum™ is 
responding. 

 

 

A function code defining the requested action 
(Query): 

 

 

Function Code 3 - to read holding registers 
(sends a request to read data from the 
Quantum™). 

 

-

 

OR – 

 

 

Function Code 6 to load a register (to request to 
change a setpoint or to send a command such as 
starting the compressor). 

 

 

Any data to be sent (Response). The data field is 
constructed using sets of two hexadecimal digits, 
in the range of 00 to FF hexadecimal. These are 
to be made from a pair of ASCII characters. The 
data field of messages sent from a Master to the 
Quantum™ devices contains additional 
information which the Quantum™ must use to 
take the action defined by the function code. This 
can include items like discrete and register 
addresses, the quantity of items to be handled, 
and the count of actual data bytes in the field. If 
no error occurs, the data field of a response from 
a Quantum™ to a Master contains the data 
requested. If an error occurs, the field contains 
an exception code that the Master application 
can use to determine the next action to be taken.  

 

 

An error-checking field. 

 

Содержание QUANTUM 3

Страница 1: ...COMMUNICATIONS SETUP FRICK QUANTUM COMPRESSOR CONTROL PANEL VERSION 5 0x S90 010 CS APR 2008 File SERVICE MANUAL SECTION 90 Replaces S90 010 CS APR 04 Dist 3 3a 3b 3c...

Страница 2: ...___________________________________________ 24 Read Message Setup Example ________________________________________________________ 25 Write Message Setup Example ______________________________________...

Страница 3: ...ions Board Jumpers _______________________________________________________76 Com 1 TB1 ____________________________________________________________________76 Com 2 TB2 TB3 ____________________________...

Страница 4: ...en these boards as in jumpers or wiring the different models will be identified by name This is why it is important for you to be aware of which Quantum board you have Quantum 3 Quantum 4 Setting Up t...

Страница 5: ...radley SLC 5 04 or along with an external modem Keeping the jumpers installed the same way they are received from the factory it is easy to wire for either RS 422 or RS 485 NOTE Refer to the manual th...

Страница 6: ...nnections on this adapter card from the Quantum Quantum Terminal 1 RX TX FO 2 RX TX TO The card can be connected RS 232 to another device Following is the pin connections showing how to wire the 25 Pi...

Страница 7: ...ting use the following example Set the Quantum 4 communications jumpers as follows Set LK11 to position B Set LK16 to position B Set LK17 to position B Plug the RS 485 test harness as shown above into...

Страница 8: ...t be Frick Performing the Communications Loopback test Upon properly setting up the Change Communications screen access the Service Screen The center of the screen will initially appear blank The bott...

Страница 9: ...communicating to the outside world through four software protocols Frick Allen Bradley DF 1 serial ModBus ASCII serial YORK ISN Note When using Modbus protocol a Comm 2 Advanced key will appear Press...

Страница 10: ...he RX2 LED is properly blinking then check if the TX2 LED is blinking in response If the TX2 is not blinking then check the communication protocol setup at the panel the panel s ID and the Com 2 baud...

Страница 11: ...2 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 charac...

Страница 12: ...lide Valve Slide Stop command P Return Slide Stop position value RETURNED ANSWER Character Position Description of returned data 1 Acknowledge of command sent 2 3 ID code of compressor 4 5 6 Slide Sto...

Страница 13: ...e 24 1 Autocycle active 0 no 1 yes 25 26 27 28 4 Future 29 30 31 32 4 Future 33 34 2 Future 35 36 2 Future 37 38 2 Future 39 1 Future 40 1 ID tenths position byte 41 1 ID ones position byte 42 1 ID Ch...

Страница 14: ...rete Failure List Command Returns a 24 char data string followed by ID CR LF Position Alarm Description 1 High Discharge Pressure Shutdown 2 High Discharge Pressure Alarm 3 Low Suction Pressure Shutdo...

Страница 15: ...type a D1 The protocol code in the Quantum recognizes this portion of the data packet as a request for the data that is displayed on the Operating Status Page 1 screen Up to now you have typed the fo...

Страница 16: ...1 Compressor ID code D1 Operating Status Page 1 command CS Checksum CR Carriage Return RETURNED ANSWER Starting Character Position Description of returned data 1 A Acknowledge 2 01 Compressor ID code...

Страница 17: ...ntrol Mode 1 2 setpoints Page 1 01s1 Start of command sequence 01 Compressor ID code S1 Suction Press Cap Control Page 1 command CS Checksum CR Carriage Return RETURNED ANSWER Starting Character Posit...

Страница 18: ...Temperature Auto Start delay 2 94 Process Temperature Auto Stop delay 2 103 CS Checksum followed by Carriage return Line feed RETURN Process Temperature Capacity Control Mode 1 2 setpoints Page 2 01p2...

Страница 19: ...uto Stop Setpoint 2 85 Discharge Pressure Auto Start delay 2 94 Discharge Pressure Auto Stop delay 2 103 CS Checksum followed by Carriage return Line feed RETURN Discharge Pressure Capacity Control Mo...

Страница 20: ...er Position Description of returned data 1 A Acknowledge 2 01 Compressor ID code 4 User Selectable Stop Load 1 13 User Selectable Force Unload 1 22 User Selectable Low Alarm 1 31 User Selectable Low S...

Страница 21: ...Space 104 Message Code 12 107 Date 12 as mm dd yy 115 Time 12 as hh mm ss 123 Space 124 CS Checksum followed by Carriage return Line feed RETURN Alarms Shutdowns Page 3 01F3 Start of command sequence...

Страница 22: ...nd remote Slide Valve or capacity mode for remote control COMPRESSOR START COMMAND IDCT followed by the CS CR RETURNED ANSWER A followed by the ID CR LF if successful COMPRESSOR STOP COMMAND IDCP foll...

Страница 23: ...8 99 63 c 14 E ctrl N SO 57 39 9 100 64 d 15 F ctrl O SI 58 3A 101 65 e 16 10 ctrl P DLE 59 3B 102 66 f 17 11 ctrl Q DC1 60 3C 103 67 g 18 12 ctrl R DC2 61 3D 104 68 h 19 13 ctrl S DC3 62 3E 105 69 i...

Страница 24: ...set for BCC or CRC When communication is between either your programming software and a Quantum or an Allen Bradley PLC and a Quantum on a multi drop link the devices depend on a DF1 Master to give ea...

Страница 25: ...switch 2 is used to select RS 232C RS 422A or RS 423 Channel 0 can be wired for RS 422 Following is the pin connections showing how to wire the PLC 5 channel 0 connector to the Quantum for RS 422 comm...

Страница 26: ...information Allen Bradley Programming Overview This section contains programming examples for reading data from and writing data to the Frick Quantum control panel from an Allen Bradley AB SLC500 or P...

Страница 27: ...nd write message to the Quantum panel This logic prevents hang up due to lost communications or message errors Message Read Logic Use the following logic to read data from the Quantum panel To read mo...

Страница 28: ...Quantum ID 1 N10 1 register and place them into the SLC500 s N10 1 through N10 28 register This Controller SLC500 Data Table Address Data file location in the SLC500 Size in Elements of data file to...

Страница 29: ...CATIONS SETUP Page 29 Message Write Logic Use the following logic to write data from the Quantum panel To write more data or to write data to several compressors copy paste these rungs as needed then...

Страница 30: ...mode to the Quantum ID 1 N55 3 data file from the SLC500 s N55 3 data file This Controller SLC500 Data Table Address Data file location in the SLC500 Size in Elements of data file to read Channel Port...

Страница 31: ...DBUS Addressing Note in the Quantum Data Table section of this manual for additional information The Quantum only accepts one value with a Load Register request Changing a setpoint causes the Quantum...

Страница 32: ...the message Because the Quantum utilizes Modbus ASCII protocol Longitudinal Redundancy Check or LRC is used as the method for verifying that the message sent from the transmitting device was properly...

Страница 33: ...ual its ID the message will be ignored In this particular example we are strictly looking to request to view a data value so we will be performing a read function 03 135 decimal equals 87 hex Looking...

Страница 34: ...ted in writing to send the following message Look at this message on a more basic level to understand how the address that we are writing to is arrived at We want to send the value of 1000 100 0 to th...

Страница 35: ...e see that 108 hex is greater than 100 hex Since the math in this particular example would yield a negative number FFFFFFF8 we need to modify the value of 108 in order to provide a positive result Thi...

Страница 36: ...wo bytes in this case are the actual data in response to our original request We need to know what this value means To break it down we must convert the pair of bytes from Hex to Decimal 05DO hex 1488...

Страница 37: ...cally on another Some versions of Modbus Protocol may require the user to increment any referenced addresses by 1 one For instance if you wanted to look at Frick Address 135 you may need to actually l...

Страница 38: ...he ISN settings then the compressor must be in remote to accept the start and stop commands that are sent through serial communication and the Start Stop Enable received from the ISN must equal zero 0...

Страница 39: ...P50 D15 Enclosure Heater Output 0 Off 1 On P51 D16 Hot Gas Bypass Output 0 Off 1 On P52 D17 Aux 1 Input 0 Off 1 On P53 D18 Aux 2 Input 0 Off 1 On P54 D19 Process Mode Select Input 0 1 st Mode 1 2 nd...

Страница 40: ...ocity 19 Force Unload Stopping 20 Stop Load Low RPM 21 Force Unload Low RPM 22 Stop Load High Manifold Pressure 23 Force Unload High Manifold Pressure 24 Warm up Load Inhibit 25 Slide Valve Pulldown P...

Страница 41: ...time is not lost in trying to troubleshoot a potentially simple problem 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 Qua...

Страница 42: ...rements of the protocol that you are wishing to use The one box that normally would need to be changed from one protocol to the next is the Data Bits box For Modbus you would want to use 7 data bits f...

Страница 43: ...out of the computer and into it will be shown When valid data is typed in here then sent the connected device recognizes and responds to that data and a response will be shown below the sent data Clic...

Страница 44: ...button On the ASCII Setup screen for best results check the boxes according to the following chart For Modbus Send line ends with line feeds Echo typed characters locally Append line feeds to incomin...

Страница 45: ...will once again be shown Click on the OK button to proceed You will now be back to the main Hyperterminal communications screen This screen will be blank All communications both from the computer and...

Страница 46: ...l that is to be used This setup can be found by pressing the Menu key on the keypad then pressing the Panel Setup key that will appear at the right side of the display When the panel setup appears loo...

Страница 47: ...e problem Quantum Panel Setup is wrong Access the Panel Setup screen and verify that the Quantum ID is set to the same value that you are trying to access Also check that the baud rate matches that of...

Страница 48: ...D option Only data values that are designated as setpoints are modifiable Read Only is used to help identify what data is not modifiable The setpoint range is checked to see if it is an allowed settin...

Страница 49: ...Off 1 On 2 Off 8 N50 8 40009 Liquid Injection Output 0 Off 1 On 9 N50 9 40010 Hi Vi Liquid Injection Output 0 Off 1 On 10 N50 10 40011 Economizer Output 0 Off 1 On 11 N50 11 40012 Balance Piston Outpu...

Страница 50: ...ff 1 On 32 N50 32 40033 Aux 3 Input 0 Off 1 On 33 N50 33 40034 Aux 4 Input 0 Off 1 On 34 N50 34 40035 Aux 5 Input 0 Off 1 On 35 N50 35 40036 Aux 6 Input 0 Off 1 On 36 N50 36 40037 Aux 7 Input 0 Off 1...

Страница 51: ...e Control Mode 1 5 Discharge Pressure Control Mode 2 6 Discharge Temperature Control Mode 1 7 Discharge Temperature Control Mode 2 105 N10 9 40106 Compressor Mode 0 Manual 1 Automatic cycling 2 Remote...

Страница 52: ...uction Pressure 11 Force Unload High Suction Pressure 12 Force Unload Low Process Temperature 13 Stop Load Low Oil Flow 14 Force Unload Low Oil Flow 15 Force Unload VI OverRide 16 At Maximum Load 17 S...

Страница 53: ...mperature 6 Monitor only 154 N10 58 40155 User Defined Pressure Temperature 7 Monitor only 155 N10 59 40156 User Defined Pressure Temperature 8 Monitor only 156 N10 60 40157 User Defined Pressure Temp...

Страница 54: ...ermal Overload Status EXTRA PORT READ ONLY Frick Address AB Address Modbus Address Description of Data 223 N10 127 40224 Board Temperature ANALOG OUTPUTS BOARD 1 READ ONLY Frick Address AB Address Mod...

Страница 55: ...e Time 284 N15 27 40285 Suction Pressure Control Point 2 285 N15 28 40286 Suction Pressure Upper Proportional Band 2 286 N15 29 40287 Suction Pressure Lower Proportional Band 2 287 N15 30 40288 Suctio...

Страница 56: ...1 Automatic Cycle Stop Delay 344 N15 87 40345 Discharge Pressure mode 1 Automatic Cycle Start Delay 345 N15 88 40346 Discharge Pressure Upper Proportional Band 2 346 N15 89 40347 Discharge Pressure L...

Страница 57: ...ddress Modbus Address Read Only Description of Data 399 N15 142 40400 X Freeze Recycle Delay 400 N15 143 40401 X Freeze Suction Pressure 403 N15 146 40404 X Freeze Shutdown 404 N15 147 40405 X Freeze...

Страница 58: ...63 Process Temperature Mode 2 Low Pressure Force Unload 463 N15 206 40464 Process Temperature Mode 2 Low Pressure Alarm 464 N15 207 40465 Process Temperature Mode 2 Low Pressure Shutdown 465 N15 208 4...

Страница 59: ...ay 822 N22 22 40823 High Filter Pressure Alarm Delay 823 N22 23 40824 Liquid Injection On 824 N22 24 40825 Oil Injection On 825 N22 25 40826 Liquid Injection On Delay 826 N22 26 40827 Oil Injection On...

Страница 60: ...Hour 2 885 N22 85 40886 Setback Saturday Start Minute 2 886 N22 86 40887 Setback Saturday Stop Hour 1 887 N22 87 40888 Setback Saturday Stop Minute 1 888 N22 88 40889 Setback Saturday Stop Hour 2 889...

Страница 61: ...4 Remote Out Low end 1 964 N22 164 40965 Remote Out Low end 2 965 N22 165 40966 X Auxiliary Analog 1 Enable Disable 966 N22 166 40967 X Auxiliary Analog 2 Enable Disable 967 N22 167 40968 X Auxiliary...

Страница 62: ...h Alarm Delay 1022 N22 222 41023 Auxiliary Analog 4 High Alarm Delay 1023 N22 223 41024 Auxiliary Analog 5 High Alarm Delay 1024 N22 224 41025 Auxiliary Analog 6 High Alarm Delay 1025 N22 225 41026 Au...

Страница 63: ...e Setpoint 1 1084 N23 29 41085 Slide Valve Setpoint 2 1085 N23 30 41086 Power Assist Delay Setpoint 1086 N23 31 41087 X Power Assist Enable 1087 N23 32 41088 X Oil Injection Enable 0 Disabled 1 Main O...

Страница 64: ...Only Description of Data 1136 N23 81 41137 Locked Rotor Current 1137 N23 82 41138 Jam Current Level 1138 N23 83 41139 DBS Service Factor 1139 N23 84 41140 Current Unbalance Alarm 1140 N23 85 41141 RTD...

Страница 65: ...gin speed increase 1197 N23 42 41198 VFD Maximum Percentage 1198 N23 43 41199 VFD Output at max Slide Valve position 1199 N23 44 41200 Engine Idle Speed 1200 N23 45 41201 X Remote Enable Energized whe...

Страница 66: ...for Change Filters 1263 N23 207 41264 Maintenance for Clean Oil Strainers 1264 N23 208 41265 Maintenance for Clean Liquid Strainers 1265 N23 209 41266 Maintenance for Change Coalescers 1266 N23 210 4...

Страница 67: ...Setpoint 1329 N24 029 41330 X VariSpeed Harmonic Filter Baseplate Temperature 1403 N24 103 41404 X Vibration Channel 1 1404 N24 104 41405 X Vibration Channel 2 1405 N24 105 41406 X Vibration Channel...

Страница 68: ...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 The Compressor sequence De Activate command that is sent thro...

Страница 69: ...44 N25 144 42645 Read Alarm 9 Min 2645 N25 145 42646 Read Alarm 9 Date High Order 2646 N25 146 42647 Read Alarm 9 Date Low Order 2647 N25 147 42648 Read Alarm 10 Message 2648 N25 148 42649 Read Alarm...

Страница 70: ...rm information define a 32 bit number that describes the number of seconds that have passed since January 1 1970 The High Order Date holds the upper 16 bits of this number while the Low Order Date hol...

Страница 71: ...lure Motor Amps 059 Compressor Stopping Failure Aux 060 False Start Failure Motor Amps 061 False Start Failure Aux 062 Oil Level Shutdown 063 Auxiliary 3 Shutdown 064 Auxiliary 3 Alarm 065 Auxiliary 4...

Страница 72: ...nance User Defined 5 165 Maintenance User Defined 6 166 VariSpeed Fault Warning 1 167 VariSpeed Fault Warning 2 168 VariSpeed Fault Warning 3 169 VariSpeed Fault Warning 4 170 VariSpeed Fault Warning...

Страница 73: ...d to be modified by factory qualified personnel to configure the Quantum for specific applications Refer to the next page for more details on the settings of these Links Unlike the Quantum 1 2 which u...

Страница 74: ...inal 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 TB2 COM2 RS 485 422 Standard Communications 4 way screw terminal Pin Signal RS 422 Signal RS 485 4 CO...

Страница 75: ...onfigure the Quantum for specific applications Refer to the Compressor Maintenance Manual S90 010 M for more details on the settings of these Links Unlike the Quantum 1 2 which utilized EPROMS for the...

Страница 76: ...COM1 TX RX 1 COM1 RX COM1 TX RX TB2 COM2 RS 485 422 Standard Communications 4 way screw terminal Pin Signal RS 422 Signal RS 485 4 COM2 TX 3 COM2 TX 2 COM2 RX COM2 TX RX 1 COM2 RX COM2 TX RX TB3 COM2...

Страница 77: ...1 2 3 4 5 6 7 8 RX TX RX TX BLK CLR Cable Belden 9841 24 AWG or Equal COMPRESSOR 4 1 2 3 4 RX TX RX TX BLK CLR BLK CLR COMPRESSOR 3 1 2 3 4 QUANTUM 3 OR 4 COM 1 TB1 QUANTUM 3 OR 4 COM 1 TB1 CONTROLLIN...

Страница 78: ...MODBUS ASCII Setup DCS Distributed Control System OR PLC With serial interface adapter card that supports our MODBUS and or our AB SLC 500 DF1 protocol SEE ABOVE Generic DCS PLC Setup RS 232 RS 422 RS...

Страница 79: ...dley DF1 Setup PLC 5 SLC 504 SLC 5 04 DH PLC 5 DH Panel View Operator Interface RS 232 to 422 485 Converter RS 422 RS 485 SLC 5 04 DH DCS Distributed Control System with PLC 5 communication driver AB...

Страница 80: ...ommands 24 Conversion chart for Decimal Hex ASCII 23 CRC 24 25 CRLF 32 D Data address 34 35 Data bits 31 37 42 Data Communications Terminal 4 Data elements 24 31 Data field 31 32 Data file 28 30 Data...

Страница 81: ...l description 9 Protocol driver 24 Q Quantum 15 Quantum Protocol 15 Quantum 1 4 73 75 Quantum 1 2 73 75 Quantum 2 4 Quantum 3 4 5 47 73 74 75 Quantum 4 4 5 47 75 76 77 Quantum data table 31 Quantum ID...

Страница 82: ...S90 010 CS APR 08 FRICK QUANTUM COMPRESSOR CONTROL PANEL Page 82 COMMUNICATIONS SETUP W Warning 3 Write 24 25 29 30 68 69 70 Y YORK ISN 9 York Talk 38...

Страница 83: ...FRICK QUANTUM COMPRESSOR CONTROL PANEL S90 010 CS APR 08 COMMUNICATIONS SETUP Page 83...

Страница 84: ...0 010 CS 0408 Supersedes JAN 2007 Subject to change without notice Published In USA GUI 1M 2007 Johnson Controls Inc ALL RIGHTS RESERVED Johnson Controls Frick 100 CV Avenue P O Box 997 Waynesboro PA...

Отзывы: