User’s Manual Pub. 0300274-01 Rev. A.
ii BACnet Communication Module User’s Manual Pub. 0300274-01 Rev. A.
BACnet Communication Module iii Important Notes 1. Please read all the information in this owner’s guide before installing the product. 2. The information in this owner's guide applies to hardware Series A and firmware version 1.1 or later. 3. This guide assumes that the reader has a full working knowledge of the relevant processor. Notice The products and services described in this owner's guide are useful in a wide variety of applications.
iv BACnet Communication Module Microsoft and Microsoft Windows are registered trademarks of Microsoft Corporation. The Encompass logo, ControlLogix, RSLinx, RSLogix, and EtherNet/IP are trademarks of Rockwell Automation. Other brands and their products are trademarks or registered trademarks of their respective holders and should be noted as such. User’s Manual Pub. 0300274-01 Rev. A.
BACnet Communication Module v Table of Contents IMPORTANT NOTES .............................................................................................................................................. III NOTICE ................................................................................................................................................................. III LIMITED WARRANTY ............................................................................................................
vi BACnet Communication Module Preface Read this preface to familiarize yourself with the rest of the manual.
BACnet Communication Module vii Documentation If you would like a manual, you can download a free electronic version from the Internet at www.spectrumcontrols.com Conventions Used in This Manual The following conventions are used throughout this manual: Bulleted lists (like this one) provide information not procedural steps. Numbered lists provide sequential steps or hierarchical information. Italic type is used for emphasis.
viii BACnet Communication Module User’s Manual Pub. 0300274-01 Rev. A.
Chapter 1 Module Overview Section 1.1 General Description The 2080sc-BAC Communication Module is a two-channel communication, plug-in module for use with Rockwell Automation Micro800™ systems. The plug-in module supports two channels of data communications: one channel is configured for RS-485, half duplex serial communications, and the other channel is configured for 10/100M Ethernet full duplex serial communications. After installation, the module is configured via the Ethernet port.
1-2 Chapter 1: Module Overview web browser to access this software to configure the parameters for the module. Configuring the communication module includes setting the User Interface password, entering the module device address, IP address, serial baud rate, and mapping PLC tags to BACnet tags. For complete information, refer to Chapter 3, Configuring the Module using Software. Power for the module is provided across the backplane.
Chapter 1: Module Overview WARNING 1-3 Cet équipement est prévu pour fonctionner en environnement industriel avec une pollution de niveau 2, dans des applications de surtension de catégorie II (telles que définies dans la publication 60664-1 de la CEI) et à une altitude maximum de 2000 m sans déclassement. Cet équipement est considéré comme étant un équipement industriel du Groupe 1, classe A selon CEI/CISPR 11.
1-4 Chapter 1: Module Overview Section 1.3 Prevent Electrostatic Discharge WARNING Electrostatic discharge can damage integrated circuits or semiconductors if you touch bus connector pins. Follow these guidelines when you handle the module: Touch a grounded object to discharge static potential. Wear an approved wrist-strap grounding device. Do not touch connectors or pins on component boards. Do not touch circuit components inside the module. If available, use a static-safe work station.
Chapter 1: Module Overview WARNING 1-5 Pour se conformer à la Directive basse tension CE, cet équipement doit être alimenté à partir d’une source ayant les caractéristiques suivantes: très basse tension de sécurité (TBTS) ou très basse tension de protection (TBTP). Section 1.4 Parts List Your package contains one Micro800 BACnet Communication Module, installation screws, and one Quick Start Guide.
1-6 Chapter 1: Module Overview WARNING Cet équipement est considéré comme étant un équipement industriel du Groupe 1, classe A selon CEI/CISPR 11. En l’absence de precautions appropriées, des problèmes de compatibilité électromagnétique peuvent survenir dans des environnements résidentiels et dans d’autres environnements en raison de perturbations conduites et rayonnées. Soyez vigilant en dénudant les fils. Tout fragment de fil tombé dans l’automate risquerait de le détériorer.
Chapter 1: Module Overview 1-7 The six-pin Connector pinouts are as follows: Pin Signal 6 MSTP+ 5 GND 4 GND 3 LOAD- 2 LOAD+ 1 MSTP- 1.5.2 Ethernet Connector The Ethernet connector has a default MAC address that may be changed during setup. The Ethernet connector may be used as an external communication port to a personal computer or to another BACnet module. The Ethernet connector is also used to configure the module. The default IP address for the module is 169.254.3.3.
1-8 Chapter 1: Module Overview Section 1.6 LED Indicator A single LED indicator is provided with the module. The LED is green for ON. The LED blinks in case of a fault. Section 1.7 Software Upgrade The module software can be upgraded in the field. Section 1.8 Module DC Power Specifications The controller provides two Power Supplies to the module: 3.3 Volts (3.0 V Min, 3.6 V Max), Current Rating: 40 mA 24 Volts (20.4 V Min, 26.
Chapter 2 Installation and Wiring Section 2.1 Insert Module into Controller Follow the instructions to insert and secure the plug-in module to the controller. WARNING Electrostatic discharge can damage integrated circuits or semiconductors if you touch bus connector pins. Follow these guidelines when you handle the module: Touch a grounded object to discharge static potential. Wear an approved wrist-strap grounding device. Do not touch connectors or pins on component boards.
2-2 Chapter 2: Installation and Wiring 1. Position the plug-in module with the terminal block facing the front of the controller as shown. The 2080sc-BACnet module has a different front panel setup, but the installation in the controller is the same: 2. Snap the module into the module bay. 3. Using a screwdriver, tighten the supplied, self-tapping screw to torque specifications. 4.
Chapter 3 Configuring the Module using Software Before configuring the module with the BACnet software: 1. Install your BACnet module in the Rockwell Micro800 controller. 2. Connect a personal computer to an Ethernet switch or network hub. Connect the Ethernet port on the personal computer to the Ethernet switch or hub. 3. Connect another cable between the hub and the Ethernet connector on the BACnet module.
3-2 Chapter 3: Configuring the Module To access the software on your module: 1. Access your PC local area connection properties dialog as shown below: Start:Control Panel:Network and Sharing Center:Change Adapter Settings:Local Area Connection Settings:Properties. 2. From the Local Area Connection n Properties dialog, select the Internet Protocol Version 4 (TCP/IPv4) option: 3. Change the settings to the equivalent settings for your personal computer as shown next: 4.
Chapter 3: Configuring the Module 3-3 The following dialog appears: 5. Type the password spectrum into the Password field and click Submit. The BACnet configuration dialog appears. The examples shown below use IP addresses that have been reconfigured to work on a different network from the default IP address : 6. View or modify the following options: System Configuration. Use to set up password, date and time, device, and LAN settings. Tag Setup.
3-4 Chapter 3: Configuring the Module Section 3.1 Configuring the System System configuration includes setting up or changing your system password, setting the date and time, choosing your device, and setting up the LAN. To set up or change system configuration settings: 1. Access the System Configuration tab: 2. View or specify the following options: Password. The software ships with a default password, spectrum.
Chapter 3: Configuring the Module - 3-5 Date. Enter the date as MM/DD/YYYY where MM is month, DD is day, and YYYY is year. If necessary, select the date from the calendar provided. - Time. 24-hour time format. Enter the time in hours, minutes, and seconds. Device. Enter the device instance and name. The device instance is the unique ID of a device used by BACnet. Default Device ID is #200121. All messages directed to the module are addressed to this ID. The allowable range is from 1 to 4,194,034.
3-6 Chapter 3: Configuring the Module The module and personal computer’s IP addresses must also be on the same network to allow the two devices to communicate: - BACnet/IP. When you set up your module to use an Ethernet physical interface, specify a UDP port number for BACnet/IP, IP address, Subnet Mask, and Gateway. The UDP port communicates between the PC and the module.
Chapter 3: Configuring the Module 3-7 your MS/TP network you will need to determine what MAC address to use that makes this device unique on your network. You will need to exercise care to avoid entering duplicate MAC addresses in your device network. Max Masters. In a token ring network, each node is responsible for searching for the next node and passing the token to it. Max Masters is the maximum MAC address this module searches for.
3-8 Chapter 3: Configuring the Module To set up tag mapping between the Micro800 PLC and BACnet objects: 1. Select the Tag Setup tab. The Tag Setup dialog appears: 2. View or specify the following options: Add Tags. To add a tag, click the Add Tag icon: A new row is added to the tag list. Enter the tag data for each of the editable fields in the PLC and BACnet mapping fields as follows: User’s Manual Pub. 0300274-01 Rev. A.0 - Tag Name. Enter the PLC variable tag name.
Chapter 3: Configuring the Module 3-9 - Attribute. Enter the PLC variable attribute. - Object Name. Enter the BACnet object name. Use a meaningful description, such as Damper Angle. - Object Type. Click on the field and select the relevant object type for the PLC tag: - Object ID. This is the BACnet object instance. Valid range is from 0 to 63, which means you can define 64 object instances of each object type. Each object is uniquely defined by object-instance and type.
3-10 Chapter 3: Configuring the Module Section 3.3 Editing XML Tag Information You normally modify tags through the software’s user interface. However, the module uses an XML file format to save the tag mapping information. To save time, you may also modify the XML file directly. NOTE When modifying XML directly, be sure to make a backup of your original file first. Otherwise you may find errors or accidental deletions of entries cause problems with your file.
Chapter 3: Configuring the Module 3-11 Example. In the above Tags list, you may change: __IO_EM_DO_00 TO __IO_EM_DO_123 manually. 3. To implement the changes, click Submit. The name changes to __IO_EM_DO_123. Section 3.4 Generating Structured Text Rockwell Connected Component Workshop (CCW) software interfaces with the BACnet module. Tag mapping is executed through CCW, which reads and writes to the BACnet module using CCW structured text code .
3-12 Chapter 3: Configuring the Module The software generates the CCW structured text and shows the text in the Structured Text dialog: 3. Copy the structured text and paste into your CCW software as Main function. Section 3.5 Using the CCW Structured Text Example Spectrum Controls, Inc. provides a sample CCW project with a sample Main function and a Function block named BACNET_Convert in a zipped project file, BACNET_Utilities.zip, downloadable from the Spectrum Controls website.
Chapter 3: Configuring the Module 3-13 This function block does not need to change when you make a tag mapping change. NOTE There is no defined behavior for the module when the controller enters Program Mode, remotely or manually. When placed in Program Mode, the module will still respond to BACnet requests with the same functionality as exists in normal operation, with the exception that PLC will not receive updated Output values from the module, nor will it update Input values to the module.
3-14 Chapter 3: Configuring the Module The first step is to create Local Variables for the Main program. The second step is to paste in the structured text generated by the Module configuration user interface to the Main program of the CCW. Below is an example of this Main program. A variable called tag1 is converted to ULINT variable bacnet_convert_var and then placed at offset 0 of the byte array table because you are writing AnalogInput 0.
Chapter 3: Configuring the Module 3-15 Similarly, for Analog Output, a read is performed to read the whole analog table to bac_raw_tbl, defined in function block bacnet_convert_fn. Next, individual AnalogOutput objects are to be written to the variable after conversion from ULINT to a tag data type. (* Read Output Table from Module *) bacnet_module_read_fn(TRUE, BACNET_MODULE_SLOT, bacnet_module_address, bacnet_module_datalen, bacnet_convert_fn.
3-16 Chapter 3: Configuring the Module tmp_index := param_offset; tmp_raw_var := 0; tmp_raw_var := tmp_raw_var + ANY_TO_ULINT(bac_raw_tbl[tmp_index]) * 1; tmp_index := tmp_index + 1; tmp_raw_var := tmp_raw_var + ANY_TO_ULINT(bac_raw_tbl[tmp_index]) * 16#100; tmp_index := tmp_index + 1; tmp_raw_var := tmp_raw_var + 16#10000; tmp_index := tmp_index + 1; tmp_raw_var := tmp_raw_var + 16#1000000; tmp_index := tmp_index + 1; tmp_raw_var := tmp_raw_var + 16#100000000; tmp_index := tmp_index + 1; tmp_raw_var := tm
Chapter 3: Configuring the Module 3-17 tmp2 := AND_MASK(tmp2, 1); IF tmp2 = 1 THEN tmp_raw_var := 1; ELSE tmp_raw_var := 0; END_IF; (* if param_mode == 3 This is for Binary Input Table *) ELSIF param_mode = 3 THEN tmp_index := param_offset / 8; tmp1 := MOD(param_offset, 8); tmp2 := 1; tmp2 := SHL(tmp2, tmp1); tmp1 := ANY_TO_DINT(bac_raw_tbl[tmp_index]); IF param_var = 0 THEN (* set 0 *) tmp1 := NOT_MASK(tmp1); tmp1 := OR_MASK(tmp1, tmp2); tmp1 := NOT_MASK(tmp1); ELSE (* set 1 *) tmp1 := OR_MASK(tmp1, tmp2
3-18 Chapter 3: Configuring the Module (* Write Input Table to Module *) bacnet_module_address := 112; bacnet_module_datalen := 8; bacnet_module_write_fn(TRUE, BACNET_MODULE_SLOT, bacnet_module_address, bacnet_module_datalen, bacnet_convert_fn.bac_raw_tbl); Similarly, for Analog Output, a read operation is performed to read the whole analog table to bac_raw_tbl defined in function block bacnet_convert_fn.
Chapter 3: Configuring the Module 3-19 Each bit of the BACnet Binary Value represents a true/false value for one BACnet Binary Value object. This block supports up to 64 such objects. BACnet Analog Input 1 Block (0×100 – 0×1FF) Register Name Addr.
3-20 Chapter 3: Configuring the Module Register Name Addr. Comments Default R/W From PLC R/W From Module BAC_AO_31 0×5F8 – 0×5FF BACnet Analog Output tag 31 0 R W This block is for the first 32 BACnet Analog Output tag values. BACnet Analog Output objects are made available via the BACnet stack as a writable value that is then written by the module to the PLC. The data are then copied into a user-specified PLC variable. BACnet Analog Output 2 Block (0×600 – 0×6FF) Register Name Addr.
Chapter 3: Configuring the Module DWORD LINT ULINT LWORD REAL LREAL 3-21 0 to 429467295 -1e18 to 1e182 0 to 1e18 0 to 1e18 -1e18 to 1e183 -1e18 to 1e18 3.5.5 Tools Spectrum Controls, Inc. provides multiple Windows command-line executables you may use to communicate with the module. These utilities are compiled from an open source BACnet stack. The tools require an Ethernet-to-BACnet router.
3-22 Chapter 3: Configuring the Module Examples: To write BO 3 present value to 1, do this – “bacwp 200121 4 3 85 15 1 9 1” {param 1} – 200121. This is the module instance number. {param 2} – 0. This is the object type. Object type is defined as: BI (3), BO(4), AI(0), AO(1). {param 3} – 3. This is the object instance. {param 4} – 85. This is the property (present value 85, property array 87, object name 77, object list 76). {param 5} – 15. This is the priority.
Chapter 3: Configuring the Module 3-23 The Ethernet hardware MAC address is listed. 2. To exit, click OK. Section 3.8 Upgrading the Software To upgrade to a new version of software: 1. Navigate to the correct BACnet location on the Spectrum Controls, Inc. web site (www.spectrumcontrols.com), and download the software upgrade to your personal computer. The software upgrade file will have a .UPT file extension. 2. From the main software dialog, click Upgrade: 3.
3-24 Chapter 3: Configuring the Module Confirm you wish to save the data: To save the data, click Yes. To cancel the data save, click No. 2. If you select Yes, the software saves the changes to the system configuration on the module. Section 3.10 Reloading System Configuration To reload the system configuration from the module: 1. From the main software dialog, click Reload: 2. The software reloads the system configuration from the module into the software. User’s Manual Pub. 0300274-01 Rev. A.
Chapter 4 Implementing the BACnet Protocol This chapter describes the BACnet protocol and its implementation in the BACnet Communications Module: BACnet Protocol Requirements Tag Mapping API Address Mapping and other considerations Section 4.1 BACnet Object Types The following data shows the supported BACnet object types and the properties supported for each object type. Each table also includes the property data type, the identifier number, and whether the property is read or read/write.
4-2 Chapter 4: Implementing the BACnet Protocol Properties Supported Event_State Property Data BACnetEventState Type Identifier Read/Write 36 R Type Identifier Read/Write Binary Input-BACnetObjectType = 3 Property Data Properties Supported Object_Identifier BACnetObjectIdentifier 75 R Object_Name CharacterString 77 R Object_Type BACnetObjectType 79 R Present_Value BACnetBinaryPV 85 R/W Status_Flags BACnetStatusFlags 111 R Event_State BACnetEventState 36 R Out_Of_Service B
Chapter 4: Implementing the BACnet Protocol Property Data Properties Supported 4-3 Type Identifier Read/Write Vendor_Identifier Unsigned16 120 R Model_Name CharacterString 70 R Firmware_Revision CharacterString 44 R Application_Software_Version CharacterString 12 R Protocol_Version Unsigned 98 R Protocol_Revision Unsigned 139 R Protocol_Services_Supported BACnetServicesSupported 97 R Protocol_Object_Type_Supported BACnetObjectTypesSupported 96 R Object_List Sequence of
4-4 Chapter 4: Implementing the BACnet Protocol Property Device Binary Value Analog Value Present Value √ √ Status Flags √ √ Event State √ √ Preset Value √ Status Flags √ Event State √ Out-of-Service √ Appl Software revision √ Protocol Version √ Protocol Revision √ Services Supported Object Types Supported Object List √ Max APDU Length √ Segmentation Support √ APDU Timeout √ Number APDU Retries √ Max Master √ Max Info Frames √ Device Address Binding Database Revisi
Chapter 4: Implementing the BACnet Protocol Register Address Comments 4-5 Default PRODUCT_TYPE_LO 0×04 10 (0×0A) PRODUCT_TYPE_HI 0×05 0 PRODUCT_CODE_LO 0×06 80 (0× 50) PRODUCT_CODE_HI 0×07 0 MOD_REV_LO 0×08 Minor revision, 1-255 1 MOD_REV_HI 0×09 Major revision, 1-127 1 Section 4.3 User Interface Options The configuration software uses Adobe Flash. Your personal computer must be able to run an Adobe Flash Player compatible browser.
4-6 Chapter 4: Implementing the BACnet Protocol User’s Manual Pub. 0300274-01 Rev. A.
Appendix A Configuration Information This appendix contains configuration information as follows: Environmental Specifications Environmental Tests Industry Standards Test Level Limits Temperature (Operating) (Performance Criteria A) IEC60068-2-1: (Test Ad, Operating Cold), IEC60068-2-2: (Test Bd, Operating Dry Heat), IEC60068-2-14: (Test Nb, Operating Thermal Shock) Temperature (Non-operating) (Performance Criteria B) IEC60068-2-1: (Test Ab, Unpackaged Non-operating Cold), IEC60068-2-2: (Test Bb, Unpa
A-2 Appendix A: Configuration Information Environmental Tests Conducted Emissions ESD immunity (Performance Criteria B) Radiated RF immunity (Performance Criteria A) EFT/B immunity (Performance Criteria B) Industry Standards Test Level Limits IEC 61000-6-4:2007 Rockwell Document QTP#X0327 Group 1, Class A (AC Mains), 15 0 kHz – 30 MHz IEC 61000-4-2 Rockwell Document QTP#X0327 6 kV Indirect (Coupling Plate) 6 kV Contact Discharge ( to points of initial contact) 8 kV Air Discharge (to points of ini
Appendix A: Configuration Information Environmental Tests Industry Standards Magnetic Field (Performance Criteria A) IEC 61000-4-8 Rockwell Document QTP#X0327 AC Mains Voltage Dips, Interruptions and Variations IEC 61000-4-11 Rockwell Document QTP#X0327 A-3 Test Level Limits 30 Arms/m Follow the 61000-4-11.
A-4 Appendix A: Configuration Information Input Specifications Fusing 2.7 Ω 1/10 W resistor, 24 VDC input 0.47 Ω 1/10 W resistor, 3.3 VDC input Input to backplane isolation 707 VDC for 1 minute Channel to channel isolation None Fault detection None Wire size #22 to #30 AWG (for the mating connector) Operating temperature -20 ºC to 65 ºC Storage temperature -40 ºC to 85 ºC Operating humidity 5% to 95% (non-condensing) Manufacturing RoHS & REACH compliant Dimensions 58.4 mm × 29.
Index 2080-sc BACnet Communication Module How it works 1-1 2080sc-BACnet Communication Module configuring 3-1 DC power specifications 1-8 enclosure requirements 1-2 environment requirements 1-2 hardware features 1-6 installing 2-1 Parts List 1-5 Add Tags icon 3-8 Analog Input-BACnetObjectType 4-1 Analog Output-BACnetObjectType 4-1 Attribute field 3-9 BACnet implementing protocol 4-1 Object Types 4-1 BACnet Analog Input 1 Block 3-19 BACnet Analog Input 2 Block 3-19 BACnet Analog Output 1 Block 3-19 BACnet An
I-2 Index user requirement, iii Object ID field 3-9 Object Name field 3-9 Object Type field 3-9 Parameter module block offset 4-4 Parts List 2080sc-BACnet Communication Module 1-5 Password entering 3-3 login 3-4 Reset/DCC 3-4 section 3-4 spectrum 3-3 Pinouts Connector 1-7 Port Ethernet 0xBAC0 3-1 Preface, vi Present Value field 3-9 Properties supported object types 4-3 Protocol implementing BACnet 4-1 ReadProperty 3-21 Registered trademarks notification of, iv Reload Tags option 3-9 Save Tags option 3-9 S
User’s Manual Pub. 0300274-01 Rev. A.
©2014 Spectrum Controls, Inc. All rights reserved. Specifications are subject to change without notice. The Encompass logo and ControlLogix are trademarks of Rockwell Automation. Corporate Headquarters Spectrum Controls Inc. P.O. Box 6489 Bellevue, WA 98006 USA Fax: 425-641-9473 Tel: 425-746-9481 Web Site: www.spectrumcontrols.com E-mail: spectrum@spectrumcontrols.com User’s Manual Pub. 0300274-01 Rev. A.