Applications & Tools. Transferring Information with QR Codes from Comfort Panel to Smartphones or Tablets. SIMATIC Comfort Panels

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

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

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

Applications & Tools. Monitoring Machines and Plants with Network Cameras and SIMATIC HMI Comfort Panels. WinCC V11 Comfort

RAID systems within Industry

How To Use An American Zw.Com V20-20 (V20) V20 (Veu) V2.20 (Femalese) V1.2.2 (V2.1) V3.

Tool for Control Technology

Application about Communication

Application on Control Technology

Configuration Instruction

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

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

Application about Communication

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

Cover. WinCC/Server Virtualization. WinCC. Technical Information April Applications & Tools. Answers for Industry.

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

Application about Human Machine Interface

Tool for Communication

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3 SIMATIC. Readme. Programming and Operating Manual

Applications & Tools. SIMATIC PCS 7 PowerControl Integration of Medium Voltage Switchgear according to IEC SIMATIC PCS 7 PowerControl

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Remote Monitoring of Woodward easygen-3000

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

Applications & Tools. Creating Report Templates for the Information Server on the Process Historian Database in the PCS 7 Environment SIMATIC PCS 7

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

TIA Portal vs Studio 5000

SIMATIC HMI. WinCC flexible 2008 Getting Started - First-Time Users Getting Started. Printout of the Online Help 06/2008 A5E

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

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

WinCC. Configuration Manual. Manual Volume 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

TECHNICAL NOTE TNOI34

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

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

Applications & Tools. Industrial Ethernet Communication: Data Exchange S7-200 <-> S SIMATIC S Configuration Example X20 October 2010

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 can you establish a connection between a S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

SIMATIC HMI. WinCC flexible Getting Started First Time User. Order number 6ZB5370-1CL02-0BA2. Edition 04/2006 A5E

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

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

Application Note Siemens PLC and SIMATIC STEP 7 / TIA Portal

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

Monitor Wall 4.0. Installation and Operating Manual

The How Do Guide to AxioVision. Author: Brian Svedberg Image Analysis Specialist Carl Zeiss MicroImaging, Inc.

Moxa Device Manager 2.3 User s Manual

SIMATIC WinCC V12 Engineering for all HMI-Systems

WinCC. Configuration Manual. Manual Volume 2

MANUAL Device Type Manager

Siemens AG LOGO! App V1.0.0 LOGO! Edition 03/2013. Manual. Answers for industry.

How are tags and messages archived in WinCC flexible? WinCC flexible. FAQ May Service & Support. Answers for industry.

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

Setting up a Scheduled task to upload pupil records to ParentPay

AXIS Camera Station Quick Installation Guide

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

Amcrest 960H DVR Quick Start Guide

Sitecore InDesign Connector 1.1

File by OCR Manual. Updated December 9, 2008

M2Web - Browser-Based Mobile Remote Access

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

Pendragon Forms Industrial

PN-L702B LCD MONITOR TOUCH PANEL DRIVER OPERATION MANUAL. Version 2.1

Transitioning from TurningPoint 5 to TurningPoint Cloud - LMS 1

Pulse Redundancy. User Guide

Crow Limited Warranty. Print Version 017

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Application Note Profinet Modules

Legal Notes. Regarding Trademarks KYOCERA MITA Corporation

SIMATIC. S Getting started with S Preface. Quick review 1. Installation 2. Create a simple latch circuit 3. Complete the user program 4

SIMATIC. SIMATIC Logon. User management and electronic signatures. Hardware and Software Requirements. Scope of delivery 3.

SIMATIC HMI. WinCC flexible Getting Started Power User. Order number 6ZB5370-1CM02-0BA2 A5E

Information Server Documentation SIMATIC. Information Server V8.0 Update 1 Information Server Documentation. Introduction 1. Web application basics 2

File Management Utility User Guide

The goal with this tutorial is to show how to implement and use the Selenium testing framework.

Connecting a Metrologic MS9535 to a USB BT Adapter (Client Mode)

Mobile Device Management: Deployment

Acrobat X Pro Accessible Forms and Interactive Documents

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

State of Michigan Data Exchange Gateway. Web-Interface Users Guide

FAQ Communication over IE

User Guide. DocAve Lotus Notes Migrator for Microsoft Exchange 1.1. Using the DocAve Notes Migrator for Exchange to Perform a Basic Migration

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

Table of content. General information on the camera 4. General software information 4. Deployment 5. Camera 7. Tool bar 9.

RcWare SoftPLC Modbus server mapping editor User manual

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

INTEGRATION GUIDE. Bluetooth Connection Instructions for CR2300/CR2600/CR3600 VERSION 03 RELEASE DATE: MARCH 2016

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

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

TWAIN Driver Reference Guide

PG DRIVES TECHNOLOGY R-NET PROGRAMMER R-NET PROGRAMMING SOFTWARE - DEALER ELECTRONIC MANUAL SK78809/2 SK78809/2 1

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

KeePass Getting Started on Windows

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

ADVISORY & SOFTWARE FOR REAL ESTATE & FACILITY MANAGEMENT

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Select the barcode font in your farmerswife Client Application

P R O V I S I O N I N G O R A C L E H Y P E R I O N F I N A N C I A L M A N A G E M E N T

User Manual. BarcodeOCR Version: September Page 1 of 25 - BarcodeOCR

Reference Manual DATAKIT

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

MY EWU PORTAL FEATURES AND BENEFITS. Promotion of the Eastern brand name

Transcription:

Transferring Information with QR Codes from Comfort Panel to Smartphones or Tablets SIMATIC Comfort Panels Application Example October 2013 Applications & Tools Answers for industry.

Warranty and Liability Warranty and Liability Note The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The application examples do not represent customer-specific solutions. You are responsible for ensuring that the described products are used correctly. These Application Examples do not relieve you of your responsibility to use safe practices in application, installation, operation and maintenance. When using these application examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Application Examples at any time and without prior notice. If there are any deviations between the recommendations provided in this application example and other Siemens publications e.g. catalogs the contents of the other documents have priority. We do not accept any liability for the information contained in this document. Any claims against us based on whatever legal reason resulting from the use of the examples, information, programs, engineering and performance data etc., described in this application example will be excluded. Such an exclusion will not apply in the case of mandatory liability, e.g. under the German Product Liability Act ( Produkthaftungsgesetz ), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract ( wesentliche Vertragspflichten ). The damages for a breach of a substantial contractual obligation are, however, limited to the foreseeable damage, typical for the type of contract, except in the event of intent or gross negligence or injury to life, body or health. The above provisions do not imply a change of the burden of proof to your detriment. Any form of duplication or distribution of these application examples or excerpts hereof is prohibited without the expressed consent of Siemens Industry Sector. Caution The functions and solutions described in this entry are mainly limited to the realization of the automation task. Please furthermore 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 under the Entry ID 50203404. http://support.automation.siemens.com/ww/view/en/50203404 Siemens Industry Online Support This document is an article from the Siemens Industry Online Support. The following link takes you directly to the download page of this document: http://support.automation.siemens.com/ww/view/en/<entry-id> V1.0, Entry ID: 51418740 2

1 Task Table of Contents Warranty and Liability... 2 1 Task... 4 2 Solution... 5 2.1 Overview... 5 2.2 Hardware and software components... 6 2.2.1 Validity... 6 2.2.2 Components used... 6 3 Basics... 7 4 Mode of Operation... 8 5 Installation and Commissioning... 10 5.1 Hardware installation... 10 5.2 Software installation... 10 5.3 Commissioning... 10 5.3.1 Example project... 10 5.3.2 Project library... 12 6 Operating the Application... 17 6.1 QR code of the I/O field... 17 6.2 QR code of the slide control... 17 6.3 QR code of a MLFB... 18 7 Related Literature... 19 8 History... 19 V1.0, Entry ID: 51418740 3

1 Task 1 Task Introduction It is often useful to transfer information from operator panels or controllers to a mobile phone or a tablet PC. Here, an option is to be used without integrating the mobile phone or the tablet PC into the automation network. Overview of the automation task The figure below provides an overview of the automation task. Figure 1-1 Information HMI device Mobile phone (or Tablet PC) PLC V1.0, Entry ID: 51418740 4

2 Solution 2 Solution 2.1 Overview Schematic layout The following figure gives a schematic overview of the most important components of the solution: Figure 2-1 Information HMI device PLC Mobile phone (or Tablet PC) The comfort panel generates a QR code from the information to be transferred. The QR code can be read and interpreted by the mobile phone or tablet PC. Advantages Data can be directly transferred to a mobile phone, tablet PC or code reader from the comfort panel. There is no physical connection to different networks. Your information security is not influenced by this solution. You do not need a special device to interpret the QR code, almost every smartphone or every tablet PC can read and interpret QR codes. Delimitation This application does not contain a description of: Basic knowledge on smartphones or tablet PCs. V1.0, Entry ID: 51418740 5

2 Solution Basics on Comfort Panels and their configuration with the TIA Portal. Basics on VB script for Comfort Panels. Knowledge of these topics is assumed. 2.2 Hardware and software components 2.2.1 Validity This application is valid for Comfort Panels WinCC Comfort V12.1 2.2.2 Components used The application was set up with the following components: Hardware components Table 2-1 Software components Component No. Order number Note Comfort Panel 1 6AV2124.. Cell phone 1 With the option for reading and interpreting QR codes. Table 2-2 Component No. Order number Note WinCC Comfort V12.1 1 6AV210.-...2-0 Sample files and projects The following list includes all files and projects that are used in this example. Table 2-3 Component QR_Code_Project.zip QR_Code_Library.zip Note Example project for the use of QR codes with Comfort Panels Library with QR code generator scripts for own configurations. V1.0, Entry ID: 51418740 6

3 Basics 3 Basics Structure of the used QR codes Table 3-1 QR code (color-coded) Meaning Encoding type This QR code uses eight bit per character. This makes it possible to display the most of the ASCII characters. The encoding type is 0100 in binary format. The property cannot be changed. Length Specifies the number of characters used in the QR code. This code always includes 17 characters. (If fewer characters are used, the script will add the missing characters.) Data blocks The data blocks include the coded information. Each character is converted into a byte based on the ASCII table and coded into these blocks. Error blocks The error blocks include the error number of the Reed Solomon algorithm. Fehler! Verweisquelle konnte nicht gefunden werden. Formatting The formatting blocks include information on the structure of the QR code. This application uses a simple structure. (Error Level: L Mask Pattern: i%2 = 0 Meaning: The black blocks change the value depending on even or odd number.) V1.0, Entry ID: 51418740 7

4 Mode of Operation 4 Mode of Operation Generating QR codes The Comfort Panel can generate QR codes dynamically due to the scripts included in the application example. Different scripts are available in the application example which display different application cases of the use of a QR code. Basic functionality of the script From the preset specifications or the specifications made by you, which will be discussed in more detail in chapter 5.3.2, Project library the script calculates the binary code of the tag to be displayed. In addition, other information is converted such as that which is used in the trouble shooting according to the Reed Solomon algorithm (Fehler! Verweisquelle konnte nicht gefunden werden.). The result of the script is displayed via the visibility property of the individual elements (squares) of the QR code. Transferred values The user has to transfer two values to the script. On one hand this is the name of the image in which the QR code is used and on the other hand, the tag name of the tag to be coded. This tag may contain up to 17 characters. Furthermore, a trigger has to be specified that starts the script. Library In addition to the example project a library has been added to this application example. By using it, the QR code can be directly integrated into your project and be adjusted to your requirements. Contents of the library The following elements are included in the library: 01_copy me to screen This element is a text box that includes a brief introduction of how you can use the elements of the library. You can add this t proceed according to the instructions given later in the document. 02_ QR Code 168x168 This is the template of the QR code in the 168 * 168 pixel resolution. The resolution describes the complete size of the code, not the number of black squares. The structure of the QR code is described in chapter 3 Basics. 03_Input Panel Input Panel is the object, which forms the interface between user and script. In this example the object includes an I/O field, in which the text to be coded is entered and a button that starts the script. 04_Script This element is the script that converts the respective tag into the QR code. Further information on the script can be found at the start of this chapter. 05_Textoutput This is the HMI tag that is used in the script. If another tag is to be used for the QR code, the name has to be adjusted in the script. V1.0, Entry ID: 51418740 8

4 Mode of Operation QR Code various resolutions This folder includes other various resolutions of the QR code which you can use depending on requirement. V1.0, Entry ID: 51418740 9

5 Installation and Commissioning 5 Installation and Commissioning 5.1 Hardware installation To commission the application example, you need a Comfort Panel that has to be connected to the supply voltage of 24 V. In addition, the Comfort Panel has to be integrated in a network with the PLC and your programming device. Note The setup guidelines for Comfort Panels must always be followed. 5.2 Software installation To use this application example, at least SIMATIC WinCC Comfort V12.1 has to be installed on your programming device. 5.3 Commissioning The present application example has two attached ZIP folders. Firstly, this is the example project which is to show you the general use of QR codes as well as some fields of their application. Secondly, there is a project library that you can integrate into your own project and with the help of which you can use the QR code according to your ideas. 5.3.1 Example project Table 5-1 No. Action Comments 1. Download the example project from the website specified at http://support.automation.s iemens.com/ww/view/en/ EntryID. 2. Unzip the project. V1.0, Entry ID: 51418740 10

5 Installation and Commissioning No. Action Comments 3. Open the project in the TIA Portal V12.1 4. Go to the project view. 5. Open the device configuration of the TP1200 Comfort and specify a unique IP address for the Comfort Panel. Note In the example project the Comfort Panel TP1200 is used. However, this application can be used for any Comfort Panel. If you would like to use a different Comfort Panel, you have to adjust the project to your panel. V1.0, Entry ID: 51418740 11

5 Installation and Commissioning No. Action Comments 6. Download the project onto your panel. 5.3.2 Project library No. Action 1. Download the library from the website specified at http://support.automation.siemens.com/ww/view/en/entryid. 2. Unzip the library. 3. Open the project in the TIA Portal, in which you would like to integrate the functionality of the QR code and go to the project view. V1.0, Entry ID: 51418740 12

5 Installation and Commissioning No. Action 4. Open the Libraries tab on the right hand side of the TIA Portal. 5. Click the icon to open the global library. 6. Open the project library of the application example. V1.0, Entry ID: 51418740 13

5 Installation and Commissioning No. Action 7. Select the 02_QR Code 168x168 element under the master copies and drag it via drag & drop to the desired place on your image. Please note: To ensure the functionality of the application example, only one QR code per image can be used. 8. Select the 03_Input Panel element and drag it via drag & drop to the desired place on your image. 9. Select the 04_Script element and drag it via drag & drop into the Scripts VB scripts folder of your project tree. V1.0, Entry ID: 51418740 14

5 Installation and Commissioning No. Action 10. Select the 05_Textoutput element and drag it via drag & drop to the default tag table of the HMI tags in your project tree. 11. Open the L_1_QR_Code script 12. Check the name of the image in which you have used the QR code in line 34 of the script and if required adjust it accordingly (in the example: Screen_1 ) Alternatively, you can adjust the name of the image to the name used in the script. To do this, right-click the image that includes the QR code in the project tree and select Rename. V1.0, Entry ID: 51418740 15

5 Installation and Commissioning No. Action 13. Check the name of the tag which you would like to change to QR code in line 54 of the script and if required, adjust it accordingly (in the example: textoutput ). 14. You can now download the project or test various configuration options. V1.0, Entry ID: 51418740 16

6 Operating the Application 6 Operating the Application 6.1 QR code of the I/O field Table 6-1 Below, you find a description of how to create the QR code of a tag in Runtime which you enter via the I/O field. No. Action Comments 1. Enter the text to be coded in the I/O field via the screen keyboard of the Comfort Panel. Please note that the tag cannot include more than 17 characters. 2. Acknowledge your entry with the enter button of the screen keyboard. 3. Start the execution of the L_1_QR_Code script by clicking the create QR code button. 4. The QR code is now displayed on your screen and can be scanned with a barcode scanner of your smartphone or tablet PC. 6.2 QR code of the slide control Below, you find a description of how to create the QR code of a tag in Runtime which can be set via the two slide controls. Table 6-2 No. Action Comments 1. Set two values via the slide control on the right side of the screen. V1.0, Entry ID: 51418740 17

6 Operating the Application No. Action Comments 2. Start the execution of the Tag_Values script by clicking the Get Tag Values button 3. The QR code is now displayed on your screen and can be scanned with a barcode scanner of your smartphone or tablet PC. 6.3 QR code of a MLFB Table 6-3 Below, you find a description of how you can create the QR code of a MLFB in Runtime. No. Action Comments 1. Start the execution of the MLFB_Script script by clicking MLFB 2. The QR code of the MLFB is now displayed on your screen and can be scanned with a barcode scanner of your smartphone or tablet PC. V1.0, Entry ID: 51418740 18

7 Related Literature 7 Related Literature Table 7-1 Topic \1\ Siemens Industry Online Support \2\ Download page of the entry \3\ Reed Solomon (Wikipedia) Title http://support.automation.siemens.com http://support.automation.siemens.com/ww/view/en/51418740 http://en.wikipedia.org/wiki/reed%e2%80%93solomon_error_correcti on 8 History Table 8-1 Version Date Modifications V1.0 10/2013 First version V1.0, Entry ID: 51418740 19