This guide describes the details that are necessary for making a HMI (PC RT or panel) for an S5 PLC.



Similar documents
User Manuals. Connection to Siemens S5 PU (AS511) Part Number: Version: 2. Date:

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

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

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

E-series/E1000-series Cable Guide

TECHNICAL NOTE TNOI34

KOYO DIRECT. HMI Setting: PLC Setting: Supported Series: KOYO DirectLogic series PLC DL05, DL06, DL105, DL205, DL305, and DL405 series.

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

PCMCIA 1 Port RS EDITION OCTOBER 1999

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

Publication Rev. C SIEMENS. (S5 Communications) Reference

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

WindO/I-NV2 Utility Pass-Through Tool

Toshiba Serial Driver Help Kepware Technologies

MS830 / MS833 Barcode Reader v1.0 9-December-2014

BuTeL Software - Scanner Over Ip - RemoteServer software July

WHQL Certification Approval...2 User Interface K software FIFO 4 Universal PCI Interface...5 Ready for 64-bit System...5

S7 for Windows S7-300/400

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

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

HMI. Operating and monitoring.

Modbus Communications for PanelView Terminals

CP Page 1342 Mar 2008 Siemens ITS

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

USER MANUAL. VS-81H 8x1 HDMI Switcher MODEL: P/N: Rev 4

The CP provides access to different communication services of the PROFIBUS bus system:

KV-10_80RW/TW CPU Direct Driver

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

PLC Master / Slave Example

STIM202 Evaluation Kit

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Human Machine Interface

Serial/ Parallel Combo PCi Card user manual

SIMATIC WinCC V12 Engineering for all HMI-Systems

Turn on and immediately start with the engineering! siemens.com/simatic-pg

Control Performance Analyser 3.0. Installation Instruction

Concentrating on the essentials: the new Basic Panels SIMATIC HMI. Answers for industry.

Siemens S7 MPI Driver Help Kepware Technologies

S and STEP 7 Basic V10.5

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

The CP FO provides access to different communication services of the PROFIBUS bus system:

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

Remote Access. Table Of Contents. Rev: 3.30, 8/03

Siemens AG. SIMATIC S7 Ethernet 04/

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

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE A5. PLC-Simulation with S7-PLCSIM

INSTALLATION MANUAL XM3 Reader

1 Application Description Objective Goals... 3

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

How to setup a serial Bluetooth adapter Master Guide

Read Me UNISTREAM AUTOMATION IDE

Installing PowerLink on Windows 7 64-bit

Installation Manual. PLCSQL link

LDG Electronics External Meter Serial Communications Protocol Specification

A MANUAL ON SIEMENS SOFTWARE AND CABLE CONFIGURATIONS THIS SOFTWARE COMES WITH ALL TOOLBOX VERSIONS OF 802D

(262) pccweb.com Germantown Appleton Eau Claire. vision. technology. results. Course Length & Time: Two days.

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

AXIS 262+ Network Video Recorder

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology

ProCod. User Manual. Programming software for TWK - Encoders Series CRF and DAF CRF DE 08 / 10

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

Connecting your Omega/BetaPAT PLUS to a PC via a USB

SIMATIC HMI. ProTool/Pro Runtime. Preface, Contents. Introduction 1. Scope of Functions 2. Product Description 3. User s Guide

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Installation Manual. PLCSQL link

Device/PLC CONNECTION MANUAL ADDITIONAL MANUAL. Keyence Corporation KV Series CPU Direct Connection

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

Manual Serial PCI Cards

Application Note Siemens PLC and SIMATIC STEP 7 / TIA Portal

INTELLIGENT CONTROL MODULE SA-2000-II HARDWARE MANUAL. Access Technologies International, Inc.

Software Manual RS232 Laser Merge Module. Document # SU Rev A

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

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

UDG1000 Hach PCX2200 Serial Port Input Driver configuration

Softstarters. Type PSTX Fieldbus communication, Built-in Modbus RTU. 1SFC132089M0201 April SFC132089M0201 1

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Advantech WebAccess Device Driver Guide. BwSNMP Advantech WebAccess to SNMP Agent (Simple Network Management Protocol) Device Driver Guide

Using the Parani SD1000U/SD1000 with Carlson SurvCE

DUKANE Intelligent Assembly Solutions

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

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

Designing VM2 Application Boards

Driver Pant 8 and antenna switcher Ant 8. User manual

The Answer to the 14 Most Frequently Asked Modbus Questions

Permissible ambient temperature Operation Storage, transport

Configuring the Siemens TC35 modems for use with the MI2292

Fingerprint Based Biometric Attendance System

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

Instructions on How to Use HyperTerminal to Test Serial Ports ...

WinPFT File Transfer Utility (Catalog No ND7)

USB232CONV Installation. Version Copyright IFTOOLS GbR

User Manual. USB2.0 to IDE and SATA Adapter Cable. Model: DA-70202

TouchKit Software User manual for Windows 7 Version:

SB-2000 USB Radio Interface Operating Manual CG Antenna Co. Ltd.

List of most-wanted corrections or additions for Siemens WinCC Flexible Software.

Transcription:

Page 1 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 This guide describes the details that are necessary for making a HMI (PC RT or panel) for an S5 PLC. A typical application is to make a replacement for an old Siemens operator panel, OP393, OP20, OP25 etc. These panels are not possible to purchase any longer.

Page 2 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 1. The hardware connection. 1a. Case a is that a PC RT or a panel in the x70 series is to be used, i.e. an OP170B or OP270. Important is that there is a serial RS232C port available. The RS232/TTY adapter cable 6ES5 734-1BD20 must be used. This adapter has a 25-pin D- sub connector on the RS232 side, and since both PC and panel have 9-pin D-sub ports, a 25- pin/9-pin D-sub adapter must be installed between serial port and the adapter. The adapter has a 15-pin PG port connector on the TTY end of the cable. This goes directly onto the PG port on the S5 PLC. 1b. Case b is that a panel in the series x77 is to be used, i.e. an OP177B or OP277 etc. Important is that these panels do not have RS232C ports only RS422/RS485 ports. The RS422/TTY adapter 6AV6671-8XJ00-0XA0 must be used. This adapter has a 9-pin D- sub connector on the RS422 side, and a 15-pin PG port connector on the TTY side. The 9-pin connector goes directly onto the RS422/RS485 port on the panel (typically IF1B). Between the TTY side of the adapter and the PG port of the S5 PLC, the cable 6XV1440-2Ann must be used ( nn in the type number depends on the length). Notice: There are dip-switches on the rear of the panel for setting either MPI/DP mode or RS422/RS485 mode for the port IF1B. Set the dip switches for RS422/RS485 mode. Notice: The cable 6XV1440-2Ann has markings on its two connectors for specifying which end connects to the panel, and which end connects to the S5 PLC, TD/OP and AG (PG/S5) respectively. The cable must be connected in reverse to these markings! TD/OP must be connected to the S5 PLCs PG port. AG (PG/S5) must be connected to the panels IF1B port via the RS422/TTY adapter. (see picture) Notice: On some panels, the adapter plus cable connector may not have space enough to get past the casing of the panel. To allow the RS422/TTY adapter to connect to the IF1B port, either cut the plastic casing (as in the picture), or use a short straight serial cable with 9-pin D- sub connectors at both ends.

Page 3 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 2. Convert old project, or write new. Very old panels, like OP393 and OP20 cannot be converted automatically. The only way is to write a new application, possibly assisted by text lists and tag lists from the old COM TEXT configuration. If the application has to be written completely new, then follow the advice in the next chapters. The configuration of panels like OP15 and OP25 may possibly be converted, but only if these were programmed with Protool. To convert the Protool project, the Protool programming software is needed. Load the Protool project into the Protool programming software, and use the convert function to change the device type to a similar matching Windows CE based panel, i.e from OP25 to OP270. Line-based panels like OP15 must be converted to a graphical Windows CE panel. After the conversion is done, it is necessary to check everything carefully and manually correct if necessary. The automatic conversion will not be 100% successful. The conversion of line-based panels to graphical panels will require significantly more checking and manually correcting. The converted Protool project can now be loaded into the WinCC Flexible programming software by using the migration function. If the final application must be a x77 panel, this can be done by performing another device conversion, this time inside the WinCC Flexible project. Carefully check as much as possible, preferably by connecting the panel to a real S5 PLC. Be sure to check the points mentioned in the next chapters.

Page 4 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 3. Setup of the connection in WinCC Flexible. Select the SIMATIC AS 511 driver in the connection setup dialog. For a panel, the port IF1B will typically be selected automatically. For a PC RT, the COM port number, i.e. COM1, COM2,.. must be selected manually. As the communication partner, select the intended CPU type, i.e. S5 95U, S5 115U CPU944 etc.

Page 5 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 4. Specific configuration issues for S5 timers. When using S5 timers, the special format of the timer has to be taken into account. The WinCC Flexible application internally uses milliseconds as its time base. Before transferring the values to/from the PLC, it converts to the S5 time format. This means that the following rules should be carefully observed. Output of actual values on the HMI: The PLC tags address can be either S5 timer (i.e. T5 ) or a data-word (i.e. DB 100 DW 10 ). Linear tag scaling must be applied, with PLC lower value = 0, PLC upper value = 1000, HMI device lower value = 0, HMI device upper value = 1. The output field using the tag, must have Data type = decimal, Format pattern = 999 or 9999, Shift decimal point = 0. Notice: Only seconds will be displayed. This not an issue anyway, since the slow update speed of the 9600 baud TTY connection does not allow to see updates faster than once every second. Entry of setpoint values on the HMI, the associated S5 timer has 0.01 second resolution: The PLC tags address must be a data-word (i.e. DB 100 DW 20 ). Linear tag scaling must be applied, with PLC lower value = 0, PLC upper value = 10, HMI device lower value = 0, HMI device upper value = 1. Tag limits should be applied with Upper = 999, and Lower = 0 (*). The input/output field using the tag, must have Data type = decimal, Format pattern = 99999, Shift decimal point = 2. Entry of setpoint values on the HMI, the associated S5 timer has 0.1 second resolution: The PLC tags address must be a data-word (i.e. DB 100 DW 20 ). Linear tag scaling must be applied, with PLC lower value = 0, PLC upper value = 100, HMI device lower value = 0, HMI device upper value = 1. Tag limits should be applied with Upper = 999, and Lower = 0 (*). The input/output field using the tag, must have Data type = decimal, Format pattern = 99999, Shift decimal point = 1. Entry of setpoint values on the HMI, the associated S5 timer has 1 second resolution: The PLC tags address must be a data-word (i.e. DB 100 DW 20 ). Linear tag scaling must be applied, with PLC lower value = 0, PLC upper value = 1000, HMI device lower value = 0, HMI device upper value = 1. Tag limits should be applied with Upper = 999, and Lower = 0 (*). The input/output field using the tag, must have Data type = decimal, Format pattern = 999, Shift decimal point = 0. Entry of setpoint values on the HMI, the associated S5 timer has 10 second resolution: The PLC tags address must be a data-word (i.e. DB 100 DW 20 ). Linear tag scaling must be applied, with PLC lower value = 0, PLC upper value = 10000, HMI device lower value = 0, HMI device upper value = 10. Tag limits should be applied with Upper = 999, and Lower = 0 (*). The input/output field using the tag, must have Data type = decimal, Format pattern = 9999, Shift decimal point = 0. *: Other limits may be applied to suit the application. If no specific limits are needed, then 0..999 must be applied, otherwise values that cannot be interpreted as S5 time can be input, resulting in unpredictive machine behavior.

Page 6 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 5. Specific configuration issues for bits within Merker words or bytes. Bits within byte and word addresses are specified differently in S5 and the WinCC Flexible application. In WinCC Flexible only complete words can be addressed. These should always start at even numbers. Uneven numbers can be specified, but should be avoided. In S5, a word contains two bytes. Additionally, the byte order in the S5 and WinCC Flexible is reversed compared to each other. Thus, the bit numbering follows these rules (example of Merker addresses): Address in S5: MW n = MB n + MB n+1 Address in WinCC Flexible: FW n Even bit address in S5: Mx.y Bit address in WinCC Flexible: FWx.y+8 Un-even bit address in S5: Mx.y Bit address in WinCC Flexible: FWx-1.y Examples: Bit address in S5: M4.2 Bit address in WinCC Flexible: FW4.10 Bit address in S5: M5.6 Bit address in WinCC Flexible: FW4.6 Notice in the example how the addresses are within one word in both platforms, but the bit numbering is swapped.

Page 7 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 6. Specific configuration issues for bit triggered alarms. The same byte-swapping as mentioned in the previous chapter applies to the alarm-bits. In WinCC Flexible, the actual address for each bit cannot be seen, only the alarm number and trigger bit number. This makes the creation of the alarms and the proper alignment with the S5 bits, a tedious and error-prone affair. Below is how to calculate the alarm number and trigger bit number in the WinCC Flexible application, based on the alarm addresses in S5. It is assumed that the alarm bits starts in the PLC in an even numbered byte x. For the first 8 alarm bits: Even byte alarm address in S5: Mx.y Alarm number in WinCC Flexible: y+9 Trigger bit number in WinCC Flexible: y+8 For the next 8 alarm bits: Uneven byte alarm address in S5: Mx+1.y Alarm number in WinCC Flexible: y+1 Trigger bit number in WinCC Flexible: y For the next 8 alarm bits: Even byte alarm address in S5: Mx+2.y Alarm number in WinCC Flexible: y+25 Trigger bit number in WinCC Flexible: y+24 For the next 8 alarm bits: Uneven byte alarm address in S5: Mx+3.y Alarm number in WinCC Flexible: y+17 Trigger bit number in WinCC Flexible: y+16 etc. Example: First alarm bit address in S5: M40.0 Alarm tags starts at Word address in WinCC Flexible: FW40 Alarm bit address in S5: M42.3 Alarm number in WinCC Flexible: 3+25 = 28 Trigger bit number in WinCC Flexible: 3+24 = 27 It is recommended to manage the creation of the alarms in a spreadsheet, and then use the csvimport function to get the alarms into the WinCC Flexible application.

Page 8 of 8 HOWTO_setup_and_connect_panel_to_S5.doc date: 20-01-11. - JMP / 6011 7. Other points. When using a PC RT. A WinCC Flexible PC RT license with a tag count matching the configured number of tags in the WinCC Flexible project must be installed on the PC. To configure the AS511 driver on the x77 panels, WinCC Flexible must be at least version 2008 SP2. Due to the slow update speed of the 9600 baud TTY connection, be careful to not display too many tags on one single screen. Do not configure too many continuous updating tags, i.e. alarm tags or trend curve tags. Place the HMI tags in one continuous memory area when possible, do not place the addresses of the tags in many fragmented addresses.