Transcription

User ManualHuman Machine InterfaceBACnet/IP - SlaveUMBIPARev: 06/2012

GRAPHIC SYMBOLSINFORMATION, it helps users with more details about the topic andfailure to follow may lead to unpredictable results.WARNING, Failure to follow may lead to minor injury or damage /malfunctioning of equipmentDANGER, Failure to follow may lead to injury or fatal accident tooperating personal or damage/malfunctioning of equipmentCAUTION, Failure to follow may lead to malfunctioning of equipment,damage or repairProtective EarthDC SupplyPREFACEOriginal equipment manufacturer reserves the right to change informationavailable in this document without notice. Original Equipment manufacturer isnot liable for any damages incurred to equipment/personal during installationor use of equipment as explained in this document. User must acquiresufficient knowledge & skills prior to use the equipment in the application andfollow all the local standards & regulations to meet safety requirementsBACnet/IP, is registered trade mark of ASHRAEWAGO BACnet Configurator , is registered trade mark of WAGO Kontakttechnik Gmbh Co. KgAnybus CCis registered trade mark of HMS2

TABLE OF CONTENTS1.1.11.2OVERVIEW.4INTRODUCTION . 4COMMUNICATION . 52.SPECIFICATIONS .63.EXTENSION CARD INSTALLTION.74.QUICK SETUP.105.HMI CONFIGURATION.116.MASTER CONFIGURATION .147.CONVERTER.178.FAQ.203

1. OVERVIEW1.1 IntroductionBACnet/IP (Building Automation Control networking protocol) is a communications protocoldeveloped by ASHRAE and popular in Building automation. The module has 2 nos. RJ45ports, one for IN and one for OUTFig: Typical configurationHMI supports BACnet/IP slave functionality using plug in optional extension card.Check HMI ordering code for Network extension card availabilityBACnet/IP supports several networking topologies but not limited to Start, Ring &Linear etc.Fig: BACnet/IP- Star Topology4

Fig: BACnet/IP- Switch ring Topology1.2 CommunicationFig: Data exchange between master and slave5

2. SPECIFICATIONSItemDescriptionPort number in HMICOM3 (for network option, extension card)Master to Slave/ Slave to MasterMax 256 objects. Maximum data length 256bytes. So, number of objects depend on datatype configured for the blocks in HMIconfigurationSupported baud ratesData types supportedNumber of RJ45 ports10/100 Mbit full/half duplex operationByte, Int16, Int32, UByte, UInt16, UInt32, Float2 (One for IN & one for OUT to connect withother BACnet/IP device)Network identityVendor IDDevice NameModel name486ControllerABCCVendor NameBC-HMI6

3. EXTENSION CARD INSTALLTIONCOM3 is dedicated for extension card. It is clearly marked on rear side of HMI.Check HMI ordering code for Network extension card availabilityCOM3,ExtensioncardFig: Typical dimensional drawing of HMI 7”7

Fig: Typical HMI 7” with BACnet/IP module1. Open HMI rear cover by removing all the screws2. Remove M2 X 4 mm screws (2 nos.) and open network module blank cover3. Remove 5 mm hex screws (2 nos.) for COM1 port using tool 5mm Hex nutscrewdriver4. Remove COM1 cover. At this time, COM1 enclosure will be opened. Notedown the direction of enclosure carefully as it need to fit in same directionlater5. Remove 5 mm hex screws for network extension card6. Now, insert network extension card into main board and make sure it isproperly inserted with in guider pins8

7. Fix COM1 cover properly and make sure that PCB is locked with in lockingholes8. Fix 5 mm hex screws (2 nos.) for COM1 port9. Fix network module cover. Remember, these covers are different for differentnetwork extension modules. You will receive specific network module coveralong with network extension card10. Fix 5 mm hex screws (2 nos.) for network extension card. If required gentlypush network extension card downside to allow screws go inside properly11. Fix M2 X 4 mm screws (2 nos.) on network module cover. If required gentlypush network extension card downside to allow screws go inside properly12. Close the HMI rear cover9

4. QUICK SETUPTipsSteps1. First decide how much data to be exchanged between Master and Slave.2. In HMI configuration, create required blocks. They support Read/Writeoperations3. Open Tag data base from Project explorer. It is possible to modify blocks toTag names at Tag database here. Once block name is changed to Tagname, never attempt to delete the network setup from connection as you willloose all the Tag names.4. Link tags with Objects like Label, Text box etc. Once Tag is linked withobjects, never attempt to delete network configuration from Connections.5. Make sure HMI (COM3) is connected to PLC on BACnet/IP. Downloadapplication from PC to HMI6. Switch OFF power supply to HMI. Press your finger on HMI active screenarea and then switch ON the power. On Control center, press “Run”.7. Put PLC in RUN mode and check communication between PLC and HMI10

5. HMI CONFIGURATION1. In project explorer, double click at “Connections”2. Clickto add a new connection.3. Select Type Other Networks. Select Protocol BACnet IP, then click applyiconto save this setup4. Click “Config”to open BACnet/IP slave configuration5. Select Communication and enter settingsAddress: Enter unique IP address of HMI device being configured as Slavein BACnet/IP networkMask: Enter subnet mask address11

Gateway: Enter gateway address6. Select “Block” and add required blocks as per requirement.Fig: HMI configuration screenEach Block is linked with one BACnet/IP object. Length indicates elements inspecific BACnet/IP object. By default, length 1, Type UInt16.If there is only one block, UInt16 type, then, maximum length 128Fig: Communication data format for data exchange.1234567HMI datatypeByteInt16Int32UByteUInt16UInt32FloatValue Range-128 to 127-32768 to 32767-2,147,483,648 to 2,147,483,6470 to 2550 to 655354294967295-3.402823E38 to -1.1754944E-38 (negativevalues) and 0 and 1.1754944E-38 to3.402823E38 (positive values)7. Make sure that all the required blocks are entered in HMI slave configurationscreen in HMI editing software. Then, click “OK” to finish block configuration8. In project explorer, double click “Tags” and check all the network tags. Ifrequired, it is possible to modify Tag names here. Once tag names aremodified and linked with objects, do not attempt to modify configuration of12

blocks again at connections in Project explorer. Before modification of tagnames in tag data base, make sure block settings are completely finished atConnections.After application download to HMI, please recycle power to HMI.Switch OFF power supply to HMI and switch ON power supply to HMI. Thenonly networking application works properly. At power on, it might showmessage “Extension card fail” in HMI. Press “OK”. If tags are linked with textboxes, it may show “Error” while reading data from Master to Slave. OnceMaster is started, communication will be established with slave and “Error”message disappears in objects and show real time data13

6. MASTER CONFIGURATIONIn this case WAGO BACnet Configuratornetwork.used as a Master on the BACnet/IPIt is expected user is fully aware how to configure BACnet/IP at Master sideand familiar with specific software used. If any questions on master side, pleasecontact the vendor directlyNote: After downloading application from PC to HMI, please remove Ethernet cablefrom standard Ethernet port in HMI. Connect Ethernet cable at RJ45 port inBACnet/IP network moduleOpen WAGO BACnet ConfiguratorIf there is a good connection between PC running WAGO BACnet Configurator andHMI (BACnet/IP module), then, HMI will be detected automatically as “Controller”and display as shown above14

Note: Observer Present Value updating automatically at Analog Value 0 (In thedemo program, simulation selected for HMI Internal memory Tag1 and then copy thisto Block1 in BACnet/IO module as shown in next page)15

All tags are Read/Write type.If you change value at Master, it will update in HMIIf you change value at HMI, it will update in MasterNote: You may try this at Block1 1, 1 2 & 1 3 in the demo program16

7. CONVERTERIt is possible to do scaling in HMI application for Read/Write blocksTask1: Read (Master to Slave)PLC Value range -32768 to 32767.Convert this to 0 to 100 and display in HMIUse Block1, Signed integer 16 type in HMI configurationTask2: Write (Slave to Master)Write 0 to 100 in HMI. Convert this to -32768 to 32767 and send to PLCUse Block2, Signed integer 16 type in HMI configurationRead, Block1 0Write, Block2 0Value atPLCValuewrite inHMI050100-32767032767ValueRead inHMI050100Value atPLC-32767032767Note: Create a new project to test this (Do not use demo project)17

Enter Scaling equation at “Conversion” tab18

Select required Conversion equation for the networking tags as shown above. Selectthis for both Block1 0 and Block2 019

8. FAQ1. Can we order HMI first and then network extension card later? Can I fixnetwork extension card my self?Yes, it is possible.2. All HMI support network extension cardCheck HMI ordering code for Network extension card availability3. After inserting network extension card, HMI is Master or Slave on specificnetwork?Slave4. Is it possible to have more than 1 HMI in BACnet/IP networkYes, it is possible.5. Is it possible to connect 1 HMI to 2 Masters on BACnet/IP?No, it is not possible.6. Can I access PLC addressing areas directly in HMI softwareNo, it is not possible7. What is the maximum data I can exchange between Master and Slave256 bytes.If Int16 is selected, then, max. 128 objectsIf Byte is selected, then, max. 256 objects8. What are the settings required in BACnet/IP slaveEthernet, Mask, Gateway address and block configuration is required.9. How many blocks I can add in HMI configuration.It depends on block length. By default, block length 1. We suggest definingonly two blocks, one for Read and one for Read. Then, define length as peryour project requirements to avoid complexity10. I am getting message “Extension card fail” in HMI after power on.Make sure network card inserted in slot. Please switch OFF power supply toHMI and Power ON again after downloading application from PC to HMI.11. I have 2 HMI configured as BACnet/IP slave. Can I connect both these HMI’sto Ethernet switch and exchange data with Master?Yes, it is possible. Make sure you follow one of right topology to be used forBACnet/IP12. Can I exchange data between two slaves directly with out Master?No, it is not possible. You must do this via Master only20