TECHNICAL NOTE TNOI34



Similar documents
FAQ Communication over IE

TECHNICAL NOTE TNOI32

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

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

TECHNICAL NOTE TNOI27

Siemens S7 TCP/IP Master with TIA S7 Tag Import Communications Driver

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

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

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

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

8/23/13 Configuring the S7 Server for Windows NT 4.0 to Access S7-400 PLCs via the Siemens CP1613 Card for ISO (Industrial Ethernet)

How-To-Do. Hardware Configuration SLIO CPU 014

S7 OPC Server Tutorial

1 Application Description Objective Goals... 3

1 Application Description System Topology Hardware and Software Requirements... 3

The goal is to program the PLC and HMI to count with the following behaviors:

ABB industrial drives. Quick start-up guide Drive Manager for SIMATIC

1 How configure S7 PLC in the configuration tool

Crown Field Support Engineering

HTML Code Generator V 1.0 For Simatic IT Modules CP IT, IT, IT

8/23/13 Configuring the S7 I/O Server for Windows 95 to Access S7 PLCs Via the Profibus Network

Installation Manual. PLCSQL link

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

Custom Solutions Center. Users Guide. Low Cost OEM PackML Templates L02 Release. Version LC-1.0

Using Ladder Logic Instructions to Communicate with an Ethernet IP Nexus Unit

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE E05

FAQ Communication over IE

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

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

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

28 What s New in IGSS V9. Speaker Notes INSIGHT AND OVERVIEW

CONTROLLER INFORMATION SHEET

GE Proficy Machine Edition Profibus/Profinet SARTUP GUIDE

HOW TO CONNECT TO FTP.TARGETANALYSIS.COM USING FILEZILLA. Installation

SIMATIC PCS 7. SIMATIC Maintenance Station PDM A stand-alone Solution. Siemens AG All Rights Reserved.

Application Note Profinet Modules

Configuring NXT Hardware with Mercury Inside into Doors.NET TM Application Note

Print Audit 6 - SQL Server 2005 Express Edition

Omni 56K USB Lite Quick Start Guide

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

How to Configure a Remote Desktop Licensing Server for vspace 6

Cover sheet PROFINET IO. SIMATIC MV440 Code Reading System. FAQ February Service & Support. Answers for industry.

Centurion PLUS CPC4 Download Guide

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

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

Remote Access for Siemens S7-300 & 400 PLCs, and their VIPA equivalents S300 SPEED7.

Installing PowerLink on Windows 7 64-bit

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

IGSS. Interactive Graphical SCADA System. Quick Start Guide

EPICS using SLS s7plc driver

Application Note Siemens PLC and SIMATIC STEP 7 / TIA Portal

User Manual Document HTTP-Direct / FTPServer and FLASH file system

Install MS SQL Server 2012 Express Edition

EnGenius ERB M Range Extender. Quick Start Guide

Operating Instructions

How to Program a Commander or Scout to Connect to Pilot Software

Dial Up Config & Connecting Instructions with Graphics

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

RcWare SoftPLC Modbus server mapping editor User manual

Using Group Policies to Install AutoCAD. CMMU 5405 Nate Bartley 9/22/2005

CMP-102U. Quick Installation Guide

Applications & Tools. Configuration and Diagnostics of a PROFINET IO System. PROFINET IO Configuration Example. Application Description January 2010

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

PROFINET IO Diagnostics 1

Siemens AG. SIMATIC S7 Ethernet 04/

Schneider OS-Loader usage via Ethernet or USB.

You need to set up your browser in order to use the proxy server. This can be done as follows:

Adding a Modbus TCP Device to the Network. Setting Up Your Network

Driver Upgrade Instructions

Setting up your laptop to print to the student lounge printer

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

1-Port Wireless USB 2.0 Print Server Model # APSUSB201W. Quick Installation Guide. Ver. 2A

ADLD0098 CRIMSON 3.0 TUTORIALS

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

Technical White Paper

Configuring the WT-4 for Upload to a Computer (Infrastructure Mode)

Immotec Systems, Inc. SQL Server 2005 Installation Document

THERMOMARK CARD - Driver Installation - Windows XP

Configuring Windows 7 64 bit for AutoVISION

S7 for Windows S7-300/400

E-Blocks Easy Internet Bundle

Thermomark Roll - Driver Installation - Windows 7

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

ScanWin Installation and Windows 7-64 bit operating system

C-more Remote Access with Apple ipad or iphone Tutorial

Changing Your Cameleon Server IP

POWERLINK High Power Wireless LAN b/g/n USB Adapter User Manual

Network/Floating License Installation Instructions

C-more Remote Access, Data Log, FTP File Transfer, and Tutorial

ATV71 and ATV32 on Ethernet/IP with M340 and NOC0401 configured on Unity V6.0. Assemblies 20 70

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Central Management System

Setting up an MS SQL Server for IGSS

Setup Guide for Exchange Server

TOSHIBA GA Printing from Windows

Self Help Guide IMPORTANT! F5D Setting Up An Ad Hoc Connection. Please read the following carefully;

PigCHAMP Knowledge Software. Enterprise Edition Installation Guide

Transcription:

TECHNICAL NOTE TNOI Title: Communication with Siemens S7-00 PLCs via Ethernet Product(s): G, MC, and DSP ABSTRACT Crimson.0 provides advanced Ethernet communication capabilities for Red Lion Products, G HMI, Modular Controller and Data Station Plus. The Siemens S7-00 Ethernet driver allows users to exchange PLC data with Red Lion devices using industrial Ethernet networks. INTRODUCTION The following technical note presents how to set up the communication between a G HMI and an S7-00 PLC using Ethernet and Siemens ISO Protocol. This document can also be used as a reference to set up the Modular Controller Master and Data Station Plus SX or GT due to similar configuration. Three major types of connections are available as described below. They will all be presented in this document. Your application should follow only one of these setups. Communication with S7-00 CPU with built in Ethernet port and supporting Siemens ISO protocol. Communication via optional Ethernet card for S7-00 series type CP- supporting TSAP connections (e.g. CP- Advanced IT). Communication via optional Ethernet card for S7-00 series type CP- that does NOT support TSAP connection (e.g. CP- Lean). The Ethernet driver has been tested and validated with the following products: CPU5-DP/PN P# 6ES7 5-EG0-0AB0, v. CP- P# 6GK7 -EX0-0XE0, v. CP- Advanced IT P# 6GK7 -GX-0XE0, v.0 CP- Lean P# 6GK7 -CX00-0XE0, v.0 NOTE: These features only work with Crimson.0 build 5 or above and is only available to Windows 000 or above users. Please update your version of Crimson.0 to the latest available online on www.redlion.net

SETUP S7-00 CPU WITH BUILT IN ETHERNET PORT Setting up the PLC for CPU communication In order to establish the communication, the PLC has to be set up first, as G communication settings depend on the PLC s. Start SIMATIC Manager and follow the wizard to create a new project. In this example, we will be using a CPU5- PN/DP. Once created, the project browser should look similar to figure. Figure Select the SIMATIC 00 PLC in the tree and double click the Hardware symbol to access HW Config. Double click the PN-IO to access the Ethernet port configuration as shown in Figure.. Please note the CPU rack number and slot position, here respectively 0 and, as it will be important to set up Crimson. Figure

In the General tab, click on Properties; this opens a popup window where you can set up the Ethernet network. Do as follows (Figure ):. Setup the IP address for the PLC, here 9.68.00.0.. Click new to create a new Ethernet network.. Click OK. Figure. Make sure the Ethernet network just created is selected. This identifies the Network the CPU will be connected to and activate the Ethernet port (Figure ). Figure Then click OK to close all popup windows and return to HW Config. Save the configuration and close HW Config. The PLC configuration is done; you can now download in the PLC.

Setting up the G for CPU communication Once the PLC is setup, all required information is available to configure the G. Start Crimson.0 software and create a new database (via File>New). Select the device you are programming. In this example, we will be using a G06 HMI. Enter the Communications module and follow the steps as shown in figure 5:. Select the Ethernet port.. Define the port mode. In this example, it will be Manual configuration.. Enter the G IP address if required. Here 9.68.00.0. Figure 5 Once the Ethernet port is activated, the communication driver has to be defined as follows (Figure 6):. Select the Protocol under Ethernet.. On the right hand pane, click Edit to select a driver.. In the popup window, under Manufacturer, select Siemens.. Then, under Driver, select S7 00 TCP/IP Master and click OK. A device called PLC should then appear under the Protocol. This device represents the Siemens PLC and can be renamed to fit your application.

Figure 6 In this example, the device will be renamed S700. Right-clicking the PLC and selecting Rename can achieve renaming. The device settings have to be set up to fit the PLC configuration (Figure 7).. Select the device representing the PLC.. Change the IP address to the PLC IP address, in this example 9.68.00.0.. Select the Type as S7 00 CPU.. Enter the CPU rack number, in this example 0. 5. Enter the CPU slot position on the rack, in this example. The communications settings are now complete. Close the Communications module and enter the Data Tags module to map variables to PLC registers as shown in Figure 8. For example, to map a Data Block, do the following steps:. Create an integer variable.. Select the variable, click on Internal in the Data tab and select the device (here S7 00).. Select the Siemens data item to exchange, here DB.. Choose the data type (See note on Data Type next page). 5. Select the starting element for the data item (Identical to PLC addresses) and click OK. Once the tags are inserted on the screen, the database is now ready and can be downloaded in the G.

5 Figure 7 5 Figure 8 Note on Data Type Byte as Byte means the variable will contain a Byte, Byte as Word an integer word and Byte as Long an integer long, the G will ask the PLC the number of bytes required to reconstruct the data type selected. For example, for a Byte as Word mapped at DB00:006, the G will ask for DB00:006 and DB00:007 and reverse the bytes to reconstruct the word automatically. The address given in the Element should be the same as the one defined in the PLC Data Block for this example.

SETUP COMMUNICATION VIA CP OPTIONAL ETHERNET CARD SUPPORTING TSAP CONNECTIONS Setting up the PLC for Cp communication In order to establish the communication, the PLC has to be set up first, as G communication settings depend on the PLC s. Start SIMATIC Manager and follow the wizard to create a new project. This example is using a CPU5-DP, and a CP-. Once created, the project browser should look similar to figure 9. Figure 9 Select the SIMATIC 00 PLC in the tree and double click the Hardware symbol to access HW Config. Once in HW Config, browse the object library on the right hand pane to find the optional Ethernet card CP-. Drag and drop the card to an available slot as shown in figure 0. Figure 0

When you drop the object on a slot, a window will pop up for the Ethernet configuration. Do as follows (Figure ):. Setup the IP address for the PLC, here 9.68.00.0.. Click new to create a new Ethernet network.. Click OK. Figure. Make sure the Ethernet network just created is selected. This identifies the Network the CP will be connected to and activate the Ethernet port (Figure ). Figure Then click OK to close all popup windows and return to HW Config. Save the configuration and close HW Config. The project manager should now display the CP- communication card in the tree (Figure ). It is now required to create a connection between the PLC and the G. This connection is set up in Net Pro. Select the PLC CPU and double click on the Connections icon (Figure ) to access NetPro configuration tool.

Figure Once in NetPro, select the CPU and double click on the first line in the table below. This will open a window to insert a new connection (Figure ). Figure Make sure Unspecified is selected and the connection type is S7, then click OK. A property window for the S7 connection pops up. Enter the following information as shown in figure 5:. Make sure Establish an active connection is NOT checked; this makes the PLC the Server.. Make sure the Interface selected is CP -.. Enter the Partner name (any name works), in this example G06. The partner is the device the S7 will create a connection.. Enter the Partner IP address, in this example 9.68.00.0.

Figure 5 Then, click on Address details. This popup window is important as it contains communication information to setup the G06 in Crimson (Figure 6). They are as follows:. PLC Connection Resource. PLC TSAP information. The first part of the number, before the decimal point represents the Server Connection Resource, the second part is the rack slot number where the CP is installed. In this example, the Connection Resource is 0 and the slot 0.. Partner Rack/Slot, they should stay at zero.. Partner Connection Resource, this number can be different from the PLC Connection Resource. Figure 6 Click OK to close all popup windows and go back to NetPro. The table now shows the connection just created on the first line. Save and compile in NetPro and close this window to go back to the project manager. The PLC is now setup. Download the configuration and make sure the PLC takes the entire configuration, especially the connection settings. We recommend using the command PLC > Compile and Download Objects

Setting up the G for CP communication using TSAP connections Once the PLC is setup, all required information is available to configure the G. Start Crimson.0 software and create a new database (via File>New). Select the device you are programming. In this example, we will be using a G06 HMI. Enter the Communications module and follow the steps as shown in figure 7:. Select the Ethernet port.. Define the port mode. In this example, it will be manual configuration.. Enter the G IP address if required. Here 9.68.00.0. Figure 7 Once the Ethernet port is activated, the communication driver has to be defined as follows (Figure 8):. Select the Protocol under Ethernet.. On the right hand pane, click Edit to select a driver.. In the popup window, under Manufacturer, select Siemens.. Then, under Driver, select S7 00 TCP/IP Master and click OK. A device called PLC should then appear under the Protocol. This device represents the Siemens PLC and can be renamed to fit your application.

In this example, the device will be renamed S700. Figure 8 The device settings have to be set up to fit the PLC configuration (Figure 9).. Select the device representing the PLC.. Change the IP address to the PLC IP address, in this example 9.68.00.0.. Select the Type as CP.. Enter the Server connection in hexadecimal. This is the PLC Connection Resource defined in Simatic NetPro (Figure 6), in this example 0. 5. Enter the Client connection in hexadecimal. This is the G Connection Resource defined in Simatic NetPro (Figure 6), in this example 0. 6. Enter the CP Slot position in the rack (Figure 6), in this example 0. The communications settings are now complete. Close the Communications module and enter the Data Tags module to map variables to PLC registers as shown in Figure 0. For example, to map a Data Block, do the following steps:. Create an integer variable.. Select the variable, click on Internal in the Data tab and select the device (here S7 00).. Select the Siemens data item to exchange, here DB.. Choose the data type (See note on Data Type next page). 5. Select the starting element for the data item (Identical to PLC addresses) and click OK. Once the tags are inserted on the screen, the database is now ready and can be downloaded in the G.

5 6 Figure 9 5 Figure 0 Note on Data Type Byte as Byte means the variable will contain a Byte, Byte as Word an integer word and Byte as Long an integer long, the G will ask the PLC the number of bytes required to reconstruct the data type selected. For example, for a Byte as Word mapped at DB00:006, the G will ask for DB00:006 and DB00:007 and reverse the bytes to reconstruct the word automatically. The address given in the Element should be the same as the one defined in the PLC Data Block for this example.

SETUP COMMUNICATION VIA CP OPTIONAL ETHERNET CARD NOT SUPPORTING TSAP CONNECTIONS (TRANSPARENT MODE) The following setup is required if you are using a CP- Lean module. Setting up the PLC for CP communication Start SIMATIC Manager and follow the wizard to create a new project. This example is using a CPU5-DP, and a CP- Lean. Once created, the project browser should look similar to figure. Figure Select the SIMATIC 00 PLC in the tree and double click the Hardware symbol to access HW Config. Once in HW Config, browse the object library on the right hand pane to find the optional Ethernet card CP- Lean. Drag and drop the card to an available slot as shown in figure. Figure

When you drop the object on a slot, a window will pop up for the Ethernet configuration. Do as follows (Figure ):. Setup the IP address for the PLC, here 9.68.00.0.. Click new to create a new Ethernet network.. Click OK. Figure. Make sure the Ethernet network just created is selected. This identifies the Network the CP will be connected to and activate the Ethernet port (Figure ). Figure Then click OK to close all popup windows and return to HW Config. Save the configuration and close HW Config. The PLC is now setup. Download the configuration and make sure the PLC takes the entire configuration.

Setting up the G for CP communication NOT supporting TSAP connections Once the PLC is setup, all required information is available to configure the G. Start Crimson.0 software and create a new database (via File>New). Select the device you are programming. In this example, we will be using a G06 HMI. Enter the Communications module and follow the steps as shown in figure 5:. Select the Ethernet port.. Define the port mode. In this example, it will be manual configuration.. Enter the G IP address if required. Here 9.68.00.0. Figure 5 Once the Ethernet port is activated, the communication driver has to be defined as follows (Figure 6):. Select the Protocol under Ethernet.. On the right hand pane, click Edit to select a driver.. In the popup window, under Manufacturer, select Siemens.. Then, under Driver, select S7 00 TCP/IP Master and click OK. A device called PLC should then appear under the Protocol. This device represents the Siemens PLC and can be renamed to fit your application.

Figure 6 In this example, the device will be renamed S700. Right-clicking the PLC and selecting Rename can achieve renaming. The device settings have to be set up to fit the PLC configuration (Figure 7).. Select the device representing the PLC.. Change the IP address to the CP Lean IP address, in this example 9.68.00.0.. Select the Type as S7 00 CPU. The driver should behave as if it communicates with a CPU directly since the CP Lean is transparent.. Enter the CPU rack number (NOT the CP), in this example 0. 5. Enter the CPU slot position on the rack (NOT CP), in this example. The communications settings are now complete. Close the Communications module and enter the Data Tags module to map variables to PLC registers as shown in Figure 8. For example, to map a Data Block, do the following steps:. Create an integer variable.. Select the variable, click on Internal in the Data tab and select the device (here S7 00).. Select the Siemens data item to exchange, here DB.. Choose the data type (See note on Data Type next page). 5. Select the starting element for the data item (Identical to PLC addresses) and click OK. Once the tags are inserted on the screen, the database is now ready and can be downloaded in the G.

5 Figure 7 5 Figure 8 Note on Data Type Byte as Byte means the variable will contain a Byte, Byte as Word an integer word and Byte as Long an integer long, the G will ask the PLC the number of bytes required to reconstruct the data type selected. For example, for a Byte as Word mapped at DB00:006, the G will ask for DB00:006 and DB00:007 and reverse the bytes to reconstruct the word automatically. The address given in the Element should be the same as the one defined in the PLC Data Block for this example.