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



Similar documents
Cover sheet PROFINET IO. SIMATIC MV440 Code Reading System. FAQ February 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.

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

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

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

FAQ Communication over IE

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

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

TECHNICAL NOTE TNOI34

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

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

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

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

Application Note Profinet Modules

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

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

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

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. Mechanisms of CP to Send and Receive Data. "Telecontrol" mode for communication between S station and control center

1 Application Description Objective Goals... 3

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

LOGO! LOGO! App V.10. LOGO! app 1. Making basic settings and establishing a connection to LOGO! Using the device overview 3. Creating controls 4

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

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

PROFINET IO Diagnostics 1

How-To-Do. Hardware Configuration SLIO CPU 014

Ethernet Gateway for SIMATIC MPI/ PROFIBUS Driver

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

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

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

FAQ Communication over IE

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

Operating Instructions (Compact) Edition 02/2006

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

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

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

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

Using IDENT M System T with Modbus/TCP

STEP III: Enable the Wireless Network Card

GE Proficy Machine Edition Profibus/Profinet SARTUP GUIDE

Installation Manual. PLCSQL link

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

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

SIMATIC. TIA Portal STEP 7 Basic V10.5. TIA Portal Introduction 1. Simple example 2. Extended example 3. Example "PID control" 4. Example "Motion" 5

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

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

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


SCE Training Curriculum for Integrated Automation Solutions Totally Integrated Automation (TIA)

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

Installation Manual. PLCSQL link

Service & Support. Higher-level safe switch-off of the power supply of functionally nonsafe standard modules? Wiring Examples.

S7 OPC Server Tutorial

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

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

SIMATIC HMI. WinCC flexible 2005 Transfer. Basic principles. Transferring and back transfer of a project. Managing Files on the HMI Device.

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

1.1 Connection Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

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

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)

Cover sheet. Software Update from PCS 7 V7.1 SP3 to PCS 7 V7.1 SP4 SIMATIC PCS 7. FAQ September Service & Support. Answers for industry.

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

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

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

DATA COMMUNICATION BETWEEN PROGRAMMABLE LOGIC CONTROLLERS IN THE INDUSTRIAL DISTRIBUTION APPLICATIONS

Service & Support. How do you configure time synchronization using the NTP procedure (without SICLOCK) for small PCS 7 plants?

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

Using Devices. Chapter 3

Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron

How many high-speed counters (HSCs) are provided by the SIMATIC S PLC? SIMATIC S FAQ March Service & Support. Answers for industry.

Perform this procedure when you need to add a recurring payment option, or when you need to change or withdraw it.

1 How configure S7 PLC in the configuration tool

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

SOHO 6 Wireless Installation Procedure Windows 95/98/ME with Internet Explorer 5.x & 6.0

Grandstream Networks, Inc. Mobotix T24S Door System Configuration Guide GXV3140 IP Video Phone

Barcode Reader Connection Guide (COGNEX SLMP Connection)

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

AXIS Camera Station Quick Installation Guide

Service & Support. How do you log tags and messages with WinCC Advanced V11 in an SQL database? WinCC Advanced V11 SP2.

Dial Up Config & Connecting Instructions with Graphics

Practice Fusion API Client Installation Guide for Windows

Accounting Manager. User Guide A31003-P1030-U

BASLER ACE QUICK INSTALLATION GUIDE

Application Note Siemens PLC and SIMATIC STEP 7 / TIA Portal

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

Preparing the Computers for TCP/IP Networking

Web server SIMATIC. S Web server. Preface. Documentation guide. General information. Websites 3. Function Manual 12/2014 A5E AD

Internet for Everyone In-Room Instructions January 2011 Version 1.3

EtherNet/IP Scanner Configuration for the Moxa MGate 5105-MB-EIP

Allworx OfficeSafe Operations Guide Release 6.0

INTRODUCTION FEATURES OF THE ICM

3.5 LAN HDD Enclosure User s Manual

Network/Floating License Installation Instructions

Cisco Unified Communications Manager 7.1 SIP Configuration Guide

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

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

POPP Hub Gateway. Manual

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

19 LCD / 8 CHANNEL DVR COMBO WITH 160GB HDD & 4 CAMERAS

IX Support Tool Setting Manual

Transcription:

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

Question This entry is from the Service&Support portal of Siemens AG, Sector Industry, Industry Automation and Drive Technologies. The general terms of use (http://www.siemens.com/terms_of_use) apply. Clicking the link below directly displays the download page of this document. http://support.automation.siemens.com/ww/view/en/56348738 Caution The functions and solutions described in this article confine themselves predominantly to the realization of the automation task. Furthermore, please take into account that corresponding protective measures have to be taken in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the internet. Further information can be found in Entry ID 50203404. http://support.automation.siemens.com/ww/view/en/50203404 Question How do you configure the code reader system MV440 / 420 as a PROFINET IO device on a PROFINET IO system of SIMATIC S7-300 with STEP 7 (TIA Portal) V11? Answer The instructions and notes listed in this document provide a detailed answer to this question. 2

Table of Contents Table of Contents 1 Introduction...4 2 Configuration in STEP 7 (TIA Portal) V11...5 3 Setup of the SIMATIC MV440 Code Reading System...14 4 S7 Program...20 3

1 Introduction 1 Introduction The reader devices of the SIMATIC MV400 family are optical code readers designed specially for the recognition and evaluation of a wide range of machinereadable codes and plain text in industrial production. The list of readable codes includes all standard matrix codes and barcodes that can be reliably recognized independent of the printing technique and carrier medium used. The SIMATIC MV400 device family was designed with special focus on the following: Robustness Reliability Easy operation The principal functions of the reader device are the reading of codes and the measuring of code quality. The SIMATIC MV400 product family can be implemented in practically all sectors of industrial production. Applications range from recognition of moving parts to recognition of fast-moving parts on a conveyor system. The reader devices have standard communication interfaces of industrial sensors: MV440: Ethernet 10/100 Mbit/s for TCP/IP and PROFINET IO 1 trigger input and 1 flash output MOBY-ASM interface RS232 with TxD and RxD 4 parameterizable digital IOs MV420: MOBY-ASM interface or RS232 with TXD and RXD 2 parameterizable outputs Despite their vast range of possible applications, the reader devices are extremely easy to commission and operate. You can set the parameters using the integrated web server via an internet browser without prior installation of software. Figure 1-1 4

2 Configuration in STEP 7 (TIA Portal) V11 2 Configuration in STEP 7 (TIA Portal) V11 In this example, the SIMATIC MV440 SR code reading system is used as PROFINET IO device in the PROFINET IO system of a SIMATIC S7-300. Figure 2-1 shows the device configuration. Figure 2-1 CPU 315-2PN/DP IO controller MV440 SR IO device IP address: 192.168.0.12 SCALANCE X IP address: 192.168.0.42 All you need for the connection are the software resources and information on the CD supplied with the SIMATIC MV440 code reading system. To configure, proceed following the instructions below. 5

2 Configuration in STEP 7 (TIA Portal) V11 Open the sample project Figure 2-2 Save and decompress the downloaded "MV4x0_PROFINET_sample_project_V1.0.zip" file. Start the TIA Portal V11. In the Portal view, in the "Start" portal you select the action "Open existing project Browse" and open the decompressed sample project "MV4x0_PROFINET_sample_project_V1.0.ap11". 6

2 Configuration in STEP 7 (TIA Portal) V11 Configure SIMATIC S7-300 station Figure 2-3 Switch to the Project view. 7

2 Configuration in STEP 7 (TIA Portal) V11 Figure 2-4 In the project navigation you click the device "CPU 315-2 PN/DP". Double-click the "Device configuration" item to change the configuration of the S7-300 station. 8

2 Configuration in STEP 7 (TIA Portal) V11 Figure 2-5 If necessary, change the device configuration according to your configuration: If you use a CPU other than the one configured, then replace the CPU. In the hardware catalog you select the CPU you are using in your configuration and drag-and-drop it to Slot 2 in the rack. Check the IP address configured for the CPU. In the inspector window you switch to the "Properties" tab. Navigate to "PROFINET interface Ethernet addresses". Change the IP address of the CPU as required. 9

2 Configuration in STEP 7 (TIA Portal) V11 Configure the SIMATIC MV440/MV420 code reading system Figure 2-6 In the inspector window you switch to the "Properties" tab. In the "Device selection" drop-down list box you select the "CodereaderMV440" device. As required, replace the SIMATIC MV440 with the SIMATIC MV420. Notes Install the GSDML file V2.2 for the code reading system MV440 or MV420. The files are available for downloading at this link: http://support.automation.siemens.com/ww/view/en/54137486 To assign a name to the coder reader device you switch to the inspector window and open the "Properties" tab. Navigate to the "General" area. Here you enter the name for the code reader device which will also be applied as the device name. 10

2 Configuration in STEP 7 (TIA Portal) V11 Figure 2-7 Notes In the web-based management of the code reader device you must configure the same device name as in the TIA Portal (see chapter 3 and Figure 3-3). Check the IP address configured for the code reader device. In the inspector window you switch to the "Properties" tab. Navigate to "PROFINET interface Ethernet addresses". Enable the "Set IP address in the project" option and enter the IP address of the code reader device as required. 11

2 Configuration in STEP 7 (TIA Portal) V11 Figure 2-8 12

2 Configuration in STEP 7 (TIA Portal) V11 Figure 2-9 In the device configuration you can check and if necessary change the input and output addresses for the status and control byte and for the user data. The following input and output addresses are used in this example. 2 (dec) = 2 (hex) for status and control byte 256 (dec) = 100 (hex) for user data Notes The input and output addresses must be specified in hexadecimal format when function block FB79 is called (see chapter 4 and Figure 4-1). The following input and output addresses are used for FB79 in this example. 2 (dec) W#0002 and 256 (dec) W#16#100 13

3 Setup of the SIMATIC MV440 Code Reading System 3 Setup of the SIMATIC MV440 Code Reading System Assign IP address Figure 3-1 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.0.42 is assigned to the SIMATIC MV44 code reading system in this example. Notes More information on commissioning the SIMATIC MV440 / MV420 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 14

3 Setup of the SIMATIC MV440 Code Reading System Web-based Management Figure 3-2 You set up the SIMATIC MV440 code reading system by means of the Web-based Management. In the web browser, Internet Explorer, for example, you enter the IP address 192.168.0.42 of the SIMATIC MV440 code reading system to open the Web-based Management. The home page is displayed (see Figure 3-2). Click either the picture of the code reader or the menu item "Setup" to switch to Setup mode. You have the options below to set up the code reading system: You download a prepared configuration file (XML file). This makes all the necessary settings. You make all the necessary settings manually. Download a configuration file (XML file) In this entry you can download the configuration files below for the reader devices of the SIMATIC MV400 family. Table 3-1 MV440 SR MV440 HR MV440 UR Code reader device MV420 SR-B / MV420 SR-P Configuration file (XML file) MV440SR_PROFINET.xml MV440HR_PROFINET.xml MV440UR_PROFINET.xml MV420SR_PROFINET.xml In the Web-based Management you download the configuration file by means of the "Administration" menu. Click the "Save/Restore" button. When downloading the configuration file, you must set all the check boxes for selecting the contents of the restore options in order to transfer all the communication settings. Once you have downloaded the configuration file you have the option of changing the parameters for the coding or image capturing control. 15

3 Setup of the SIMATIC MV440 Code Reading System Manual setup of the code reader device Figure 3-3 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 "CodereaderMV440" under PROFINET IO. The device name must match the device name you configured in STEP 7 (TIA Portal) V11 for the code reading system. Figure 3-4 The code reader is restarted automatically to activate the new settings. Acknowledge the subsequent message with "OK". The ring light flashes three times to indicate that the code reader device has restarted completely. After the restart you navigate in the Web-based Management to the home page again and proceed with the next steps. 16

3 Setup of the SIMATIC MV440 Code Reading System Figure 3-5 In the "Connections" menu you open the "Integration" tab. Under Connection you select "PROFINET IO" as Source for the Trigger. Also under Connection, you likewise select "PROFINET IO" for String, Result and Control. 17

3 Setup of the SIMATIC MV440 Code Reading System Save parameters for coding and image capture control Figure 3-6 If you have changed the parameters for the coding or image capture control, you must first save these changed parameters under a so-called code number before the changes become active in the Run mode. In the "Calibrate" menu you click the "Save code" button and enter the required code number and code name. Click the "Start save code" button to save the changed parameters under the code number specified. 18

3 Setup of the SIMATIC MV440 Code Reading System Start Run mode Figure 3-7 Click the menu item "Run". In Run mode you select the previously saved code and click the "Start" button to start evaluation. 19

4 S7 Program 4 S7 Program Figure 4-1 Switch to the TIA Portal again and in the project navigation you click the "Program blocks" folder. Open and edit the block FB79_APPLICATION[FC1]. For the LADDR_STEUER (CONTROL) and LADDR_STATUS parameters and for the LADDR_SEND and LADDR_RECV parameters you specify the input and output addresses that you configured for status and control byte and for user data in the device configuration. The input and output addresses 2 (dec) = 2 (hex) and 256 (dec) = 100 (hex) are used in this example. The input and output addresses are specified in hexadecimal format on block FB79_APPLICATION[FC1]. At the RECV parameter you specify the receive area where the received data (DMC string) is stored as pointer. Data blocks areas are allowed as receive areas as well as the data type "BYTE". The data block must be at least as big as the expected maximum size of the DMC string. DB48 is specified as receive area at the RECV parameter in this example. 500 bytes of data are stored in DB48 as from address 0. 20

4 S7 Program Figure 4-2 In the project navigation you select the device "CPU 315-2 PN/DP". Compile and download the complete station. 21

4 S7 Program Figure 4-3 Open the "MV4x0 Watchtable" monitoring table and establish an online connection to be able to monitor the current values of the tags. If the bits below have the value TRUE in the status byte, then the connection is established between the CPU and the code reader device and the data can be transferred. Table 4-1 Name RDY_statusbyte I2.2 IN_OP_statusbyte I2.0 Address 22

4 S7 Program Figure 4-4 23

4 S7 Program Figure 4-5 In this example, the input 10.0 is set by a connected light switch to trigger reading by the code reader device. The camera starts flashing as soon as the reading procedure starts. Alternatively you can trigger the reading procedure by setting a marker bit. Since DB48 was specified as receive area at the "RECV" parameter of FB79_APPLICATION[FC1], the string read by the code reader device is stored in data block DB48 of the CPU. This can be seen in the monitoring table (see Figure 4-5). If you mark the input 10.0 in the monitoring table, you can set the value of the input to the value TRUE using this key combination: <Ctrl> + <Shift> + <1>. You can also use the same key combination to set the value of the input 10.0 back to FALSE. 24

4 S7 Program Figure 4-6 The string read is displayed in the tag table (DB48) and in the web interface under "Result". Notes The manual of the SIMATIC MV420 / SIMATIC MV440 code reading system includes additional information about connecting the code reader device to a SIMATIC controller. The manual is available for downloading at this link: http://support.automation.siemens.com/ww/view/en/35126583 25