www.infoplc.net Application example AC500 Scalable PLC for Individual Automation Communication between AC500 and KNX network abb



Similar documents
AC500. Application Example. Scalable PLC for Individual Automation. Webserver Login Application Example With PM564-ETH. abb

AC500. Visualization 1 CoDeSys Programming OPC. Configurator. c:\programdata\ CoDeSysOPC\ OPCServer.ini. Local or TCP/IP. CoDeSys Gateway server

Product Manual. ABB i-bus KNX IP Interface IPS/S 2.1. Intelligent Installation Systems ABB

Run SAP Implementation Partner Program Guide 2009 ADOPTING THE RUN METHODOLOGY INTO YOUR SAP IMPLEMENTATIONS

KNX Technical Reference Manual ABB i-bus KNX. ETS-App "KNX Bus Update"

KNX IP Interface. Operating and installation manual

SAP GLOBAL DIVERSITY POLICY

SAP Solution Manager Change Request Management. SAP Solution Manager Product Management SAP AG

ABB i-bus KNX IP Router IPR/S 2.1

Technische Alternative elektronische Steuerungsgerätegesellschaft mbh. A-3872 Amaliendorf, Langestr. 124 Tel +43 (0)

SAP Sourcing/CLM Webcast Query & User/Contact Maintenance Web Service

CPU SHB210 BIOS Versionen V14.x

SAP CRM Detailed View SAP CRM Web Service Tool

BRFplus Field Configuration for Portfolio Management

Product Manual. ABB i-bus KNX Data Logging Unit BDB/S 1.1. Intelligent Installation Systems ABB

Use of DB2 purescale with SAP Applications

IAC-BOX Network Integration. IAC-BOX Network Integration IACBOX.COM. Version English

MAS-PC QuickConnect. A utility program for connection of a PC to MAS711

IN00A01IPI. Hardware specification KNX IP INTERFACE IN00A02IPISH IN00A02IPISH Specifica N. Progetto N. Titolo del progetto

SAP Product Road Map SAP Mobile Documents

AC500. Software Description. Scalable PLC for Individual Automation. Installation of the AC500 Control Builder PS501

Heterogeneous ABAP System Copy Technical Overview

Software installation and configuration IEC-line series

Scalable PLC AC500 Communication AC500 Modbus TCP. ABB Group Version 3.1 ( ) Technical Guides

EIB/KNX IP Interface with Power over Ethernet (PoE)

KNX IP INTERFACE IN00A02IPI. Operating and installation manual

KNX Netwerkbijeenkomst 10 maart 2015 KNX en IP-functionaliteiten

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

Device Interface IP Address Subnet Mask Default Gateway

Upgrade-Preisliste. Upgrade Price List

Customer Surveys with SAP Contact Center

This techno knowledge paper can help you if: You need to setup a WAN connection between a Patton Router and a NetGuardian.

Certificate SAP INTEGRATION CERTIFICATION

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

ABB i-bus EIB / KNX EIB Monitoring Unit EUB/S 1.1

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

iridium for Weinzierl KNX IP BAOS

IntesisBox KNX Modbus TCP master

quick documentation Die Parameter der Installation sind in diesem Artikel zu finden:

KNX IP Interface 730 KNX IP Router 750 KNX IP LineMaster 760 KNX IP BAOS 770 KNX IP BAOS 771 KNX IP BAOS 772 KNX IP BAOS 777

TH SCOPE. Monitoring and Diagnostics of PROFINET, PROFIBUS, EtherNet/IP and Modbus TCP Networks. Installation Manual. Version: EN

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

Project Cost Reporting for PPM

Technical Note. Monitoring Ethernet Traffic with Tolomatic ACS & Managed Switch. Contents

Making SAP s User Experience Strategy Reality Nis Boy Naeve, Andreas Hauser SAP SE SESSION CODE: UX204

APPLICATION SETUP DOCUMENT

LEARNING AGREEMENT FOR STUDIES

iridium for KNX/EIB Fast Start: Connection Setting Manual for KNX/EIB equipment

Ethernet Module Manual

Symantec Backup Exec (TM) 13 Installation Log

ABB i-bus KNX i-bus Tool Product Information

IDDERO HCx-KNX TOUCH PANELS. Quick start guide

TH SCOPE. Monitoring and Diagnostics of PROFINET, EtherNet/IP and Modbus TCP Networks. Installation Manual. Version: EN

Guide to Setting up Internet Connection Sharing for Windows

Ubiquity getting started

Least Cost Routing (LCR) With GESKO PABX Systems

HYPO TIROL BANK AG. EUR 5,750,000,000 Debt Issuance Programme (the "Programme")

KNX Gateway RGK E-01

SAP NetWeaver Composite Application Framework (CAF)

CobraNet TM User s Manual

Configuring the Switch with the CLI Setup Program

SAP Perfect Plant Manufacturing Solution. SAP Taiwan Allen Lin 林 信 宇

Upgrading Your Skills to MCSA Windows Server 2012 MOC 20417

AN4108 Application note

ModBus Server - KNX. Gateway for integration of KNX equipment into Modbus (RTU and TCP) control systems.

Permanent Establishments in International Tax Law

SPICE auf der Überholspur. Vergleich von ISO (TR) und Automotive SPICE

BACKUP EAGLE. Release Notes. Version: Date: 11/25/2011

SCADA, Telemetry and Telecontrol using TETRA-Infrastructure. Toronto, April 25th, Funk-Electronic Piciorgros GmbH Michael D.

ICG-9 Meeting, Prague, Session 3, 11 th Nov Spectrum Monitoring applied to the Detection and Geolocation of GPS Jammers

Attention: The installation of the ABB Automation Builder software requires administrator rights.

INSRUCTION MANUAL AND GUARANTEE POLICY

Tebis application software

Additional Requirements for ARES-G2 / RSA-G2. One Ethernet 10 Base T/100 Base TX network card required for communication with the instrument.

Search Engines Chapter 2 Architecture Felix Naumann

StarterKit Embedded Control SC13 + DK51. From the electronic to the automation

J2EE-Application Server

KNX Panasonic Air Conditioners

ABB i-bus EIB / KNX Analogue Input AE/S 4.2

Debugging Network Communications. 1 Check the Network Cabling

Building an Architecture Model Entwerfen Sie mit AxiomSys ein Kontextdiagramm, das folgendermaßen aussieht:

Manual. Security centre ATS. Linking with Fore!

Symbio system requirements. Version 4.x

MDM Mass Configuration Tool User s Manual

Multipurpsoe Business Partner Certificates Guideline for the Business Partner

Brauche neues Power Supply

Configuring a customer owned router to function as a switch with Ultra TV

C-more Remote Access with Apple ipad or iphone Tutorial

The RT module VT6000 (VT6050 / VT6010) can be used to enhance the RT. performance of CANoe by distributing the real-time part of CANoe to a

KIM.

Accelerated Application Delivery

IN THIS GUIDE YOU WILL LEARN HOW TO GET YOUR WIFI CABLE MODEM GOING IN NO TIME

IntesisBox KNX Modbus RTU master

Motion Control Products Application note Exporting AC500 tags for use with Panel Builder

Voice Over Internet Protocol (VoIP) Configuration

1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Update to V10. Automic Support: Best Practices Josef Scharl. Please ask your questions here Event code 6262

ETS4 Diagnostics. KNX Association

Transcription:

Application example www.infoplc.net AC500 Scalable PLC for Individual Automation Communication between AC500 and KNX network abb

Content www.infoplc.net 1 Disclaimer...2 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz außerhalb Deutschlands... 2 1.2 Nur für Kunden mit Sitz in Deutschland... 2 2 Introduction...3 2.1 Used components and tools... 3 2.1.1 KNX project... 3 2.1.2 AC500 project... 3 2.1.3 Optional for test of the KNX IP communication... 3 2.2 Principle of the KNX / AC500 communication... 4 3 Commissioning the application example...5 3.1 Application example... 5 3.2 Basic Setup of the ETS3 project.... 7 3.2.1 Addressing the KNX Device... 8 3.2.2 Configuration of the KNXnet/IP router IPR/S2.1 in ETS3... 9 3.2.3 Programming the KNX devices... 12 3.3 Setup of the AC500 project... 13 3.3.1 Project commissioning in PS501... 13 3.3.2 Project setting in CoDeSys... 14 3.3.3 Adding the KNX library... 16 3.3.4 Load Program into the AC500... 17 3.3.5 CoDeSys Source Code... 18 4 Appendixes...19 Application Example - 1 - AC500/Issue: 10.2012

1 Disclaimer www.infoplc.net 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz außerhalb Deutschlands "Warranty, Liability: The user shall be solely responsible for the use of this application example described within this file. ABB shall be under no warranty whatsoever. ABB's liability in connection with this application example or the files included within this file, irrespective of the legal ground, shall be excluded. The exclusion of liability shall not apply in the case of intention or gross negligence. The present declaration shall be governed by and construed in accordance with the laws of Switzerland under exclusion of its conflict of laws rules and of the Vienna Convention on the International Sale of Goods (CISG)." "Gewährleistung und Haftung: Der Nutzer ist allein für die Verwendung des in dieser Datei beschriebenen Anwendungsbeispiels verantwortlich. ABB unterliegt keiner Gewährleistung. Die Haftung von ABB im Zusammenhang mit diesem Anwendungsbeispiel oder den in dieser Datei enthaltenen Dateien - gleich aus welchem Rechtsgrund - ist ausgeschlossen. Dieser Ausschluß gilt nicht im Falle von Vorsatz oder grober Fahrlässigkeit. Diese Erklärung unterliegt Schweizer Recht unter Ausschluß der Verweisungsnormen und des UN-Kaufrechts (CISG)." 1.2 Nur für Kunden mit Sitz in Deutschland "Gewährleistung und Haftung: Die in diesem Anwendungsbeispiel enthaltenen Dateien beschreiben eine mögliche Anwendung der Steuerung AC500 bzw. zeigen eine mögliche Einsatzart der Steuerung. Sie stellen nur Beispiele für Programmierungen dar, sind aber keine fertigen Lösungen. Eine Gewähr kann nicht übernommen werden. Der Nutzer ist für die ordnungsgemäße, insbesondere vollständige und fehlerfreie Programmierung der Steuerungen selbst verantwortlich. Im Falle der teilweisen oder ganzen Übernahme der Programmierbeispiele können gegen ABB keine Ansprüche geltend gemacht werden. Die Haftung von ABB, gleich aus welchem Rechtsgrund, im Zusammenhang mit den Anwendungsbeispielen oder den in dieser Datei enthaltenen Dateien wird ausgeschlossen. Der Haftungsausschluß gilt jedoch nicht in Fällen des Vorsatzes, der groben Fahrlässigkeit, bei Ansprüchen nach dem Produkthaftungsgesetz, im Falle der Verletzung des Lebens, des Körpers oder der Gesundheit oder bei schuldhafter Verletzung einer wesentlichen Vertragspflicht. Im Falle der Verletzung einer wesentlichen Vertragspflicht ist die Haftung jedoch auf den vertragstypischen, vorhersehbaren Schaden begrenzt, soweit nicht zugleich ein anderer der in Satz 2 dieses Unterabsatzes Fälle gegeben ist. Eine Änderung der Beweislast zum Nachteil des Nutzers ist hiermit nicht verbunden. Es gilt materielles deutsches Recht unter Ausschluß des UN-Kaufrechts." Application Example - 2 - AC500/Issue: 10.2012

2 Introduction www.infoplc.net ABB is manufacturer of AC500 PLCs for process and manufacturing autoimmunization as well as from KNX components for building autoimmunization. In projects in which the two autoimmunization systems meet together our customers request a combination and communication possibility of both systems. Examples: Visualization of a plant (e.g. a photovoltaic plant) that is controlled with AC500 on the KNX Comfort Panel. ON/OFF switching of loads at KNX from AC500 side and/or the other way round. Exchange of sensor/actuator states and values. Once recorded information can be used by both systems. The AC500 delivers e.g. KNX values, which it had been recorded via a field bus (M-Bus, Profibus, CAN, etc.). Enlargement of the KNX system with new capabilities. On basis of a AC500 in stock and one specific application program on SD card a "special KNX device" can be generated, e.g. for data exchange with a M-Bus device. 2.1 Used components and tools The components and tools can be extracted from the zip file KNX_AC500_Demo1_App.zip. The zip file consists of the following: This document KNX_AC500_Demo1_Application_Notes.pdf itself. An ETS3 project's files KNX_AC500_ETS3_Demo1_App.pr5. A PS501 project's files KNX_AC500_Demo1_App.project and A folder called Library which contains PS501 application library KNX_AC500_V20_App.lib In order to construct the application example, the following components are needed: 2.1.1 KNX project ETS3 Engineering Tool Software SV/S30.640.5, Power Supply, 640mA, MDRC IPR/S2.1, IP Router, MDRC for communication KNX / AC500. The IPR/S2.1 is urgently necessary because it supports the communication with the AC500 via Unicast. USB/S1.1, USB Interface, MDRC or an extra IPR/S2.1 router as programming interface between a PC and the ETS3 software. SA/S8.16.6.1, Switch Actuator, 8-fold, 16 A, C-Load, Current detection. MDRC 6120 U-102-500, Flush mounted bus coupler 6120 U-102 4F, WS 4f switch panel A light bulb as load (optional) 2.1.2 AC500 project PS501 V2.1.0 Control Builder Plus AC500 PLC, at this application example the AC500 eco PM564-ETH is used Optional, simulation adapter for digital inputs TA571-SIM 2.1.3 Optional for test of the KNX IP communication Wireshark Version 1.2.7 with KNX dissectors plug-in. The plug-in can be downloaded here: http://knxnetipdissect.sourceforge.net/doc.html Wireshark KNX Plugin Application Example - 3 - AC500/Issue: 10.2012

View on the components of the application example. 2.2 Principle of the KNX / AC500 communication See KNX_AC500_PPT_EN.pdf. Application Example - 4 - AC500/Issue: 10.2012

3 Commissioning the application example Unzip the attachment KNX_AC500_Demo1_App.zip which consists of the following files: KNX_AC500_Demo1_Application_Notes.pdf is this application example description itself KNX_AC500_PPT_EN.pdf is a presentation about the principle of the KNX / AC500 communication KNX_AC500_ETS3_Demo1_App.pr5 is the ETS3 projekt of this application example KNX_AC500_Demo1_App.project ist the AC500 projekt of this application example In the folder Library, the KNX_AC500_V20_App.lib can be found. 3.1 Application example www.infoplc.net KNX configuration Main Line Physical Device line Address 1 1.6 - SV/S30.640.5, Power Supply, 640mA, MDRC 1.6.0 IPR/S2.1 Router, MDRC 1.6.12 4F, WS 4f switch panel, UP 1.6.3 SA/S8.16.6.1, Switch Actuator, 8-fold,16A, MDRC 1.6.255 USB/S1.1, USB Interface, MDRC 1.5 1.5.20 AC500 eco PM564-ETH Notes about the configuration: The IP router and the AC500 are used as line couplers. The IP router forms the line 6 and has a physical address 1.6.0. On the line 6 there are four KNX devices. All these are in field 1 of a KNX topology. The AC500 forms in this example the line 5 and has a physical address 1.5.20 and is in field 1. Application Example - 5 - AC500/Issue: 10.2012

A PC is needed only for the project planning- and test tools. ETS3 for projecting and planning the KNXnetwork via serial interface USB/S1.1 USB. PS501 for programming the AC500 PLC via Ethernet. The KNX Ethernet network and AC500 ethernet network are linked together by a switch. The IP router has an IP-address of 192.168.3.226, The AC500 PLC has an IP-address of 192.168.3.73 The Notebook/PC has an IP-address of 192.168.3.239. Projected functions (see configuration of the ETS3 project): Function on 4f switch panel: By pressing the first two upper left buttons of the 4f switch panel, a 1-bit switch on instruction will be sent to the AC500 PLC. The AC500 PLC interprets this switch instruction and switches on the corresponding digital output D0 and D1. By pressing the two first upper right buttons of the 4f switch panel, a 1-bit switch off instruction will be sent to the AC500 PLC. The AC500 PLC interprets this switch instruction and switches off the corresponding digital output D0 and D1. By pressing the two lower left buttons of the 4f switch panel, a 1-bit switch on instruction will be sent to the switch actuator SA/S8.16.6.3. This instruction switches on the corresponding channel C or D. This is a normal KNX functions without influence of the AC500. By pressing the two lower right buttons of the 4f switch panel, a 1-bit switch off instruction will be sent to the switch actuator SA/S8.16.6.3. This instruction switches off the corresponding channel C or D. This is a normal KNX functions without influence of the AC500. Functions on digital inputs (DI0-DI5) of AC500 PLC: The digital inputs DI0 till DI3 switch the LEDs on/off the 4f-Switch panel. The 1-bit switching on/off instruction will be sent by AC500 PLC. By activating the digital input DI4 will sent 1-bit switching on/off instruction to the channel E of actuator SA/S8.16.6.3. By switching the input DI4 of the AC500 the switch actuator channel E is switched. The switch actuator channel E sends its status back to the AC500. The AC500 displays the status on the digital output DO4. By activating the digital input DI5 will send 1-bit switching on/off instruction to the channel A of actuator SA/S8.16.6.3. This will then switch a light bulb which is connected to the channel A. When the switch actuator channel A is active, then a light bulb will be switched on. The actuator sends the actual current value of the load (here the light bulb) on channel A to the AC500 PLC. The value will be displayed in as a variable in codesys program. Application Example - 6 - AC500/Issue: 10.2012

3.2 Basic Setup of the ETS3 project. Start the ETS3 Engineering Tool Software File -> Import -> KNX_AC500_ETS3_Demo1_App.pr5 Then go to File->Open/ Manage Projects Then a window Project will appear. Select the KNX_AC500_ETS3_Demo1_App to open the project file. Application Example - 7 - AC500/Issue: 10.2012

The physical address of all devices are as in the figure below: 3.2.1 Addressing the KNX Device Before programming the KNX devices, each of the device's physical address must be set. Here the addressing of IPR/S2.1 router will be shown. The setting for the other devices follows the same steps. Right click on the device and go to Download. In the Download window, select Program Individual Address. Application Example - 8 - AC500/Issue: 10.2012

Press the programming button. The Button can be found on the device itself. The button must be pressed in order for the addressing to take into effect. 3.2.2 Configuration of the KNXnet/IP router IPR/S2.1 in ETS3 The KNXnet/IP router IPR/S2.1 has the special feature, which is it supports "Unicast" communication. At this moment (02.02.2012) only ABB IPR/S2.1 supports this form of communication. This communication form is not a standard communication form for KNXnet/IP standard which is "Multicast". The AC500 does not support at this time (02.02.2012) "Multicast", therefore the router IPR/S2.1 is necessary. It must be noted, that after the changeover of the IP communication to Unicast, the router IPR/S2.1 can not be used as ETS3 programming interface. Therefore a USB interface or an extra IPR/S2.1 router is needed. In this application note, the ETS3 project has been preconfigured specific for this application. No extra parameterisation needed. to parameterise the router go to: 1.6.0 IPR/S2.1 IP-Router,MDRC ->Edit Parameters Application Example - 9 - AC500/Issue: 10.2012

In the parameter window KNX -> LAN, define the processing of telegrams from the KNX system to the LAN network as the figure below. In the parameter window LAN -> KNX, define the processing of telegrams from the LAN network to the KNX system as figure below. Application Example - 10 - AC500/Issue: 10.2012

In the parameter window IP settings, settings on the IP side of the IP Router are undertaken as figure below. The parameter window IP address is only visible if on the parameter page IP settings the option fixed have been selected for the IP address assignment parameter. Here the IP address, Mask byte and gateway of the router are set. The parameter window IP communication is only visible if on the parameter page IP settings the option yes has been selected for the Use special setup for IP parameter. In the parameter Type of IP communication please select Unicast. The Unicast IP-Address is assigned in the parameter IP routing Unicast address 1. Up to two Unicast addresses are allowed per router. Application Example - 11 - AC500/Issue: 10.2012

3.2.3 Programming the KNX devices All the KNX devices have been pre configured for this specific application. No extra parameterisation is needed. To load the program to the KNX devices, select the following devices as in the figure below and got to download Then click Download Application Program. Wait till all the loading done. Application Example - 12 - AC500/Issue: 10.2012

3.3 Setup of the AC500 project 3.3.1 Project commissioning in PS501 Start ABB Control Builder Plus PS501 V2.1.0. www.infoplc.net Go to File -> Open Project to open the project KNX_AC500_Demo1_App.project in the folder PS501 project files. Check the IP configuration for the AC500 PLC. Application Example - 13 - AC500/Issue: 10.2012

The AC500 Ethernet module must be set as figures below. The setting can be done in the Connection Configuration tab. Port 3671 is used. This port corresponds to KNXnet/IP UDP port. CoDeSys -> Online -> Communication Parameter, Choose the communication parameter To ensure that the configuration will take effect, please go to AC500_1-> Create configuration data 3.3.2 Project setting in CoDeSys Start CoDeSys by double clicking AC500_1. Application Example - 14 - AC500/Issue: 10.2012

In CoDeSys, check the Communication Parameters as shown below. In the window Parameter, the IP address is the IP address of the AC500 PLC. Application Example - 15 - AC500/Issue: 10.2012

3.3.3 Adding the KNX library The library should be loaded together when opening the project. If the library cannot be loaded, then it must be added manually. In CoDeSys go to Resources and Library Manager. Then go to Insert->Additional Library The The KNX libary can be found in the folder KNX_AC500_Demo2_BJECP_App\PS501 Project files \Library Application Example - 16 - AC500/Issue: 10.2012

Check the library in the library list www.infoplc.net 3.3.4 Load Program into the AC500 Go to Online-> Login to load the program into the AC500 PLC. Save the project in the AC500 by creating a boot project. This can be done during online modus and by clicking Online-> Create boot project. Application Example - 17 - AC500/Issue: 10.2012

3.3.5 CoDeSys Source Code The CoDeSys source codes are printed and put as appendixes. The softcopy of the source codes can also be found in the folder PS501 Project files\source Code in a document entitled KNX_AC500_Demo1_App_project.pdf. Application Example - 18 - AC500/Issue: 10.2012

4 Appendixes www.infoplc.net Application Example - 19 - AC500/Issue: 10.2012

Application Example - 20 - AC500/Issue: 10.2012

Doc. kind: No. o. p.: Helpline document 21 Title: Lang.: Communication between AC500 and KNX network EN abb Manual No. 3ADR 025 052 M0201 ABB Automation Products GmbH Wallstadter Str. 59 D-68526 Ladenburg Tel. : +49 62 21 / 701-1444 Fax : +49 62 21 / 701-1382 E-Mail : plc.support@de.abb.com www.abb.com/plc