Micro Application Example

Similar documents
Micro Application Example

Set on Human Machine Interface

Micro Application Example

Application for Communication

Application on Control Technology

Applications & Tools. Communication between WinAC MP and a SIMATIC S7. Application for the PUT and GET Function Blocks of the S7 Communication

Drive System Application

Checking of STEP 7 Programs for the Migration of S7-318 to S CPU318 Migration Check. Application description 01/2015

Drive System Application

Generating the Parameters for the Modbus/TCP Communication

Application for Process Automation

Windows firewall settings for X-Tools Server Pro. CMS X-Tools / V / CPU PN/DP. Application description 6/2016

Applications & Tools. System Architectures With SIMATIC PCS 7/OPEN OS SIMATIC PCS 7. Application Description November Answers for industry.

Application about Drive Technology

Topology Reporter Tool Description April 2012 Applications & Tools Answers for industry.

Configuration Instruction

Micro Application Example

Automatic Visualization of the Sample Blocks in WinCC Advanced


User Login with RFID Card Reader

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support


SIMOTION and HMI configuration

Display of SINAMICS Error Messages in Runtime Professional

SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible

Applications & Tools. Remote Control of Operator Panel in Applications requiring Validation in the Pharmaceutical Environment

Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool

Applications & Tools. Individual Access to Stored PDF- and HTML-Documents via Comfort Panel. WinCC Comfort V11. Application Description May 2012

Configuration Instruction

Simple Introduction into Energy Management with WinCC WinCC Application Description December 2011 Applications & Tools Answers for industry.

Key Panel Library / TIA Portal


Drive System Application

X-Tools Loading Profile Files (LPF)

Setting up time synchronization of Process Historian and Information Server

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address



Display of SINAMICS Fault Messages in WinCC V7.4

TeleService of a S station via mobile network

Setting up a secure VPN Connection between SCALANCE S and CP x43-1 Adv. Using a static IP Address. SCALANCE S, CP Advanced, CP Advanced

Cover sheet. Application Operations Diary. WinCC Flexible 2008 SP1. Application Description June Applications & Tools. Answers for industry.

House Control with Touch Panel

Monitoring of 24 V load circuits


Applications & Tools. Configuration Examples for SIMATIC S7-400H with PROFINET. SIMATIC S7-400H as of V6.0. Application Description January 2013

Configuration Control with the S and ET 200SP

SIMATIC PCS 7 Minimal Configuration

Applications & Tools. Wireless Data Communication via SMS with SIMATIC S SIMATIC S7-1200, SINAUT MD Application Description July 2010

Application on Communication

Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address

Moving a Process Historian/ Information Server from Workgroup A to Workgroup B

Applications & Tools. Security Configurations in LAN and WAN (DSL) with SCALANCE S61x Modules and the Softnet Security Client. Industrial Security

Applications & Tools. Display of Process Values in a 3D-Grid in WinCC Runtime. SIMATIC WinCC. Application Description August 2011

Exchange of large data volumes between S control system and WinCC

Applikationen & Tools. Network Address Translation (NAT) and Network Port Address Translation (NAPT) SCALANCE W. Application Description July 2009

Library Description 08/2015. HMI Templates. TIA Portal WinCC V13.

Cover. WinAC Command. User documentation. V1.5 November Applikationen & Tools. Answers for industry.

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040

Applications & Tools. Time-of-Day Synchronization between WinCC Runtime Professional and S7 Controllers. WinCC Runtime Professional

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016

SINAMICS V: Speed Control of a V20 with S (TIA Portal) via MODBUS RTU, with HMI

Application for Process Automation

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP

I-Device Function in Standard PN Communication SIMATIC S7-CPU, CP, SIMOTION, SINUMERIK. Configuration Example 08/2015

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040

S Data Transfer with SEND/RECEIVE Interface

Customizing of WinCC Controls. TIA Portal WinCC Runtime Professional. Application Description July Applications & Tools. Answers for industry.

Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address. SCALANCE S, SOFTNET Security Client

Networking a SINUMERIK 828D

Applications & Tools. Block for STEP 7 V5.5 for monitoring 24 V DC load circuits using SITOP PSE200U Single Channel Message and S7-300/400 CPUs

Application for Process Automation

Application for Process Automation

Operating instructions parameter setting for M200D AS I standard starter


Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7

Configuring the F-I-Device function with the SENDDP and RCVDP blocks.

Acyclic communication between S and V90PN via PROFINET. Application example 12/

Production feedback via WinCC Data Transfer with XML file

SIMATIC Visualization Architect (SiVArc) Getting Started

Visualizing Energy Data of a SITOP PSU8600

Application about Drive Technology

Configuration Instruction

Application for Communication

STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP

Safe and Fault Tolerant Controllers


SIMATIC Energy Suite Visualization example of the "*.csv"-energy Data Files

APF report templates based on data from the WinCC User Archive

Monitoring of 24 V load circuits

Applications & Tools. Configuration of Direct Starters with the APL Channel Block FbSwtMMS in SIMATIC PCS 7 SIMATIC PCS 7 V8.0

SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format

SIMATIC NET OPC Server Implementation

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Configuration of an MRP Ring and a Topology with Two Projects

Transmitting HMI data to an external monitor

Applications & Tools. Configuring Electronic Signatures in SIMATIC PCS 7. SIMATIC PCS 7 V8.0 SP1, SIMATIC Logon V 1.5. Application May 2014

Failsafe Controllers. SIMATIC Safety Integrated Two-Hand Control Panel with Integrated Emergency Stop in Category 4 according to EN 954-1


Transcription:

Micro Application Example Easy Remote Control and Monitoring via Dedicated Line Modem Micro Automation Set 17

The Micro Automation Sets are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Micro Automation Sets do not represent customer-specific solutions. They are only intended to pro-vide support for typical applications. You are responsible in ensuring that the de-scribed products are correctly used. These Micro Automation Sets do not relieve you of the responsibility in safely and professionally using, installing, operating and servicing equipment. When using these Micro Automation Sets, you recognize that Siemens cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Micro Automation Sets at any time without prior notice. If there are any deviations between the recommendations provided in these Micro Automation Sets and other Siemens publications - e.g. Catalogs - then the contents of the other documents have priority. Warranty, liability and support 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 Micro Automation Sets shall be excluded. Such an exclusion shall 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 ). However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health The above provisions does not imply a change in the burden of proof to your detriment. Copyright 2006 Siemens A&D. It is not permissible to transfer or copy these Micro Automation Sets or excerpts of them without first having prior authorization from Siemens A&D in writing. V 1.1 Issued 16th May 2006 2/19

Foreword Foreword Micro Automation Sets are fully functional and tested automation configurations based on A&D standard products for easy, fast and inexpensive implementation of automation tasks in small-scale automation. Each of these Micro Automatic Sets covers a frequently occurring subtask of a typical customer problem in the low-end range. The sets help you to obtain answers with regard to required products and the question how they function when combined. However, depending on the system requirements, a variety of other components (e.g. other CPUs, power supplies, etc.) can be used to implement the functionality on which this set is based. Please refer to the respective SIEMENS A&D catalogs for these components. The Micro Automation Sets are also available by clicking the following link: http://www.siemens.de/microset Table of Contents 1 Application Areas and Usage... 4 2 Setup... 5 3 Hardware and Software Components... 7 4 Function Principle... 9 Control Center... 9 Distributed automation station... 10 Functionality... 11 Example of a variable archive... 13 5 Configuring the Startup Software... 14 Preliminary remark... 14 Download of the startup code... 14 6 Live Demo... 15 6.1 Operation... 15 Adapting the software example... 15 Parameters for the MD2 dedicated line modem... 16 Parameterization of LTOPs (DIP switch)... 17 Setting PC interface for the communication of WinCC flexible (S7 online) 17 STEP 7-Micro/WIN settings for communication via the existing network, PC interface (remote maintenance)... 18 7 Basic Performance Data... 19 V 1.1 Issued 16th May 2006 3/19

Application Areas and Usage 1 Application Areas and Usage Application Areas Benefits Particularly with small, distributed systems the targeted use of data communication is gaining in importance. This configuration is suitable for the following task: Communication of distributed S7-200 stations and a master station (PC/PG) via a dedicated line. The configuration is particularly suitable for the following industries: Water/wastewater Oil and gas District heating Traffic technology Mining Remote control and monitoring based on standard automation components Remote maintenance of the distributed stations via the dedicated line possible Networking of plant parts over long distances Short commissioning times due to easy installation Direct connection of the MD2 modem to S7-200 CPUs using standard Profibus cable Material flow monitoring of independent stations and plant parts Communication runs automatically, it does not have to be programmed V 1.1 Issued 16th May 2006 4/19

Setup 2 Setup Overview The configuration of Micro Automation Set 17 is shown in the figure below. Figure 1 V 1.1 Issued 16th May 2006 5/19

Setup Wiring The following figure shows the wiring of stations 1 and 2 displayed in Overview (left side) and station 3 (right side) Figure 2 When setting up the master station (PG/PC) the wiring is to be performed as shown in the left part of the above figure. The Profibus cable has to be connected to the MPI-compatible interface of the PG/PC. V 1.1 Issued 16th May 2006 6/19

Setup 3 Hardware and Software Components Products Component Type MLFB / Order information No. Manufacturer CPU S7-CPU 222 DC 6ES7212-1AB23-0XB0 4 SIEMENS A&D Dedicated line modem MD2 6NH7810-0AA20 4 Line transformer and LTOP1 6NH 9821-0BC11 2 overvoltage protection LTOP2 6NH 9821-0BC12 2 Power supply LOGO! Power 24V 1.3A 6EP1331-1SH02 4 WinCC flexible advanced 6AV6613-0AA01-1CA5 1 HMI-Software WinCC flexible RT 128 6AV6613-1BA01-1CA0 1 WinCC flexible 2004 WinCC flexible RT Archive 6AV6618-7ED01-1AB0 1 A PG or a PC with MPI-compatible interface is required to use the software example. Component Type MLFB / Order information No. Manufacturer MPI compatible interface CP5611 6GK1561-1AA01 1 SIEMENS A&D To use the functionalities of Micro Automation Set 17, WinCC flexible Advanced and RT Archive or WinCC flexible RT 128 and RT Archive is required. The package WinCC flexible Advanced enables additionally editing the WinCC flexible configuration. The following overview illustrates a relationship between different WinCC flexible "Packages". V 1.1 Issued 16th May 2006 7/19

Setup Accessories Component Type MLFB / Order information Profibus cable PROFIBUS connector Adapter Spare part for LTOP PB FC standard, 2-wire bus line, shielded, special design for quick installation, delivery unit: Max. 1000m, minimum order quantity: 20m (supplied by the meter) 6XV1830-0EH10 No. Length [m] with PG connection 6ES7972-0BB12-0XA0 4 Without PG port 6ES7972-0BA12-0XA0 5 For mounting of the MD2s on the top-hat rail 6NH7 760-0AA (optional) OPM overvoltage protection module, pluggable (packing unit 4 units) 6NH 9821-0BB00 Optional Manufacturer SIEMENS A&D Configuration software/tools Component Type MLFB / Order information No. STEP 7Micro/WIN V4.0 6ES7810-2CC03-0YX0 1 Connection cable COM/PPI cable 6ES7901-3CB30-0XA0 1 (direct access) USB/PPI cable 6ES7901-3DB30-0XA0 (optional) PB FC Stripping Tool 6GK1905-6AA00 1 Stripping tool Spare blades (5 ea) 6GK1905-6AB00 Optional Manufacturer SIEMENS A&D A SIMATIC PG or a standard PC is required to use the configuration software/tools! V 1.1 Issued 16th May 2006 8/19

Function Principle 4 Function Principle The configuration consists of one master station (PG/PC) and three distributed automation stations (S7-200). All stations are connected to each other via 2-wire copper lines with twisted pair of cable. The used MD2 dedicated line modem can be connected to private dedicated lines: Copper cable with twisted pair of cable Radio lines with 9,600/19,200 bit/s Control Center The master station contains a PG/PC with the WinCC flexible visualization software. The PG/PC is connected to an MD2 dedicated line modem through an MPI capable interface. The MD2 dedicated line modem is connected to the dedicated line using a combined line transformer/overvoltage protection module (LTOP1 or LTOP2) 1. Thus a maximum of 8 remote S7-CPUs can be accessed with WinCC flexible. In this document, Micro Automation Set 17, 4 S7-CPUs are accessed. If more than 8 connections are required, the "Change connection" function can be used. With this function, an existing connection is disconnected and a new connection is established. In addition, the archiving option is used for WinCC flexible: Values of variables are stored in an archive. These values are evaluated with Excel and visualized in diagrams. 1 The LTOP overvoltage protection modules (= Line Transformer with Overvoltage Protection) limit external voltage and overvoltage to a non-critical level. The protective elements are located on a connectable overvoltage protection module OPM (= Overvoltage Protection Module). The LTOP overvoltage protection module comes in two variants: - LTOP1 (used at the beginning or end of a 2-wire line) - LTOP2 (used at a 2-wire tapping point) V 1.1 Issued 16th May 2006 9/19

Function Principle Distributed automation station The distributed automation stations contain S7-200 CPUs which are connected to an MD2 dedicated line modem via their RS485 interface with a standard Profibus cable. Each MD2 dedicated line modem is connected to the dedicated line using a combined line transformer/overvoltage protection module (LTOP1 or LTOP2). The Micro Automation Set was developed with WinCC flexible as an example. Communication via the MD2 dedicated line modems is of course also possible without WinCC flexible (e.g. communication between the S7- CPUs with NetW and NetR) or with other HMI devices. Remote maintenance with STEP 7 Micro/Win is also possible. V 1.1 Issued 16th May 2006 10/19

Function Principle Functionality The software example shows how a small network can be realized with simple means using the MD2 dedicated line modem. The network consists of one master station (PG/PC) and three S7-200 stations. Operator control and monitoring of the S7-200 stations enables the configuration of the master station: Variables are read from the S7-200 stations in the control center. Variables are written into the S7-200 stations by the control center. Configured for each S7-200 station: Reading input byte (VB2) Reading and writing output byte (VB3) Reading potentiometer value (VB4) Reading and writing virtual fill level (VB5) The variables are located in data blocks of the S7-200 CPU. The program of each S7-200 station has the following functions: Image of inputs and outputs in the data block Writing the potentiometer byte (SMB28) into the data block Monitoring a virtual tank fill level with regard to limits V 1.1 Issued 16th May 2006 11/19

Function Principle In the master station, 7 screens are available for Operator control and monitoring. Short descriptions of the screens are listed in the table below. Illustration Start screen Overview Station 1 Description This screen has no technical functionality. Stations are schematically outlined in a layout diagram. The overview screen shows all stations with their S7-200 CPUs as an overview. Includes the following elements or variables: Input byte as output field Output byte as input and output field Potentiometer value SMB28 as tacho Virtual tank fill level as slider Includes the following elements or variables: Input byte as output field Output byte as input and output field Potentiometer value SMB28 as tacho Virtual tank fill level as bar Buttons +/- for changing the fill level by 5% Curves of the tank fill level (blue) and the count value (red) Station 2 As for Station 1. Station 3 As for Station 1. Support System Message window The following Internet page is displayed: http://www.siemens.de/microset Internet connection required. System settings of WinCC flexible RT. E.g. language switching German/English. The message indicator appears in case of an error and enables to display the message window by clicking. V 1.1 Issued 16th May 2006 12/19

Function Principle Example of a variable archive The software example includes variable archives: A byte is written into an archive by each station every 5 minutes. The byte (count value) is increased by +1 every second. The data are stored on C:/Logs/. The zip file Archive.zip contains an archive of each S7-200 CPU: In the zip file Beispiel.zip (contains an Excel file) the archive of an S7-200 station was evaluated as an example. The figure below shows the evaluation in a diagram. V 1.1 Issued 16th May 2006 13/19

Configuring the Startup Software 5 Configuring the Startup Software Preliminary remark For the startup we offer you software examples with test code and test parameters as download. The software examples support you during the first steps and tests with your Micro Automation Sets. They enable quick testing of hardware and software interfaces between the products described in the Micro Automation Sets. The software examples are always assigned to the components used in the set and show their basic interaction. However, they are not real applications in the sense of technological problem solving with definable properties. Download of the startup code The software example is available on the HTML page from which you downloaded this document. The download is a ZIP file which can be unzipped with any unzip program. The zip.-file contains the following files: Table 5-1 File name Set17_S7-200_V1d1_en.mwp S7-200: Program code 2 Set17_HMI_CentralStation_RT_V1d0_en.zip Set17_HMI_CentralStation_ES _V1d0_en.zip Set17_Archive_V1d1_en.zip Content PC: Runtime, WinCC flexible RT PC: Configuration, WinCC flexible Advanced PC: Archive per S7-200 station 2 Click the file when working with STEP 7 Micro/WIN 32 V3.2 SP4 or later. V 1.1 Issued 16th May 2006 14/19

Live Demo 6 Live Demo 6.1 Operation The set is configured and programmed with the files of the software example (see Download). A connection speed of 19200bit/s was used for the software example. All following parameters described here refer to this speed. Adapting the software example After loading the S7-200 program code to the S7-200 CPUs it is required to adapt the addresses. The table below provides an overview of the addresses. Station Address Master station with WinCC 1 Address already configured, it is not required to adapt it. Station 1 with S7-CPU: 2 2 Station 2 with S7-CPU: 3 3 Station 3 with S7-CPU: 4 4 with S7-CPU: 5 5 The addresses have to be adapted in the program code for the S7-200 CPUs. For this Micro Automation Set, the configuration with 3 stations and 4 S7- CPUs was tested. However, WinCC flexible offers the option of interfacing a maximum of 8 different S7-CPUs. V 1.1 Issued 16th May 2006 15/19

Live Demo Parameters for the MD2 dedicated line modem It is required to parameterize the following switch positions for MD2. Up (SW1 and SW2) SW1 SW2 Switch 1 2 3 4 5 1 2 3 4 5 6 7 8 9 10 ON/OFF 0 1 0 1 1 0 0 1 1 0 0 0 0 0 0 SW1 SW2 Down (SW3) SW3 to end position (beginning/end) SW3 to tapping point (center) Switch 1 2 3 4 1 2 3 4 ON/OFF 0 1 0 1 0 1 0 0 Down (SW4) Switch 1 2 3 4 ON/OFF 0 0 0 0 SW3 SW4 V 1.1 Issued 16th May 2006 16/19

Live Demo Parameterization of LTOPs (DIP switch) The LTOPs are equipped with DIP switches 1 and 2 for parameterization. Set the switch as described in the following table. Location Left switch Right switch Beginning, LTOP1 Position 1 - Center, LTOP2 Position 1 Position 2 End LTOP1 Position 1 - Example for determining the position Parameterization of terminating resistors on the Profibus cable At the beginning and at the end "On"; if further stations are located in the center, the terminating resistor of these stations may not be switched on. Setting PC interface for the communication of WinCC flexible (S7 online) WinCC flexible RT uses the access path listed under S7ONLINE via "Set PG/PC Interface". Set the access path CP5611, MPI, 19200Bit/s. V 1.1 Issued 16th May 2006 17/19

Live Demo STEP 7-Micro/WIN settings for communication via the existing network, PC interface (remote maintenance) If you want to access an S7-CPU with STEP 7-Micro/WIN using the modem you have to set the access path. Proceed as described in the graphic below. To enable communication, the used PG/PC must feature an MPIcompatible interface. The Runtime of WinCC flexible has to be terminated to ensure that the access path is free for STEP 7-Micro/WIN. V 1.1 Issued 16th May 2006 18/19

Basic Performance Data 7 Basic Performance Data LOGO! Power 24V 1.3A Parameter Number/Size/Range Remarks Supply Voltage AC 100-240V Output voltage DC 24V Output current 1.3A Dimensions (W x H x D) in mm 54 (3 width modules) x 90 x 55 SIMATIC CPU S7-222 Parameter Number/Size/Range Remarks Supply voltage Output current expansion module DC 20.4 to 28.8 V or AC 85 to 264 V 340 ma RS 485, communication interface, Interfaces expansion bus for modules Protection system IP 20 in acc. w. IEC 529 MD2 dedicated line modem Parameter Number/Size/Range Remarks Power supply Nominal value: 24 V DC permissible range: 18.. 32 V Current consumption of type 100 ma Max. cable length approx. 10 km at 19,200 bps via cable type 2 x 2 x 0.8 J-Y(St)Y, into network with 2 modems MD2 Housing dimensions (H x W x D) 125 x 80 x 120 in mm WinCC flexible advanced RT Parameter Number/Size/Range Remarks Operating system MS Windows 2000 / XP Professional Depending on order, maximum of 2000 variables with external connection to the controller, internal values Variables unlimited Depending on scale of configuration (communication), up to 8 connections possible with WinCC flexible Number of connectable partners, max. Runtime Online languages, max. 16 Offline languages, max. 32 V 1.1 Issued 16th May 2006 19/19