Configuration a Profibus-DP node using Step7 and WAGO-I/O components Application note



Similar documents
Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

WAGO-I/O-SYSTEM in ABB robot control systems Application note

Ethernet PFC Sending Application note

Accessing EtherNet/IP Network Variables in a WAGO with a ControlLogix PLC Application note

WAGO PFC as a MODBUS MASTER Application note

WAGO PFC 750-8xx Interface to Horner HMI Application note

Transmitting s in a local network with a WAGO CONTROLLER Application note

Remote Connection to a WAGO using a High-Speed Internet connection Application note

Transmitting s with the WAGO IPC Application note

Connect Ethernet-Controller to TO-PASS web portal via GPRS-Router Application note

Sending / receiving SMS using a GSM modem Application note

Ethernet/IP Comms between a WAGO and a Mettler Toledo JAGXTREME Terminal Application note

Application Note. WAGO EtherNet/IP Communications with a CompactLogix PLC Using Explicit Messaging. A500620e, English Version: 1.0.

Using library WagoLibMySQL to communicate with MySQL-Databases Application note

Using the SysLibFile.lib and the WagoLibFtp.lib for file access Application note

WAGO-I/O-SYSTEM. Using library WagoLibMSSQL_03.lib in CoDeSys 2.3 for interface to Microsoft SQL Server 200x. Application Note

Application note. A103202, English Version 1.0.1

Transmitting s with the library "WagoLibMail_02.lib" Application note

EtherNet/IP communications between a WAGO PFC and a SICK IVC-2D Camera Application note

Modular I/O System ETHERNET StarterKit Quick Start ETHERNET Fieldbus Controller

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

Continuous PROFIBUS PA Instruments and Step 7. Configuring a Siemens Continuous Level PROFIBUS PA device in a S7-300 or S7-400 PLC

PROCESS AUTOMATION PLANNING AND INTEGRATION INFORMATION LB8106* Integration in Siemens SIMATIC PCS 7

Applications & Tools. Configuration of Messages and Alarms in WinCC (TIA Portal) WinCC (TIA Portal) Application description December 2012

WinCC. Communication Manual. Manual 2. This manual is part of the documentation package with the order number: 6AV6392-1CA05-0AB0 C79000-G8276-C156-01

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE A5. PLC-Simulation with S7-PLCSIM

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual

Siemens S7 PLC and FC 300 Profibus

Siemens AG. SIMATIC S7 Ethernet 04/

1 Application Description Objective Goals... 3

How-To-Do. Hardware Configuration SLIO CPU 014

Service & Support. How can you establish a connection between a S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

Commissioning IDENTControl Compact IC-KP2-2HB17-2V1D Profinet Protocol with a Siemens S7 PLC

S7 for Windows S7-300/400

CPU PN/DP: Configuring an ET. 200S as PROFINET IO device SIMATIC. PROFINET CPU PN/DP: Configuring an ET 200S as PROFINET IO device

FAQ Communication over IE

THE KNX IP CONTROLLER. Taking Proven Technology to the Next Level

SIMATIC. WinCC V7.0. Getting started. Getting started. Welcome 2. Icons 3. Creating a project 4. Configure communication 5

User Manuals. Connection to Siemens S5 PU (AS511) Part Number: Version: 2. Date:

Start-up of IVI-KHD2-4HRX, IVI-KHA6-4HRX at S7-300 V1.1. Table of Contents TABLE OF CONTENTS... 1

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

Manual TC3 PLC HMI. TwinCAT 3. Version: Date: Order No.: TF1800

Application about Communication

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Modular I/O System Quick Start for WAGO-I/O-IPC /000-xxx Features

L5354 ControlNet Communications Interface

s Preface SIMATIC Configuring Hardware and Communication Connections with STEP 7 Contents Basics of Configuring Hardware with STEP 7 1

How To Write A Profibus Dpl (Profibus) Program

How-To-Do. EtherCAT Communication with CPU 300S

Manual. Source Control. TwinCAT 3. Version Date

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

Using library WagoLibHttp_02.lib to communicate with remote web server Application note

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

Avira Secure Backup INSTALLATION GUIDE. HowTo

GE Proficy Machine Edition Profibus/Profinet SARTUP GUIDE

SIMATIC Expert Communication Connecting S7-400H to PC Station (WinCC)

Manual. VIPA WinNCS. Order no.: VIPA HB91E Rev. 04/03

SCADAPack E ISaGRAF 3 User Manual

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

xlogic App from Easy Electronic-Overview

Validity 1. Installation 2 SIMATIC. WinCC flexible Tag simulator Update 1. Readme

Applications & Tools. Migration to TIA Portal. WinCC Basic / Comfort / Advanced STEP 7 V5.x / WinCC flexible 2008 SP3. Migration Guide September 2013

Anybus OPC Server. Application Note. Doc.Id. SCM Rev HMS Industrial Networks AB

SIMATIC. ET 200S distributed I/O IM151-1 STANDARD interface module (6ES7151-1AA05-0AB0) Preface. Properties 1. Parameters 2.

Quick Start Using DASYLab with your Measurement Computing USB device

SIMATIC NET. DP Base Programming Interface for CP 5613/CP Preface, Contents. Basic Steps in Creating a DP Application 1

Setup Soft PLC Technical handbook

WAGO Software CODESYS Library WagoLibDiagnosticIDs.lib for accessing the internal diagnostics protocol

S7-1500/S7-1500F Technical Data

SIMATIC. ET 200S distributed I/O 2AO I ST analog electronic module (6ES7135-4GB01-0AB0) Preface. Properties 1. Parameters 2.

WinCC. Configuration Manual. Manual Volume 2

S7-1500/S7-1500F Technical Data

Installation Instructions

D i g i g r a m. sound card range. Professional stereo and multichannel sound cards. Installation and set-up

FAQ about Drive Technology

emobility WAGO Leading the Charge

Caplio Utility for Windows

Application Note Profinet Modules

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

SIMATIC The Process Device Manager Manual Edition 12/2004 A5E

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library. Deleting program block Main [OB1] Copying program blocks

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

Training Document for SIMIT SCE. MODULE G2 'Startup System Simulation with SIMIT SCE V7

QuickPanel Control DeviceNet Master Communications Card (IC754DVNM01) Quick Start Guide. Thursday September 20, 2007

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE C2. High Level Programming with S7-SCL

Permissible ambient temperature Operation Storage, transport

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3. Simatic. Readme. Readme

PROFINET IO Diagnostics 1

SIMATIC. Testing Your S7 Programs with S7-PLCSIM. Preface, Contents. Product Overview. Installing the S7-PLCSIM Software. Getting Started with

CP Page 1342 Mar 2008 Siemens ITS

S7 OPC Server Tutorial

JUMPFLEX 857 Series ma V ma. Transducers / Relay and Optocoupler Modules

SIMATIC NET. Functions (FC) and function blocks (FB) for SIMATIC NET S7 CPs. Preface. Overview and general information on working with FCs and FBs

The CP provides access to different communication services of the PROFIBUS bus system:

Visualization SIMATIC. Visualization. Present sample project. HMI configuration. Insert HMI device from libraries 3. Configuring HMI connection 4

Cover sheet. Consistent Data. PROFIBUS DP and PROFINET IO. FAQ September Service & Support. Answers for industry.

Transcription:

Configuration a Profibus-DP node using Step7 and WAGO-I/O components, English Version 1.0.3

ii General Copyright 2007 by WAGO Kontakttechnik GmbH & Co. KG All rights reserved. WAGO Kontakttechnik GmbH & Co. KG Hansastraße 27 D-32423 Minden Phone: +49 (0) 571/8 87 0 Fax: +49 (0) 571/8 87 1 69 E-Mail: info@wago.com Web: http://www.wago.com Technical Support Phone: +49 (0) 571/8 87 5 55 Fax: +49 (0) 571/8 87 4 30 E-Mail: support@wago.com Every conceivable measure has been taken to ensure the correctness and completeness of this documentation. However, as errors can never be fully excluded we would appreciate any information or ideas at any time. We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected.

Table of Contents iii TABLE OF CONTENTS 1 Important comments...1 1.1 Legal principles...1 1.1.1 Copyright...1 1.1.2 Personnel qualification...1 1.1.3 Intended use...1 1.2 Range of validity...2 2 Description...3 3 Reference Material...3 3.1 Hardware...3 3.2 Software...4 3.3 Implementig GSD files for the WAGO components...5 3.3.1 How can I get the GSD files?...5 4 Solution...6 4.1 Configurating a node using components serie 750...6 4.1.1 Buscoupler 750-333...6 4.1.2 Buscoupler 750-303...6 4.2 Access to process data...8 5 Examples...9 5.1 Bus coupler 750-333...9 5.1.1 Profibus-DP configuration...9 5.2 Bus coupler 750-303...11 5.2.1 Profibus-DP configuration...11 5.2.2 Node specification...12

iv Table of Contents

Important comments 1 1 Important comments 1.1 Legal principles 1.1.1 Copyright To ensure fast installation and start-up of the units described in this manual, we strongly recommend that the following information and explanation is carefully read and adhered to. This manual is copyrighted, together with all figures and illustrations contained therein. Any use of this manual which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and photo-technical archiving and amendments require the written consent of WAGO Kontakttechnik GmbH & Co. KG. Non-observance will entail the right of claims for damages. 1.1.2 Personnel qualification 1.1.3 Intended use The use of the product detailed in this manual is exclusively geared to specialists having qualifications in PLC programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the valid standards. WAGO Kontakttechnik GmbH & Co. KG declines all liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this manual. For each individual application, the components supplied are to work with a dedicated hardware and software configuration. Modifications are only admitted within the framework of the possibilities documented in the manuals. All other changes to the hardware and/or software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kontakttechnik GmbH & Co. KG. Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH & Co. KG.

2 Important comments 1.2 Range of validity This application note is based on the stated hardware and software of the specific manufacturer as well as the correspondent documentation. This application note is therefore only valid for the described installation. New hardware and software versions may need to be handled differently. Please note the detailed description in the specific manuals.

Description 3 2 Description This application note should provide information on setting up a Profibus-DP network using WAGO I/O hardware components and the Simatic Step7 configuration software. 3 Reference Material 3.1 Hardware WAGO offers different modules for the Profibus-DP. On the one hand there are the compact modules within the series 752 and 755 with fixed input and output sizesand on the other hand is the modular 750 series. Series 750 PROFIBUS Coupler 750-333 / 750-303 Series 752 Series 755

4 Reference Material 3.2 Software Configurating software Simatic Step7 (version 5) Simatic Step7 offers the user the ability to configure a Profibus-DP network. Within the hardware configuration, choose the item for PROFIBUS DP components (Catalog must be set to active under the View Menu). Open the folders Additional Devices and General, then select the appropriate modules. If there are no WAGO modules listed, the WAGO GSD files must be installed first (see chapter 3.3). I/O mapping of the different bus modules can also be done.

Reference Material 5 3.3 Implementig GSD files for the WAGO components 3.3.1 How can I get the GSD files? You may order the GSD files using the part no. 750-910. Furthermore you may obtain those files free off charge via the internet at (WWW//:Wago.com).Go to the download area under the support menu and select the item for GSD- and type files for Profibus with installation programm. Start the setup programm (GSDSetup.exe). If the dialog for Choose Components appears, select Standard Configuration Files. The setup programm will install the WAGO files in the appropriate Siemens folders.update the catalog by chosing the update command from the Options menu. Now youwill find the WAGO Profibus-DP modules in the folders for either Additional field devices or General.

6 Solution 4 Solution 4.1 Configurating a node using components serie 750 4.1.1 Buscoupler 750-333 The principle layout of a WAGO I/O node is shown in picture 3. You find different types of modules as digital, analog and complex. No special order is required when mounting modules. Configuring your node, choose the hardware configuration menu and mark the Profibus-Master system (a table with rows for the different modules will be opened). Select Profibus-DP and open the folders Additional field devices and General. Select your bus coupler module and place it with a double click on the network. A window will open asking for the WAGO node address. Choose any number from 0 to 99 and make sure this number matches with the switch settings on the coupler module. After placing the coupler on the network you have to specify the exact node configuration. By clicking on the WAGO node a table will open. Fill in this table according to the order of modules. Therefore open the bus coupler folder and choose the appropriate items. Mark a row in the configuration table and start inserting your modules. The first module should be 750-333 No PI-Channel. Now insert the modules exactly by the order they are plugged to the coupler. For each module you have to distinguish between a *-Entry or a direct module Entry (*750-402 or 750-402). A direct entry will cause the main plc to reserve address space for the module. The *-entry allows to save address space, which is especially useful for digital modules. The entry 750-400 will reserve 8 bit in the main plc, thouth the module only offers 2 bit of information. To fill in the following bits it is useful to choose the *-entry for the next modules ( *750-400). 4.1.2 Buscoupler 750-303 according to the following rule: first the analog and complex modules in the order they are placed at the node and then the digital ones. Digital modules will be configured according to the total amount of input and output channels. Calculate the number of digital inputs and choose the next higher entry of the list,e.g. 20 digital inputs have to be configured as 24 digital input.

Solution 7 The I- and Q-address is automatically assigned by the Step 7 software. You may reassign addresses.

8 Solution 4.2 Access to process data Bit, byte, word and dword values can be directly read and written in the process image. Continuous reading and writing is required when using complex modules with a data width of more than 4 bytes (e.g. 750-404 up/down counter). The SFC14 and SFC15 function blocks are required for the continuous reading or writing of 3 bytes or more to and from a DP normslave. The maximum length depends on the CPU (see technical data of the CPU). The following parameters are assigned to the function blocks: - LADDR: Start address in DP normslave. - RECORD: Local memory area. - RET_VAL: Address for error message output. The length of the target area must be the same as the length of the module that has been configured using Step7. The continuous data of a DP normslave can be read using the SFC14 DPRD_DAT (read continuous data from a DP normslave). After successful reading, the LADDR data is entered into the target area (RECORD). The continuous data of a DP normslave can be written using the SFC15 DPWD_DAT (write continuous data to a DP normslave). After successful writing, the RECORD data is entered into the target area (LADDR). Example: Read 6 bytes from L2DP starting from address EB100(0x64) and write them to MB100. CALL SFC 14 LADDR := W#16#64 Read from address EB100 RET_VAL:= MW20 Error messages to MW20 RECORD := P#M 100.0 BYTE 6 Write 6 bytes into MB100 Example: Read 5 bytes from MB120 and write them to L2DP starting from address AB80(0x50). CALL SFC 15 LADDR := W#16#50 Write to address AB80 RECORD := P#M 120.0 BYTE 5 Read 5 bytes from MB100 RET_VAL:= MW24 Error messages to MW24

Examples 9 5 Examples 5.1 Bus coupler 750-333 Using a SIMATIC S7-315/DP and a WAGO 750-333 bus coupler with -10 digital inputs (750-402, 750-402, 750-400) - 6 digital outputs (750-504, 750-501) - 2 analog inputs (750-452) - 2 analog outputs (750-552) the configuration will be explained. 5.1.1 Profibus-DP configuration The first module should be a 750-333 No PI-Channel (will be inserted automatically by the Simatic Manager). The first digital module should be a 750-402. Since this module provides only 4 bit, the next entry is a *750-402. The first byte is completed by the 4 bits of the second module. Therefore the next entry should be 750-400. The addresses in the main plc are listed below:

10 Examples Modul Adresse 750-402 E1.0 - E1.3 750-402 E1.4 - E1.7 750-400 E3.0 - E3.1 750-504 A2.0 - A2.3 750-501 A2.4 - A2.5 750-452 EW36,EW38 750-552 AW36,AW38

Examples 11 5.2 Bus coupler 750-303 Using a SIMATIC S7-315/DP and a WAGO 750-303 bus coupler with -10 digital inputs (750-402, 750-402, 750-400) - 6 digital outputs (750-504, 750-501) - 2 analog inputs (750-452) - 2 analog outputs (750-552) the configuration will be explained. 5.2.1 Profibus-DP configuration

12 Examples 5.2.2 Node specification Important: The analog and complex modules have to be configured first (in this example slot 0 and 1). digital input I0.0-I0.7;I1.0-I1.7 digital output Q0.0-Q0.7 analog input IW 60, IW 62 analog output QW 60, QW 62

Examples 13

WAGO Kontakttechnik GmbH & Co. KG Postfach 2880 D-32385 Minden Hansastraße 27 D-32423 Minden Telefon: 05 71/8 87 0 Telefax: 05 71/8 87 1 69 E-Mail: info@wago.com Internet: http://www.wago.com