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



Similar documents
Cover PROFINET IO. Code Reader System SIMATIC MV440 / MV420. FAQ June Service & Support. Answers for industry.

FAQ Communication over IE

Cover sheet. Reading out the topology data of a PROFINET IO system SFB52 "RDREC" FAQ September Service & Support. Answers for industry.

Service & Support. How can you establish a connection between an 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

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

TECHNICAL NOTE TNOI34

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

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

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

PROFINET CPU 314C-2 PN/DP, PN/DP, PN/DP, PN/DP: Configuring the PROFINET interface

How-To-Do. Hardware Configuration SLIO CPU 014

Service & Support. How Can You Have Diagnostics Data of IPCs Displayed in WinCC? WinCC, IPC and DiagMonitor. FAQ July Answers for industry.

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

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

PROFINET IO Diagnostics 1

1 Application Description Objective Goals... 3

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

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

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

Application Note Profinet Modules

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

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

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


FAQ Communication over IE

Using IDENT M System T with Modbus/TCP

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

Service & Support. How do you synchronize the time of the HMI Basic Panel with a S PLC? S PLC, HMI Basic Panel.

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

Operating Instructions (Compact) Edition 02/2006

WinCC Runtime Professional Readme SIMATIC HMI. WinCC V11 SP1. Readme WinCC Runtime Professional. Special considerations for Windows 7.

Creating the project and hardware. TIA Portal. SIMATIC Creating the project and hardware. Introduction to the TIA Portal 1. Creating a project

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

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

1 How configure S7 PLC in the configuration tool

SOFTLINK 300. CPU Specifications. Reference Manual

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

Applications & Tools. Control and Status Check of the digital Output of a SCALANCE W748-1 via S7 PN-CPU and SNMP Library

GE Proficy Machine Edition Profibus/Profinet SARTUP GUIDE

C o v e r. Thin Client Application Options. SIMATIC Thin Client s FAQ h April 2009 e et. Service & Support. Answers for industry.

SIMATIC. S7 300 PLC CPU 317T-2 DP: Controlling a virtual axis. Introduction. Preparation. Learning units 3. Further information 4.

GW-7552 PRIFIBUS/MODBUS GATEWAY

DATA COMMUNICATION BETWEEN PROGRAMMABLE LOGIC CONTROLLERS IN THE INDUSTRIAL DISTRIBUTION APPLICATIONS

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

Applications & Tools. Connecting a SINAMICS G120 Drive to an S7-300/400 CPU in TIA Portal V11 SINAMICS G120 (CU 240E-2 PN(-F)), SIMATIC S7-300/400

Getting Started - SINAMICS Startdrive. Startdrive. SINAMICS Getting Started - SINAMICS Startdrive. Introduction 1

Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) MODULE M1

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

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

STEP III: Enable the Wireless Network Card

SIMATIC. PROFINET IO Getting Started: Collection. CPU PN/DP: Configuring PROFINET interface X2

CCProxy. Server Installation

NetLINE Wireless Broadband Gateway

Barcode Reader Connection Guide (COGNEX SLMP Connection)

Applications & Tools. Master Slave Communication via a CM PtP using the Modbus RTU Protocol. S CM PtP RS422/485 HF, ET 200SP CM PtP

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

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

Applications & Tools. Remote Control Concept with SCALANCE S Modules over IPsec-secured VPN Tunnel SCALANCE S. Application Description February 2010

S SIMATIC S Welcome. Automation task. Hardware section 2. Software section 3. Security. Getting Started 05/2014 A5E AC

EnGenius ERB M Range Extender. Quick Start Guide

SIMATIC PDM V6.0. Getting Started Edition 12/2004

Installing the Microsoft Network Driver Interface

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

Chapter1. Interface Introduction

MAGPOWR Spyder Firmware Update Instruction Manual

Using a simple crossover RJ45 cable, you can directly connect your Dexter to any computer.

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

Contents. ST9612 Model WIC Printer. Get the original printer s information. Edited 11/04/15

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

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

Installation Manual. PLCSQL link

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

AXIS Camera Station Quick Installation Guide

Installation and Operation Guide

Installing Novell Client Software (Windows 95/98)

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

Service & Support. How do you create a communication of VNC with an Industrial Thin Client SIMATIC ITC? Thin Client.

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

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

S7 OPC Server Tutorial

R&S AFQ100A, R&S AFQ100B I/Q Modulation Generator Supplement

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

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

FAQ about Drive Technology

S7-1500/S7-1500F Technical Data

CMP-102U. Quick Installation Guide

IX Support Tool Setting Manual

Installation. The product model shown in this QIG is TD-W8961ND, as an example.

Deploying Windows Streaming Media Servers NLB Cluster and metasan

Application example and brief instruction 04/2015. LOGO! App V3.0. LOGO! 8 and LOGO! 7

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

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)

Barak & Caldera Network Setup

Service & Support. How do you create a communication of RDP with an Industrial Thin Client SIMATIC ITC? Thin Client.

RS-232/422/485, Power over Ethernet

H0/H2/H4 -ECOM100 DHCP & HTML Configuration. H0/H2/H4--ECOM100 DHCP Disabling DHCP and Assigning a Static IP Address Using HTML Configuration

Internet for Everyone In-Room Instructions January 2011 Version 1.3

SIMATIC S Update to the S System Manual, edition 04/2012 Product Information

Transcription:

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

Question This entry originates from the Service&Support Portal of Siemens AG, Sector Industry, Industry Automation and Drive Technologies. The conditions of use specified there apply (www.siemens.com/nutzungsbedingungen). Go to the following link to download this document. http://support.automation.siemens.com/ww/view/en/41726666 Question How do you configure the SIMATIC MV440 code reading system as PROFINET IO device on the PROFINET IO system of a SIMATIC S7-300? Answer Follow the instructions and notes listed in this document for a detailed answer to the above question. 2 V1.0, Entry ID: 41726666

Contents Contents 1 Introduction... 4 2 Configuration in STEP 7... 5 Insert station... 5 Configure SIMATIC 300 Station... 5 Insert PROFINET IO system... 7 Insert SIMATIC MV440 as PROFINET IO device... 9 Install GSD file of the MV400 code reading system... 9 Define IP address and device name of the SIMATIC MV440 code reading system... 10 Define input and output addresses of control byte... 12 Save, compile and download hardware configuration... 13 3 Setup of the SIMATIC MV440 Code Reading System... 14 Assign IP address... 14 Web-Based Management... 14 4 S7 Program... 19 V1.0, Entry ID: 41726666 3

1 Introduction 1 Introduction The reading device is an optical code reader designed specially for the recognition and evaluation of a wide range of machine-readable codes in industrial production. The list of readable codes includes all standard matrix codes and barcodes that can be reliably recognized. The SIMATIC MV440 device family was designed with special focus on the following: Robustness Reliability Simple operability The principal functions of the code reading device are the reading of codes and the measuring of code quality. Application of the SIMATIC MV440 product family covers practically all sectors of industrial production. Applications range from recognition of immobile parts to recognition of fast-moving parts on a conveyor system. The SIMATIC MV440 code reading system has the following integrated communication interfaces: Ethernet 10/100 Mbit/s for TCP/IP and PROFINET IO 1 trigger input and 1 flash output MOBY-ASM RS232 with TxD and RxD 4 parameterizable digital I/Os The code reading devices are extremely easy to commission and operate. In most cases, parameters are set automatically. If adjustment is necessary, you can set the parameters using the integrated web server via an Internet browser without prior installation of software. Figure 1-1 4 V1.0, Entry ID: 41726666

2 Configuration in STEP 7 2 Configuration in STEP 7 In this example, we incorporate the SIMATIC MV440 HR code reading system as PROFINET IO device in the PROFINET IO system of a SIMATIC S7-300. A CPU319-3PN/DP is used as PROFINET IO controller. Figure Figure 2-1 shows the device configuration Figure 2-1 CPU 319-3PN/DP IO controller MV440 HR IO device IP address: 192.168.2.21 SCALANCE X108 IP address: 192.168.2.142 All you need for the connection are the software resources and information on the CD supplied with the SIMATIC MV440 code reading system. Proceed to configure following the instructions below. Insert station In the SIMATIC Manager, create a new project and via the menu Insert Station SIMATIC 300 Station insert a new object "SIMATIC 300 Station". Figure 2-2 Configure SIMATIC 300 Station Open the hardware configuration of the SIMATIC 300 station. In the hardware catalog, under SIMATIC 300 RACK 300, select the rail and drag-and-drop this into the hardware configuration. V1.0, Entry ID: 41726666 5

2 Configuration in STEP 7 Figure 2-3 In the hardware catalog, select the CPU used and drag-and-drop this to slot 2 in the rack. A CPU 319-3PN/DP is used in this example. Figure 2-4 Alternatively, you can use the following CPUs. Table 2-1 CPU MLFB Firmware version CPU 315-2PN/DP 6ES7 315-2EH13-0AB0 V2.5 6ES7 315-2EH14-0AB0 V3.1 CPU 315F-2PN/DP 6ES7 315-2FH13-0AB0 V2.5 6ES7 315-2FJ14-0AB0 V3.1 CPU 317-2PN/DP 6ES7 317-2EK13-0AB0 V2.5 6ES7 317-2EK14-0AB0 V3.1 CPU 317F-2PN/DP 6ES7 317-2FK13-0AB0 V2.5 6ES7 317-2FK14-0AB0 V3.1 CPU 319F-2PN/DP 6ES7 318-3FL00-0AB0 V2.5 6 V1.0, Entry ID: 41726666

2 Configuration in STEP 7 Insert PROFINET IO system Right-click on the PROFINET interface of the CPU 319-3PN/DP and select the menu item Insert PROFINET IO System. The Properties dialog of the PROFINET interface opens. Figure 2-5 In the Properties dialog of the PROFINET interface, click on the "Properties" button. V1.0, Entry ID: 41726666 7

2 Configuration in STEP 7 Figure 2-6 Enter the IP address of the CPU 319-3PN/DP and assign a subnet to the CPU 319-3PN/DP. Click on the "New" button to insert a new subnet. Confirm the settings with "OK". Figure 2-7 8 V1.0, Entry ID: 41726666

2 Configuration in STEP 7 Insert SIMATIC MV440 as PROFINET IO device In the hardware catalog, under PROFINET IO Sensors MV400 MV440, select the code reading system used and drag-and-drop it into the PROFINET IO system of the CPU319-3PN/DP. The SIMATIC MV440 HR code reading system is used in this example. Figure 2-8 Install GSD file of the MV400 code reading system If the code reading system of the SIMATIC MV440 device family is not in the hardware catalog, install the GSD file via the menu Options Install GSD file. The "Install GSD Files" dialog opens. Figure 2-9 In the "Install GSD Files" dialog, click on the "Browse..." button. Select the directory in which the GSD file of the SIMATIC MV440 code reading system is stored. Then the GSD file of the SIMATIC MV440 device family is displayed in the "Install GSD Files" dialog. Select the GSD file and click on the "Install" button. V1.0, Entry ID: 41726666 9

2 Configuration in STEP 7 Upon completion of GSD file installation, click on the "Close" button to close the "Install GSD Files" dialog. Figure 2-10 Note The GSD file is in the "VS130-2 Mode" directory on the CD included in the delivery package of the SIMATIC MV440 code reading system. Define IP address and device name of the SIMATIC MV440 code reading system In the hardware configuration, double-click on the SIMATIC MV440 code reading system. The Properties dialog of the SIMATIC MV440 code reading system opens. In the Properties dialog of the SIMATIC MV440 code reading system, you enter the device name of the MV440. The device name "MV440" is used in this example. Click on the "Ethernet..." button. 10 V1.0, Entry ID: 41726666

2 Configuration in STEP 7 Figure 2-11 Enter the IP address of the SIMATIC MV440 code reading system. Figure 2-12 V1.0, Entry ID: 41726666 11

2 Configuration in STEP 7 Define input and output addresses of control byte Mark the SIMATIC MV440 code reading system and in the slot table double-click on Slot 1 where the input and output addresses of the control byte of the SIMATIC MV440 code reading system are defined. The Properties dialog of the control byte opens. Figure 2-13 In the Properties dialog of the control byte, you switch to the "Addresses" tab. Enter "2" under Input address and Output address for "Control Byte". 12 V1.0, Entry ID: 41726666

2 Configuration in STEP 7 Figure 2-14 Save, compile and download hardware configuration Save and compile the hardware configuration of the CPU 319-3PN/DP. Then download the configuration into the CPU 319-3PN/DP. Figure 2-15 Download Save and Compile V1.0, Entry ID: 41726666 13

3 Setup of the SIMATIC MV440 Code Reading System 3 Setup of the SIMATIC MV440 Code Reading System Assign IP address Using the Primary Setup Tool, you can identify the MAC address and IP address of the SIMATIC MV440 code reading system in the Industrial Ethernet network. If you have not yet commissioned the SIMATIC MV440 code reading system, then use the Primary Setup Tool to assign it an IP address. The IP address 192.168.2.142 is assigned to the SIMATIC MV44 code reading system in this example. Figure 3-1 Note More information on commissioning the SIMATIC MV440 code reading system is available in the manual. The manual is available for downloading at this link: http://support.automation.siemens.com/ww/view/en/35126583 Web-Based Management You set up the SIMATIC MV440 code reading system via the Web-Based Management. In the web browser, e.g. Internet Explorer, you enter the IP address 192.168.2.142 of the SIMATIC MV440 code reading system to open the Web-Based Management. The home page is displayed (see Figure 3-2). Click on the menu item "Setup" to switch to Setup mode. 14 V1.0, Entry ID: 41726666

3 Setup of the SIMATIC MV440 Code Reading System Figure 3-2 In Setup mode, you click on the menu item "Connections". Select the "Ports" tab and under Ethernet you select the IP mode "PROFINET Mode". Enter the device name "MV440" under PROFINET IO. The device name must match the device name of the MV440 in hardware configuration (see Figure 2-11). V1.0, Entry ID: 41726666 15

3 Setup of the SIMATIC MV440 Code Reading System Figure 3-3 Select the "Integration" tab and then select "PROFINET IO" as source for the Trigger under Connection. Also under Connection, likewise select "PROFINET IO" for String, Result and Control. 16 V1.0, Entry ID: 41726666

3 Setup of the SIMATIC MV440 Code Reading System Figure 3-4 In Setup mode, you double-click on the menu item "Run". In Run mode you click on the "Start" button to start evaluation. V1.0, Entry ID: 41726666 17

3 Setup of the SIMATIC MV440 Code Reading System Figure 3-5 18 V1.0, Entry ID: 41726666

4 S7 Program 4 S7 Program The sample program "Example.zip" is located in the "VS130-2 Mode" directory on the CD included in the delivery package of the SIMATIC MV440 code reading system. Dearchive the sample program "Example.zip" in the SIMATIC Manager. Copy the blocks of the dearchived sample program "Example.zip" into the S7 program of the CPU 319-3PN/DP. Double-click on the block FC1 "FB79_APPLICATION" to open and change it. Figure 4-1 In FC1 "FB79_APPLICATION", you call the function block FB79 "VS130-2_CONTROL". For the input parameters LADDR_CONTROL and LADDR_STATUS, you specify the input and output addresses of the control byte you configured in the hardware configuration (see Figure 2-11). In this example, the following input and output addresses are used for the control byte: 2 (dec) = 2 (hex). For the input parameters LADDR_SEND and LADDR_RECV, you specify the input and output addresses of the user data you configured in the hardware configuration (see Figure 2-11). In this example, the following input and output addresses are used for the user data: 256 (dec) = 100 (hex). V1.0, Entry ID: 41726666 19

4 S7 Program Figure 4-2 I/O address control byte 2 (dez) = 2 (hex) I/O adresse user data 256 (dez) = 100 (hex) Comment out the following program code (see Figure 4-4). Save the changes made in FC1 "FB79_APPLICATION". Figure 4-3 Download the S7 program into the CPU 319-3PN/DP. In the S7 program, double-click on the variables table "VAT_79" to open it and set output A2.6=true. 20 V1.0, Entry ID: 41726666

4 S7 Program Figure 4-4 V1.0, Entry ID: 41726666 21

4 S7 Program Figure 4-5 In this example, a QR code is recognized and evaluated by the MV440 code reading system. The data is saved in data block DB48 of the CPU 319-3PN/DP. Note Go to the following link to generate a random barcode for testing: http://www.tec-it.com/online-demos/tbarcode/barcode-generator.aspx?lang=en 22 V1.0, Entry ID: 41726666