5 / 2 0 0 6 V E R S I O N 1 .
5 / 2 0 0 6 V E R S I O N 1 . 1 INTEGRATIONS, CUSTOM PROGRAMMING, AND CONSULTING Trane-485 Gateway Guide 2005, 2006 by Centaurus Prime 4425 Cass Street • Suites B-C• San Diego, CA Phone 858.270.4452 • Fax 858.270.
Table of Contents Introduction C H A P T E R i 1 “Devices” Menu Options 16 Gateway Installation, Basic Information 1 “Point” Menu Options 18 Summary 1 “Control” Menu Options 21 Single Board Computer Basics 2 “Watch” Menu Options 25 Connecting Power to the Gateway 3 Uploading and Downloading files to the Connecting Trane Trunks to the Gateway 3 Gateway 27 Connecting To the Modbus Master 4 Setting Up The Modbus Driver 29 Configuring the CS485 5 Setting Up The BACnet System 30 R
C E N T A U R U S P R I M E Chapter 1 Gateway Installation Basic Information Summary T his section will help to give a basic overview and quick summary of the procedures needed to install the Trane-485 Gateway Panel. Detailed instructions are also provided later in this guide. The Centaurus Prime Trane485 Gateway allows any front-end system (Modbus Master or BACnet/IP) that communicates using the either industry-standard Modbus or BACnet protocols to communicate to Trane VAV field equipment.
C E N T A U R U S P R I M E configuration. Single Board Computer Basics The Single Board Computer used in Centaurus Prime Gateways is the Ether 6 manufactured by JK Microsystems. It is made in the United States of America. The controller is based on an Intel 386Ex processor running at 25Mhz. It is equipped with 1 megabyte of static ram organized as 512K 16-bit words. Also included are 512K bytes of flash memory organized as DOS drives A and B.
C E N T A U R U S P R I M E Connecting Power to the Gateway Power connections are made by removing the 2 screws on either side of the terminal block enclosure. Follow the diagram below for proper terminations. 120 Volt Neutral Picture 1.
C E N T A U R U S P R I M E avoid ground-loops). This is a two-wire trunk, so it does not matter if you land the field trunk wires on TX+/TX-, or on RX+/RX-. Just make sure the polarity is right! Picture 1.
C E N T A U R U S P R I M E device to reliably transmit data over long distances (up to 4000 feet). The CS485 has many features not normally found in typical line drivers, and is intended for operation in harsh industrial environments. You must also modify the GATEWAY.INI file to specify the baud rate and parity of the Modbus/RTU connection.
C E N T A U R U S J15 P R I M E OUT Enables 4-wire operation RX is receive pair TX is transmit pair Connects isolated RS-485 common to bleed resistor and filter cap RS485 Communications Installed jumpers: 2W/4W, Baud0, Baud1, Data DCD, Data RTS, J2 (end of line only), J3 (end of line only), J4 (end of line only), and J15 (static bleed) 6
C E N T A U R U S P R I M E RS422 Communications Installed jumpers: Baud0, Baud1, Data DCD, Data RTS, J2 (end of line only), J3 (end of line only), J4 (end of line only), J5 (end of line only), J7 (end of line only), and J15 (static bleed) RS232 Communications For RS232 communications, you will need to make a cable that will connect to Comm1 (RJ45) on the Single board Computer following the diagram below: 7
C E N T A U R U S P R I M E NOTE about removing the CS-485: For RS-232 or Ethernet applications, the CS-485 module is not used, and may be removed. While many are tempted to do this (it can be used in other applications, of course), we recommend that you remove the wiring that powers the CS-485 also, if you do. Both the National Electrical Code and local electrical code (generally) do not approve of either “wire nuts” or electrical tape on exposed wires.
C E N T A U R U S P R I M E Gateway Overview Picture 1.3, Gateway Overview and Identification Trane Trunk 4 Single Board Computer TraneTrunk 3 Trane Trunk 2 Trane Trunk 1 NOTE: If connecting to a Modbus RTU Master, an additional RS485/232 converter is supplied and mounted on the backplane.
C E N T A U R U S P R I M E Chapter 2 Commissioning the Gateway with the Local User Interface Creating and Downloading the GATEWAY.INI file The following is an example of the GATEWAY.INI file that must be edited to match your particular installation. There are several sets of parameters in the INI file. One set of parameters deals with the BAUD rates on the four Trane trunks.
C E N T A U R U S P R I M E MUST match! If the SOCKET.CFG specifies a different IP address from the GATEWAY.INI file, you will never receive anything from the Gateway! For the BACnet/IP (Annex J) protocol, a couple other global parameters are necessary. Internally the gateway maps devices in a very simple fashion: Devices 1 through 60 on trunk 1; Devices 61 through 120 on trunk 2, Devices 121 through 180 on trunk 3, and Devices 181 through 240 on trunk 4.
C E N T A U R U S P R I M E // -------------------------------------------------------------------------// // “BACNET_NETWORK” is used for what BACnet network number we are on // BACNET_NETWORK, 1042 // // “BACNET_OFFSET” is what we will add to the local device numbers (1..240) // to yield the BACnet object_ID instances of each mapped BACnet “device” // BACNET_OFFSET, 1042000 // Creating and Downloading the SOCKET.CFG file The following is an example of the SOCKET.
C E N T A U R U S P R I M E Local Mode Menu Options Once connected via the local mode port you may press at any time to display this top level menu: (H)elp, (S)ummary, (D)evice, (P)oint, (C)ontrol, (W)atch, (A)utoDisc, (X)-it When you type “H” you will get the following: Hit a single key to get to a submenu. Your Options are: H (for Help), which gives you this screen. S (for Summary), which allows you to get various status summaries.
C E N T A U R U S P R I M E State: "AutoDiscovery" on Trunk: 1, VAV Device #5 State: "AutoDiscovery" on Trunk: 1, VAV Device #6 State: "AutoDiscovery" on Trunk: 1, VAV Device #7 When Auto Discover is invoked the Gateway will scan for all VAV device addresses possible on the requested trunk. As you can see in the example above, Trane-485 Device address #4 was discovered, which was a VAV-1 type device. This process should be completed for all trunks that have Trane-485 devices.
C E N T A U R U S P R I M E AUTODISCOVERY: You may SAVE and MERGE all trunk auto-discovery maps. ARE YOU SURE? If so, enter "Y" for YES; and then the ENTER key.
C E N T A U R U S P R I M E TagID: "VAV#4, TRUNK 1 (MB #1)" is ON-LINE & RELIABLE TagID: "VAV #1, TRUNK 2 (MB #61)" is OFF-LINE! (SlowScan) TagID: "VAV #4, TRUNK 3 (MB #121)" is ON-LINE & RELIABLE TagID: "VAV #5, TRUNK 3 (MB #122)" is ON-LINE & RELIABLE TagID: "VAV #6, TRUNK 3 (MB #123)" is ON-LINE & RELIABLE (A)larms: Not available with Modbus (does not support alarm states). With BACnet, this does have meaning, but only for points that have alarm states or limits (intrinsic alarms) defined.
C E N T A U R U S P R I M E (A)ll: View all configured devices. DEV: (S)elect, (A)ll, (D)etail, (O)ff-line, (C)omm Stats, (X)-it :A TagID: "VAV #4, TRUNK 1 (MB #1)" is ON-LINE & RELIABLE TagID: "VAV #4, TRUNK 2 (MB #61)" is OFF-LINE! (SlowScan) TagID: "VAV #4, TRUNK 3 (MB #121)" is ON-LINE & RELIABLE TagID: "VAV #5, TRUNK 3 (MB #122)" is ON-LINE & RELIABLE TagID: "VAV #6, TRUNK 3 (MB #123)" is ON-LINE & RELIABLE (S)elect: Target a specific device.
C E N T A U R U S P R I M E TagID: "VAV #4, TRUNK 1 (MB #1)" statistics: Packets Today: 463 RX Errors Today: 0 % Error: 0.000 TX Errors Today: 4 % Error: 0.864 Last Comm at: 17:13:26 on Dec 28, 2002 “Point” Menu Options The “Point” menu has three options, Select, All, and Detail. PNT: (S)elect, (A)ll, (D)etail, (X)-it : (A)ll: This will display all points and their current values for the targeted device. What follows below is an example from a Modbus gateway.
C E N T A U R U S P R I M E MB Reg 10011 (DI) "Damper Forced Closed " Fld: MB Reg 10012 (DI) "OCC/UNOCC Mode Ctl " Fld: MB Reg 10013 (DI) "Local SPT Status " Fld: MB Reg 10014 (DI) "Min Setpoint Forced " Fld: MB Reg 10015 (DI) "Max Setpoint Forced " Fld: MB Reg 10016 (DI) "Temp/Flow Mode FB " Fld: MB Reg 40004 (AO) "Occupied Heating SPT " Fld: MB Reg 40005 (AO) "Occupied Cooling SPT " Fld: MB Reg 40006 (AO) "UnOccupied Heating SPT" Fld: MB Reg 40007 (AO) "UnOccupied Cooling SPT" Fld: MB Reg 40011 (AO) "Ma
C E N T A U R U S P R I M E BACnet ID 8 (AI) "Damper/Valve Pos " Fld: 24 ==> 24.00 BACnet ID 9 (AI) "Maximum Flow Size " Fld: 16 ==> 1100.00 BACnet ID 10 (AI) "Present CFM Flow " Fld: 0 ==> 0.00 BACnet ID 111 (AO) "Max Heating Flow SPT " Fld: 16 ==> 16.00 BACnet ID 11 (AI) "Max Heating Flow " Fld: 16 ==> 16.00 BACnet ID 112 (AO) "Min Heating Flow SPT " Fld: 15 ==> 15.00 BACnet ID 12 (AI) "Min Heating Flow " Fld: 15 ==> 15.00 BACnet ID 113 (AO) "Max Cooling Flow SPT " Fld: 90 ==> 90.
C E N T A U R U S P R I M E PNT: You may select an OBJECT ID to target into. Enter a valid, existing, Object ID (1 to 49999) : 30001 The object at ID #30001 is now selected. (D)etail: will display details associated with the selected point, for MODBUS points: PNT: (S)elect, (A)ll, (D)etail, (X)-it :D MB Address: 30001, Type = AI, "Zone Temperature" Field Unit / Subunit : 4 / 0 Field Address :30001 Object Flags / Errors : 0 / 0 Field In / Out Counts : 0 / 0 Field Value : 0.000 Field Lo / Hi Range : 0.
C E N T A U R U S P R I M E Now, before you can control a point object you must first have selected a device number and point number (see Modbus point map, Chapter 3). (S)elect: Use this to select a valid point. Here is the Modbus variant: CTL: (S)elect, (C)ontrol, (D)etail, (X)-it :S CTL: You may select an OBJECT ID to target into. Enter a valid, existing, Object ID (0 to 49999) : 11 The object at ID #1 is now selected.
C E N T A U R U S 6 7 8 9 10 11 12 13 14 15 16 P R I M E Minimum On/Off Custom Programming—High Manual Operator VAV Air Systems Chiller Plant Control Area Control Manual Operator—Low Miscellaneous Timed-Override Time-of-Day Scheduling Custom Programming—Low Trane: Miscellaneous Trane: Demand Limiting Trane: Miscellaneous Trane: VAV Air Systems Trane: Chiller Plant Control Trane: Area Control Trane: User-Low Trane: Miscellaneous Trane: Timed-Override Trane: Time-of-Day Scheduling Trane: Custom Programmin
C E N T A U R U S P R I M E (P)riority: (BACnet ONLY) Use this to select the priority that you will issue subsequent control and release operations at. CTL: (S)elect, (P)riority, (C)ontrol, (R)elease, (D)etail, (X)-it :P PRI: Enter a PRIORITY to do your controls at (1 to 16): 4 Control and Release Operations will now be done at Priority 4. (C)ontrol: (BACnet version) This option will let you control the selected point, at whatever priority level you are currently at.
C E N T A U R U S P R I M E Field In / Out Counts : 0 / 0 Field Value : 0.000 Field Hi / Lo Range : 255.000 / 0.000 Eng. Units : Deg F.
C E N T A U R U S P R I M E WCH: (Q)uiet, (1),(2),(3),(4) to watch trunks; (V)erbose, (M)odbus, (X)-it :1 *** TRUNK 1 is now being MONITORED *** -- SCAN: Trunk #1, TRANE #4 Device # 1 Type: 0 AI 30001 Zone Temperature Counts: 72 = AI 30002 Active Heating SP Used Counts: 71 = AI 30003 Active Cooling SP Used Counts: 76 = AI 30003 Active Cooling SP Used Counts: 76 = AO 40004 OCCUPIED Heating SPT Counts: 71 = AI 30004 OCC Heating Value Counts: 71 = AO 40005 OCCUPIED Cooling SPT Counts: 76 = AI 30005 OCC Cooli
C E N T A U R U S AI AO AI AO AI P R I M E 30003 Active Cooling SP Used 40004 OCCUPIED Heating SPT 30004 OCC Heating Value 40005 OCCUPIED Cooling SPT 30005 OCC Cooling Value Counts: Counts: Counts: Counts: Counts: 76 71 71 76 76 = = = = = 76.00 71.00 71.00 76.00 76.00 …etc… (M)odbus: When (M) is pressed while in monitor mode, the full Modbus RTU data packets will be displayed as well for each scanned device (Modbus version only).
C E N T A U R U S P R I M E Receiving a file from the Gateway (downloading) From the dos prompt, you must type “DOWN filename” (filename being the name of the file to receive with extension). The response will look like the following. C:\>down disc_1.txt Ready, start X-modem download now... In Hyperterminal, start the file transfer by selecting Transfer/Send and follow the following sequence below.
C E N T A U R U S P R I M E Click Transfer > Receive File: Enter the location to save the file and make sure that Xmodem is selected and then click the Receive button. The next dialog box will ask you to specify a filename and when you click “OK” the file will be received from the Gateway. Setting up the Modbus Driver After the Gateway is ready to go and you have your database configured, one of the last steps is to make sure that you have the Modbus driver settings for the Host/Master setup correctly.
C E N T A U R U S P R I M E Setting up the BACnet System After the Gateway is ready to go and you have your database configured, one of the most important steps is to make sure that you have your BACnet system configured properly to communicate with the Centaurus Prime Gateway. The most important parameter that some BACnet systems need to know is whether a device supports READ-MULTIPLE and WRITE-MULTIPLE services. The Centaurus Prime Gateways only support READ-MULTIPLE, not WRITEMULTIPLE services.
C E N T A U R U S P R I M E Chapter 3 Modbus & BACnet Point Mapping Device Point Mapping for VAV-1s and VariTranes Monitor Reg # / Inst. # Control Reg # / Inst.
C E N T A U R U S P R I M E 10014 / 314 14 / 414 Min. Setpoint Forced 10015 / 315 10016 / 316 15 / 415 16/ 416 Max. Setpoint Forced TEMP/FLOW Mode 10017 / 317 17/ 417 Recalibration Mode (!) Maximum Heating Forced 0=AUTO; 1=FORCED 0=AUTO; 1=FORCED 0=TEMP; 1=MODE 0=AUTO; 1=FORCED Range Note 1: This is a count value, 0 to 255, representing degrees F, in integer format. In the Modbus case, use Low-Range = 0, and High-Range = 255.
Index (A)larms, 15, 16 Memory, 2 (C)ontrol, 13, 14, 22, 24 Modbus device numbers, 15 (C)ontrolled, 15, 16 Modbus Master, i, 4, 8 (D)etail, 17, 18, 19, 20, 21, 22, 24, 25 Modbus Network, 1 (D)evices, 15 Modbus Point Mapping, 31 (H)elp, (H)elp 13 Modbus RTU, 1, 27 (M)odbus, 26, 27 Power, 3 (S)elect, 17, 18, 19, 20, 21, 22, 24, 25 Power Supply, 1 (V)erbose, 26 Processor, 2 “Devices” Menu Options, 16 Range Note 1, 32 “Point” Menu Options, 18 Receive File, 29 “Summary” Menu Options, 15 RS