Sei sulla pagina 1di 186

Preface, Table of Contents

Overview

ACP 1703 TM 1703 mic

Administration

Engineering via Webbrowser

Engineering via TOOLBOX II

Operation and Maintenance

Maintenance

Error Information

Examples for Application Programs

Connection of Resistance Thermometers

1 2 3 4 5 A B C

Literature

Edition 8.2008 DC6-013-2.01

Note

Please observe Notes and Warnings for your own safety in the Preface.

Disclaimer of Liability Although we have carefully checked the contents of this publication for conformity with the hardware and software described, we cannot guarantee complete conformity since errors cannot be excluded. The information provided in this manual is checked at regular intervals and any corrections that might become necessary are included in the next releases. Any suggestions for improvement are welcome. Subject to change without prior notice. Identification Version.Revision Release date TM_MIC_OpMaint 2.01 2008-08-29

Copyright Copyright Siemens AG 2008 The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.

Siemens Aktiengesellschaft

Order No: DC6-013-2.01

Preface
This document is applicable to the following product(s): TM 1703 mic CP-6020 + CPC60 CP-6040 + CPC60 WEBmic FLASHmic

Purpose of this manual This manual describes how to parameterize a TM 1703 mic system, which errors may occur and which are the existing diagnostic options. Thereby the following points are described step-by-step: Target Group The document you are reading right now is addressed to users, who are in charge of the following engineering tasks: Conceptual activities, as for example design and configuration Creation of the assembly technical documentation System parameterization and system diagnostic Utilization of the designated engineering tools Technical system maintenance Safety instructions Parameter setting of TM 1703 mic Offline tool WEBmic Load, save and duplication of a parameter file Programming and test Load and save of an application program Diagnosis and status display Module handling Meaning of the LEDs Firmware loader FLASHmic

Within this manual there are hints how to obtain information or files by means of ISIWeb (http://intranet.isi-ptdea.siemens.com). Should ISIWeb not be available to you please consult your project manager at Siemens.

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Preface

Conventions Used In this document, reference is often made to important information, notifications and limitations. For clarification, the following conventions are thereby adhered to. Manuals to be referred to are represented in italics, such as e.g. TM 1703 mic Installation, section "SIM Card". Outputs visible on the screen are described in this font. Inputs via keyboard or mouse keys and visible on the screen are described in this font. Menu positions visible on the screen ARE DESCRIBED IN THIS FONT. Unchangeable texts that are contained in windows and are visible on the screen ARE
DESCRIBED IN THIS FONT.

Buttons in windows visible on the screen and to be operated by keyboard or mouse ARE
DESCRIBED IN THIS FONT.

Operation code from programs and variable names are represented in this font. Symbolic names, program names and file name extensions are represented in this font.

Recommendations for Third-party Products Siemens does neither receive liability nor warranty for recommendations which are given or implied by this manual. For the correct and intended use of the respective product the associated technical descriptions must be paid attention to in any case.

Links to Third-Party Websites Siemens is not responsible for the contents of third-party websites mentioned in this document, as well as the correctness of the publications and links. For all product information the respective manufacturer is responsible.

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Preface

Notes on Safety This manual does not constitute a complete catalog of all safety measures required for operating the equipment (module, device) in question because special operating conditions might require additional measures. However, it does contain notes that must be adhered to for your own personal safety and to avoid damage to property. These notes are highlighted with a warning triangle and different keywords indicating different degrees of danger.
Danger means that death, severe injury, or substantial damage to property will occur if the appropriate safety measures are not taken. Warning means that death, severe injury, or substantial damage to property can occur if the appropriate safety measures are not taken. Caution means that minor injury or damage to property can occur if the appropriate safety measures are not taken. Note is important information about the project, handling the product, or the part of the documentation in question, to which special attention must be paid.

Qualified Personnel Commissioning and operation of the equipment (module, device) described in this manual must be performed by qualified personnel only. As used in the safety notes contained in this manual, qualified personnel are those persons who are authorized to commission, release, ground, and tag devices, systems, and electrical circuits in accordance with safety standards. Use as Prescribed The equipment (device, module) must not be used for any other purposes than those described in the Catalog and the Technical Description. If it is used together with third-party devices and components, these must be recommended or approved by Siemens. Correct and safe operation of the product requires adequate transportation, storage, installation, and mounting as well as appropriate use and maintenance. During operation of electrical equipment, it is unavoidable that certain parts of this equipment will carry dangerous voltages. Severe injury or damage to property can occur if the appropriate measures are not taken: Before making any connections at all, ground the equipment at the PE terminal. Hazardous voltages can be present on all switching components connected to the power supply. Even after the supply voltage has been disconnected, hazardous voltages can still be present in the equipment (capacitor storage). Equipment with current transformer circuits must not be operated while open. The limit values indicated in the manual or the operating instructions must not be exceeded; that also applies to testing and commissioning.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Preface

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Table of Contents
1. Overview ...........................................................................................................................13 1.1. 1.2. 1.2.1. 1.2.1.1. 1.2.2. 1.3. 1.3.1. 1.3.2. 1.3.2.1. 1.3.2.1.1. 1.3.2.2. 1.3.2.2.1. 1.3.2.3. 1.3.2.3.1. 1.3.2.4. 1.3.2.4.1. 1.4. 1.4.1. 1.4.1.1. 1.4.2. 1.4.2.1. 1.4.2.1.1. 1.4.2.1.2. 1.4.3. 1.4.3.1. 1.4.3.2. 1.5. 1.5.1. 1.5.1.1. 1.5.2. 1.5.2.1. 1.5.2.1.1. 1.5.2.1.2. 1.5.3. 1.6. 1.6.1. 1.6.2. General ...............................................................................................................14 System Architecture ...........................................................................................15 System Strucure............................................................................................15 Firmware for the Master Control Element ................................................15 Communication .............................................................................................16 Engineering PC ..................................................................................................17 Required Hardware .......................................................................................17 Required Software.........................................................................................17 WEBmic.....................................................................................................17 Prerequisite for the Operation of WEBmic ...........................................18 FLASHmic .................................................................................................18 Prerequisite for the Operation of FLASHmic........................................18 TOOLBOX II .............................................................................................18 Prerequisite for the Operation of the TOOLBOX II .............................19 Chipcard Reader/Writer (optional) ...........................................................20 Settings of the Read/Write Device for Chipcards ...............................23 Engineering via Webbrowser .............................................................................24 Offline Engineering........................................................................................25 Transfer of Engineering Data to TM 1703 mic .........................................26 Online Engineering........................................................................................27 Transfer of Engineering Data to TM 1703 mic .........................................27 Direct Connection between Engineering PC and TM 1703 mic .........28 Remote Connection between Engineering PC and TM 1703 mic ......28 User Interface................................................................................................29 Input of a Value ........................................................................................30 Selection of a Value .................................................................................30 Engineering via TOOLBOX II .............................................................................31 Offline Engineering........................................................................................32 Transfer of Engineering Data to TM 1703 mic .........................................32 Online Engineering........................................................................................32 Transfer of Engineering Data to TM 1703 mic .........................................33 Direct Connection between Engineering PC and TM 1703 mic .........33 Remote Connection between Engineering PC and TM 1703 mic ......34 User Interface................................................................................................35 Switching the System On and Off ......................................................................36 Switching On .................................................................................................36 Switching Off .................................................................................................36

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Table of Contents

2.

Administration ................................................................................................................. 37 2.1. 2.1.1. 2.1.1.1. 2.1.1.2. 2.1.2. 2.2. 2.2.1. 2.2.1.1. 2.2.2. 2.2.3. Webbrowser....................................................................................................... 38 Preadjustments for the Engineering ............................................................. 38 Users and Rights ..................................................................................... 38 Password................................................................................................. 39 Logon and Logoff.......................................................................................... 39 TOOLBOX II ...................................................................................................... 40 Preadjustments for the Engineering ............................................................. 40 Users and Rights ..................................................................................... 41 Configure Plant ............................................................................................. 41 Import, Export, Backup of Engineering Data ................................................ 41

3.

Engineering via Webbrowser......................................................................................... 43 3.1. 3.1.1. 3.1.1.1. 3.1.1.2. 3.1.1.3. 3.1.1.4. 3.1.1.4.1. 3.1.1.4.2. 3.1.1.5. 3.1.1.6. 3.1.1.7. 3.1.1.7.1. 3.1.1.7.2. 3.1.1.8. 3.1.2. 3.1.2.1. 3.1.2.1.1. 3.1.2.1.2. 3.1.2.2. 3.1.2.3. 3.1.2.4. 3.1.2.4.1. 3.1.2.4.2. 3.1.3. 3.1.3.1. 3.1.3.2. 3.1.3.3. 3.1.3.4. 3.1.3.5. 3.1.3.6. Telecontrol ......................................................................................................... 44 Offline Engineering ....................................................................................... 44 Creating a New Project ........................................................................... 45 Starting the User Interface Offline ........................................................... 47 Hardware Configuration .......................................................................... 48 Save and Load Parameters..................................................................... 49 Write Parameters to SIM Card ........................................................... 49 Read Parameters from SIM Card....................................................... 49 Open Project............................................................................................ 49 Close Project ........................................................................................... 50 Data Point Import and Export .................................................................. 50 Data Point Import ............................................................................... 51 Data Point Export ............................................................................... 52 Duplication of a Project ........................................................................... 52 Online Engineering ....................................................................................... 55 Setting the TM 1703 mic IP Address....................................................... 56 Serial TCP/IP Interface....................................................................... 56 Ethernet-TCP/IP Interface .................................................................. 56 Starting the User Interface Online ........................................................... 58 Automatic Hardware Configuration ......................................................... 59 Save and Load Parameters..................................................................... 59 Download Parameters........................................................................ 60 Upload Parameters ............................................................................ 60 Engineering Offline or Online ....................................................................... 61 System Settings....................................................................................... 61 Time Settings........................................................................................... 65 Configuration of the Communication Interface........................................ 66 Settings of the Communication Protocol ................................................. 68 Configuration of Inputs and Outputs........................................................ 69 Settings of the Inputs and Outputs .......................................................... 72

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Table of Contents

3.1.3.6.1. 3.1.3.6.2. 3.1.3.6.3. 3.1.3.6.4. 3.1.3.6.5. 3.1.3.6.6. 3.1.3.6.7. 3.1.3.6.8. 3.1.3.6.9. 3.1.3.7. 3.1.3.7.1. 3.1.3.7.2. 3.1.3.7.3. 3.1.3.7.4. 3.1.3.8. 3.1.3.8.1. 3.1.3.8.2. 3.1.3.8.3. 3.1.3.8.4. 3.1.4. 3.1.4.1. 3.1.4.2. 3.1.4.3. 3.1.4.3.1. 3.1.4.3.2. 3.1.4.4. 3.1.4.4.1. 3.1.4.4.2. 3.1.4.5. 3.1.4.5.1. 3.1.4.5.2. 3.2. 3.2.1. 3.2.1.1. 3.2.1.2. 3.2.1.2.1. 3.2.1.2.2. 3.2.1.2.3. 3.2.1.2.4. 3.2.1.2.5. 3.2.1.3. 3.2.1.4. 3.2.1.4.1. 3.2.1.4.2.

Binary Information Acquisition ............................................................73 Counting Pulse Acquisition .................................................................74 Current and Voltage Acquisition .........................................................76 Temperature Acquisition .....................................................................77 Frequency Acquisition.........................................................................78 Speed Monitoring ................................................................................79 Command Output................................................................................82 Binary Information Output ...................................................................84 Current and Voltage Output ................................................................85 Decentral Archive (DEAR) .......................................................................86 Common..............................................................................................86 Configuration of DEAR........................................................................86 Archiving Data Points from Peripheral Elements................................88 Archiving Data Points from PLC .........................................................89 Documentation .........................................................................................90 Overview .............................................................................................90 Power Supply Module .........................................................................91 Protocol ...............................................................................................91 I/O Modules.........................................................................................91 Commissioning and Test...............................................................................92 Initiate Startup ..........................................................................................92 Startup Request due to Parameter Modification ......................................92 Test Functions..........................................................................................94 State Display of Inputs and Outputs ...................................................94 Simulation of Outputs..........................................................................97 Display Event List.....................................................................................98 Save Event List ...................................................................................99 Clear Event List.................................................................................100 Local Reading of the Decentral Archive (DEAR) ...................................100 Save DEAR .......................................................................................101 Clear DEAR.......................................................................................102 Automation .......................................................................................................103 Creating an Application Program as Instruction List (IL).............................103 Structure of an Instruction List ...............................................................103 Syntax for Instructions............................................................................104 Common............................................................................................104 Addressing of I/O Variables ..............................................................104 Addressing of Flags ..........................................................................105 Call of Functions ...............................................................................105 Call of Function Blocks .....................................................................106 Instruction Comments ............................................................................106 Settings in the Application Program.......................................................107 Setting the Cycle Time......................................................................107 Spontaneous Program Execution .....................................................108

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Table of Contents

3.2.1.4.3. 3.2.1.5. 3.2.1.6. 3.2.1.7. 3.2.1.8. 3.2.2. 3.2.2.1. 3.2.2.2. 3.2.2.3. 3.2.2.3.1. 3.2.2.3.2. 3.2.2.3.3. 3.2.2.3.4. 3.2.2.4. 3.2.2.5. 3.2.2.5.1. 3.2.2.5.2. 3.2.2.5.3. 3.2.2.5.4. 4.

Data Flow Control............................................................................. 110 System Information in the Application Program .................................... 111 Command Processing according to IEC 61131 .................................... 111 Generation of Integrated Totals............................................................. 112 Reading System Errors ......................................................................... 112 Commissioning and Test ............................................................................ 113 Initiate Startup (Warm Restart).............................................................. 113 Startup due to Application Program Change (Cold Restart) ................. 114 Configuration ......................................................................................... 115 Enable and Disable PLC Program Execution .................................. 116 Save and Load PLC Code................................................................ 116 Recompile PLC Code....................................................................... 117 Erase PLC Code from SIM Card...................................................... 117 PLC Diagnosis....................................................................................... 118 Test Functions ....................................................................................... 120 Start and Stop Program Execution................................................... 121 Stop Program Execution at a Command Line.................................. 121 Stop Program Execution dependent on Variable ............................. 121 Read and Write Variable .................................................................. 122

Engineering via TOOLBOX II........................................................................................ 123 4.1. 4.1.1. 4.1.2. 4.1.3. 4.1.3.1. 4.1.4. 4.1.4.1. 4.1.4.2. 4.1.4.3. 4.1.4.4. 4.1.4.5. 4.1.4.6. 4.1.5. 4.1.5.1. 4.1.5.2. 4.1.5.3. 4.1.5.4. 4.1.6. 4.2. 4.2.1. 4.2.1.1. 4.2.1.2. 4.2.1.3. Telecontrol ....................................................................................................... 124 Starting the TOOLBOX II............................................................................ 125 Configure Plant ........................................................................................... 125 Configuration of the Hardware.................................................................... 125 Adding or Removing an I/O Module ...................................................... 126 System Technique/Process Technique ...................................................... 127 System-technical Settings ..................................................................... 128 Process-technical Settings .................................................................... 128 Configuration of the Communication Protocol....................................... 128 Transform Parameters .......................................................................... 128 Upload Parameters................................................................................ 129 Parameter comparison .......................................................................... 129 Documentation ........................................................................................... 130 HW Configuration .................................................................................. 130 Assembly Technique ............................................................................. 130 Interface to Elcad................................................................................... 130 Telecontrol Function .............................................................................. 131 Test Functions ............................................................................................ 131 Automation....................................................................................................... 132 Creating an Application Program as Function Diagram (FUD) .................. 132 Restrictions for the Creation of a Function Diagram ............................. 133 Configuring External Signals ................................................................. 134 Create Function Diagram ...................................................................... 134
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

10

Table of Contents

4.2.1.4. 4.2.1.5. 4.2.1.6. 4.2.1.7. 4.2.1.7.1. 4.2.1.7.2. 4.2.2. 4.2.2.1. 5.

Simulate Function Diagram....................................................................135 Generate Application Program Code .....................................................135 Load Application Program Code ............................................................136 Documentation .......................................................................................137 Reference List ...................................................................................137 Open-/Closed-Loop Control Function ...............................................137 Test Functions.............................................................................................138 Oscilloscope ...........................................................................................138

Maintenance ...................................................................................................................139 5.1. 5.1.1. 5.2. 5.3. 5.4. 5.4.1. 5.4.2. 5.4.3. 5.4.4. 5.4.4.1. 5.4.4.2. 5.5. 5.5.1. 5.5.2. 5.5.3. 5.6. 5.6.1. 5.6.2. 5.6.3. 5.6.3.1. 5.6.3.2. 5.6.4. 5.6.5. 5.6.6. 5.7. 5.7.1. 5.7.2. 5.7.2.1. 5.7.3. LED Displays on the Master Control Module ...................................................140 LED Display upon Startup ...........................................................................140 I/O Module Monitoring ......................................................................................141 Behaviour of the Outputs on Startup and Communication Failure...................142 Diagnosis via Webbrowser...............................................................................143 Overview......................................................................................................143 System Diagnosis........................................................................................145 System Status .............................................................................................146 Diagnosis of the Time..................................................................................148 Time Synchronization.............................................................................148 Local Setting of the Time .......................................................................149 Diagnosis via TOOLBOX II...............................................................................150 General........................................................................................................150 Ax 1703 Error Message...............................................................................150 Diagnosis of the Open-/Closed-Loop Control Function ..............................151 Maintenance of the Hardware ..........................................................................153 General for the Replacement of Modules ...................................................153 Replacement of the Master Control Module................................................154 Replacement of the SIM Card .....................................................................154 Read and Write complete SIM Card ......................................................155 Erase Content of the SIM Card ..............................................................155 Replacement of an I/O Module ...................................................................155 Removal of an I/O Module...........................................................................155 Adding an I/O Module..................................................................................155 Firmware Update ..............................................................................................156 General........................................................................................................156 Execute Firmware Update...........................................................................157 Errors upon Loading the Firmware ........................................................159 Starting FLASHmic via Command Prompt ...................................................159

A.

Error Information ...........................................................................................................161 A.1. A.2. Error Categories ...............................................................................................162 Errors from Hardware and Software.................................................................163

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

11

Table of Contents

A.3. B.

Operator Errors................................................................................................ 171

Examples for Application Programs ........................................................................... 173 B.1. B.2. B.3. B.4. B.5. B.6. B.7. Transfer an Input to a Signalling Output and to a Command Output .............. 174 Combine two Inputs with AND......................................................................... 175 Linear Adaptation with Value Selection ........................................................... 176 Operating Hours Counter................................................................................. 177 Bounce Suppression........................................................................................ 179 Setpoint Command .......................................................................................... 181 Speed Comparison .......................................................................................... 182

C.

Connection of Resistance Thermometers.................................................................. 183 C.1. Calibration Process.......................................................................................... 184

12

ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

1.
Contents

Overview

1.1. 1.2. 1.3. 1.4. 1.5. 1.6.

General ...............................................................................................................14 System Architecture ...........................................................................................15 Engineering PC ..................................................................................................17 Engineering via Webbrowser .............................................................................24 Engineering via TOOLBOX II .............................................................................31 Switching the System On and Off ......................................................................36

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

13

Overview

1.1.

General
TM 1703 mic is a remote terminal unit with a standardized communication interface. It is equipped with functions for preprocessing and postprocessing of input/output signals. If necessary, with TM 1703 mic freely definable open-/closed-loop control functions can also be created (automation). For this serves an integrated Programmable Logical Controller (PLC). An application program can be programmed either as an Instruction List (IL) or as a Function Diagram (FUD). The engineering and operation of TM 1703 mic is possible either via a webbrowser or via the TOOLBOX II: System settings Access right Identification Error handling Project technique Customer Plant Time settings Communication type Protocol Periphery settings Preprocessing of signals Postprocessing of signals Application Program

Further, operating functions serving for commissioning and maintenance can be carried out (with TOOLBOX II restricted): Load and save of Parameters Application programs State display of inputs and outputs Variables Simulation of Outputs Variables Diagnosis System PLC Event reading from Event list Decentralized Archive

14

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.2.

System Architecture

1.2.1.

System Strucure
TM 1703 mic consisting of Power supply module Master control module including SIM card I/O Modules Null modem cable for serial interface, 9 pin SUB-D connector, male (DIN 41652) or Patch cable for Ethernet interface, 8-pin RJ45 connector (IEC 603.7)
IEC 60870-5-104

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

. .

Master Control Module Power Supply Module

8 I/O Modules max.

1.2.1.1. Firmware for the Master Control Element


The master control module and its firmware form the master control element. The firmware is available as a "self loading" file FLASHmic_rrrr.exe. This file contains both firmware (rrrr is the revision of the firmware) as well as its loader. You find the firmware under <item_number_of_the_firmware>/XX/86* in the ISIWeb. Example:
Firmware CPC60 Designation Flashloader and firmware FLASHmic TU CPC60 TB II update Item number SC6-060-1 SC6-060-1.XX/86

Note Should ISIWeb not be available to you please consult your project manager at Siemens.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

15

Overview

1.2.2.

Communication
For process communication and engineering, serial and/or LAN/WAN interfaces are available:
Master Control CP-6020/CPC60 MIC CP-6040/CPC60 MIC Process Communication serial serial V.28 1) V.28 2) IEC 60870-5-101 IEC 60870-5-101 IEC 60870-5-104 Engineering serial V.28 1) LAN/WAN serial V.28 - or LAN/WAN
1)

PPP+TCP/IP Ethernet+TCP/IP PPP+TCP/IP Ethernet+TCP/IP

LAN/WAN 2)

Process communication and engineering are using the serial interface exclusively. They are not available simultaneously. Process communication is available according to either IEC 60870-5-101 or IEC 60870-5-104, but not simultaneously according to both standards, using both interfaces.

2)

16

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.3.

Engineering PC

1.3.1.

Required Hardware
Dependent if the engineering shall be performed via a webbrowser or via the TOOBOX II, the Engineering PC must fulfil the Prerequisite for the Operation of WEBmic or the Prerequisite for the Operation of the TOOLBOX II. PC with a serial or Ethernet interface Read/write device for SIM card (optional)

Storage medium for user data (parameters, Instruction List)


Medium SIM card Engineering online offline Harddisk offline Meaning/Note in the running master control element in a SIM card read/write device installed on the PC for parameter setting local files on a PC

Note Within this manual described functions for operation, diagnosis and test of TM 1703 mic have been recorded by means of an industrial PC with operating system Windows 2000 Professional and Internet Explorer 6.0. They are valid likewise sometimes with inessential deviations for other operating systems and browsers.

1.3.2.

Required Software

1.3.2.1. WEBmic
WEBmic is the tool for the engineering (offline) via a webbrowser. This program works as webserver for the local data management on the parameter setting PC. You will find the required program WEBmic.exe under SC6-900-*/XX/86* in the ISIWeb.
Note The engineering is also possible online via a webbrowser. Thereto, no separate tool is required since the firmware of the master control element contains the required functionality of a webserver.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

17

Overview

1.3.2.1.1. Prerequisite for the Operation of WEBmic


Executable file WEBmic.exe must be stored locally on the Engineering PC

Supported Operating Systems (32 bit platform)


Operating system Windows 2000 Professional (as of Service Pack 4) Windows XP Professional (as of Service Pack 2) Microsoft Windows NT 4.0 Microsoft Windows CE (Pocket PC 2002) Microsoft Windows CE (Pocket PC 2000) Webbrowser Internet Explorer as of Version 5.5 Internet Explorer as of Version 6.0 Internet Explorer as of Version 5.5 Pocket Internet Explorer as of Version 3.0 Pocket Internet Explorer as of Version 3.0

1.3.2.2. FLASHmic
FLASHmic is the tool for the reloading of CPC60 firmware updates. This program is on one hand the flashloader and contains on the other hand the firmware in the jeweils current revision. You will find the required programm FLASHmic.exe in the ISIWeb under SC6-060*/XX/86*.

1.3.2.2.1. Prerequisite for the Operation of FLASHmic


Executable file FLASHmic.exe must be stored locally on the Engineering PC Physical connection between Engineering PC and TM 1703 mic is set up according to 5.7.1, General

1.3.2.3. TOOLBOX II
The engineering software is available as CD and consists essentially of four toolsets. You can find information on the toolsets of the TOOLBOX II in the ISIWeb.
Toolset EM II PSR II OPM II CAEX plus Designation Engineering Manager Engineering and service computer Object-oriented process data manager Tool for open/closed-loop control applications Item number V30-016 V30-017 V30-004 V30-090

You find updates for the single toolsets also in the ISIWeb. You find detailed information for the installation and execution of updates in the booklet of the TOOLBOX II CD.

18

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.3.2.3.1. Prerequisite for the Operation of the TOOLBOX II


Prerequisite for the operation of the TOOLBOX II is the utilization of an appropriate PC, that must fulfil certain hardware requirements depending on the license pack you purchased. Information thereto reside within a permanently updated "List of PC preference types". Should that be not at your disposal, please consult your contact person at Siemens. For the installation of the TOOLBOX II the following preconditions are required: Windows administrator rights (read and write rights to the file system and the Windows Registry) NTFS partition Installed TCP/IP On the computer may not be installed other ORACLE applications (data base, client, etc.) A C:\ drive must be existing Necessary Windows Regionel Options: 'Point' for decimal separator and 'comma' for the thousand separator must be different As separator an 'inverted comma' must not be used Usage of Windows Fonts in normal size (96 DPI) Microsoft Internet Explorer as of version 6.0 Macromedia Flash Player as of Version 7.0 (to play online help tutorial videos), see Installation CD1 directory \MACROMEDIA or www.macromedia.com An initial installation needs 2.5 GB free harddisk memory, for an update 2 GB temporary harddisk memory are additionally required For an update, an additional 2.5 GB of temporary hard disk memory is required

Supported Operating Systems (32bit platform)


Configuration TOOLBOX II Lokal Operating system Windows 2000 Professional (as of Service Pack 4) Windows XP Professional (as of Service Pack 2) TOOLBOX II Server TOOLBOX II Web Server (refer to web.engineering) Windows 2003 Server (as of Service Pack 1) Windows 2000 Server (as of Service Pack 4) with Terminalserver Dienst and Internet Information Services IIS Windows 2003 Server (as of Service Pack 1) with Terminalserver Dienst and Internet Information Services IIS

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

19

Overview

1.3.2.4. Chipcard Reader/Writer (optional)


The device used as an example in this section is a recommendation. It can be installed with little effort on a Windows-PC.
Designation chipcard reader / writer USB Item Number / MLFB G95-040 6MF11100FA400AA1

The installation software with the current revision resides within the homepage of the manufacturer: http://www.chipdrive.de/cgibin/edcstore.cgi?user_action=list&category=Download%3B02_Treiber CHIPDRIVE micro pro (SCR335) CHIPDRIVE PC/SC Wrapper

The entire driver package (SCR3xxx_installer and cd_scard_wrapper) is available in the ISIWeb under the item number G95-040-1.XX/86.
Note SIM cards with an extent of 128 KB (CC6-093-A) are supported as of driver revision 8.11.

Driver Installation CHIPDRIVE micro pro


Note The CHIPDRIVE micro pro should be connected only after the installation of the driver software on your PC.

To install the driver save the compressed archive into a local directory (i.e. "C:\temp\SCR3xxx_installer_V8.18") and extract it.

20

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

Start the installation by means of opening the file Setup.exe.

To continue follow the installation program.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

21

Overview

Installation of CHIPDRIVE PC/SC Wrapper To install the driver save the compressed archive into a local directory (i.e. "C:\temp\Chipdrive SCARD Wrapper Installer v1.01.0001") and extract it. Start the installation by means of opening the file Setup.exe.

22

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

If now the CHIPDRIVE micro pro is connected to the USB port of the PC, the required drivers are recognized by Microsoft Windows and automatically accepted. The CHIPDRIVE micro pro can be used now with the tool WEBmic.
Caution After driver installation, the initial access to the SIM card with the tool WEBmic needs considerably more time than the following ones!

1.3.2.4.1. Settings of the Read/Write Device for Chipcards


You can read out the settings of the chipcard reader/writer via the WEBmic pop-up menu under SIM CARD READER | SIM CARD READER SETTINGS. WEBmic checks whether a card reader is installed on the PC. If no valid installation is found an error message appears. Otherwise, WEBmic checks the state of the installed card reader and the SIM card and displays this in a status window. Essentially the following information is displayed: SIM card reader/writer info Status = error (if reader/writer not found) Status = valid (if reader/writer found) PC port Type Version Baud rate

SIM card info Status = error (if SIM is faulty or reader/writer not found) Status = wait (SIM not found or not valid) Status = active (SIM card found) Active identifier Chip type Protocol Memory space

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

23

Overview

1.4.

Engineering via Webbrowser


For the engineering of TM 1703 mic serves in this case a webbrowser and the program WEBmic installed on the Engineering PC. The system-technical and process-technical parameter setting may be carried out either without target system (offline) or directly in the target system (online). The programming of an application program is only possible offline. Offline Engineering
The webbrowser accesses local stored files on a PC or a SIM card. It displays HTML pages made available by WEBmic.

Online Engineering
The webbrowser accesses directly the master control element. It displays HTML pages made available by the integrated Webserver of TM 1703 mic.

WEBmic

Parameters Editor Instruction List

Menu functions offline Parameter System settings Time settings Communication Protocol Periphery

Menu functions online Parameter System settings Time settings Communication Protocol Periphery Upload/Download Process display Diagnosis System status Event list

HW Documentation PLC Configuration Decentralized Archive HW Configuration

HW Documentation PLC Save/load code Diagnosis Decentralized Archive

24

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.4.1.

Offline Engineering
Overview of the Functions with Offline Engineering
Component WEBmic (Dialog via pop-up menu) Open existing project Close project Duplicate project Functions Create new project Meaning/Note edit a new file which contains the plant data "customer", "plant", "station name" in its name, and start of the webbrowser (offline) open existing parameter file and start of the webbrowser (offline) close current parameter file copy already existing parameter file and/or write this on the SIM card; optionally write application program on SIM card 1) save data points of a project as file or load from a file read parameters from SIM card and write into file or vice versa 1) read application program from SIM card and write into file or vice versa 1) create complete data image 1) erases all the user data from SIM card 1) write IP address online into the target system (without webbrowser, only the MAC address must be known) lists the settings of the read/write device for SIM card
1)

Data point import/export Read/write parameters of/to SIM card Read/write PLC of/to SIM card Read/write complete SIM card Erase complete SIM card Set Ethernet IP address SIM card reader settings Parameters HW documentation Decentral Archive

edit settings for system, time, communication protocol and periphery (save in a local file or SIM card) input/output/terminal assignment of the configured modules, signal assignment of communication cables configure Decentral Archive, define data points of the I/O modules and of the application program (via webbrowser) configure current equipment (master control module and I/O Modules) edit file that contains the application program

HW configuration ASCII editor 2)


1) 2)

Instruction list

only with installed SIM_card_reader for instance Microsoft Notepad

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

25

Overview

1.4.1.1. Transfer of Engineering Data to TM 1703 mic


With offline engineering there is no physical connection to the target system. The parameter setting of TM 1703 mic is possible offline in the following kinds: a) The engineering data are stored on a SIM card. The SIM card is put into the master control module of the target system (only in de-energized state), afterwards a startup can be performed. b) The engineering data are stored in a file on the PC. In the master control module of the target system is a SIM card. If the target system is switched on, the data can be transmitted from the PC to the target system (online engineering).
WEBmic Local parameter file SIM read/write device SIM card

CHIPDRIVE micro

Master control module

26

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.4.2.

Online Engineering
Overview of the Functions with Online Engineering
FLASHmic *) Webserver (firmware) (dialog via webbrowser) Firmware update Parameters Save/load parameters Process visualization Simulate outputs Decentral Archive System diagnosis HW documentation Save/load PLC code Recompile PLC code Erase PLC code Enable/disable PLC program execution PLC diagnosis Start/stop PLC transfer of firmware into TM 1703 mic edit settings for system, time, communication protocol and periphery transfer parameters from TM 1703 mic to PC and vice versa input/output state (for each configured I/O module) assign values to outputs for test and service purpose chronological display of the occurred events show generated messages from self monitoring terminal assignment of configured modules transfer of Instruction List from TM 1703 mic to PC and vice versa compile Instruction List on SIM card (TM 1703 mic) erase Instruction List from SIM card (TM 1703 mic) active after startup only, all internal and external signals will be set to default value used cycle time and memory start/stop the execution of the application program; stop: current states of internal and external signals remain "frozen" state display or simulation of a selected variable

Read/write variable
*)

contains the firmware (current revision)

1.4.2.1. Transfer of Engineering Data to TM 1703 mic


With online engineering the target system is connected with the engineering PC and switched on. In the master control module of the target system a SIM card must be inserted. The engineering data are stored on the SIM card in the master control module of the target system. The parameter setting of TM 1703 mic is possible online via the following connections: direct local via the serial interface Ethernet interface remote via Ethernet (TCP/IP, TELNET)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

27

Overview

1.4.2.1.1. Direct Connection between Engineering PC and TM 1703 mic


PC and TM 1703 mic are connected directly with a null modem cable (D-SUB connector, 9pin, male), or else with a cross-connected patch cable (RJ45-connector). Latter applies only for master control modules with Ethernet interface.
cross connected patch cable Cat5 T41-258-WEBmic

direct cable conn. 2xDB9F master control module

1.4.2.1.2. Remote Connection between Engineering PC and TM 1703 mic


PC and TM 1703 mic are connected via standard patch cable (RJ45 plug) to a network. For this, a master control module with ethernet interface must be used.
Ethernet TCP/IP 60870-5-104

WEBmic

master control module

28

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.4.3.

User Interface
The user interface represented in the webbrowser is structured in three parts: Header The indications in the header are Station name CASDU1 CASDU2 Time (generated offline from parameter-setting PC, online from TM 1703 mic)

Menu tree The menu tree is used for the navigation to the individual input/output masks. By means of a click on the symbols + or and on the respective file symbol the desired dialog will be opened.

Selectable dialog (input/output mask)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

29

Overview

In the user interface online an optional dynamic indication line can also be shown.

The user interface supports to ways of input for parameters: Input of a value Selection of a value

1.4.3.1. Input of a Value


The value is written into the input field. There are no restrictions for the input field. With the value transfer a plausibility check takes place using the allowable value range and the maximum number of characters (see TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol"). An implausible value will not be transferred or if necessary set to "0". The assignment of signal texts is limited to maximum 10 characters.

1.4.3.2. Selection of a Value


The value can be selected from a pull down menu or the selection is done by clicking on a check box. Entering online some parameters can be activated only after a startup of the master control element (for further details, see section 3.1.4.1, Initiate Startup).

30

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.5.

Engineering via TOOLBOX II


For the engineering of TM 1703 mic serves in this case the TOOLBOX II (version 4.0, as of revision 14 of the firmware CPC60).
Note Before you begin with the engineering, the predefined configuration parameters of the TOOLBOX II are to be checked and if necessary changed (refer to section 2.2.1, Preadjustments for the Engineering).

The system-technical and process-technical parameter setting can be carried out with the tool "OPM II", an application programm can be edited with the tool "CAEx plus" (Function Diagram). Both is only possible independently from the target system (offline). When the parameter setting is done via the webbrowser you can switch at any time to the parameter setting via the TOOLBOX II.
Note As soon as parameters are set with the TOOLBOX II, the parameter setting via the webbrowser is locked, only the display continues to be possible.

Firmware and Engineering Data in the TOOLBOX II Engineering data maintained with the TOOLBOX II are stored differently during the course of the engineering process. The TOOLBOX II generally works with data, that are stored in a database on the hard disk of the Toolbox PC. Merely loading operations, with which the firmware of system elements and parameters (in the broadest sense) are loaded "into a target system", transfer data from the hard disk of the Toolbox PC to an automation unit. There, they are stored in Flash PROMs of the system elements and on SIM card. On startup of an automation unit, data that differs from that in the Flash PROM, are transferred to the Flash PROM. SIM cards can be copied for example for the purpose of backup with standard commercial means.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

31

Overview

1.5.1.

Offline Engineering
Overview of the Essential Functions with Offline Engineering Recommended sequence of activities: Presets Configure plant Configure assembly Parameter setting system Parameter setting telecontrol functions Edit Function Diagram Import, export, backup of engineering data Documentation of the hardware HW configuration Pin assignment Documentation of the software Parameters Function diagram

1.5.1.1. Transfer of Engineering Data to TM 1703 mic


With offline engineering there is no physical connection to the target system. The engineering data are stored in a file on the Toolbox PC. In the master control module of the target system is a SIM card. If the target system is switched on, the data can be transmitted from the PC to the target system (online engineering).

1.5.2.

Online Engineering
Overview of the Essential Functions with Offline Engineering Load system parameters Load telecontrol parameters Load application program Load firmware (in need) Data flow test Message simulation Topology test Function diagram test Diagnosis Revision interrogation

Note Diagnosis and firmware loading can be performed only via the webbrowser.

32

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.5.2.1. Transfer of Engineering Data to TM 1703 mic


With online engineering the target system is connected with the Toolbox PC and switched on. In the master control module of the target system a SIM card must be inserted. The engineering data are stored on the SIM card in the master control module of the target system. The parameter setting of TM 1703 mic is possible online via the following connections: direct local via the serial interface on the master control element remote via Ethernet (TCP/IP, TELNET)

1.5.2.1.1. Direct Connection between Engineering PC and TM 1703 mic


Toolbox PC and TM 1703 mic are connected directly with the null modem cable.
TOOLBOX II direct cable conn. 2xDB9F

TM 1703 mic

master control module

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

33

Overview

1.5.2.1.2. Remote Connection between Engineering PC and TM 1703 mic


Toolbox PC and TM 1703 mic are connected via a network (standard patch cable with RJ45 plug). For this, a master control element with ethernet interface must be used.

TOOLBOX II

Master Control Module

Ethernet (TCP/IP, TELNET)

TM 1703 mic

34

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Overview

1.5.3.

User Interface
The single tools of the TOOLBOX II have a Windows-oriented design. They can be started after successful installation from the Windows start menu (Start | Programme | TOOLBOX II), or via the Toolbox shortcut on the Desktop. The tools most frequently needed (Load Parameters, CAEx plus, etc.) can be started also from the central engineering tool "OPM II".

The detailed instructions for working with the TOOLBOX II reside within the TOOLBOX II User Manual and in the TOOLBOX II Online Help, as well as the TB II CAEx plus User Manual. The Online Help can be started directly or from each tool via the menu HELP.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

35

Overview

1.6.

Switching the System On and Off

1.6.1.

Switching On
Before switching the system on, all components must be connected to a power supply. Switching on takes place by connecting the voltage, commonly for example by switching on a miniature circuit breaker. The system starts up automatically (Startup after Power up). The entire system is operational (without error display), as soon as all available components are supplied with power and all system elements have concluded the startup (refer to section 5.1.1, LED Display upon Startup). This is also applicable analogously, if only parts of the system are switched off and switched on again.

1.6.2.

Switching Off
The switching off of the system takes place by disconnecting the voltage on all components. If the power is switched off only at the master control element, the lower-level components are not operational.
Caution The switching off of the master control element during writing operations to the SIM card (load firmware, load parameters) is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.

36

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

2.
Contents

Administration

2.1. 2.2.

Webbrowser .......................................................................................................38 TOOLBOX II .......................................................................................................40

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

37

Administration

2.1.

Webbrowser

2.1.1.

Preadjustments for the Engineering

2.1.1.1. Users and Rights


Description Local Initial page System settings Administrator change password Guest change password Communication Parameterization Display Periphery Parameterization Display save/load Process Display Control HW Configuration Diagnosis
*)

Administrator Remote x x *) x *) x *) x x *) x x *) x x *) x Offline x x x Local

Guest Remote x Offline x -

x x

x x x x x x x x

x x x x x -

x x x x

x x x x

x x -

Only if enabled by the local administrator with parameter "remote control via web" (safety relevant), see section 3.1.3.1, System Setting

Difference between Access Location LOCAL and REMOTE The difference between the access location depends on the communication link between PC and TM 1703 mic.
Access Location LOCAL REMOTE Meaning/Note link via serial interface (without modem) or via Ethernet link via modem, operation possibilities are limited sometimes (see above), the parameter REMOTE CONTROL VIA WEB is not visible.

Note All operation and test functions of TM 1703 mic described within this manual are generally valid for the unrestricted access right (Administrator LOCAL and Administrator OFFLINE).

38

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Administration

2.1.1.2. Password
Every project can be protected by means of a password. The default password is sat and should be absolutely changed after the initial logon. The allocation of the password is possible at any time within the system settings, the storage takes place jointly with the parameters of the open project Online: on the Webserver of the respective target system Offline: within the respective parameter file

For the allocation of a password pay attention to the following guidelines: A passwort may consist of maximum 8 characters (additional characters are cut) Case sensitive Special signs are allowed

Note In case of problems with passwords please contact the Siemens Support Center.

2.1.2.

Logon and Logoff


For the engineering of TM 1703 mic you must select the language and the user type in the logon mask of the user interface. After input of the correct password and click on LOGON you are presented with the start mask of a project. Working online, thereby a session with the master control element (Webserver) is opened. The users obtain different access rights.
Language Deutsch User Administrator Guest English Administrator Guest Access right read and write Read read and write Read

To quit a project properly, you must click the button LOGOUT in the start mask. In order that in case of an unwanted abort of a project (upon failure of the communication link, unintended close of the webbrowser, etc.) the previous opened session will be terminated, the firmware of the master control element contains two safety mechanisms: Termination of the session by timeout If there is no access to the Webserver within 15 minutes, the session will be terminated automatically. For a new access a new logon is required. Termination of the session by a new logon With a logon to the Webserver a still opened session will be terminated immediately.

Caution If several users are allowed to access the same master control element, then the last one who is logging on with the correct password gets the access right. The session of the predecessor will be terminated.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

39

Administration

2.2.

TOOLBOX II

Overview of the essential administrative functions


Project Technique Customer Plant Region AU Plant Station Building location Cabinet Board rack Plant Range

configurate plant

System Technique

Plant Management
Assemble Technique

Process Technique

Export/Backup Data Distribution Center

content in export record...

Customer Plant Management System Technique Process Technique System Elements

start export

Import Data Distribution Center

Selection import file

Selection import file

document assembly technique

Selection AU Assembly Tech. Documentation

Services

generate (csv file) documentation

preview spreadsheet document parameters OPM II System Technique Selection AU print spreadsheet

2.2.1.

Preadjustments for the Engineering


Before you begin with the engineering of TM 1703 mic, several basic settings are to be caaried out for the work with the TOOLBOX II: User and rights User-specific settings Workplace-specific settings Organization of the TOOLBOX II

These globally valid configuration parameters in the TOOLBOX II are displayed and set with the tool "TOOLBOX II Presets". They can - dependent on the access rights - be changed at any optional time. You find the details thereto in the TOOLBOX II User Manual, chapter "TOOLBOX II Presets" and chapter "Administration of TOOLBOX II".

40

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Administration

2.2.1.1. Users and Rights


Names of users (max. 8 characters) and roles (max. 20 characters) can be freely assigned. Each user can be assigned a special role. For each role, certain rights can be freely selected and assigned from a list. An exception are the unchangeable roles, that are reserved for the Siemens specialists for maintenance purposes. Depending on which role a user has been assigned, it is determined which functions he may control. The details thereto can be found in the TOOLBOX II User Manual, chapter "TOOLBOX II Presets", section "User/Role Administration".
Note All operation functions of TM 1703 mic described in this manual are generally applicable for the "Administrator" role available in the TOOLBOX II.

2.2.2.

Configure Plant
The plant configuration is entered centrally in the TOOLBOX II with the tool "Plant Management" and subsequently complemented, changed or deleted. The configuration data are parameterized in each case specifically for the various perspectives of the plant: Project technique System technique Assembly technique Process technique

The details thereto can be found in the TOOLBOX II User Manual, chapter "Plant Management".

2.2.3.

Import, Export, Backup of Engineering Data


With the tool "Data Distribution Center" the importing and exporting of parameters, as well as the creation of backup copies is enabled. The details thereto can be found in the TOOLBOX II User Manual, chapter "Data Distribution Center".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

41

Administration

42

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

3.
Contents

Engineering via Webbrowser

3.1. 3.2.

Telecontrol..........................................................................................................44 Automation .......................................................................................................103

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

43

Engineering via Webbrowser

3.1.

Telecontrol

3.1.1.

Offline Engineering
The following graphic shows the offline parameter setting of TM 1703 mic as flow chart.

Task:

create a new project

open an existing project

load a project

save a project

start WEBmic

new project

open project

write parameters to SIM card

read parameters from SIM card

SIM plant data

File

SIM

File filename filename source filename target

OK

OK

OK

OK

webbrowser (starts automatically)

project is written to the SIM card

projekt is written to the file

log on

edit projekt

apply parameters

projekt to SIM

projekt to file

project is written to the SIM card

projekt is written to the file

With the offline tool WEBmic the configuration of the parameters can be carried out without the target system. This means that there is no connection between parameter setting PC and master control module.

44

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

The parameters are written using WEBmic directly to the SIM card in the read-/write device or in a file.

Here only those steps are described that are relevant for the parameter setting offline. All further steps are described in section 3.1.3, Engineering Offline or Online.

3.1.1.1. Creating a New Project


Before you can begin with the parameter setting you must first create a project, in which the data for your system are managed. Proceed as follows: Click (double-click) in the Windows Explorer on the file WEBmic.exe to start WEBmic.

Click OK to close the Splash Screen.

The WEBmic symbol

now appears in the System Tray

Open the WEBmic pop-up menu by clicking on the WEBmic symbol with the right mouse button. Select NEW PROJECT.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

45

Engineering via Webbrowser

Under DESTINATION you can now select whether you wish to write the project data directly to the SIM card in the connected read/write device or to a file, or both in parallel. If there is no chipcard reader/writer installed the menu positions that refer to the SIM card are disabled (they appear as engraved text). In the CUSTOMER INFORMATION the name of the customer, the plant and the station are entered. The filename for the project data is automatically created from these entries.

Click on OK to create the project. Thereby, depending on the selection, either a projectspecific parameter file is generated or the SIM card is written. Both can also be performed in parallel. The file is given a name that is composed from the plant data and the type identification mic. If SIM CARD is marked, but no read/write device is installed or connected, the information Can't write to SIM Card appears.

46

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Save Parameters If the webbrowser has been started from a file via OPEN PROJECT or NEW PROJECT, then the parameter record is written to the file with each transfer of a parameter. If the webbrowser has been started from a SIM card via OPEN PROJECT or NEW PROJECT, then the parameter record is written to the SIM card with each transfer of a parameter.

3.1.1.2. Starting the User Interface Offline


The webbrowser is automatically started after the creation of the project. The initial mask of the user interface is opened.

After selecting the user and entering the password (refer to section 2.1.1, Preadjustments for the Engineering) you can now begin with the parameter setting.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

47

Engineering via Webbrowser

3.1.1.3. Hardware Configuration


As a basis for the parameterization of the peripherals, first the configuration of TM 1703 mic must be parameterized offline. After you have logged on, click in the menu tree on HW CONFIGURATION. In the configuration mask you can select the master control module and the available I/O modules. A TM 1703 mic supports max. 8 I/O modules.

An overview of the available master control units and I/O modules and their description can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration" (please consider also the "Configuration Rules"). The detailed description of the modules can be found in the chapter "System Elements". After selection of the modules save the settings with a mouse click on the button APPLY. Depending on the selection, the settings are stored on the SIM card or in the file.
Note A manual configuration of I/O modules is only possible offline. The configured HW configuration is compared with the configuration currently existing with a startup of TM 1703 mic. If no concurrence exists, an error message is generated.

Reset all Parameters Data points of I/O modules already configured can be reset to their default values by removing the corresponding module in the configuration, clicking the button Apply, and then reconfiguring the module. The associated data points are then present with their default values.

48

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.1.4. Save and Load Parameters


Offline, for these functions a SIM card read-/write device installed on the parameter-setting PC is necessary. In this case the webbrowser is not required.

3.1.1.4.1. Write Parameters to SIM Card


This function is used for transferring the parameters from a file on PC to the SIM card. To do this, click in the WEBmic pop-up menu on WRITE PARAMETERS TO SIM CARD. A browse window appears for selecting the source path and the source file. The fixed default file type is mic.Only this file type can be written to the SIM card. Then click on OPEN in order to write the parameters from the selected file to the SIM card. The write operation takes a few seconds. Take notice of the Active-LED on the read-/write device, if present.

3.1.1.4.2. Read Parameters from SIM Card


This function is used for transferring the parameters from the SIM card to a file, for example in order to duplicate the corresponding project. To do this, click in the WEBmic pop-up menu on READ PARAMETERS FROM SIM CARD. The read operation is started and takes a few seconds (Observe Active-LED on the read-/write device). A browse window appears for selecting the destination path and the destination file. The filename suggested is produced from the read-out plant data (CUSTOMER, PLANT and STATION NAME). The filename can also be renamed. The fixed default file type is mic. Then click on SAVE in order to store the parameters from the SIM card in the selected file.

3.1.1.5. Open Project


To edit an existing project, in the WEBmic pop-up menu click on OPEN PROJECT. In the dialog window you can select whether wish to work with a file or on a SIM card. There is a browse function available for selecting a file. After the selection, click on OK. The webbrowser is started automatically, the project is opened and the initial mask of the user interface offline is loaded. After successfully logging on, now the telecontrol parameters can be read and changed. Changes are stored with transfer to the file or to the SIM card respectively. On exiting the project, WEBmic asks whether it should also be stored on a SIM card. With this, you have the possibility of creating a SIM card and a consistent backup file in one operation.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

49

Engineering via Webbrowser

Project with old Revision Level If the project has been edited with an older revision level of WEBmic, a hint indication appears with the question, if the parameter setting shall be converted to the current revision level.

If you click NO, the project will not be opened. With the selection YES a converting of the parameterization takes placee, the webbrowser is started automatically, the project is opened and the initial mask of the user interface offline is loaded.
Note A converting can not be undone. A converted project is not downward compatible, it means that it can not be opened by WEBmic with a lower revision level.

3.1.1.6. Close Project


After the editing of a project offline, the project should be closed. To do this, in the WEBmic pop-up menu click on CLOSE PROJECT. As soon as you open a further project or a new one the current project is automatically closed. With a WEBmic session always only one project can be open. Whether a project is still open can be detected in the pop-up menu as long as the menu item CLOSE PROJECT can be activated.

3.1.1.7. Data Point Import and Export


So that the configuration of the data points can be managed externally, it can be imported into a project or exported from a project as a file. The advantage is for instance, that the configuration in the system management only needs to be performed once.
Note A configuration of data points created with the "OPM II" can be imported with WEBmic. Reversely a configuration created with WEBmic can be imported with the "OPM II".

The function can only be executed starting from an open project. The format of the import or export file is csv (comma separated value), that means, it concerns a table that can be opened and worked on both with an ASCII text editor and Microsoft Excel .

50

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.1.7.1. Data Point Import


The table must contain the following headings in the first row, in the text editor view the single columns must be separated with ";": MICDP (data point address) MICTEXT (short text) TI (type identification) CASDU1 CASDU2 IOA1 IOA2 IOA3

Only that data points are handled which belong to the CASDU1 and CASDU2 of the corresponding substation. Therefor the table may contain also not belonging data points, as for instance from all substations of the plant. To perform an import, click in the WEBmic pop-up menu on DATA POINT IMPORT (CSV FILE -> TM 1703 MIC). A browse window appears for selecting the source file. The file must be a text file of the type csv.

Remove Single Data Points If the type identification of an entry is 0 or 1, the corresponding data point (DP) in TM 1703 mic will be removed and set to "not used". The same applies also if IOA1/IOA2/IOA3=0/0/0. After selecting the text file with the parameters to be imported WEBmic asks whether data points that do not exist in the text file should be deleted in TM 1703 mic. You can thereby decide whether you wish to add only new parameters with the help of the table, or whether exactly the configuration from the table is to be stored in the opened project.

Acknowledge the message box with YES or with NO. After completed import a message box appears which displays the number of imported data points. So that the imported data points are applied in the opened project, the display on the user interface (webbrowser) must be updated. You achieve this either with the Update function of the Webbrowser or with repeated selection of the Input-/Output mask.
Note The updated project is only stored by clicking the button APPLY in any optional user mask. If the project is closed without an update having taken place, then the imported data are lost.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

51

Engineering via Webbrowser

3.1.1.7.2. Data Point Export


The export file contains in contrast to the import file the additional column MICSRC (module type, source of the data point)

If the project contains an application program, all the data points programmed in the optional Instruction List (IL) can be exported together with the data points configured for the telecontrol. To perform an export, click in the WEBmic pop-up menu on DATA POINT EXPORT (TM 1703 MIC > CSV FILE). Now a message box appears with the question whether the export should be performed with the data points used in the IL.

Acknowledge the message box with YES then a browse window appears for selecting the ILfile. After completed selection, confirm with OPEN. Then a browse window appears for selecting the destination file for the data points to be exported. Specify a filename and path. The default file type is set to csv. Click on SAVE to write the text file.

3.1.1.8. Duplication of a Project


If more than one TM 1703 mic is employed in a plant with the same or similar parameters, the possibility exists, with the help of WEBmic - based on a project already completely parameterized - to produce the required number of copies. Since in each case the copied projects can be written directly to a SIM card, for the commissioning of additional TM 1703 mic no PC is required. Prerequisite is, that the configured hardware corresponds to the configuration. The dialog for the duplication is started in the WEBmic pop-up menu by means of DUPLICATE PROJECT.

52

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Selection of Source and Target Select the source (parameter file, file type mic) in the dialog window under PAR using the Browse function. Select the target for the copy(s) by clicking on the check box for SIM CARD or for FILE. Both media can be written to simultaneously. If the check box SIM CARD is ticked and no SIM card is present, then the error message Not a valid I2C SIM Card! appears When working with SIM cards, besides the parameters an optionally available application program can also be duplicated at the same time. To do this, select the source (IL, file type plc) under PLC. In this way more than one TM 1703 mic can each be supplied with parameters and user-program code at the same time in one operation.

Insert Rows The corresponding number of rows must be inserted in the table depending on how many copies are to be created. Mark the 1 row or click in a field in this row. Now click with the right mouse button at any optional place in the table. The pop-up menu for editing the rows and values opens. It can be selected between two menu items: INSERT ROW Inserts 1 row before the marked row. INSERT ROWS By means of an entry a freely definable number of rows (value between 1 and 1000) is inserted before the marked row.
st

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

53

Engineering via Webbrowser

Duplication of Basis Parameters By clicking on the check box for FILENAME SAME AS STATION NAME the filename for the file(s) to be created is automatically derived from the station name. By clicking on the check box for ETHERNET IP ADDRESSE SAME AS SOURCE the IP-addresses for the copied projects are automatically set the same as the IP-address of the source project. As a result, in certain cases a simplified postprocessing of these parameters can be achieved. The basis parameters for the unambiguous identification of a station (a project) can be edited in tabular form: Station name CASDU1 CASDU2 Link address Ethernet IP address

These values can be entered manually or generated automatically. Automatically generated values can be postprocessed manually. Mark the column whose values are to be duplicated, or even the entire table. Now click with the right mouse button at any optional place in the table. The pop-up menu for editing the rows and values opens. It can be selected between two menu items:
FILL WITH FIRST VALUE
st

Copies the value of the 1 row to all subsequent rows. INCREMENT FROM FIRST VALUE The rows of the marked columns are written in each case ascending plus 1 from the value of the previous row. If the values from the first row have been retained, then the filename at least must be unambiguous. Otherwise always only one file can be written. All parameters of a project can be changed later with the user interface.

Creation of Project Duplicates After all rows are filled with the basis parameters the copies can be generated. The initiation is carried out manually and can take place in two different ways: Clicking the button SELECTED >> The projects listed in tabular form are created selectively by marking the row number(s). Clicking the button ALL >> All projects listed in tabular form are created. A copy is only then created if all parameters are entered. After the generation procedure to file, a message box confirms how many parameter files have been successfully generated. For the generation procedure to SIM card, the corresponding number of SIM cards must be available. WEBmic writes each copy to a SIM card and then asks you to insert a new SIM card in the read-/write device. This procedure repeats until all copies have been written. After the generation, close the dialog by clicking on the button CLOSE.

54

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.2.

Online Engineering
This section shows the peculiarities with online parameter setting. The following graphic shows the online parameter setting of TM 1703 mic as flow chart.

Task:

create a new project

open an existing project

load a project

save a project

Ethernet

serial

start WEBmic

set up modem connection

set Ethernet IP address (CP6040)

OK

start webbrowser manually IP address (serial: 172.16.0.1)

log on

edit project

load parameters (upload)

save parameters (download)

apply parameters

filename source

filename target

projekt is written to the SIM card

projekt is written to the SIM card

projekt is written to the file

Via the integrated Webserver the configuration of the parameters can be performed directly in TM 1703 mic. Prerequisite is an existing communication link between the parameter-setting PC and TM 1703 mic. In this case the parameters are written directly on the SIM card inside the target system.

Here only those steps are described that are relevant for the parameter setting online. All further steps are described in section 3.1.3, Engineering Offline or Online.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

55

Engineering via Webbrowser

3.1.2.1. Setting the TM 1703 mic IP Address

3.1.2.1.1. Serial TCP/IP Interface


The addresses for the serial interface are set by default and normally need not to be changed:
Parameter Own IP address Remote IP address Default 172.16.0.1 172.16.0.2 Meaning/Note address of the TM 1703 mic Webserver this address is assigned temporarily to the parameter setting PC by TM 1703 mic for the parameter setting session

3.1.2.1.2. Ethernet-TCP/IP Interface


The addresses for the Ethernet interface are set by default and normally need not to be changed:
Parameter Own IP address Subnetmask Default gateway Interface Default 172.16.0.3 0.0.0.0 0.0.0.0 half duplex Meaning/Note address of the TM 1703 mic Webserver 0.0.0.0. = not used 0.0.0.0. = not used the setting is dependent on the used transmission media and should be changed only in exceptional cases

For a point-to-point link an arbitrary IP address can be assigned to a TM 1703 mic (Webserver). The initial parameter setting can be done by selection of the default IP address 172.16.0.3, or with the function "write Ethernet IP address" of WEBmic. The Webserver assignes an IP address automatically to the parameter setting PC, if this is configured for the automatic takeover of an IP address. For a network link the addresses are to be set and administrated corresponding to your plant configuration. The initial setting can be done by selection of the default IP address 172.16.0.3, unless TM 1703 mic is located in another subnet.

Set Ethernet IP Address With the offline tool WEBmic the IP address of a TM 1703 mic can be set online via a menu item. This is in networks also possible via routers. The connection setup for the assignment of the IP address takes place in this case solely via the MAC address of TM 1703 mic. This is stated on a sticker on the rear of the master control module. Start WEBmic with a double click. The WEBmic splash screen appears on the monitor and the WEBmic symbol in the System Tray. Click OK on the splash screen to close it.

56

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Then click with the right mouse button on the WEBmic symbol in the System Tray and select SET ETHERNET IP ADDRESS (CP-6040). The window SET ETHERNET IP ADDRESS appears.

Now proceed according to the guide in the manual TM 1703 mic Installation, chapter "Parameter Setting Preparation". After the IP address has been transferred without error you can then access TM 1703 mic with the webbrowser. The IP address can also be changed via the user interface. If TM 1703 mic can no longer respond with the new address from the webbrowser, then the IP address can only be corrected again online with the help of WEBmic.
Note The writing of the IP address with the help of WEBmic is possible either via the serial interface or via the Ethernet interface.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

57

Engineering via Webbrowser

3.1.2.2. Starting the User Interface Online


Start the webbrowser of your PC, enter the previously parameterized IP address of TM 1703 mic in the command line (example: http://172.29.2.226) and transfer it. The initial mask of the user interface is opened online.

After selecting the user and entering the password (see section 2.1.1, Preadjustments for the Engineering) you can now begin with the parameter setting. When you are logged on, the start mask appears with the menu tree for navigating to the individual parameter-setting functions. Online all telecontrol parameters can be set in the same manner as offline. The only exception is the configuration of the I/O modules.

58

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.2.3. Automatic Hardware Configuration


With a startup TM 1703 mic learns the actually existing configuration of the modules. If a configuration is not yet set on the SIM card, then the modules are automatically transferred in the correct order in the menu tree. The same is valid when I/O modules are added (attached to an already set configuration). The parameters of newly detected modules are assigned with their default values. After the exchange of a module with a module of the same type the originally configured parameters are retained. If in contrast to the set configuration, I/O modules are removed or their order changed, then an error is signaled and the red ER-LED activated.

Reset all Parameters to Default Values After the resetting of the parameters a startup is executed automatically, and the current configuration of the modules is transferred to the dynamic menu tree. For further details, see section 3.1.3.1, System Settings, Reset all Parameters.

3.1.2.4. Save and Load Parameters


The telecontrol parameters stored in TM 1703 mic can be saved on a data medium, or read in from a data medium. By clicking on UPLOAD/DOWNLOAD in the menu tree the mask for parameter management opens.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

59

Engineering via Webbrowser

3.1.2.4.1. Download Parameters


This function is used for transferring the parameters from TM 1703 mic to a file (Download), for example in order to duplicate the corresponding project. The parameters can be transferred to a file as follows: Click with the right mouse button on DOWNLOAD PARAMETER (RIGHT CLICK, SAVE TARGET AS). A browse window opens for specifying the destination file and the destination path. The default filename is produced from the 3 names for customer, plant and station. The filename can be renamed, the suggested type identification mic should be retained for the access to the file by WEBmic. After confirming with OK the parameter record is read from the SIM card of TM 1703 mic and stored in the set file.

3.1.2.4.2. Upload Parameters


A parameter record stored in a file can be loaded into TM 1703 mic (Upload). The file can have been created previously with the function DOWNLOAD PARAMETERS or by creating a new project with WEBmic. As with Save, the file type mic should be used. The parameters can be transferred to TM 1703 mic as follows: Enter the name of the source path and the source file either directly in the input line or select these with the search function. With a mouse click on the button BROWSE a window opens, in which the source can be located. With a mouse click on the button OPEN the path and filename are transferred. To load the parameters click on the button UPLOAD. The parameter record is now written to the SIM card of TM 1703 mic. However, before it is checked, if the parameters are valid. If the parameters are not valid, an error information will be displayed.
Note For the transmission over Ethernet it is recommended to deactivate the settings for HTTP 1.1 on your PC (CONTROL PANEL | INTERNET OPTIONS | ADVANCED). Otherwise the possibility exists, that the transferred ASCII file of TM 1703 mic can not be interpreted.

60

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.

Engineering Offline or Online


Regardless of whether you enter into a project offline or online, you can set all telecontrol parameters System settings Time settings Communication Periphery

and configure the Decentral Archive.

3.1.3.1. System Settings


By clicking in the menu tree on SYSTEM SETTINGS the mask for setting the system parameters is opened.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

61

Engineering via Webbrowser

Changed parameters are stored on the SIM card or in the file by clicking the button APPLY. The setting of the compatibility mode is only active online after a startup.
Note Certain parameters are only active after change and application with a subsequent startup of TM 1703 mic (see section 3.1.4.2, Startup Request due to Parameter Modification).

The details relating to the parameters are described in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "System Settings".

Common Address of ASDU Enter an unambigous station address (CASDU1 and CASDU2). Both addresses together produce automatically the CASDU upon transfer. An inadmissible value is set to a value between 0 and 255.

Customer Information The initial set customer information (customer, plant, station name) can be changed at any time. The storage takes place upon transfer. After refreshing of the user interface the station name will be displayed in the header. The filename which is put together from the original customer information remains unaffected.

Parameterization via a TCP/IP Serial Link The default addresses need not to be changed since they are used temporarily for the parameter setting of TM 1703 mic. The "own IP address" will be assigned to the TM 1703 mic Webserver, the "remote IP Address" will be assigned to the parameter-setting PC, if this one is configured for obtaining the IP address automatically. For this, check the network settings of your PC under SETTINGS | NETWORK AND DIAL-UP CONNECTIONS | Local Area Connection | PROPERTIES | Internet Protocol (TCP/IP) | PROPERTIES.

Parameterization via a Ethernet TCP/IP Link The default addresses need not to be changed since they are used temporarily for the parameter setting of TM 1703 mic. An exception is the parameter setting online in a network. You can find the details thereto in section 3.1.2.1.2, Ethernet-TCP/IP Interface.
Note Apart from the system settings, the initial setting of the Ethernet IP address of a TM 1703 mic can be done also online with the function "Set Ethernet IP Address" of WEBmic.

Administrator Password and Guest Password The passwords to enter in a project can be changed at any time. A changed password is stored after transfer, the project remains open. A new logon into the project is only possible with concordance of the entry and the current password. It is differed between upper and lower case, special characters as "." or "/" are permitted. The procedure applies in the same manner for the users "Administrator" and "Guest".

62

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Usage of the D01 Output The output D01 on the master control unit can be used alternatively as watchdog, output or error output.
Note If the output D01 is used as watchdog or error output, then on the master control unit now only 1 information or command output (D00) is available. Then a double-command output via the master control unit is not possible.

Ax 1703 Error Message Enabled The Ax 1703 error message corresponds to the standard IEC 60870-5-101/-104 private range (TI135 FC148/4), further information see section 5.5.2, Ax 1703 Error Message.

Error Messages For the messaging of a sum error for the types "error" and "failure" a free address (IOA1, IOA2, IOA3) can be defined.

Remote Control via WEB Enabled The local Administrator thereby determines, whether the remote Administrator is given the same access rights or is restricted only to access one TM 1703 mic (see section 2.1.1.1, Users and Rights).

Compatibility Mode It can be differentiated, whether TM 1703 mic is connected with an automation unit of the older system family (SK-Mode) or the current system family (Ax-Mode).

Acquisition Grid of the TM Modules Basically the acquisition of the input signals is performed in a 10 ms grid. For fast applications, the possibility to reduce the acquisition grid to 2.5 ms exists. This option, however, is only possible in conjunction with special I/O modules (see TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration"). The selection can be done by means of a pull-down menu.

System Reset The RESET button for performing a startup of TM 1703 mic appears only in online operation. Further information thereto can be found in section 3.1.4.1, Initiate Startup.

Cause of Transmission ACTCON (7), ACTTERM (10) If the identifications for command confirmation (ACTCON) and command termination (ACTERM) are not used, all commands and set point commands sent to the PLC are changed from the global chronologic ring to chronologic ring (behavior like single-point information). The general interrogation (TI 100) is excluded.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

63

Engineering via Webbrowser

Reset all Parameters Online, all parameters can be reset to their default values. An already existing configuration is thereby lost and the parameter setting can be attached as with the creation of a new project. To do this, click on the button PARAMETER RESET and confirm with YES. The parameters are now reset and an automatic startup of TM 1703 mic is executed. The current configuration of the modules is thereby learned. The data of the automation function (optionally loaded IL) remain unaffected.
Note It must be considered that with the resetting of the parameters the IP addresses are also affected (serial and Ethernet). If no connection to TM 1703 mic can be established, a valid IP address must be set again (see section 3.1.2.1, Setting the TM 1703 mic IP Address.

Offline, the parameters can be reset only module by module by means of removing or exchanging a module in the Hardware Configuration. The default values for the individual parameters are specified in the TM 1703 mic CP60xx/CPC60 System Manual, chapter "Telecontrol", section "System Settings".

64

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.2. Time Settings


By clicking in the menu tree on PARAMETER | TIME SETTINGS the mask for setting the time parameters is opened.

The internal clock of TM 1703 mic is used for time-tagging of generated data (from the peripherals and optional IL). The time stamp has a resolution of 10 ms. The time is displayed in the header of the user interface online. Here the updating does not take place continuously, but rather with each updating of the webbrowser.

Settings With the help of pull-down menus the time zone and, if necessary, a rule for the summerwintertime switching can be adjusted. Changes are stored in the file or on the SIM card by clicking the button APPLY. In online operation the settings are immediately active (no startup required). With communication according to IEC 60870-5-104 the time can be synchronized via SNTP (Simple Network Time Protocol). To achieve this, the IP address of up to 4 SNTP servers can be entered, as well as the cycle time of the SNTP synchronization. The settings thereto reside within the mask PARAMETER | COMMUNICATION | PROTOCOL | SETTINGS under TIME SYNCHRONISATION (NTP). Additionally, the time can be set online manually. This is especially useful for the stand-alone mode (see section 5.4.4.2, Local Setting of the Time). Information concerning time synchronization resides within section 5.4.4, Diagnosis of the Time, and concerning the settings in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Time Settings".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

65

Engineering via Webbrowser

3.1.3.3. Configuration of the Communication Interface


By clicking in the menu tree on PARAMETER | COMMUNICATION | PROTOCOL | CONFIGURATION the configuration mask for the protocol is opened.

Here the type of communication can be selected: IEC 60870-5-101 multi-point traffic (serial) IEC 60870-5-101 dial-up traffic (serial) IEC 60870-5-104 Ethernet, LAN (only master control module with Ethernet interface) IEC 60870-5-104 Internet, GPRS No communication (stand-alone operation)

With a change to the type of communication, the configuration mask refreshes immediately with the respective specific parameters. Working online, the button APPLY must be clicked for this if necessary. The changed settings are stored by clicking on the button APPLY (SIM card or file). When parameterizing online a startup of the system is required, so that the settings become active.

66

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

The meaning and the value ranges for the individual protocol parameters are explained in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Communication Settings", in the respective subsections with the "Protocol Configuration".

Common Settings Independently from the type of communication, for each information object type can be defined whether a transmission shall be carried out with or eithout time tag. On selection multipoint traffic or dial-up traffic, the number of bytes for the standardized identifiers according to IEC 60870-5-101 Link address Common address of the ASDU (CASDU) Information object address (IOA) Cause of transmission (COT) Type identifiers (TI)

in the telegram header, as well as the Transmission rate (baudrate)

can be selected. This enables to reduce the data volume and to adjust the speed for the transmission to the master control to the transmission facility.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

67

Engineering via Webbrowser

3.1.3.4. Settings of the Communication Protocol


By clicking in the menu tree on PARAMETER | COMMUNICATION | PROTOCOL | SETTINGS the settings mask for the protocol is opened.

Here, according to the selected type of communication, the specific settings can be performed. Changes are stored by clicking on the button APPLY (SIM card or file). With parameter setting online the settings are subsequently active, no startup is required. The meaning and the value ranges for the individual protocol parameters are explained in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Communication Settings", in the respective subsections relating to the "Protocol Settings".

68

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Exceptional Settings for Dial-up Traffic Optionally can be sent an SMS independently from the process communication upon state change of up to 8 definable data points (phone number adjustable). For TM 1703 mic an automatic monitor can be set. At a fixed time the substation tries to set up a connection to the master control. The time for the communication setup is free settable (hour, minute). If in the network at a defined moment a connection setup is carried out already (example: counter interrogation), delay times can be prevented as long as the monitoring function is triggered temporal as far as possible from that moment.

Selection "no Communication" Optionally SMS can be sent. The preconditions for this are like for SMS upon dial-up traffic.

3.1.3.5. Configuration of Inputs and Outputs


TM 1703 mic makes available integrated functions for the technological preparation of the inputs/outputs (preprocessing of signals, postprocessing of signals). In a TM 1703 mic a maximum of 8 I/O modules can be operated. The following module types are supported: Binary input module Binary output module Analog input module Analog output module Speed acquisition module

In addition to this, the master control modules are also equipped with binary inputs/outputs. Corresponding to the set configuration of the modules, their names can be found again in the menu tree under the menu item PERIPHERY. The same structure is also located under the menu item HW DOCUMENTATION.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

69

Engineering via Webbrowser

In the mask PARAMETER | PERIPHERY | <module name> | CONFIGURATION the respective modulespecific inputs or outputs appear.

Module specific a list of the pins and their settings appear. These settings specify type, name and information object address (IOA) of each data point. Here, the inputs/outputs fixed assigned to the I/O module can be freely assigned from the hardware to data points in the software.

Assignment of Inputs/Outputs to Information Objects Each I/O module is equipped with an individual number of physical input/outputs, that are used for the acquisition or the output of electrical signals. In the configuration mask, for each I/O module the module-specific inputs/outputs appear automatically together with the assigned parameters. The assignment of the electrical signals to an I/O module is carried out according to the relative terminal assignment. Based on the order of the configured modules, the system calculates an absolute data point address (DP) for each input and output. This is unambiguous within a TM 1703 mic. Via parameter setting the electrical signals are assigned to information objects. Each information object is given an information object address (IOA1, IOA2, IOA3) for unambiguous identification. This address is used for assigning the electrical signals for communication (telecontrol) and for control (automation). In the default is IOA1=DP, IOA2=0, IOA3=0. Alternatively for each information object an optional IOA (respectively between 0 and 255) can be parameterized. The exact details thereto can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Architecture", section "Addressing of the Information Objects".

70

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Altogether up to 256 data points can be configured. In addition, a long text of up to 10 characters can be freely assigned to each data point. This text is used both in the Documentation as well as for a logging of the respective data point in the Display Event List. Assignment of information objects and inputs/outputs:
Type Single-point information Double-point information Integrated total Measured value Meaning information acquisition information acquisition count pulse acquisition current acquisition voltage acquisition temperature acquisition 2-wire 3-wire 4-wire speed acquisition frequency acquisition 1 impulse input 1 impulse input 2 successive impulse inputs Single command command output 1-pole 1-pole *) 2-pole *) Double command command output 1-pole 1-pole *) 2-pole *) Single-Point Information Setpoint command Setpoint command
*)

Connection 1 binary input

Scope

2 successive binary inputs 1 binary input 1 analog input 1 analog input 1 analog input

1 binary output 1 binary output + 1 binary output for group relay 2 successive binary outputs 2 successive binary outputs 2 successive binary outputs + 1 binary output for group relay 4 successive binary outputs 1 binary output 1 analog output 1 analog output

binary information output current output voltage output

does not apply for master controle module I/Os and DO-6200

The precise description of the different information objects and the type identifiers (TI) can be seen in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Process Periphery".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

71

Engineering via Webbrowser

3.1.3.6. Settings of the Inputs and Outputs


In the mask PARAMETER | PERIPHERY | <module name> | SETTINGS depending on the modulespecific configuration, name and type of the assigned inputs/outputs appear automatically with their specific parameters. The exact description of the module specific parameters and value ranges is - structured by information object type - in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Process Periphery".

Distinction "Class 1 Data"/"Class 2 Data" Each information object in monitoring direction (inputs) can be assigned to the Class 1 or to the Class 2. This assignment is specified in the standard IEC 60870-5-101/-104, and serves for the priorization of information objects for the transmission by the communication function: Class 1 Data: If several data points are to be transmitted to the central station (spontaneous or on request) at the same time, the Class 1 data will be sent before the Class 2 data (priority). With dial-up traffic data of the Class 2 lead to a spontaneous connection setup and data transmission. Class 2 Data: If several data points are to be transmitted to the central station (spontaneous or on request) at the same time, the Class 2 data will be sent after the Class 1 data. With dial-up traffic the connection setup and the data transmission takes place only upon interrogation by the central station.

72

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.6.1. Binary Information Acquisition


For the acquisition of single-point or double-point information a digital input module must be configured. The local inputs on the master control module can be used also.

Class 1 Data By means of selection via the corresponding check box a binary information is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission to the central station takes place upon each change of state of the binary information (exception: Class 2 data with dial-up traffic).

Inversion of Binary Information Items (Digital Inputs) With an Inversion the state of a signal from the hardware is output inverse from the allocated information object in the software (open-circuit/closed-circuit principle). For double-point information items the OFF and ON contact can be inverted seperately. This is useful, if for example a feeder signal is configured as closed-circuit contact, and the other one as open-circuit contact.

Intermediate State Suppression Time for Double-point Information Items An intermediate state is given if an actuator (disconnector, valve etc.) is not in a final position. In case of a fault (gear defect, open-circuit signaling contact etc.) this must be reported.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

73

Engineering via Webbrowser

During the natural run time of the actuator (from OFF to ON or CLOSED to OPEN etc.) however, a fault message must not be output. Therefore the intermediate state message can be suppressed by an adjustable time. Only at expiration of the monitoring time and still present intermediate position, the fault is reported.

3.1.3.6.2. Counting Pulse Acquisition


For the acquisition of binary information items a digital input module must be configured. The local inputs on the master control module can be used also.

Class 1 Data By means of selection via the corresponding check box an integrated total is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the integrated total to the central station takes place interval controlled (exception: Class 2 data with dial-up traffic).

Setting of the Mode for the Counter Freeze and Transmission This parameter defines how the integrated total is generated: in a certain time interval by means of an external counter interrogation

74

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Setting of the Interval Control The local interval control serves for the autonomous freezing and transmitting of counting values to the central station. It is active after startup of TM 1703 mic, even if no time is set in the system yet. The counting value is frozen and transmitted spontaneously to the central station in the adjusted time-scale. With dial-up traffic a counting value of the Class 2 is only frozen. Example: quarter hour values

interval time to be set = 15 minutes results following freezing and transmission moments: HH:00:00 HH:15:00 HH:30:00 HH:45:00 If instead of the interval control a counter interrogation is adjusted, the counting value is only frozen and transmitted on request by the central station.

Overflow Counting Value (Value Range) Exceeding the adjusted value range (parameter "overflow at") the "carry" bit (CY) is set and the counting is continued with 0. At the next transmission the current integrated total is sent with the "carry" bit, and the "carry" bit is reset again. There is no "overflow" bit (OV) available.

Counter Groups Each counting value can be classified to a group (adjustable group 14). Due to individual defined criteria, the counter groups can be requested independently from the master control (spontaneous information object "counter interrogation").

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

75

Engineering via Webbrowser

3.1.3.6.3. Current and Voltage Acquisition


For the acquisition of currents and voltages an appropriate analog input module must be configured.

Class 1 Data By means of selection via the corresponding check box a current value or a voltage value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the current or voltage value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).

76

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.6.4. Temperature Acquisition


For the acquisition of temperatures an analog input module AI-6310 must be configured.

Class 1 Data By means of selection via the corresponding check box a temperature value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the temperature value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).

Connecting Resistance Thermometers The resistance thermometers can be connected using 2-, 3- or 4-wire technique. The I/O module supplies the constant current needed for the measurement. In 2-wire technology, it is necessary to compensate for the voltage drop on the measuring circuits by means of a calibration process, during which so-called calibration-values are created. If a calibration process has never been performed, this is signaled by the diagnostic message factory calibration for 2-wire technology not performed. The instructions for the Connection of Resistance Thermometers exist in the appendix C.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

77

Engineering via Webbrowser

Note In 3- and 4-wire technology, it is absolutely necessary to connect the common (IREFx,y-) and, in 4-wire technology, in addition the current source output (IREFx+) directly to the resistance thermometer.

3.1.3.6.5. Frequency Acquisition


For the acquisition of frequencies a module TE-6420 must be configured.

Class 1 Data By means of selection via the corresponding check box a frequency value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the frequency value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).

78

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.6.6. Speed Monitoring


For the acquisition of revolutions per minute a module TE-6420 must be configured. It is recommended to use a CP-6040 since all the online functions are considerably faster via the Ethernet than via the serial interface. Further, using a CP-6020 the communication must be interrupted for an online function.

Frequency of Pulses and Acceleration Time Constant Specify the frequency of the pulses at maximum speed, as well as the time which the generating unit needs to reach the maximum speed. With these values the measured speed is corrected during startup of the machine.

Speed Measured Value Output By means of assignment of an IOA the speed value can be output via a digital output. The anlog value output is provided for the local display only, it can not be used for a protective function. At failure of the speed monitoring module the last value remains active. Via the corresponding check box you can decide whether the value is output with (marked) or without (not marked) sign.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

79

Engineering via Webbrowser

Assignment of the Single-Point Information "Guide Vane Closed" During standstill a speed signal may be bouncing due to vibrations. Using two sensors this bouncing can be suppressed by means of this information. If this signal does not exist or the guide vane is open, a speed is detected and depending on the range the outputs are set. Instead of "guide vane closed" an equivalent information like "nozzle closed" can be allocated. By means of assignment of an IOA unequal 0/0/0 for the digital input signal, you can decide whether the single-point information is used.

Assignment of the Error Information By means of the respective assignment of an IOA, the error information acquired by the speed monitoring can be output via digital outputs. A fault of the speed contacts is present if the difference of both speeds is greater than the set value (then the signal with the smaller value is set to "faulty"). upon open-circuit.

During running machine a sensor fault does not lead to a malfunction. After a shutdown, however, there is no direction noted and no outputs are set. A fault of the sensor signals should be considered in the startup/shutdown sequence of automatic operations.

Permitted Deviation of the Sensor Signals Through the staggered mounting of the sensors a speed change can be detected earlier from one signal than from the other one. The parameter should be >=1%.
Note If the deviation is set too small, error messages may occur upon change of small speeds.

Setting the Speed Limits Dependent on the speed value up to 14 events can be defined. By means of the respective entry of an IOA unequal 0/0/0, the therefore required digital outputs can be defined. Enter for the activation of the desired output a threshold value and an operate lag, and for the termination a hysteresis. You can define the monitoring direction by means of selection greater/smaller (raising/falling speed). With a configuration with 2 sensors you can define the sense of rotation by means of selection foreward or backward. Normally the threshold values are performed as make contacts. If a break contact functionality is desired, the output must be set inverse. Example: desired resolution at 130% nominal speed greater than 130% with a hysteresis of 5% smaller than 125% with a hysteresis of 5%

with make functionality with break functionality

80

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Setting the Standstill Detection By means of entry of an IOA unequal 0/0/0 a digital output for the output of a standstill information can be defined. For the activation of the function enter the number of speed pulses and the monitoring time within the speed pulses are counted up. For the activation and termination of the digital output you can enter a common delay time.

Setting the Creep Detection By means of entry of an IOA unequal 0/0/0 a digital output for the output of a creep information can be defined. For the activation of the function enter the number of speed pulses, from which the digital output shall be activated (the value must be smaller than that for the standstill detection).
Caution With an impulse frequency greater than 4.1Hz the creep contact will be reset (this must be considered in the sequence of automatic operations). The creep detection is active only with closed guide vane.

Setting the Measured Value Parameters These parameters are only active for the communication link, the measured value to the analog output is transmitted cyclically.

Speed Measured Value for the Communication The measured value is generated as absolute value only. If a directional speed value is desired, an applicational solution via the PLC (IL) is possible. For the generation of a value with sign, both parameterized data points "hand of rotation backward" and "hand of rotation forward" can be evaluated.

Class 1 Data By means of selection via the corresponding check box a speed value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the speed value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).

Single-Point Information Items for the Communication By means of selection via the corresponding check box you can define whether all the information shall be sent also to the communication (marked) or not (not marked).

Error Output D01 By means of selection via the corresponding check box you can define whether the error output of the master control element shall be used (marked) or not (not marked). This digital output can be used for instance to initiate an emergency closure.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

81

Engineering via Webbrowser

3.1.3.6.7. Command Output


For the output of commands (OC) an appropriate digital output module must be configured. The local outputs on the master control module can be used also.

Return Information Monitoring The parameter "Command termination (TERM)" specifies the time, within which the return information assigned to an output command must arrive. If the return information of the actuator does not arrive within this time, an error message takes place. The time value can be selected independently of the command output time. The adjustable time value applies for all the commands of the respective I/O module.
Note In order to avoid errors in the signaling of an unsuccessful command initiation, the state information monitoring time should be longer than the command output time.

82

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Secured Commands Besides the standard command output TM 1703 mic provides the command output with internal checks (IC) and the command output with resistance check (RC1). For the realization of secured commands the corresponding digital output modules must be configured (mask HW CONFIGURATION in the menu tree): 1 digital output basic module 1 up to 7 digital output modules.

The guidelines thereto can be found in the CP-60xx/CPC60 System Manual, section "Hardware Configuration Rules". The detailed description for the checked commands can be found in the CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Pulse Command Output".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

83

Engineering via Webbrowser

3.1.3.6.8. Binary Information Output


For the output of binary information items an appropriate digital output module must be configured. The local outputs on the master control module can be used also.

Terminate or Keep Output For single-point information items the behaviour at the output can be adjusted for the case that the communication to the master control fails. Terminate output The information output will be reset (logical "0"). Keep output The information output will be "frozen" with the last output state.

84

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.6.9. Current and Voltage Output


For the output of currents or voltages an analog output module AO-6380 must be configured.

Keep Output/Send Substitute Value For current and voltage setpoint values the behaviour at the output can be adjusted for the case that the communication to the master control fails. Keep output The last output value will be "frozen". Output substitute value The value which is entered in the field SUBSTITUTE VALUE will be output.

Input of the Ranges Normalized and scaled values.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

85

Engineering via Webbrowser

3.1.3.7. Decentral Archive (DEAR)

3.1.3.7.1. Common
The Decentral Archive serves for the archiving of data points that are used in the telecontrol function or in the automation function. The Decentral Archive can be configured online (Webserver) or offline (WEBmic), just like the settings for data points of the telecontrol function. Data points of the automation function can be configured only online automatically (see section 3.1.3.7.4, Archiving Data Points from PLC).

3.1.3.7.2. Configuration of DEAR


First the archive must be configured. To do this, click in the menu tree Decentral ARCHIVE | CONFIGURATION to enter the parameters.

Timeout for Filetransfer With this parameter it is defined when the data transmission will be cancelled if a disturbance occurs during a file transfer (connection error etc.).

86

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Address Subdirectory, File The main directory has got its fixed address (IOA1=0, IOA2=0, IOA3=0). The addressing of the subdirectory and of the first file can be chosen freely. The addresses of all the subsequent files will be calculated automatically. This means, that the second file has the same address as the first file, but the value of the IOA1 is incremented by one and so on (see example below).

Recording Grid for Measured Values This parameter defines the recording grid (the cycle time) for measured values. It can be set from 1 to 60 minutes.

Number of Bytes for CASDU, IOA, COT in the Archive You can select the format of saving the entries into the archive. If there is a control system which needs another format for the CASDU, IOA or COT you can define this with the help of these parameters. The parameters only affect the entries in the DEAR, however, it will not affect any other data in your automation unit.
Note It is not possible to call the archive from more than one different control system which use different settings for the number of bytes for CASDU, IOA, COT, because the settings for these parameters affect the whole archive of a automation unit.

Memory Configuration Archive With the help of this parameter it is possible to select the configuration of the archive stored on the SIM card. You may select this parameter referring to your field of application. The smaller the bandwidth of your communication line is the smaller the separated files should be.

Spontaneous Transmission of Directory List It is possible to transmit the directory list spontaneously. This behavior is specified in the IEC 60870-5. It means, that whenever there is a change in the directory list (one file was written, or an old file was deleted), this change may be reported to the control system. However, since upon initialization of a file transfer the control system asks for the directory list anyway, it is not useful to transmit the directory list spontaneously.
Note The addresses that are calculated automatically are not shown in the webbrowser. If such an address is set in the parameterization of the telecontrol function within TM 1703 mic, an error message occurs on attempt to apply.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

87

Engineering via Webbrowser

3.1.3.7.3. Archiving Data Points from Peripheral Elements


Click in the menu tree on DECENTRAL ARCHIVE | DATA POINTS PE and an automatically generated list of the data points available through the configuration of I/O modules appears. The desired data points for the entry in the archive can be marked by clicking the respective checkbox ARCHIVE.

88

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.7.4. Archiving Data Points from PLC


If you want to store data points in the Decentral Archive that are programmed in the IL, the respective addresses (IOA) must be entered in a list, and marked by clicking on the respective checkbox ARCHIVE. You reach the list by clicking on DECENTRAL ARCHIVE | DATA POINTS PLC in the menu tree.

Note After a cold restart all the data points which are used un the IL are entered automatically into the list. If necessary, the selection for the archive can be changed manually.

After filling out the list click on the button APPLY. The system checks automatically if the datapoints are available, and adds the correct type identification for each datapoint.
Caution By a later change of the Instruction List (IL) or change of addresses in the parameter setting (periphery) the datapoint numbers may change. During startup TM 1703 mic checks if the assignment of the datapoint number to the information object address and the type identification is valid. If this is not the case, the complete archive will be deleted and an error information is recorded in the History Diagnosis.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

89

Engineering via Webbrowser

3.1.3.8. Documentation
Both online as well as offline the current hardware configuration is created automatically on the user interface and displayed in the form of tables. The tables can be printed out directly from the webbrowser. Click in the menu tree on HW DOCUMENTATION. The submenus appear for Overview PS-66xx Protocol Master control unit DI Master control unit DO IOM 0 IOM 1 IOM 2 IOM 3 IOM 4 IOM 5 IOM 6 IOM 7

The order and number of the I/O modules corresponds to the configured configuration. The clicking the individual submenus you get to the respective hardware configuration.

3.1.3.8.1. Overview
Parameter Slot Output acc. to configuration Meaning/Note power supply (PS) master control unit (MCU) I/O module (IOMx) supported module types see in TM 1703 mic CP-60xx/CPC60 System Manual the text can be entered here

Type

acc. to configuration

Operational equipment designation

10 characters

90

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.3.8.2. Power Supply Module


Parameter Customer/plant/station CASDU1/CASDU2 Operational equipment designation Pin Terminal Display acc. to system settings acc. to system settings acc. to overview module specific module specific terminal designation Meaning/Note

3.1.3.8.3. Protocol
Parameter Customer/plant/station CASDU1/CASDU2 Protocol Display acc. to system settings acc. to system settings acc. to protocol configuration IEC 60870-5-104 (Ethernet)/ IEC 60870-5-101 dial-up traffic (serial)/ IEC 60870-5-101 multi-point traffic (serial)/ no communication modem, radio, ring, direct pin and signal assignment of the cable to the transmission facility signal name Meaning/Note

transmission facility Cable assignment Signal

acc. to protocol configuration acc. to transmission facility acc. to transmission facility

3.1.3.8.4. I/O Modules


Parameter Customer/plant/station CASDU1/CASDU2 Operational equipment designation Pin DP unit Type connector type Text IOA1/IOA2/IOA3 Terminal
*)

Display acc. to system settings acc. to system settings acc. to overview module specific module specific acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings

Meaning/Note

only for AI (current/voltage acquisition)

only for AI (temperature acquisition) only for DO and AO relevant

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

91

Engineering via Webbrowser

3.1.4.

Commissioning and Test


Via access to the integrated Webserver of TM 1703 mic (user interface online) operating functions that serve for test, commissioning and diagnostics of the telecontrol function can be executed: Startup Reset all parameters to default values Process visualization state of inputs/outputs simulation of outputs Event list

3.1.4.1. Initiate Startup


A startup of TM 1703 mic can be initiated independently of a parameter change, by clicking the button RESET in the menu PARAMETER | SYSTEM SETTINGS.
Note After a change of the IP address of a TM 1703 mic a startup is always executed automatically. The same is applicable if the parameters are reset to default values (see section 3.1.3.1, System Setting, Reset all Parameters).

Warning A startup has also consequences for the automation function (if used). For details thereto refer to section 3.2.2, Commissioning and Test.

3.1.4.2. Startup Request due to Parameter Modification


Certain parameters can only be activated after a startup of the systems. In this case the indication line parameter active after reset appears in the mask title, as soon as changed parameter has been transferred. Even further parameters also in different masks can be changed, before all are switched active together by means of a startup. The startup can be executed with a click on the interactive part Reset in the indication line.

92

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Parameters that require a Startup due to Modification


Menu/Submenu System settings Communication | Protocol | Configuration Ethernet Type Parameter compatibility mode acquisition grid of TM modules configuration of the protocol transmission facility max. message length monitor direction type identification own IP address remote IP address configuration of the protocol transmission facility max. message length baud rate link address bytes link address bytes CASDU bytes IOA bytes COT bytes time tag monitor direction type identification power supply modem configuration of the protocol transmission facility max. message length baud rate link address bytes link address bytes CASDU bytes IOA bytes COT bytes time tag monitor direction type identification power supply modem DLC frequency range radio circuit identifier relay operation monitoring timeout type class 1 data inversion IEC 60870-5-101 group (RQT) in case of communication failure keep output/terminate output unit type (all parameters) unit type (all parameters) (all parameters) (all parameters)

Communication | Protocol | Settings Communication | Protocol | Configuration

Ethernet dial-up traffic

Communication | Protocol | Settings Communication | Protocol | Configuration

dial-up traffic multi-point traffic

Communication | Protocol | Settings

multi-point traffic

Periphery | Configuration

DI

Periphery | Settings Periphery | Configuration Periphery | Settings Periphery | Configuration Periphery | Settings Periphery | Configuration Periphery | Settings

DO AI AI AO AO TE TE

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

93

Engineering via Webbrowser

3.1.4.3. Test Functions

3.1.4.3.1. State Display of Inputs and Outputs


The states of the binary and analog inputs/outputs can be visualized online. To do this, click in the menu tree on VISUALIZATION and then on the required module.

The updating does not take place continuously and if required must therefore be retriggered with a repeated click on the required module, or by clicking on VIEW | REFRESH in the webbrowser.

94

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Binary Inputs
Type Single-point information Double-point information Off On Off On faulty position intermediate position value State Format binary binary faulty position = on & off intermediate position = not on & not off & monitoring time expired depends on parameterized frozen value Meaning/Note

Integrated total

31 bit 24 bit 2 decades BCD 3 decades BCD 4 decades BCD 5 decades BCD 6 decades BCD 7 decades BCD 8 decades BCD 9 decades BCD

Binary Outputs
Type Single-Point Information Single command double command Off On Off On Off On State Format binary binary binary Meaning/Note

Analog Inputs
Type Current State 100%100% 3200032000 3200032000 100%100% 3200032000 3200032000 50C350C (-58F662F) -100C700C (-148F1292F) -60C250C (-76F482F) Format normalized scaled floating point normalized scaled floating point floating point Meaning/Note format corresponds to the parameterization of the AI module format corresponds to the parameterization of the AI module

Voltage

Temperature

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

95

Engineering via Webbrowser

Analog Outputs
Type Current State 100%100% 3200032000 3200032000 100%100% 3200032000 3200032000 Format normalized scaled floating point normalized scaled floating point Meaning/Note format corresponds to the parameterization of the AO module format corresponds to the parameterization of the AO module

Voltage

Speed acquisition
Type Frequency State 210000Hz Format floating point Meaning/Note

96

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.4.3.2. Simulation of Outputs


Binary and analog outputs can be simulated online with the help of the webbrowser. It is to be observed thereby, that the state of a simulated output can change automatically due to running application program (state change through logic operation) the communication (state change in receive message)

Warning The manual controlling of outputs with the plant running can lead to damage to persons and machines. Ensure that aggregates in the control area of the command output as well as those subsequent aggregates in the process chain are protected and that persons in the vicinity are warned.

Binary Outputs By selecting in a pull-down menu, depending on which state it is in, you can set and transfer a binary output either to ON or to OFF. Only one output can be written for each transfer. The following manual control possibilities are provided:
Type Single-point information Single command Off On command output time without identifier 2) short command output time 3) long command output time 3) Double command Off On Command output time without identifier 2) short command output time 3) long command output time 3)
1) 2) 3)

Choice 1 binary output

Scope 1)

1 binary output 1 binary output + 1 binary output(group relay) 2 successive binary outputs 2 successive binary output 2 successive binary output + 1 binary output(group relay) 4 successive binary output

dependent on the settings of the digital outputs the command output time corresponds to the parameterization of the respective data point the command output time corresponds to the parameterization of the digital output module

Analog Outputs You can set and transfer an analog output to any optional value within the type-specific value range. Only one output can be written for each transfer.
Type Current Choice -100%100% -3200032000 -3200032000 -100%100% -3200032000 -3200032000 Format normalized scaled floating point normalized scaled floating point Scope 1 analog output Note format corresponds to the parameterization of the DO module format corresponds to the parameterization of the DO module

Voltage

1 analog output

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

97

Engineering via Webbrowser

3.1.4.4. Display Event List


By selecting the mask DECENTRAL ARCHIVE | EVENT LIST in the menu tree, the display of events (process information) can be reached. In the event list all the spontaneous datapoints which are configured in the substation will be logged chronologically upon a change of state. The time tagging has a resolution of 1ms and is carried out automatically by the firmware, just as the logging. The event list records up to 100 signaling entries. For this the firmware utilizes a ring buffer, which means if the signaling buffer has been fully written, the respective oldest signal entry is overwritten by the most current.

Structure of the Information in the Event List


Parameter Time TI Output DD.MM.YYYY hh:mm:ss:ms Single-point information Double-point information Single command Double command Setpoint value 0255/0255/0255 10 characters Spontaneous Act Actcon Actterm State On Off Faulty Intermediate <Value> NT IV Remote Local <Empty> From PE to COM From PE to PLC From COM to PE From COM to PLC From PLC to PE From PLC to COM From WEB Selected Not selected Time tag Information object, type identification Meaning/Note

IOA1/IOA2/IOA3 Text Cause

Set IOA Set signal text Information from periphery or application program Command or setpoint value via communication or Operation Command confirmation Command termination ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input At failure of I/O module If value invalid Via communication Via operation (webbrowser) Not determinable origin or from I/O module Shows source and target of a data point (data flow): PE COM PLC WEB periphery communication programmable logical controller (IL) manually controlled via webbrowser

Quality Location

Direction

Arch.

Indication whether data point is archived in DEAR

98

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.4.4.1. Save Event List


For documentation or archiving purposes the current content of the event list can be exported and stored in a file locally on your PC.

Download Event List as CSV file (Comma Separated Values) In the subgroup DOWNLOAD EVENTLIST (TM 1703 MIC -> PC) click with the right mouse button on the link DOWNLOAD EVENTLIST AS CSV-FILE (RIGHT CLICK, SAVE TARGET AS). Specify the name and path for your destination file in the browse window. The default file type is csv. Then the file can be opened as Microsoft Excel table or also with a text editor.

Download Event List as XML file (Extensible Markup Language) In the subgroup DOWNLOAD EVENTLIST (TM 1703 MIC -> PC) click with the right mouse button on the link DOWNLOAD EVENTLIST AS XML-FILE (RIGHT CLICK, SAVE TARGET AS). Specify the name and path for your destination file in the browse window. The default file type is xml. Then the file can be opened with the webbrowser.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

99

Engineering via Webbrowser

3.1.4.4.2. Clear Event List


The current event list can be cleared by clicking on the button CLEAR and then confirming the query with OK. Subsequently an empty mask appears with the status information event list cleared in the header. With a new selection in the menu tree one returns to the event list.
Note The event list is also cleared if the voltage supply of TM 1703 mic is interrupted for at least 10 s.

3.1.4.5. Local Reading of the Decentral Archive (DEAR)


By selecting the mask DECENTRAL ARCHIVE | DOWNLOAD in the menu tree you reach the display of the current file directory. In the DEAR all the spontaneous datapoints which are configured to store in the archive will be logged chronologically upon a change of state. Commands and binary information in receive direction are also included.

Structure of the Information in the DEAR


Parameter Time TI Output DD.MM.YYYY hh:mm:ss:ms Single-point information Double-point information Single command Double command Setpoint value 0255/0255/0255 10 characters Spontaneous Act Actcon Actterm State On Off Faulty Intermediate <Value> NT IV Time tag Information object, type identification Meaning/Note

IOA1/IOA2/IOA3 Text Cause

Set IOA Set signal text Information from periphery or application program Command or setpoint value via communication or operation Command confirmation Command termination ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input At failure of I/O module If value invalid

Quality

100

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.1.4.5.1. Save DEAR


The current content of DEAR is stored in one or several files.

Download DEAR as CSV file (Comma Seperated Values) In the subgroup DOWNLOAD EVENTLIST AS CSV (TM 1703 MIC -> PC) click with the right mouse button on that link, which contains the desired recording period and select SAVE TARGET AS. Specify the name and path for your destination file in the browse window. The default file type is csv. Then the file can be opened as Microsoft Excel table or also with a text editor.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

101

Engineering via Webbrowser

Download DEAR as XML file (Extensible Markup Language) In the subgroup DOWNLOAD EVENTLIST AS XML (TM 1703 MIC -> PC) click with the right mouse button on that link, which contains the desired recording period and select SAVE TARGET AS. Specify the name and path for your destination file in the browse window. The default file type is xml. Then the file can be opened with the webbrowser.

3.1.4.5.2. Clear DEAR


The DEAR is stored on the SIM card. The archive can be deleted automatically (information in the menu DIAGNOSIS | OVERVIEW) after power failure during the writing of a file on the SIM card if the SIM card is plugged into another master control element

Note Upon request of the superior control center system a file transfer may happen. While this process is running an operation or display via the webbrowser can not take place. Attempting to select a HTML page, then the information occurs that at this time a display is not possible.

102

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.

Automation

3.2.1.

Creating an Application Program as Instruction List (IL)


For the creation of an Instruction List an ASCII Editor (for instance Microsoft Notepad ) is required. The programming takes place independently from the target system. The loading into the target system is performed by the integrated Webserver of TM 1703 mic. The instructions thereto reside within section 3.2.2.3.2, Save and Load PLC Code.

3.2.1.1. Structure of an Instruction List


The structure of the application program consists of 3 parts (execution in this order): Startup (PLC_RESET) The startup part is run through once after a startup. Here all variables can be initialized, that are required directly after startup and before the current initial image. Initialization (PLC_INIT) The initialization part is run through once after a startup. Here all variables can be initialized, that are required directly after the current initial image and before the execution of the cycle part. Cycle (PLC_START) The cycle part is run through cyclically. Here, the open-/closed-loop control function is programmed.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

103

Engineering via Webbrowser

Note The system provides only one task. The cycle time is definable by means of parameter PLC_CYCLETIME in the IL. The value can be changed dependent on logic operation by the application program.

3.2.1.2. Syntax for Instructions

3.2.1.2.1. Common
Each instruction command must be in one line. Each line must be concluded with a paragraph break, line break or both (done automatically by the text editor). An instruction command consists of the command (operation) and an operand. Example:

LD

M_BOOL_TEST

(*command: LD

operand: M_BOOL_TEST*)

Each operation produces a calculated value (result). The following operation can calculate further with this result.

3.2.1.2.2. Addressing of I/O Variables


The format of an I/O variable must correspond with the respective input/output of the periphery. A command or setpoint value is assigned to an I/O variable by an ST operation and the address of the operand. A state or value of an I/O variable is read by an LD operation and the address of the operand. Example for the simple syntax: I_030_001_000_000_TEST.VALUE 0_031_005_001_000.OFF Example for the expanded syntax: E_045_001_001_001_002_003_TEST.VALUE or E_045_001_001_001_002_003.VALUE The attribute of the I/O variable must be separated by a ".". An I/O variable without attribute is not allowed.
Note If the same IOA is used input- and output side, the freely definable Name must be different.

104

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.1.2.3. Addressing of Flags


A flag is assigned by an ST operation and the address of the operand. The value of a flag is written by an LD operation and the address of the operand. The number format must be chosen according to the format of the value to be stored. Example: LD ST
Note At startup all flags which are not signed as "retain" are initialized with "0".

I_030_002_000_000.VALUE M_BOOL_FLAG00

3.2.1.2.4. Call of Functions


Functions have only temporary variables, therefore with each call all necessary call parameters must be set. Not used call parameters do not affect the result on execution of the function. Example: If an addition (ADD) of 3 values is performed, then the inputs IN0, IN1, IN2 are used. The remaining inputs are automatically set to "0". The writing of inputs of a function must always begin with IN0 and take place in ascending order without gaps. The call parameters must be interchanged with a combination of LD and ST. The name of the call parameter is produced from the name of the function and the name of the parameter separated by a ".". Example:

LD 9 ST SQRT.IN0 tion*) CAL SQRT ST ADD.IN0 function*) LD 17 ST ADD.IN1 CAL ADD ST M_DINT_RESULT

(*load value 9 into the accumulator*) (*store at input for square root func(*call function*) (*store result from*) (*square root function at input 0 for ADD (*load value 17 into the accumulator*) (*store at input 1 for ADD function*) (*call function*) (*store result in a flag*)

The results of the respective functions are written in the accumulator. In the example the value is also stored on the flag M_DINT_RESULT. After the call of a function (CAL) all inputs of the respective function are set to the default values again.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

105

Engineering via Webbrowser

Example:

LD M_DINT_COMPARE ST EQ.IN0 LD 3 ST EQ.IN1 CAL EQ ST O_030_008_000_000.VALUE the function is set to 1*)

(*load flag*) (*store at input 0 for equal function*) (*load value 3*) (*store at input 1 for equal function*) (*call function*) (*if both values are equal the output of

If a comparison of two values is performed, the output is set if the flag M_DINT_COMPARE is written with 3 (the writing of the flag is not included here).

3.2.1.2.5. Call of Function Blocks


Function blocks do not have any temporary variables. Each new (derived) function block occupies a new memory in the RAM. Respectively the first result of the function block is written in the accumulator. If a function block has more than one result, then this can be accessed as with the parameter transfer. Example:

LD ST ST LD ST CAL LD

1 CTU_TEST.CU CTU_TEST.R 5 CTU_TEST.PV CTU_TEST CTU_TEST.CV

(*access to 2nd result*)

3.2.1.3. Instruction Comments


Comments in the application program can be set at any arbitrary place and must begin with "(*" and end with "*)". The documentation can also extend over several lines. Example:

LD ST

15 M_DINT_CONSTANT

(*load constant 15*) (*store in a flag*)

106

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.1.4. Settings in the Application Program


By means of predefined system variables the following parameters can be set for the program execution: Cycle time Spontaneous program execution Data flow control

3.2.1.4.1. Setting the Cycle Time


The cycle time determines the time interval for the execution of the Instruction List. The shorter the set interval is the smaller must be the IL, otherwise the processing time is exceeded. A cycle time of 2ms for instance is only possible for very small Instruction Lists. The cycle time can be specified in the IL with the variable PLC_CYCLETIME: In the program part PLC_RESET. Time-scale is set one time with a startup. In the program part PLC_START. Time-scale is set during running operation and can be changed by means of the application program. Example:

PLC_RESET: LD 20 ST PLC_CYCLETIME

(*set cycle time 20ms*)

If the cycle time is set to the value "0", no cyclic program execution takes place. Under certain circumstances the cycle time can be changed independently by the system: If no cycle time is set, it is set to 100ms (default). Extended due to exceeding of the processing time Retriggering due to spontaneous program execution

Affecting the Processing Time The processing time is the duration of a program run of the complete IL. It is primarily determined by the size of the IL (number of operations).
Note It is to be considered, that the processing time of an application program can be variable. Amongst other things, it is also influenced by control operations using the webbrowser.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

107

Engineering via Webbrowser

The processing time can be extended due to: Number of communication connections (to further automation units, control system) Number of I/O modules on the TM-Bus Relative program calls Diagnosis and error handling Test- and commissioning functions such as status and simulation of inputs/outputs Saving the IL (Download) Change of parameters online

The processing time of the application program is displayed on the user interface (online) under PLC | DIAGNOSIS.

Exceeding Processing Time The processing time must not be greater than the cycle time. If the maximum processing time successively exceeds 50% of the set cycle time five times, then the cycle time is increased by 50% independently by the system. Simultaneously an error information is set (error number 033, see section A.2, Errors from Hardware and Software).

3.2.1.4.2. Spontaneous Program Execution


For faster reaction times, the application program can be executed spontaneous (eventcontrolled). This must be defined in the startup part of the IL (PLC_RESET). Possible events are: Change of state of a data point from the periphery Change of state of a data point from the communication

The spontaneous program execution is enabled in the IL by setting the variable PLC_SINGLE to "1" ("single run"). Example:

PLC_RESET: LD 1 ST PLC_SINGLE

(*set single processing*)

With a spontaneous program execution the entire application program is processed one time. If an event occurs just when the application program would run, then the spontaneous program execution is first started after the current program execution has completed (the application program cannot interrupt itself). The reaction time can therefore be delayed accordingly. If several events occur at the same time or one after the other just when the application program is running, then the states are temporarily stored in a ring and processed chronologically with the next spontaneous program execution. The same is also valid if a data point changes its state several times (transient storage). For further details refer to the TM 1703 mic CP60xx/CPC60 System Manual, chapter "Automation", section "Internal Signal Processing".

108

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

At the end of each spontaneous pass the cyclic pass is retriggered around the set cycle time. In this case no exceeding of the cycle time is signaled. As long as the events occur in a time-scale that is smaller than the cycle time, only spontaneous program passes take place. If the cycle time is set to "0" and the spontaneous program execution to "1", then only spontaneous program passes take place. Example: Event occurs during a cyclic program execution (S1). Event occurs during a pause (S2).

C S1

S2

tC

tP

tC

tP

tD tC

tP

tP

tC

tP

C S

cyclic processing spontaneous processing

tP tD tC

processing time delay time cycle time

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

109

Engineering via Webbrowser

3.2.1.4.3. Data Flow Control


With the variable PLC_TX_DATAFLOW_xxx (xxx = typ identifier) in the IL it can be determined, how the input signals from the periphery are to be forwarded. The parameter setting is carried out seperately for each type identification and must be programmed in the startup part of the IL (PLC_RESET): Send to the controller (PLC_TX_DATAFLOW_xxx = "0"). This applies to signals that are to be logically linked further, but are not forwarded to either the central station or to the control system. Send to the controller and to the communication (PLC_TX_DATAFLOW_xxx = "1"). This applies to signals that on the one hand are logically linked further, but on the other hand are to be provided directly for the central station or for the control system.
1)

Control

Periphery
2)

routing implicit via the address

Code

Communication

1) Data from the communication are sent either direct to the periphery or to the control. 2) Data from the periphery are sent either direct to the communication or to the control. By means of a systemvariable the data flow can be directed in such a way, that the data from the periphery are sent direct to the communication as well as parallel to the control.

Example:

PLC_RESET: LD 1 ST PLC_TX_DATAFLOW_030 (*all single-point information is to be sent parallel to the PLC AND to the communication*)

Automatic Routing of the Data Points In the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Automation", section "Automatic Routing of the Data Points" exists a listing of the routing possibilities for data points which are used within the IL.

110

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.1.5. System Information in the Application Program


By means of predefined system variables the following information items can be evaluated in the control logic: System time Processing time Processing time exceeded (yes/no) Number of program runs Moment of the last parameter change System error

For further details, refer to the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Automation", section "System Variables".
Note The system information is are also displayed in the user interface (online) under the PLC Diagnosis.

3.2.1.6. Command Processing according to IEC 61131


If a command (Activation, ACT) is generated by the controller and output to a peripheral element, then the messages for command acknowledgement (ACTCON) and command termination (ACTTERM) are generated with the corresponding output address of the controller. If the output address of the controller is the same as the input address, then both messages are automatically transmitted again to the controller. If an ACT remains in the controller (target = controller, no periphery), then an ACTCON, ACTTERM that is to be possibly simulated can be generated in 1 cycle pass. For this the cause of transmission for the command must be set to 0 and the spontaneous bit to 1. Then one ACTCON and one ACTTERM respectively will be transmitted. Example:

LD ST LD ST

0 0_045_001_001_001.COT 1 0_045_001_001_001.S

If this function is not used, the ACTCON and ACTTERM can also be generated individually (for this at least 2 cycle passes are required).
Note As of Revision 14 of the firmware CPC60 the corresponding type identification can be generated by means of utilization of the command "with/without time" (for instance TI 45/TI 58). With lower revision level only tipe identifications without time can be generated (for instance TI 45).

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

111

Engineering via Webbrowser

Single Command and Double Command Single commands (TI 45) can be generated by the IL only with the states 0 (OFF) only with COT = 7, 10 (CON, TERM) and S = 1 1 (ON) Double commands (TI 46) can be generated by the IL only with the states 01 (OFF) 10 (ON) Other states will not generate a command.

3.2.1.7. Generation of Integrated Totals


There are two possibilities of integrated total generation in the controller Spontaneous transmission with change. Automatically if the input address is unequal to the output address of the controller. Behavior according to parameter setting of the digital inputs (remote control). Automatically if the input address is equal to the output address of the controller.

3.2.1.8. Reading System Errors


With the system variable PLC_SYSERROR_xxx (xxx = error number) in the IL system errors can be read and linked further. An overview of the system errors can be found in section A.2, Errors from Hardware and Software. Example:

PLC_START LD PLC_SYSERROR_006 ST M_BOOL_ERROR006

(*queue overflow class 2 if bit="1"*) (*store in a flag*)

112

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.2.

Commissioning and Test


The integrated Webserver of TM 1703 mic contains functions for the loading and saving of data, test, commissioning and diagnostics. These functions can be executed with the user interface online: Startup Configuration Diagnosis Test functions state of inputs/outputs simulation of outputs

3.2.2.1. Initiate Startup (Warm Restart)


A startup of TM 1703 mic can be initiated in two manners: Operation of the telecontrol function (see section 3.1.4.1, Initiate Startup) Switchover between blocked and enabled program execution (see Configuration)

Internal Procedure With a startup of TM 1703 mic all flags, times and counters used in the application program are set to "0". All flags that are identified as non-volatile (retain), are loaded from NV-RAM. The entire input process image of the controller is initialized with the current state of the periphery. All other data are initialized with the following values:
Variable T, PN, COT ORIGINATOR OV, S, GI, SB, BL, IV, CLASS1, CA, CY, SQ NT User data Time 0 0 0 1 0 01:01:2000 00:00:00.000 Value

The controller starts the operation only after the initialization.


Note The communication (serial or Ethernet) is first begun after one single, complete pass of the cycle part of the application program (PLC_START).

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

113

Engineering via Webbrowser

3.2.2.2. Startup due to Application Program Change (Cold Restart)


After the loading of the application program, a startup is requested by TM 1703 mic and performed automatically. This relates to the following possible operating functions (see Configuration): Upload PLC Code Recompile PLC Code Erase PLC Code

Internal Procedure The newly loaded IL is converted upon startup of the system automatically by a compiler and written in a separate area of the Flash-PROM (checksum secured). If the compiler detects a syntax error (violation of the language conventions), then the PLC is stopped. In the masks DIAGNOSIS | OVERVIEW and DIAGNOSIS | HISTORY DIAGNOSIS the sum error PLC syntax error PLC halted is reported. On the master control module the red ER-LED lights up. If the compiler detects no error, two startups are carried out. Subsequently the application program is processed from the Flash-PROM. After the loading of the application program the sector of the NV-RAM is initialized for the controller (either according to default or with the explicitly specified initialization values, see in section 3.2.1.4, Settings in the Application Program). The syntax errors are displayed in the mask PLC | DIAGNOSIS under ERROR WHILE COMPILING. In the mask PLC | DEBUG it is displayed, whether the PLC is running or is stopped.

114

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.2.3. Configuration
The functions for managing the optional IL are located in the menu tree under PLC | CONFIGURATION.

The following functions are available: PLC program execution disable enable PLC Code Upload Download Recompile Erase from SIM card

To execute automation functions there must be an appropriate IL on the SIM card of the master control module. The IL can not be programmed directly on the SIM card, but rather only created in the form of a text file on the PC. This file can then be transferred online to the SIM card.
Note The larger the IL the longer the loading and saving takes. The same is also applicable for the startup operation, as well as all access- and screen updating times.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

115

Engineering via Webbrowser

3.2.2.3.1. Enable and Disable PLC Program Execution


With this function the execution of the application program can be disabled or enabled. With disabled program execution the automation function is not active. For the data points that are used in the IL the data flow changes: Data from the periphery are then sent directly to the communication, data from the communication are sent directly to the periphery. To switch over, under PLC PROGRAM EXECUTION select between DISABLED and ENABLED and click with the mouse on the button APPLY. The indication Parameter active after reset appears, since a startup of the system is required for activating the switchover. The startup can be initiated directly by clicking on the interactive text reset. With disabled program execution all variables (flags, timers and counters) remain reset, and the outputs at their parameterized state. After renewed enabling, likewise a startup must be carried out. The startup- and the initialization part of the application program are then processed, before the cyclic program execution begins. If the application program is disabled at the moment of a pass, then it is first processed completely and then remains stationary at the beginning (line 0). The test functions (see section 3.2.2.5, Test Functions) are irrelevant with program execution disabled.
Note If no application program is loaded the program execution must be disabled, otherwise the red ER-LED lights up and the information PLC enabled no PLC code available is output in the diagnosis.

3.2.2.3.2. Save and Load PLC Code

Save PLC Code This function is used for saving the application program loaded in the PLC on the PC (online).
TARGET AS).

Click with the right mouse button on the logic operation DOWNLOAD PLC CODE (RIGHT CLICK, SAVE A browse window appears for selecting the target path and the target file. The suggested file type plc should be retained. Subsequently click on the button SAVE to write the file.

The target is a text file, that contains the application program code in ASCII format. The file can be edited with any optional text editor (e.g. Notepad).

Load PLC Code This function is used for loading the application program from PC to the SIM card in TM 1703 mic (upload). To do this, enter the source path and the source file in the input line UPLOAD PLC CODE, or use the button BROWSE to select the source file using the Browse window. Then click the button UPLOAD in order to write the IL to the SIM card.

116

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

After loading an IL and subsequent startup, TM 1703 mic performs a Cold Restart. After that, the PLC is running the application program cyclically or spontaneously.
Note For the transmission over Ethernet it is recommended to deactivate the settings for HTTP 1.1 on your PC (CONTROL PANEL | INTERNET OPTIONS | ADVANCED). Otherwise the possibility exists, that the transferred ASCII file of TM 1703 mic can not be interpreted.

Save PLC Code (Offline) Alternatively the application program can also be read from the SIM card offline with the help of WEBmic and stored in a file. For this, the SIM card must be inserted in a read-/write device installed on the parameter-setting PC. To do this, in the WEBmic pop-up menu click on the function READ PLC FROM SIM CARD. A browse window appears for selecting the target path and the target file. The file type plc is fixed defined. Subsequently click on the button SAVE to write the file.

Load PLC Code (Offline) Alternatively the application program can be written offline from a file to the SIM card with the help of WEBmic. For this, the SIM card must be inserted in a read-/write device installed on the parameter-setting PC. To do this, in the WEBmic pop-up menu click on the function WRITE PLC TO SIM CARD. A browse window appears for selecting the source path and the source file. The file type plc is fixed defined. Subsequently click on the button SAVE to write the file.

3.2.2.3.3. Recompile PLC Code


After an IL is loaded it is automatically compiled in the machine language specific for the system. By means of a mouse click on the button PLC RECOMPILE this can be performed again at any time. The function is first activated with confirmation of a query. Subsequently a startup (cold restart) is required, which the system executes automatically. All variables, including the non-volatile flags, are reset to their default values.

3.2.2.3.4. Erase PLC Code from SIM Card


With a mouse click on the button PLC ERASE the IL is erased from the SIM card. The parameters remain unaffected by this. An already existing IL is overwritten with renewed loading of an IL, therefore no erasing is necessary. The function is only activated with confirmation of a query. Subsequently a startup is required, which the system executes automatically.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

117

Engineering via Webbrowser

After each startup of the system, one must log on again. On the user interface the following information appears:

SIM Card writing. This procedure can last up to 30 seconds. PLC compiling. This procedure can last up to 40 seconds. In case of use of the serial interface the PPP connection must be reestablished. TM 1703 MIC Homepage (172.29.2.226)

The underlined output line is a hyperlink to the start page of the currently processed station (the IP address specified here is to be regarded as an example).

3.2.2.4. PLC Diagnosis


By clicking on PLC | DIAGNOSIS in the menu tree the PLC diagnosis mask is opened. Here the capacity of the CPU and the compiler errors (maximum 5 error messages) are displayed:
Message Program running Program stopped at <Zeile> Cycle Time Meaning normal program execution program execution halted, specification of the program line in which the program is halted current cycle time the application program can be halted either manually or by the system due to an error if no cycle time is programmed it is set to 100ms by the system increase of the set cycle time by the system is possible (see section 3.2.1.4.1, Setting the Cycle Time) Current processing time processing time of the application program at the moment the diagnosis window is updated maximum achieved processing time of the application program since the last startup single processing programmed details of the program memory occupied on the SIM card details of the program memory occupied in RAM details of the program memory occupied in NV-RAM display of the program errors that occurred compiling the IL 0 = no 1 = yes size of the Instruction List flags and parameters of function blocks storage of non-volatile flags syntax, logic, false addressing exceeding of the limits for application program size, cycle time, memory cells Note

Maximum processing time Single pass <Number> bytes from 16378 bytes code used <Number> bytes from 1024 bytes RAM used <Number> bytes from 256 bytes retain RAM used Compiling errors

118

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

Outputs in the Diagnosis Mask Example: Cycle time set to 20 ms

program is running cycletime (PLC_CYCLETIME): 20 ms actual processing time (PLC_PROCESSINGTIME): 2 ms maximum processing time: 8 ms single processing on/off (PLC_SINGLE): 0 2750 bytes from 16378 bytes code used 35 bytes from 1024 bytes code used 0 bytes from 256 bytes retain RAM used error while compiling: E00: no error

Example: Cycle time increase by the system

program is running cycletime (PLC_CYCLETIME): 45 ms actual processing time (PLC_PROCESSINGTIME): 15 ms maximum processing time: 19 ms single processing on/off (PLC_SINGLE): 0 16123 bytes from 16378 bytes code used 35 bytes from 1024 bytes code used 0 bytes from 256 bytes retain RAM used error while compiling: E00: no error

In the example, the processing time successively exceeded the 50% of the programmed cycle time (20 ms) five times and therefore the system has increased the cycle time to 30ms. After again 50% of 30 ms has been exceeded five times in succession (max. processing time 19 ms), the system has again increased the cycle time by 50% (30 ms + 50% = 45 ms).

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

119

Engineering via Webbrowser

3.2.2.5. Test Functions


In the mask PLC | DEBUG there are functions for test commissioning. In the lower adjustable part of the mask the application program code (IL) loaded on the SIM card is output. Here the application program code can be read online, but not changed.

The following test functions are available: Program execution Start Stop Stop at a command line Stop dependent on variable

Variable Read Write

120

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via Webbrowser

3.2.2.5.1. Start and Stop Program Execution


By means of the selection START or HALT and mouse click on the button APPLY you can halt or start the program execution. Depending on the state the display changes in the mask PLC is running or program halted at <line>. If the program execution remains halted after a start attempt, there is an error or the program execution is disabled. Read the error messages under DIAGNOSIS | HISTORY DIAGNOSIS or under PLC | DIAGNOSIS. In contrast to the function DISABLE PLC PROGRAM EXECUTION (see section 3.2.2.3.1, Enable and Disable PLC Program Execution) a startup is not necessary to start and stop the program execution. After transfer of the stop command, a pass of the application program that has already begun runs to the end, the application program remains stationary at the beginning of the cyclic execution (PLC_START). The momentary signal states are thereby retained, and variables can be read out and overwritten. The data flow does not change, the data points from the communication and from the periphery continue to be sent only to the controller. After a renewed start command, the application program begins again at the beginning of the cyclic execution (without pass of the startup part and the initialization part).

3.2.2.5.2. Stop Program Execution at a Command Line


The program execution can be halted at an optional command line of the IL by entering the number of the program line in the input field HALT PLC AT LINE and clicking the button APPLY.

3.2.2.5.3. Stop Program Execution dependent on Variable


The program execution can be halted by comparing a variable with a constant. For this, enter the name of the variable in the input field VARIABLE, select the required comparison operation (==/</<=/>=/>) and enter the value at the right beside it. As soon as the comparison is fulfilled, the application program is processed to the end and halted at the beginning of the cyclic part.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

121

Engineering via Webbrowser

3.2.2.5.4. Read and Write Variable


The current values of variables can be read out or manually overwritten (simulated). Both are only possible with enabled program execution. The test function processes only the variables used in the IL. All type-specific attributes are supported. The syntax of the variable must correspond to the conventions for I/O variables and flags (see TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Automation", section "Variables". When simulating a variable the format of the input value must correspond with the data type (BOOL, DINT, REAL). Always only one variable can be interchanged at one moment. Permissible variable types are: Binary input Binary output Analog input Analog output Flags

System variables, functions and function blocks have no test function.

Read Variable In the corresponding pull-down menu select READ. Write the name of the variable together with attribute in the input line or copy it from the IL. Then click on the button APPLY. The current value of the variable is displayed in the field WITH/IS.

Write Variable In the corresponding pull-down menu select WRITE. Write the name of the variable together with attribute in the input line or copy it from the IL. Then click on the button APPLY. Enter the simulated value in the field WITH/IS. Then click on the button APPLY to write the variable with the value.
Note With application program running the simulated value of a flag is statically overwritten. In contrast to this, inputs/outputs are not statically overwritten, rather only with a change to their process image (edgetriggered). With application program stopped simulated values are retained.

After switching over between writing and reading, the button APPLY must be clicked in order to transfer the command. The writing or reading of a value takes place with each further click of the button APPLY.

122

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

4.
Contents

Engineering via TOOLBOX II

4.1. 4.2.

Telecontrol........................................................................................................124 Automation .......................................................................................................132

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

123

Engineering via TOOLBOX II

4.1.

Telecontrol
The acquisition, description, parameter setting and documentation of the process-technical process and its associated data points for the automation system is enabled in the TOOLBOX II with the help of the tool "OPM II" (Object Orientated Process Data Manager).

Overview of the fundamental procedure for the parameter setting of TM 1703 mic
Tasks in Logical Order:
define customer and process technical plant (with wizard) configurate plant OPM II define system technical plant (with wizard) Customer Process Technical Plant Niederlassung Nummer System Technical Plant Region AU

configurate AU with modules

HW FW Configuration

Basic System Element Protocol Elements Peripheral Elements

set telecontrol parameters OPM II

System Technique

System Functions

select AU/BSE set parameters save define images set parameters save

Process Technique

Periphery Protocols System Data

translate parameters OPM II

System Technique

automatically when saving Target System SAT1703... selection AU user defines the moment

Process Technique

load parameters OPM II

selection AU

Load parameters

124

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.1.1.

Starting the TOOLBOX II


Upon initial start of a tool of the TOOLBOX II user name and password must be entered (refer to section 2.2.1, Preadjustments for the Engineering). After that you can begin with the parameter setting. The user logout can be carried out with the tool "Presets TOOLBOX II" through the menu AUTHORIZATION | LOGOUT. You can continue to operate tools that are still active, but the activation of tools requires another login. If all tools are quit without logout, the user will remain logged in unless a logout from the Toolbox PC (or Toolbox Server) takes place.

4.1.2.

Configure Plant
A plant is configured according to four different perspectives: Project technique System technique Assembly technique Process technique

With the initial creation of a plant, the configuration data are input into the TOOLBOX II with the tool "OPM II". The entry of the parameters is thereby supported by "Wizards". The administration of the plant configuration is carried out with the tool "Plant Management" (refer to section 2.2.2, Configure Plant). The plant topology is determined based on the parameter setting of the configuration data.

4.1.3.

Configuration of the Hardware


With the tool "HW-FW Configuration" the separate slots of automation units can be configured with system elements: Basic system element Peripheral element

No individual I/O modules are configured, rather only entire peripheral elements. In the System Technique of the "OPM II" the peripheral element will be added automatically with the maximum of 8 I/O modules and the maximum 40 I/Os each in the plant tree. By means of attaching a data point from the process technique to an I/O in the system technique the I/O module is specified (for example binary input module).
Note Please take in account that the system-technical assignment of I/Os fits to the physical configured I/O modules.

An overview of the available master control units and I/O modules and their description can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration" (please consider also the "Configuration Rules"). The detailed description of the modules can be found in the chapter "System Elements".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

125

Engineering via TOOLBOX II

4.1.3.1. Adding or Removing an I/O Module


Depending on whether a peripheral element is removed or added in the HW-FW Configuration, or an I/O module is removed or added physically, in the "OPM II" System Technique different changes must be carried out.
Action Add HW-FW Configuration Parameterize with the tool "HW-FW configuration" in the corresponding automation unit. "OPM II", window SYSTEM TECHNIQUE the peripheral element is then automatically added with a maximum extension of 8 I/O modules in the plant tree. Now signals (hardware pins and software data points) can be attached to this peripheral element. Remove Delete with the tool "HW-FW configuration" in the corresponding automation unit. "OPM II", window SYSTEM TECHNIQUE the peripheral element, together with attached signals (hardware pins and software data points), is then automatically deleted from the plant tree. "OPM II", window SYSTEM TECHNIQUE the signals attached for the concerning I/O module must be deleted from the plant tree (pop-up menu DELETE ASSIGNMENT). The changed parameters must be converted with the tool "OPM II", function DESTINATION SYSTEMS | SICAM 1703 TRANSFORMER and subsequently transmitted to the target system with the tool "Load parameters". If the parameter changes required are nor carried out, TM 1703 mic detects the removed peripheral element or I/O module as failed (error message). Physically No change with the tool "HW-FW configuration". "OPM II", window SYSTEM TECHNIQUE attach the signals (hardware pins and software data points) for the new I/O module. Note If the corresponding parameter changes are not carried out, this has no effects on TM 1703 mic. The added peripheral element is in this case ignored by the firmware of the master control element.

126

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.1.4.

System Technique/Process Technique


The system-technical and the process-technical parameters are set in the TOOLBOX II with the tool "OPM II". The information concerning the operation can be found in the TOOLBOX II User Manual, chapter "OPM II". The description of the system-technical and process-technical functions can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

127

Engineering via TOOLBOX II

4.1.4.1. System-technical Settings


The parameter setting is carried out in the plant tree of the window SYSTEM TECHNIQUE, under the selected basic system element: Common settings of the system elements Topology Time management Data Flow Communication (protocol)

Under the level of the Ax peripheral bus, the configured peripheral elements with the processtechnical signals, which have been set in the window EDIT IMAGE, are displayed: Hardware pins Software data points

By means of the context menu of a hardware pin, function EDIT IMAGE, one directly reaches the process-technical parameter setting.

4.1.4.2. Process-technical Settings


The definition of process-technical signals (I/Os) and their parameters for the technological processing takes place in the plant tree of the window EDIT IMAGE, below the selected station: Addressing Preprocessing of signals Postprocessing of signals

The description of the technological processing of inputs and outputs (process peripheral signals) can be found in the manual TM 1703 mic CP-60xx System Manual, chapter "Telecontrol", section "Process Periphery". The description of the parameters can be found in the TOOLBOX II User Manual, chapter "Parameter Documentation".

4.1.4.3. Configuration of the Communication Protocol


The protocol is determined by configuring a protocol element suitable for the existing application and its parameter setting.

4.1.4.4. Transform Parameters


Before loading into the target system, the set parameters of the process-technical plant must be transformed. This is carried out with the tool "OPM II" through selection of the function DESTINATION SYSTEMS | SICAM 1703 | SICAM 1703 TRANSFORMER. System-technical parameters are automatically transformed when saved. Further details can be found in the TOOLBOX II User Manual, chapter "OPM II", section "Transform and Load", "CAEx plus".

128

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.1.4.5. Upload Parameters


The loading of the parameters of a process-technical plant from PC to the target system takes place with the tool "OPM II" via the context menu of the automation unit (right mouse button, PARAMETER | LOADING). All parameter settings, that have been performed in the TOOLBOX II, are thereby stored together on the SIM card in the master control element: Configuration parameters System parameters Process-technical parameters (if previously parameters have been transformed) Application program (if previously Code has been generated)

After the loading of the parameters a startup of the target system is performed automatically. In the error output window of the "OPM II" the display Parameters are loaded and up to date appears subsequently. For the loading of the parameters there are different variants available. The details thereto can be found in the TOOLBOX II User Manual, chapter "Parameter Loader".
Caution During a loading operation, the switching off of the master control element is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.

4.1.4.6. Parameter comparison


With the parameter comparison function it can be ascertained whether the parameter status in the destination system is current. The comparison can be started with the tool "OPM II" via the context menu of the automation unit (right mouse button, PARAMETER | COMPARISON). In the error output window of the "OPM II"appears the display whether the parameters of the selected automation unit are current or not current.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

129

Engineering via TOOLBOX II

4.1.5.

Documentation
The documentation of all engineering data of a TM 1703 mic system is created with the help of the TOOLBOX II.

4.1.5.1. HW Configuration
The documentation of the automation unit slots occupied with system elements can be created with the tool "HW-FW configuration". The output takes place optionally as preview on the screen or to a printer.

4.1.5.2. Assembly Technique


With the tool "Assembly-technical Documentation" the assignment of all hardware pins within an assembly-technical plant can be documented. The output takes place to a file as table (format csv). Selection options: All automation units Selected automation units All system elements of an automation unit Selected system elements of an automation unit The following information is displayed: Physical structure of the system element System-technical address of each pin within a message Process-technical address of each pin within a message General information about a pin (long text) Assignment of the pin to a link image in "OPM II" The details thereto can be found in the TOOLBOX II User Manual, chapter Engineering Manager EM II, section "Assembly Technique Documentation".

4.1.5.3. Interface to Elcad


For the coupling with the design tool ELCAD, it is possible to transfer images that are attached to a TM 1703 mic system element via this defined interface. The output takes place to a text file (format asc). The generation of the file takes place with the tool "OPM II" via selection of the function DESTINATION SYSTEMS | SICAM 1703 | SICAM 1703 TRANSFORMER. The details thereto can be found in the TOOLBOX II User Manual, chapter "OPM II", section "Elcad".

130

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.1.5.4. Telecontrol Function


The documentation of the system-technical and process-technical parameters can be created with the tool "OPM II". The output takes place optionally as preview on the screen or to a printer. System-technical parameters Window SYSTEM TECHNIQUE: Documentation of a selected automation unit or a system element. Process-technical parameters Window EDIT IMAGE: Documentation of a selected hierarchical level. Window BULK EDIT: Documentation of the current content (process-technical addresses and parameters). The details thereto can be found in the TOOLBOX II User Manual, chapter "OPM II", section "General", section "Documentation".

4.1.6.

Test Functions
Note The online test functions provided by the TOOLBOX II are not supported for TM 1703 mic. Online test functions are only available via a webbrowser.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

131

Engineering via TOOLBOX II

4.2.

Automation

4.2.1.

Creating an Application Program as Function Diagram (FUD)


For TM 1703 mic freely definable open-/closed-loop control functions can be realized as Function Diagram. For the creation of a Function Diagram the TOOLBOX II, tool "CAEx plus" is required.

Overview of the fundamental procedure for the programming of TM 1703 mic


Tasks in logical order:

configurate external signals OPM II

define images for... spontaneous messages periodical data points from periphery

translate paramets OPM II

CAEx plus: Variable Import/ Code Generation

user defines the moment

edit function chart CAEx plus

Edit Signals

use of process technical signals from OPM II

simulate function chart CAEx plus

selection of ressource

Offline Simulation (test of the function chart logic without target system)

generate code CAEx plus

selection of ressource

Code Generation

load code OPM II

selection of AU

Load parameters

132

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.2.1.1. Restrictions for the Creation of a Function Diagram


Blocks and data types. In the type instance and in the application blocks of the AU library, only blocks and data types supported by TM 1703 mic can be dragged and dropped into. For not supported blocks and data types appears a one-way sign. For an easy operability a TM 1703 mic library exists within the project, which contains all the compatible blocks for TM 1703 mic. Signals from the signal list. From the signal list only signal types supported by TM 1703 mic can be dragged and dropped into the type instance. For not supported signal types (for instance TI 38 protection event) a one-way sign appears. The check is performed via the data type of the signal. Also the system data point from the signal list can not be dragged and dropped into the type instance. System data points. These are available as global variables in the global variable object "System info" in the resource. These global variables can be dragged and dropped into the FUD. Type identifications. Since the type identifications supported by TM 1703 mic are restricted, a check is performed during the creation of the FUD. Not supported messages are not enabled to be dragged and dropped into the FUD. The message with the type identification 101 (counter interrogation) is not supported by the FUD. Retain. If messages or inputs/outputs of blocks are set to "retain" in the FUD, then a corresponding warning is output upon the code generation. CASDU. All the information which is produced in TM 1703 mic has the same CASDU in the message address. Thereby it is necessary that for messages which originate in the FUD the same CASDU is assigned in the CAEx plus link. With "wrong" setting in the "OPM II" the IL code generaration aborts with a corresponding error information. For input messages in the FUD an arbitrary message address can be assigned. Status bit "Class 1". This is not supported by the FUD (priority management of the communication function). Status bit "R" (redundancy). This can be dragged and dropped into the FUD, however, it will never be set by the target system. Using the redundancy bit a warning will be output upon code generation. Additional attributes. These are not supported by TM 1703 mic. Upon code generation these attributes are not taken account of, and neither a warning nor an error will be output.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

133

Engineering via TOOLBOX II

4.2.1.2. Configuring External Signals


The I/O's are integrated into the Function Diagram via the Signal List. Dependent from the fact, whether the target system is engineered via the TOOLBOX II or via the webbrowser, the Signal List can be alternatively generated with the tool "OPM II" imported from a local parameterization (refer thereto section 3.1.1.7, Data Point Import and Export)

The signals of the process-technical plant can be used by "CAEx plus" after the transformation (refer to section 4.1.4.4, Transform Parameters). The structure of the project tree automatically adapts to the structure from the "OPM II". An introduction how to create a project can be found in the TB II CAEx plus User Manual, chapter "First Steps" and chapter "Additional Products", section "Signal List (Optional)", as well as in the Online Help of "CAEx plus".

4.2.1.3. Create Function Diagram


The tool "CAEx plus" provides various editors and standard libraries for the creation of the open-/closed-loop control functions. The process-technical functions of a plant are created with the Function Diagram editor (FBDEditor). A Function Diagram is thereby created by the interconnection of predefined functions and function blocks ("CAEx plus" standard library) functions and function blocks defined by the user

The exact description of the editor is included in the TB II CAEx plus User Manual, chapter "Editors", as well as in the Online Help of "CAEx plus".

Additional information can be found in the TOOLBOX II User Manual, chapter "CAEx plus".

134

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

You will find characteristic values and scope of the functions provided by TM 1703 mic for the creation of the open-/closed-loop control functions in the CP-60xx/CPC60 System Manual, chapter "Technical Data", section "Programmable Logical Controller" and chapter "Automation", section "Function Diagram".

4.2.1.4. Simulate Function Diagram


A Function Diagram can be tested in "CAEx plus" with the OFFLINE SIMULATION. This function can be called via the context menu of the CPU, program instance or type instance (right mouse button). You can find the details thereto in the CAEx plus User Manual, chapter "Additional Products", section "Offline Simulation".

4.2.1.5. Generate Application Program Code


Before the loading of the open-/closed-loop control functions into the target system, the application program code must be generated. The code generation can be started via the CAEx plus Transformer or from "CAEx plus" via the context menu of the CPU. The Function Diagram is now translated and checked by a compiler. Detected errors are output in detail after the code generation in the CAEx plus error-state viewer. In addition, information about the occupied storage space is output: Currently used memory for code (kB), load factor (%) Currently used memory for variables (kB), load factor (%)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

135

Engineering via TOOLBOX II

The exact description of this tools is included in the TB II CAEx plus User Manual, chapter "Target-System Connection", section "Functions for Target-System Connection", section "Code Generation". The code generation can be started independently from "CAEx plus" with the tool "OPM II" through selection of the function DESTINATION SYSTEMS | CAEX PLUS | SIGNAL LIST/GENERATE CODE. Thereby a signal list is created for the processing of the parameterized signals in the open-/closed loop control function and read into "CAEx plus". Further details can be found in the TOOLBOX II User Manual, chapter "OPM II", section "Transform and Load", "CAEx plus".

4.2.1.6. Load Application Program Code


Before a function chart can be loaded into the target system, it must be converted to an Instruction List (ASCII format) readable for TM 1703 mic with the function "CAEx plus Transformer".
Note The import of an Instruction List created by means of a text editor to "CAEx plus" is not possible.

The loading of the application programm code into the target system takes place jointly with the parameters, and can be started from the System Technique of the tool "OPM II" via the context menu of the respective automation (right mouse click, PARAMETER | LOADING). Another option offers the tool "Load parameters" (refer to section 4.1.4.5, Upload Parameters). Alternatively the compiled Instruction List can be exported and loaded into TM 1703 mic via the webbrowser (refer to section 3.2.2.3.2, Save and Load PLC Code). All the open-/closed-loop control functions that have been performed in "CAEx plus", are thereby stored on the SIM card in the master control element. The loading of the application program code leads to an operational interruption. After termination of the loading procedure, a startup of the target system is required. Exact details for the operation can be found in the TOOLBOX II User Manual, chapter "Parameter Loader".
Caution During a loading operation, the switching off of the master control element is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.

136

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Engineering via TOOLBOX II

4.2.1.7. Documentation

4.2.1.7.1. Reference List


With the tool "CAEx plus" a reference list can be created via the project hierarchy, displayed on the screen or printed out. The reference list concerns alternatively CPU POU (Program Organization Unit)

and is executed by means of pop-up menu CROSS-REFERENCES. The details thereto can be found in the TB II CAEx plus User Manual, chapter "Basics", section "Default Operating Elements", section "Commands of the Pop-Up Menus".

4.2.1.7.2. Open-/Closed-Loop Control Function


In the project hierarchy of the tool "CAEx plus", by selecting one of each level, by means of pop-up menu the function PRINT can be executed. The print operation is started on the default printer of the PC. The details thereto can be found in the TB II CAEx plus User Manual, chapter "Basics", section "Default Operating Elements", section "Commands of the Pop-Up Menus", section "Print in Project Management". Additional information can be found in the TB II CAEx plus User Manual, chapter "Basics", section "Default Properties" as well as chapter "Lists and References", section "Designing Printouts with DXF". Further extensive possibilities for the documentation are provided by the optional function DOCUMENT MANAGEMENT (Additional product for "CAEx plus"). The details thereto can be found in the TB II CAEx plus User Manual, chapter "Additional Products", section "Documents Management (Optional)".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

137

Engineering via TOOLBOX II

4.2.2.

Test Functions
Note The function "Online Test" of the tool "CAEx plus" is not available for TM 1703 mic. The logic of the Function Diagram edited with "CAEx plus" can be testet before the commissioning by means of the "Simulation offline" (refer to 4.2.1.4, Simulate Function Diagram). An online simulation is only available via webbrowser (refer to 3.2.2.5, Test Functions).

4.2.2.1. Oscilloscope
Oscilloscope functions serve for chronological representation of anlog values and binary values during the "Offline Simulation" of the Function Diagram. You can find the details thereto in the CAEx plus User Manual, chapter "Additional Products", section "Logic Analysis with Oscilloscope Functions".

138

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

5.
Contents

Maintenance

5.1. 5.2. 5.3. 5.4. 5.5. 5.6. 5.7.

LED Displays on the Master Control Module ...................................................140 I/O Module Monitoring ......................................................................................141 Behaviour of the Outputs on Startup and Communication Failure...................142 Diagnosis via Webbrowser...............................................................................143 Diagnosis via TOOLBOX II...............................................................................150 Maintenance of the Hardware ..........................................................................153 Firmware Update ..............................................................................................156

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

139

Maintenance

5.1.

LED Displays on the Master Control Module

LED RDY Ready

Meaning

Activated by System readiness, module readiness System error

Note Goes out with startup, in operation permanently lit if ready (also applies for all other module types) Lights up with startup, in operation terminated (no error) or permanently lit (error)

ER

Error

OH0

Connection serial

Every message that is sent Goes out with startup, lights up over the serial interface (multi- permanently with established point traffic); connection in dial-up traffic Established connection (dial-up traffic) Goes out with startup, flashes in operation when sending or receiving data Goes out with startup, in operation permanently lit (only master control module with Ethernet interface) Goes out with startup, flashes in operation when sending or receiving data (only master control module with Ethernet interface)

RTX0

Transmission/Reception Every message that is sent or received over the serial interface Connection Ethernet Physical connection of the master control module with the Ethernet

LNK1

RTX1

Transmission/Reception Every message that is sent or received over the Ethernet interface

5.1.1.

LED Display upon Startup


As soon as the I/O module is supplied or a startup is triggered by power-on, the ER-LED on the master control module lights up. Subsequently the program memory is checked. If there is an error present in the PROM, then the startup is not aborted, but the system is not READY (therefore no RY-LED, ER-LED lights up). A diagnosis of the system must be carried out. Since the ER-LED is activated via the firmware, the ER-LED also does not light up if a massive error occurs in the PROM that causes a failure of the firmware (see section 5.7.2.1, Errors upon Loading the Firmware). If the PROM-Test concludes without error, the RY-LED lights up on all configured modules. Another test compares the I/O module configuration defined by parameters with the actual physical configuration. If the configuration does not match, from the first faulty module all subsequent modules are not READY (RY-LED does not light up). That means, that the removal of already learned modules is only possible through re-parameterization of the configuration (parameter setting offline).
Note If a faulty configuration of I/O modules for pulse commands is present, the pulse command output is blocked (for all modules). A faulty configuration is also present if a DO-622x is configured, but no DO-6230 a DO-6230 is configured, but no DO-622x more than one DO-622x is configured.

140

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.2.

I/O Module Monitoring


The I/O modules are checked cyclically for functioning over the TM Bus. A failure is detected after max. 200ms. The "RY" LED goes out on the corresponding I/O module. After replacing the I/O module, failed I/O modules are started up again exclusively by running up the master control element.
Caution The module can only be replaced with the supply voltage turned off!

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

141

Maintenance

5.3.

Behaviour of the Outputs on Startup and Communication Failure


The behavior of the outputs depends on the parameter "Failure mode" and the I/O module. Fundamentally, with all modules that support the binary information output, the option exists to "Terminate output" or "Keep output" with a communication failure. An analog output module can "output a substitute value" or "terminate the output":
Error cause Power-up Description Return of the operating voltage after failure Action With power-up the substitute value is always output; since no setpoint value has yet been received, the parameterized substitute value is calculated and taken in the process image as act-value (active) With a remote Reset the last value is always reset, regardless of what has been parameterized; if no value has ever been received, the substitute value is output With communication failure at the master control unit the substitute value is always output With a failure of the master control unit the substitute value is output from the peripheral element

Reset

Reset is possible via Protocol Operation interface online (webbrowser)

Communication failure master control unit Failure of master control unit

142

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.4.

Diagnosis via Webbrowser


TM 1703 mic contains various diagnostic functions for monitoring the system. Since the firmware automatically executes the appropriate error monitoring routines, for this no settings of any kind by the user are necessary. Besides the parameter setting and the process visualization, the user interface online (Webserver) includes a diagnostic part for the visualization of status and error information. The selection is carried out in the menu tree by clicking on DIAGNOSIS: Overview History Status Information Time

5.4.1.

Overview
By clicking on DIAGNOSIS | OVERVIEW in the menu tree the overview mask is opened. Here the most current errors are displayed for each module.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

143

Maintenance

Display An information display is present if unacknowledged or statical active errors are present. The displayed system information are differentiated in Error information Errors acc. to Appendix A.2, Errors from Hardware and Software Operation information Time of the last change of parameters Example 1: An I/O module present in the configuration is not configured, startup with power-on.

Master control unit No error IOM 0:DO-6200 No error IOM 1:DI-6100 No error IOM 1:DI-6100 Hardware identification wrong

Example 2: Sum error of two measured values through open-circuit (Live Zero Measurement).

Master control unit No error IOM 0:AI-6300 Error measured value 1 (invalid) Error measured value 3 (invalid)

Acknowledging Errors Errors that are no longer present can be acknowledged. To do this, click on the button CLEAR and confirm with OK in the message box that opens. Following this the information errors cleared appears in the current window. Update the overview with a repeated click in the menu tree. If the errors are no longer present, now the error texts are replaced with the display No error.

144

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.4.2.

System Diagnosis
By clicking on DIAGNOSIS | HISTORY DIAGNOSIS the information mask with the history is opened. Here all system information together with time tag are displayed in chronological order.

A maximum of 20 entries is possible. The signal list is a ring buffer, which means if the signaling buffer has been fully written, the respective oldest signal entry is overwritten by the most current.
Note The signal list is cleared if the voltage supply of TM 1703 mic is interrupted for at least 10s.

Display An information display is present if unacknowledged or statical active errors are present. The displayed system information is differentiated in Error information Errors acc. to Appendix A.2, Errors from Hardware and Software Operation information Logon Logoff Upload (load parameters) Download (save parameters)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

145

Maintenance

Example: Failure of a configured I/O module.

History Diagnosis 03.08.2004 10:15:01:446 03.08.2004 10:15:01:556 03.08.2004 10:15:01:557 03.08.2004 10:20:00:401

Peripheral element 01 : Failure item number missing ON reset by hardware/power on : 3C 00 queues cleared

Acknowledging Errors Errors that are no longer actively present can be deleted from the signal list by clicking the button CLEAR and confirming the query with OK. Following this the information errors cleared appears in the current window. With a renewed clicking in the menu tree the updated signal list can be output. If no new errors have been added only the information errors cleared appears in the input/output mask.

5.4.3.

System Status
By clicking on DIAGNOSIS | STATUS INFORMATION in the menu tree the status information mask is opened. Here the identification features of the configured hardware is displayed module for module.

146

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

Display If there is no error present, and the fitted hardware configuration matches the configured one, the following information is displayed: Item Number Software version SIM space (only master control module) MAC Address (only master control module with Ethernet interface)

If a fitted module does not match with the configured module type, then the information wrong hardware identification is displayed. Example: TM 1703 mic configured with a power supply module, a master control module and three I/O modules. Failure of a configured I/O module.

Status Information PS-6620 item number: GC6-620-A.00/222-027 software version: 9-1.00 Master control unit item number: GC6-040-A.01/326-006 Software version: 6 SIM size: 32768 MAC address: 00-E0-A8-01-10-A5 IOM 0:DO-6200 item number: GC6-200-A.00/222-055 software version: 4-1.00 IOM 1:DI-6100 item number: GC6-100-A.00/222-027 software version: 1-1.00 IOM 2:AI-6300 hardware identification wrong

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

147

Maintenance

5.4.4.

Diagnosis of the Time


By clicking on DIAGNOSIS | TIME in the menu tree the diagnosis mask for the time is opened. Here the time status can be read.

Display The time status displays whether the time is set and synchronized, and whether the parameterized NTP-Servers are available (with communication via IEC 60870-5-104).

5.4.4.1. Time Synchronization

Multi-point Traffic The time is transmitted to TM 1703 mic from the control system (time master). So that an accuracy of 10 ms is achieved the time master must synchronize at least every 60 s. Upon failure of the time synchronization after 10 min a warning will be set.

Dial-up Traffic The time is transmitted to TM 1703 mic from the control system (time master). A synchronization can only take place each time a connection is established.

148

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

Ethernet When using SNTP the current SNTP server is determined by means of "voting". This takes place according to the weighting: Attainability Stand alone (SNTP server does not receive a time) Distance (with regard to the time)

With communication via IEC 60870-5-104 upon failure of the time synchronization after the 3fold cycle time of the SNTP synchronization a warning will be set, or minimum after 10 min. If the SNTP synchronization is not used, the warning will be set after 10 min. Example 1: Synchronized TM 1703 mic.

status OK: time set status NTP server (actual: 0) NTP 0 (172.29.31.10) : OK NTP 1 (172.29.63.2) : NOK NTP 2 (172.29.67.145) : NOK NTP 3 (0.0.0.0) : NOK

Example 2: Not synchronized TM 1703 mic.

status Warning: time not set Warning: time not synchronized for more than 10 minutes status NTP server NTP 0 (172.29.31.10) : NOK NTP 1 (172.29.63.2) : NOK NTP 2 (172.29.67.145) : NOK NTP 3 (0.0.0.0) : NOK

5.4.4.2. Local Setting of the Time


Date and time of a TM 1703 mic can be set also locally via the webbrowser (online). The values are read out from the parameterizing PC and updated permanently in the corresponding input field under "local time set". Via the related pull-down menu it can be selected between normal time or daylight saving time. By clicking on the button APPLY date and time are transmitted to the linked TM 1703 mic. After a refresh of the webbrowser the time display in the header will be updated.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

149

Maintenance

5.5.

Diagnosis via TOOLBOX II

5.5.1.

General
The following listing explains the different error categories and how the error messages are logged. Hardware errors Monitoring of the individual system elements, communication and time synchronization by the firmware of the target system in operation. Error information takes place by Activation of the red error-LED on the master control element. Logging via diagnostic functions.
Note The logging via diagnostic functions is for TM 1703 mic only possible via a webbrowser.

A list of error messages which are indicated in the diagnostic can be found in the Appendix A.2, Errors from Hardware and Software. Software errors. Parameter setting The input of the parameters with the help of the TOOLBOX II tools is subjected to - as far as logically recordable - parameter-specific conventions or plausibility checks. Faulty inputs are notified or directly prevented with the entry. If a in principle permitted parameter setting, that however does not match the physically present system elements, is loaded into the target system, the method of procedure is as with hardware errors. Programming Monitoring by the CAEx plus compiler and logging in an error information list during compiling of the application program code. Operator errors. Are largely excluded due to plausibility checks or queries by the TOOLBOX II. Naturally, all operator inputs, such as for example the loading of parameters or the online testing of application programs, are subject to the responsibility of the user. Profound knowledge of the automation technique in general, as well as the documents mentioned in the Literature index, is presumed.

5.5.2.

Ax 1703 Error Message


Optionally TM 1703 mic sends the Ax error message, as a result a power network overview diagnostic with the TOOLBOX II in a central station is also effective for TM 1703 mic. Further diagnostics performed remotely are only possible when using the Ethernet interface and webbrowser. With the serial connection (multi-point-/dial-up traffic) a remote diagnostic is not possible, since no TCP/IP protocol is implemented. In this case a diagnostic is only possible with a webbrowser onsite.

150

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

Network overview diagnostic The error messages of all automation units in the network are output in a report window with the function NETWORK OVERVIEW DIAGNOSTIC (sum information). Structure of the Ax 1703 error message:
Bit No. 0 1 2 3 4 Meaning Internal errors External errors Communication fault Test Warning Remarks PLC shut down TM module fault IEC 60870-5-104 connection failure (not supported) Time not yet set Since 60 min time not set 5 6 7 Module failure AU failure Startup TM module failure (not supported) Startup transient

These error bits are transmitted as single-point information. In TM 1703 mic they are summarized on two information object addresses (or-linked):
Property Fault Failure IOA 240 241 bit 0, 1, 2 5, 6 Remarks Parameter-settable Parameter-settable

5.5.3.

Diagnosis of the Open-/Closed-Loop Control Function


Note The function ONLINE TEST of the tool "CAEx plus" is not supported for TM 1703 mic. An online test function is only possible via webbrowser.

Errors that can occur with the creation of the Function Diagram (for example the linking of a binary signal to an analog input of a function) are displayed in a separate report window ("POU error check"): Automatically with the incorrect input Manually with the function EARLY ERROR DETECTION (pop-up menu in the Function Diagram).

All editing errors can be displayed at any time. The exact details can be found in the CAEx plus User Manual, chapter "Editors", section "FBD Editor", section "Operation in FBD Editor".

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

151

Maintenance

Errors with engineering Errors that can occur with engineering are displayed centrally in the "Error-state viewer" of "CAEx plus". It essentially concerns thereby Installation binary information Export/Import binary information Project management binary information FBD-editor binary information Code generation binary information Object-related binary information Binary information of the object assistants Binary information of the typical import Signal list binary information Binary information from hardware signal databases

The binary information are generated after the triggering of a function (for example "Code generation"). The exact details can be found in the CAEx plus User Manual, chapter "Additional Products", section "Error-State Viewer".

Errors with the target system connection Errors that can occur with the target system connection are displayed centrally in the "Errorstate viewer" of "CAEx plus". It concerns thereby General messages of the target system connection Messages of the code generator Messages of the control panel Messages of the ONLINE applications Messages of the "Open Operating System" Messages of the target-system integration into the project management Messages from "openPLC"

The exact details can be found in the CAEx plus User Manual, chapter "Target-System Connection", section "Program Messages for Target-System Connection".

152

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.6.

Maintenance of the Hardware

5.6.1.

General for the Replacement of Modules


Warning For modules that operate with voltages >60V (e.g.: DI-6101, DO-6212) care must be taken that manipulation on the peripheral connectors may only be carried out in a de-energized state. The reason for this is that when withdrawing the upper peripheral connector under voltage, the external voltage can be conducted through the lower peripheral connector still connected. The pins of the upper peripheral connector now freely accessible will now conduct the external voltage.

Warning The connecting and withdrawal of peripheral modules is only permitted in a de-energized state, this means that the power supply to the power supply unit and to the peripherals must be interrupted.

Detailed instructions for the assembly of modules can be found in the manual TM 1703 mic Installation, chapter "Installation and Removal of Modules". To exchange a module tools are not required for either the hardware or the software: the terminals can be detached without tools the module can be detached from the DIN rail without tools to remove the SIM card a ballpoint pen or a pencil is required the user data (parameters and IL) are stored non-volatile on the SIM card

Independent of firmware code the following information is stored non-volatile in TM 1703 mic:
Parameter Initialization with completion CP-EEPROM SIM card Telecontrol parameters Application program MAC address Operating hours counter Item- and serial number of the module
*)

Handling during Runtime CP-EEPROM SIM card x x


*)

x x x

retained flags

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

153

Maintenance

5.6.2.

Replacement of the Master Control Module


When replacing the master control module the SIM card can be withdrawn and inserted in the new master control module. No project data (parameters and application program) are lost. When switching over to another module type (e.g. CP-6020 to CP-6040) the configuration must be adapted accordingly by means of parameter setting offline.
Caution If the SIM card is put into another master control, then during startup the content of the Decentral Archive (DEAR) on the SIM card will be deleted and an error information is recorded in the History Diagnosis.

5.6.3.

Replacement of the SIM Card


Where the SIM card is and how it is withdrawn or inserted is described in the manual TM 1703 mic Installation, chapter "Parameter Setting Preparation", section "SIM Card". New SIM cards can be ordered from Siemens (see TM 1703 mic CP-60xx/CPC60 System Manual, chapter "System Components", section "Accessories").
Caution The SIM card should only be withdrawn from or inserted into a de-energized master control module. The content of a SIM card can become invalid if it is removed during a running writing operation. The content of the SIM card must if necessary be deleted and written again new. After inserting the SIM card a startup of the system is to be executed.

During the operation of TM 1703 mic no access to the SIM card takes place by the system. Therefore no error is reported if for example the SIM card is withdrawn. In operation the system only accesses the SIM card with operator inputs such as loading parameters, loading PLC code or by selection of the test mask (display of the IL). With each startup of TM 1703 mic the system accesses the SIM card and checks it. The following problems can occur with the SIM card: SIM card not legible The red ER-LED is activated. If the IP address is no longer legible, then the station concerned can no longer be accessed by means of the webbrowser. Data on the SIM card are faulty The system detects a checksum error. In this case the SIM card is overwritten with default parameters. This is also applicable if a new SIM card is inserted in the master control module (no differentiation between faulty data or new SIM card). The following error messages refer to problems with the SIM card: SIM not available (SIM card not present or not legible) SIM checksum error, PLC halted (check of the memory space for parameters and temporary data with startup)

154

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.6.3.1. Read and Write complete SIM Card


To be able to save or also duplicate the parameterization and the application programm entirely, WEBmic offers the both functions SIM CARD READER | READ ENTIRE SIM CARD (IMAGE) and SIM CARD READER | WRITE ENTIRE SIM CARD (IMAGE).

5.6.3.2. Erase Content of the SIM Card


To erase the content of the SIM card, insert it into a read-/write device installed on the parameter-setting PC. In the WEBmic pop-up menu select the function SIM CARD READER | ERASE COMPLETE SIM CARD and click on OK. The content of the SIM card is erased. How to write a project backup on a SIM card is described in section 3.1.1.4, Save and Load Parameters (offline) and in section 3.1.2.4, Save and Load Parameters (online).

5.6.4.

Replacement of an I/O Module


When replacing an I/O module with the same module type no renewed parameter setting is necessary. The parameters already stored on the SIM card are automatically used on the new module.

5.6.5.

Removal of an I/O Module


A removed or failed I/O module is detected online by TM 1703 mic and signaled on the user interface (DIAGNOSIS | OVERVIEW and DIAGNOSIS | HISTORY DIAGNOSIS). If an I/O module is to be removed later, then this must be parameterized offline, otherwise TM 1703 mic reports the module as faulty.

5.6.6.

Adding an I/O Module


A new I/O module can be added, without a parameter setting being necessary. The system detects the new module automatically with a startup, provides it with the default values and displays it online in the menu tree of the user interface. That means, if only parameters with default values are used with an I/O module, the system can also be expanded without user interface.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

155

Maintenance

5.7.

Firmware Update

5.7.1.

General
The firmware update can be carried out exclusively with the firmware loading tool FLASHmic. For the execution of a firmware update you require the following configuration: PC with FLASHmic Connection with the master control module (serial or Ethernet) Local serial
Ethernet TCP/IP 60870-5-104

FLASHmic flash loader for TM 1703 mic

null modem cable TF5-204-master control module

A serial connection via modem is not supported. Ethernet


FLASHmic flash loader for TM 1703 mic Ethernet TCP/IP 60870-5-104

master control module

For the loading of the firmware via Ethernet an operable firmware must be present in TM 1703 mic.

156

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.7.2.

Execute Firmware Update


If the file FLASHmic.exe is stored on the PC and you have connected the PC with the master control element, you can begin with the firmware update. Click (double-click) in the Windows Explorer on the file FLASHmic.exe to start the loading operation.

Click OK to close the Splash Screen. Select the language in which the firmware update is to be carried out and proceed with NEXT.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

157

Maintenance

Select the required interface and start the firmware update with NEXT. When selecting the Ethernet interface, you must also enter the IP address.

FLASHmic now begins with the checks of the connection and the hardware of the target system. Only when FLASHmic has confirmed all checks with OK does the actual loading operation begin. The duration of the loading operation is dependent on the physical connection. With operation via Ethernet the transfer time is influenced by the number of active participants and by the volume of data traffic on the bus.

The loading operation is concluded free of errors when the information check firmware ... OK appears. Then click on NEXT and FINISH to close FLASHmic.

158

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Maintenance

5.7.2.1. Errors upon Loading the Firmware


When loading the firmware into the Flash-PROM this is written completely new. For a perfect functioning of the master control element it is therefore absolutely necessary that this procedure completes without errors. If FLASHmic terminates the loading procedure with the message Error, click on the button CANCEL. Afterwards start FLASHmic again and attempt to execute the loading operation again. If an error occurs again, the master control element is no longer capable of functioning; check the LED-display. The following situations cause the master control element to be no longer capable of functioning: Voltage failure while the loading procedure is running Abortion of FLASHmic by the user while the loading procedure is running Failure (defect, shutdown) of the PC Abortion of the application program due to a hardware error Abortion or excessively long fault of the communication connection between PC and TM 1703 mic

Note A master control element that is no longer capable of functioning can be recognized, if after a startup of TM 1703 mic the yellow RDY-LED and the red ER-LED on the master control element do not light up. In this case send the master control element for repair to: Siemens PTD EA 2 OS MS Ruthnergasse 3 A-1210 Wien

5.7.3.

Starting FLASHmic via Command Prompt


FLASHmic can also be started via command prompt: >flashmic The firmware contained in FLASHmic is loaded. This call corresponds with a double-click on the file FLASHmic.exe in Windows Explorer. A start with interchange parameters should only be executed in consultation with Siemens: >flashmic 172.29.35.28 Per Ethernet, the firmware contained in FLASHmic is loaded without query to TM 1703 mic with the transferred IP address (only for master control modules with Ethernet interface). The function is useful, if in a plant (new), firmware must be loaded in numerous TM 1703 mic. With the help of batch processing, this way the firmware update can be initiated for all stations concerned at the same time.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

159

Maintenance

160

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

A.
Contents

Error Information

A.1. A.2. A.3.

Error Categories ...............................................................................................162 Errors from Hardware and Software.................................................................163 Operator Errors.................................................................................................171

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

161

Error Information

A.1.

Error Categories
The following listing explains the different error categories and how the error messages are logged. Hardware errors Monitoring the the individual system elements (modules) and their configuration by the firmware. Logging online in DIAGNOSIS | OVERVIEW (errors present). DIAGNOSIS | HISTORY DIAGNOSIS (time-tagged error messages, history). Software errors Monitoring by the firmware and logging online in DIAGNOSIS | OVERVIEW and DIAGNOSIS | HISTORY DIAGNOSIS (behavior of the PLC). PLC | DIAGNOSIS (errors when compiling the application program code, syntax of the IL). Parameter setting errors Are reported online by the Webserver, and offline by WEBmic. The input of the parameters is subjected to a plausibility check, error messages are not output. Operator errors Are largely excluded by the user interface. You can find further information thereto in section A.3, Operator Errors.

162

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Error Information

A.2.

Errors from Hardware and Software


The errors detected by the system are logged on the user interface. Meaning of the Ax error classes (FK): I internal E external K communication B module failure List of error messages that are displayed in the diagnosis:
Error No. 000 001 Error Text Acknowledgement error Wrong telegramm received Cause Station was not called Unknown type identification Unknown CASDU Pack error FIFO overflow at answer for login in dialup traffic ACT/CON telegrams cannot be transmitted to the remote station Too many data at too slow communication (no more than 200 telegrams are sent) See error 005 SIM card not plugged or not plugged correctly Plug in SIM card correctly under the front cover In the History Diagnosis it is indicated, when the errors were reset Power supply was switched on Remedy Check connection to the Master and parameter setting The faulty telegram is indicated in Diagnosis | History Diagnosis, starting with the type identification in hex Currently not implemented Overflow of an internal buffer, please consult your system supplier Check IL Possibly to many commands received via communication in too short time Check IL Check if an input signal is bouncing FK ER LED Transient Yes Yes No Yes
*)

*)

002 003 004

Error during telegram transmit Super high prior queue overflow High prior ring overflow

Yes Yes Yes

No No No

*) *)

*)

005 006 007 008 009

Queue overflow class 1 Queue overflow class 2 SIM card not available Errors cleared Reset by hardware/power on

Yes Yes Yes No No

No No No No No

*)

*) *)

*)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

163

Error Information

Error No. 010 011 012

Error Text Reset by remote command (ti105) Reset by watchdog Firmware disabled (kill)

Cause Startup command received from Master Watchdog is exceeded and a startup was performed Internal software error Invalid parameter file loaded Invalid IL loaded

Remedy

FK

ER LED Transient No No No No
*)

Read Diagnosis | History Diagnosis and inform Siemens Reload parameter Reload IL If no remedy: carry out a firmware update

No No

013 014 015 016

Warning: ring class 1 80% full Warning: ring class 2 80% full firmware loaded DCD continuous level

See error 005 See error 006 In the History Diagnosis it is indicated, when the firmware was updated In multi-point traffic this might happen at Check telecontrol line plugging in the nullmodem cable (mainly with DELL PCs) Modem has detected a continous level Does not occur in normal operation Occurs only during self test Occurs only during self test A startup was triggered by the user due to a parameter change (on demand) TM 1703 mic has performed an automatic startup in consequence of a parameter change Item number not available Connection to the remote station failed Wrong IP addresses See error 022 See error 022 See error 022 Change module Check IP addresses and connection parameters in TM 1703 mic and the remote station K

No No Yes Yes

No No No No

*) *)

*)

017 018 019 020

Selftest started UART error Ethernet chip error Reset after parameter changing

No No No Yes

No No No No

021 022

Item number missing Cconnection 1 loss

Yes Yes

No No

*) *)

023 024 025 026

Connection 2 loss Connection 3 loss Connection 4 loss Queues cleared

K K K

Yes Yes Yes No

No No No No

*) *) *)

164

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Error Information

Error No. 027

Error Text No internal modem supply possible

Cause Internal modem supply not possible

Remedy Exchange power supply against version >= B or Exchange CP-6020/CP-6040 against version >= A Carry out a firmware update

FK

ER LED Transient Yes Yes


*)

028

No current firmware revision update

Version of WEBmic with that the parameters were generated is more current than that of the firmware Substation does not call actively any more

Yes

No

*)

029

Modem blockade

Parameterize station in the master, otherwise the master sends a wrong password that the "unknown" station calls no more Enter the password correctly, consider upper case/lower case letters Check DCD wiring of TM 1703 mic to modem Startup in the master during active connection Check telephone line Check telephone line Check telephone number The system increases the cycle time automatically by 50% (max. 2 s possible) If PLC is stopped by the system, use a smaller IL Rewrite the IL to the SIM card I

Yes

No

*)

030 031

Active disconnect: no request Passive disconnect: open circuit

TM 1703 mic did not detect a proper connection release The connection was disconnected incorrectly (DCD signal is "0" before command "hang up dial" has been received) Connection to master not possible The processing time for the execution of the application program has exceeded 50% of the set cycle time

Yes Yes

Yes Yes

*)

*)

032 033

Connection setup not possible PLC running time overflow

Yes Yes

No No

*)

*)

034

PLC checksum error, PLC halted

Hardware error (the data in the memory range for the application program are faulty) Hardware error (the data on the SIM card are faulty) An unknown instruction is programmed in the IL

Yes

No

035

SIM checksum error, PLC halted

Delete content of the SI card and rewrite parameters to the SIM card If no remedy: change SIM card Check code and comments in the IL (syntax)

Yes

No

036

PLC syntax error, PLC halted

Yes

No

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

165

Error Information

Error No. 037

Error Text PLC interval error, PLC halted

Cause The cycle time for the application program is to high Variable PLC_CYCLETIME Processing time of the application program

Remedy Correct value of the variable PLC_CYCLETIME (range 2 ms 2 s) Processing time of the application program reaches 50% of the max. cycle time Check in parameterization and IL, the type identification of data points used in the application program must match with the type in the parameterization

FK I

ER LED Transient Yes No

038

PLC hw config error, PLC halted

In the application programm a wrong type identification is used

Yes

No

039

PLC chr ring overflow

Number of state changes from information items and integrated totals is greater than the FIFO buffer chronological can store Number of state changes from commands, setpoint values and counter interrogations is greater than the FIFO buffer chronological global can store Too many telegrams generated by the application program within one cycle In the IL a RET instruction is programmed without CAL instruction Too many nesting levels by means of CAL instructions Check IL Check IL (return to nesting level 0 not possible) Check IL (max. 20 levels permitted) I I I I

Yes

Yes

*)

040

PLC chr global ring overflow

Yes

Yes

*)

041 042 043 044 045 046

PLC output ring overflow PLC c-stack underflow, PLC halted PLC c-stack overflow, PLC halted PLC f-stack underflow, PLC halted PLC f-stack overflow, PLC halted Permanent loop

Yes Yes Yes Yes Yes No

Yes No No No No No

*)

Too less transfer parameters for a function Check IL or function block programmed Too many transfer parameters for a function or function block programmed Internal errors Too many startups in succession Endless loop in the application program Behaviout acc. to IEC Behaviout acc. to IEC Software error Please consult your system supplier Check IL Check IL Check power supply Please consult your system supplier

047 048 049 050

Negative confirmation OLA-command Negative termination OLA-command Console system disabeld by firmware IOA MTS_LAEUFT wrong

Yes Yes Yes Yes

No No No No

*) *)

166

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Error Information

Error No. 051 052 053 054 055 056 057

Error Text IOA enabeling wrong, console halted IOA lamptest wrong, console halted IOA not from DO, console halted IOA not from DI, console halted IOA is not an EM, console halted IOA doubled used, console halted Wrong telegram received (SK)

Cause

Remedy

FK

ER LED Transient Yes Yes Yes Yes Yes Yes No No No No No No Yes

Error with the conversion of the SK message to the IEC message IOA1 must not be greater than 31 Must be "0" for measured values and integrated totals Not used, must be always "0" in the SK mode Is the bit number in the SK mode must not be greater than 15 Only even bit numbers can be used for double-point information items IOA1 must be definite over all formats See error 063 Occurs only with PCBMxx Too many startups performed within short time, TM 1703 mic has been switched off and on too many times within The PLC function is released under PLC | Configuration, but no code loaded Internal software error

Check parameters in the master, i.e. with/without component number, package, The data point number and IOA are registered under Diagnosis | Diagnosis History See error 058 See error 058 See error 058 See error 058 See error 058 See error 058 Check quality of line Check power supply If error cannot be corrected, please consult your system supplier Block PLC if not used or Load PLC code Please consult your system supplier

Yes

058 059 060 061 062 063 064 065 066

SK addressing fault: IOA1 too big SK addressing fault: IOA2 must be 0 SK addressing fault: IOA3 must be 0 SK addressing fault: IOA2 too big SK addressing fault: IOA2 odd (DP) SK addressing fault: IOA2 for SP used SK addressing fault: IOA2 for SP used SK acknowledgement error Permanent reset, firmware disabled

Yes Yes Yes Yes Yes Yes Yes Yes Yes

No No No No No No No No No

067 068

PLC enabled no PLC code available Wait/schedule with disable

Yes No

No Yes

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

167

Error Information

Error No. 069 070 071 072 073 074 075 076 077 078

Error Text TE-6420 IOA is not singlepoint TE-6420 IOA not from DO-62xx TE-6420 IOA not from DI-61xx TE-6420 IOA is not Floatingpoint TE-6420 IOA not from AO-6380 TE-6420 IOA doubled used TE-6420 only 1 rotation speed sup. TE-6420 IOA unknown TE-6420 IOA not from an TM module 2.5 ms acquisition not possible

Cause The binary output is not set as single-point information for this IOA The output must be on a DO module and not on the master control module Reserved internally The output of the AO is not set to float for this IOA The output must be on an AO-6380 Somewhere the same IOA was assigned for the TE-6420 The speedmonitoring may be released only once per TM 1703 mic The set IOA is not found on any relevant module The IOA is known, but i.e. only generated by the application program Min. one module does not support the 2,5 ms detection (TE-6460, AI-6310, TE-6420, AI-6300) Master control module has no MAC address Siemens TC35 modem does not respond on AT commands Connection setup could no more performed, therefore the modem was restarted Power-down/power up of the modem No Siemens TC-35 was connected with configuration of the protocol "no communication" Change of the parameters SIM card was replaced CP6020/CP6040 was replaced

Remedy

FK

ER LED Transient Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No No No No No No No No

Use only modules with 2.5 ms detection Set detection to 10 ms Please consult your system supplier

Yes

079 080

Ethernet MAC address missing Modem reset

Yes Yes

No Yes

081

DEAR deleted

Yes

Yes

168

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Error Information

Error No. 082 083 084 089

Error Text Logon Administrator (WEB Server) Logon Guest (WEB Server) Logoff (WEB Server) Abortion DEAR file transfer USER

Cause Login by the administrator with following IP adress Login by the guest with following IP adress Logout of the guest resp. the administrator Abortion of the running file transfer by the user The user performed an abortion during running file transfer by means of the user interface

Remedy

FK

ER LED Transient No No No Yes No No No Yes

090

Abortion DEAR file transfer TIMEOUT Abortion of the running file transfer by timeout in the substation DEAR loss of data

The set timeout is too short There was a communication failure during the file transfer

Yes

Yes

091

There was a loss of data in DEAR Reduce data load (too many data are Data could no more being saved on SIM generated in TM 1703 mic) card resp. NV-RAM There was a loss of data in DEAR Reduce data load (too many data are Data could no more being saved on SIM generated in TM 1703 mic) card resp. NV-RAM Not used Missing two-line calibration Faulty measuring (live zero) (only for measured values) See error 224 See error 224 See error 224 See error 224 See error 224 See error 224 See error 224 Not used Check wiring of the relevant analog inputs Check relevant sensors/sensor voltage E

Yes

Yes

092

DEAR internal ring full

Yes

Yes

223 224

Master control module periphery fault Peripheral element 00 fault

Yes Yes

No No

*) *)

225 226 227 228 229 230 231 239

Peripheral element 01 fault Peripheral element 02 fault Peripheral element 03 fault Peripheral element 04 fault Peripheral element 05 fault Peripheral element 06 fault Peripheral element 07 fault Master control module periphery failure

E E E E E E E

Yes Yes Yes Yes Yes Yes Yes Yes

No No No No No No No No

*) *) *) *) *) *) *) *)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

169

Error Information

Error No. 240

Error Text Peripheral element 00 failure

Cause Wrong hardware identification Checksum error on TM Bus Automatical detection of a defect, i.e. command output driver) Error in command output circuit or status input circuit See error 240 See error 240 See error 240 See error 240 See error 240 See error 240 See error 240 Min. 1 error, due to which the red ER-LED is triggered, is present (see column ER-LED)

Remedy Check the set hardware configuration Change peripheral element Firmware update

FK B

ER LED Transient Yes No


*)

241 242 243 244 245 246 247 255

Peripheral element 01 failure Peripheral element 02 failure Peripheral element 03 failure Peripheral element 04 failure Peripheral element 05 failure Peripheral element 06 failure Peripheral element 07 failure Sum error LED (red)

B B B B B B B Can be used for further evaluations in the IL

Yes Yes Yes Yes Yes Yes Yes Yes

No No No No No No No No

*) *) *) *) *) *) *) *)

*)

error can be read in the IL by means of variable PLC_SYSERROR_xxx for linking in the logic

170

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Error Information

A.3.

Operator Errors
The following table shows a selection of error messages that could occur with the operation of TM 1703 mic via the webbrowser. Since different states can occur depending on the hardware- and software configuration used, it cannot be guaranteed, that the remedies described here actually always lead to the desired objective.
Behavior After a startup of the system the application program (PLC) remains stopped Red ER-LED lights up after a reset of the system Webbrowser does not start, if a project is opened with WEBmic or is to be created new After entering the IP address of a TM 1703 mic (online) in the webbrowser the message "Page not available" appears Possible Cause There is a syntax error The learned configuration does not match the configured setting One or more projects have been opened previously, but not logged out There is no connection to the selected TM 1703 mic TM 1703 mic is switched off IP address is incorrect The selected TM 1703 mic is not attainable and the last processed offline project is still in your PC cache Remedy Carry out correction in the lines specified under PLC | Diagnosis Open the project loaded in TM 1703 mic offline (WEBmic) and check the parameterized configuration Close WEBmic, check with Windows Task Manager whether a WEBmic task is still running, and end the task Check whether TM 1703 mic is switched on and is connected with the PC With operation via Ethernet and without router the network addresses of TM 1703 mic and PC must correspond (according to the subnet mask) Close offline project Check IP address and connection to the selected TM 1703 mic, if necessary write a new IP address (if need be, locally with WEBmic)

After entering the IP address of a TM 1703 mic (online) the registration mask opens, but after logging on an offline project opens WEBmic will not close After loading an IL the webbrowser attempts for a long time (> 1min) to update or no status information at all comes regarding the loading operation

There is still a WEBmic task running in the background Close the task or terminate the process with Task Manager The IL to be loaded is too large (> 16kB) In general, a loading operation takes longer, the larger the IL is Abort loading operation (Stop function in webbrowser) Check whether errors are entered under PLC | Diagnosis Load a smaller IL If TM 1703 mic returns status information after the loading operation, check whether the IL has been transferred

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

171

Error Information

Behavior After loading an IL operator masks are incorrect or empty; in some circumstances the red ER-LED lights up

Possible Cause An invalid IL has been loaded (incorrect file of file format) A connection error may have occurred during the transmission

Remedy If possible, read error displays in the diagnosis Check whether the correct source file has been loaded Check whether the file which contains the IL is a text file (ASCII format) Check whether the correct control code is in the text file

After loading the parameters TM 1703 mic can no longer be selected from the webbrowser; in some circumstances the red ERLED lights up

There is an invalid or unknown IP address set in Set a valid IP address again on TM 1703 mic with WEBmic, after successful transmission enter this the loaded parameter setting address in the webbrowser, TM 1703 mic can then An invalid parameter file has been loaded (incorrect be processed online again file of file format) Otherwise the SIM card must be withdrawn from A connection error may have occurred during the TM 1703 mic and written again offline with valid transmission parameters The session has been terminated by the internal timeout The session has been terminated by logon of another user Avoid longer breaks (> 15 min.) during the operating or parameter setting Save changed parameters by clicking on the apply button With each refresh in the webbrowser the timeout is restarted

After refresh in the webbrowser (by selecting an input/output mask or by applying a parameter) the logon mask appears

172

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

B.
Contents

Examples for Application Programs

B.1. B.2. B.3. B.4. B.5. B.6. B.7.

Transfer an Input to a Signalling Output and to a Command Output...............174 Combine two Inputs with AND..........................................................................175 Linear Adaptation with Value Selection............................................................176 Operating Hours Counter .................................................................................177 Bounce Suppression ........................................................................................179 Setpoint Command...........................................................................................181 Speed Comparison...........................................................................................182

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

173

Examples for Application Programs

B.1.

Transfer an Input to a Signalling Output and to a Command Output


The first digital input of the master control element (with default address and type identification I_030_002_000_000.VALUE) is loaded into the accumulator. In the next line the loaded value is transferred to the outputs O_030_008_000_000.VALUE and O_045_009_000_000.VALUE. Changing the input type from single command to single message with the engineering tool (webbrowser), the relay at the output D00 picks up when the input becomes logical "1". Otherwise this output address will be sent to the communication because it is not existing within the periphery. The default address of the command is D01.

PLC_RESET: PLC_INIT: PLC_START: LD I_030_002_000_000.VALUE ST O_030_008_000_000.VALUE ST O_045_009_000_000.VALUE

(*IN00 TI:30 IOA1:002 IOA2:000 IOA3:000*) (*store at output as binary information*) (*store at output as command*)

174

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Examples for Application Programs

B.2.

Combine two Inputs with AND


The cycle time is set to 50ms. The first two inputs of the master control element will be combined by logical AND. The result is transferred to a flag and additional to a digital output. The type identification of the output is single message.

PLC_RESET: LD 50 ST PLC_CYCLETIME

(*load value 50*) (*store at system variable for cycle*) (*time in ms*)

PLC_INIT: PLC_START: LD I_030_002_000_000.VALUE ST AND.IN0 LD I_030_003_000_000.VALUE ST AND.IN1 CAL AND ST M_BOOL_TESTFLAG ST O_030_008_000_000.VALUE

(*read input IN00*) (*store at input 0 for AND function*) (*read input IN01*) (*store at input 1 for AND function*) (*call function*) (*store in a flag*) (*store as single command output*)

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

175

Examples for Application Programs

B.3.

Linear Adaptation with Value Selection


Two analog values are compared and the higher one is selected (MAX). With this one an adaptation kx+d is performed. The processed value receives a new address (O_036_032_001_001.VALUE). The constants for k (M_REAL_CONSTANTforK) and d (M_REAL_CONSTANTforD) are defined with initial values in the programm sequence PLC_INIT.

PLC_RESET: LD 10 ST PLC_CYCLETIME PLC_INIT: LD 10 ST M_REAL_CONSTANTforK LD -5 ST M_REAL_CONSTANTforD PLC_START: LD I_036_032_000_000.VALUE ST MAX.IN0 LD I_036_033_000_000.VALUE ST MAX.IN1 CAL MAX ST M_REAL_MAXVALUE ST MUL.IN0 LD M_REAL_CONSTANTforK ST MUL.IN1 CAL MUL ST ADD.IN0 LD M_REAL_CONSTANTforD ST ADD.IN1 CAL ADD ST O_036_032_001_001.VALUE

(*cycle time in ms*)

(*constant for k*) (*constant for d*)

(*input 1*) (*input 2*) (*the greater value of both is used*) (*serves for reading which value will *) (*be used*)

(*the selected value is multiplicated *) (*with the constant and results as "kx"*)

(*after the multiplication add "d"*) (*selected adapted value*)

176

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Examples for Application Programs

B.4.

Operating Hours Counter


A clock pulse generator (TCLK_PULSE) is running with a frequency of 30s logical "1" and 30s logical "0". The edge change from "0" to "1" is switched to the CU Input of the upward-counter (CTU_COUNTER.CU) and the counter will be incremented with 1 per minute. The sum of the operating hours results of two values: Current counter score (CTU_COUNTER.CV) Counter score before the last power down (MR_DINT_MINUTES) The score will be saved in a retaining flag (M_DINT_MINUTESOLD). This means, after a power down (startup) the counter will continue with incrementing based on the last value. The hours result by minutes devided by 60. The hours always will be recalculated based on the minutes, the same after a power down.

PLC_RESET: LD 10 ST PLC_CYCLETIME PLC_INIT: LD MR_DINT_MINUTES ST M_DINT_MINUTESOLD PLC_START: (*Operating hours counter*) LD PLC_SYSTIME.SEC ST M_DINT_SEC LD M_DINT_SEC EQ 0 ST CTU_COUNTER.CU

(*cycle time in ms*)

(*load power-fail safe value*) (*freeze in a flag as old value*)

CAL LD ST LD ST CAL ST

CTU_COUNTER CTU_COUNTER.CV ADD.IN0 M_DINT_MINUTESOLD ADD.IN1 ADD MR_DINT_MINUTES

ST LD ST CAL ST

DIV.IN0 60 DIV.IN1 DIV M_DINT_HOURS

(*fetch second value of the system time*) (*and store in variable*) (*current second*) (*compare with second 0*) (*HIGH always at the second 0, required*) (*edge detection is implemented within*) (*the counter*) (*increments the counter*) (*load current counter score*) (*store at input 0 for ADD function*) (*load old value*) (*store at input 1 for ADD function*) (*call ADD function*) (*store sum of operating minutes in a*) (*retaining flag, after startup the*) (*old value will be added to the*) (*current counter score*) (*store at input 0 for DIV function*) (*load constant for 60 minutes*) (*store at input 1 for DIV function*) (*call DIV function*) (*sum of operating hours = minutes*) (*divided by 60*)

To reset the counter score it is necessary to reset the counter (CTU_COUNTER.R) as well as the flag with the retained value (M_DINT_MINUTESOLD).

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

177

Examples for Application Programs

This could be executed by a subroutine before PLC_RESET. With RET the subroutine will be left.

(*SUBROUTINE*) ResetCounter: LD 0 ST M_DINT_MINUTESOLD ST M_BOOL_RESET LD 1 ST CTU_COUNTER.R RET (*END SUBROUTINE*)

(*the old value for operating minutes*) (*is set to "0"*) (*reset the flag for running this*) (*subroutine*) (*reset counter by input R*)

The call of the subroutine could be executed at the end (after ST M_DINT_HOURS). Therefore the flag (M_BOOL_RESET) must be set to "1". Instead of the flag an input address could be used, for instance a command. Reaching the command CALC the call of the subroutine will be executed. In the subroutine the flag (M_BOOL_RESET) will be reset to "0", otherwise the counter would last at "0" as long as the flag will be reset to "0".

LD ST

0 CTU_COUNTER.R

(*besides reset of the time the*) (*counter input R is set to "0"*) (*if the flag is set to "1"*) (*call the subroutine ResetCounter*)

LD M_BOOL_RESET CALC ResetCounter

178

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Examples for Application Programs

B.5.

Bounce Suppression
If an input signal is bouncing the blocked bit (BL bit) is set. The number of state changes until the BL bit is set, as well as the monitoring time during which the information must be static until the BL bit is reset, are adjustable via constants. An output is set to "0" during the BL bit is set. With an edge detection for the rising edge (R_TRIG_INEDRISE0) and the falling edge (F_EDTIMEFALL0) the counter (CTU_EDC0) will be incremented by 1. At the same time the R input of the counter is reset via an ON delay for the rising edge (TON_EDTIMERISE0) as well as for the falling edge (TON_EDTIMEFALL0). With this function all state changes of the input will be integrated by the counter (started with the first edge and triggered by each following one). As soon as a state change of the input happens the flag (M_BOOL_COUNTER00) is reset and the input of an AND (module 8) is set (inverted). If the sum of state changes is greater as or equal to a defined number (CV>=PV) the counter output is set as well, and the BL bit is set. With the set BL bit the output is reset by another AND (module 9). After expiration of the monitoring time the R input of the counter is set again, and the counter is reset. If the BL bit is set it will be reset as well (output of module 8 is reset).
R_TRIG_INEDRISE0

Input
1

> 1

M_BOOL_MODULE03

CU
3 2 F_TRIG_INEDFALL0

Counter upward PV
CTU_EDC0

Parameter
in the INIT part

M_BOOL_MODULE7

TON_EDTIMERISE0

TON
4

> 1
M_BOOL_COUNTER00

TON
5 TON_EDTIMEFALL0

&

Blocked
8

& Output

In the operation order the R input of the counter must be reset first, because only afterwards the positive edge at the CU input of the counter causes an increment. Therefore the application program handles the R input before the CU input of the counter.

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

179

Examples for Application Programs

Example: number of state changes >= 5 monitoring time of the stability of the input = 10 s

PLC_RESET: LD 20 ST PLC_CYCLETIME PLC_INIT: LD 5 ST CTU_FLZ0.PV

(*cycle time in ms*)

(*number of transients until*) (*information is set bouncing*)

(*once detected as bouncing, the input signal must last statical "1" for a preset time until the blocked bit will be reset again*) LD 10000 (*load constant for 10s*) ST TON_EDTIMERISE0.PT (*ON delay rising edge*) ST TON_EDTIMEFALL0.PT (*ON delay falling edge*) PLC_START: (*Modules 4,5,6,7 if there are no more state changes of the input, the counter will be reset when the preset monitoring time has expired*) LD I_030_002_000_000.VALUE (*input*) ST M_BOOL_INPUT00 ST TON_EDTIMERISE0.IN (*rising edge - module 4*) STN TON_EDTIMEFALL0.IN (*falling edge - module 5*) CAL TON_EDTIMERISE0.IN (*call module 4*) ST OR.IN0 CAL TON_EDTIMEFALL0 (*call module 5*) ST OR.IN1 CAL OR (*call module 6*) ST M_BOOL_COUNTER00 (*also in graphic*) ST CTU_EDC0.R (*reset input of counter - module 7*) (*Modules 1,2,3,7 rising and falling edge of the input are combined with an OR and put to the CU input of the counter each change will be added*) LD M_BOOL_INPUT00 ST R_TRIG_INEDRISE0.CLK (*rising edge - module 1*) ST F_TRIG_INEDFALL0.CLK (*falling edge - module 2*) CAL R_TRIG_INEDRISE0 (*call module 1*) ST OR.IN0 CAL F_TRIG_INEDFALL0 (*call module 2*) ST OR.IN1 CAL OR (*call module 3*) ST CTU_EDC0.CU (*count up input of counter - module 7*) ST M_BOOL_MODULE3 (*only for graphic*) (*Modules 7,8 with the first edge change the monitoring time will be started. If the number of edges is greater then the number of transients within this time, the output of the AND (module 8) is set = blocked*) CAL CTU_EDC0 (*call module 7*) ST M_BOOL_MODULE7 (*only for graphic*) ST AND.IN0 LDN M_BOOL_COUNTER00 ST AND.IN1 CAL AND (*call module 8*) ST M_BOOL_BOUNCING00 (*is set if the input is bouncing*) ST O_030_002_000_000.BL (*set blocked bit of the input*) (*Module 9 - the output is reset during the input is detected as bouncing*) LD M_BOOL_INPUT00 ST AND.IN0 LD M_BOOL_BOUNCING00 STN AND.IN1 CAL AND (*call module 9 if bouncing, then*) (*reset"*) ST O_030_002_000_000.VALUE (*output of input information*)

180

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Examples for Application Programs

B.6.

Setpoint Command

PLC_RESET: LD 20 ST PLC_CYCLETIME PLC_INIT: LD 1 ST PLC_TX_DATAFLOW_030 ST PLC_TX_DATAFLOW_031 ST PLC_TX_DATAFLOW_036 ST PLC_TX_DATAFLOW_050 PLC_START: (*Mapping inputs to flags*) LD ST LD ST LD ST LD ST I_050_171_105_000.S_E M_BOOL_NyttBVCmL45 I_030_008_004_000.VALUE M_BOOL_OmkHandL45 I_036_018_039_000.VALUE M_REAL_CmL45 I_050_171_105_000.VALUE M_REAL_BvCmL45DC

(*cycle time in ms*)

(*single-point inform. to plc & (*double-point inform. to plc & (*measured value float to plc & (*setpoint command float to plc

comm.*) comm.*) comm.*) & comm.*)

(*setpoint command select/execute*) (*single-point information input*) (*measured value float input*) (*setpoint command float input*)

(*Temporary test variables*) LD ST CAL JMPN LD ST I_050_171_105_000.S R_TRIG_PosFlank1.CLK R_TRIG_PosFlank1 HOPP90 I_050_171_105_000.S_E O_050_171_105_000.S_E (*check for a rising edge, otherwise *) (*create a confirmation each cycle *) (*if you have no setpoint the logic *) (*will jump over the COT procedure*)

(*here you have to add the select*) (*before execute procedure*) (*setpoint command select/execute*)

ST LD ST ST

M_BOOL_NyttBVCmL45 I_050_171_105_000.VALUE O_050_171_105_000.VALUE M_REAL_BvCmL45DC

(*setpoint command float output*)

(*Example for select before execute*) LD ST 7 O_050_171_105_000.COT (*7 = confirmation, 10 = termination,*) (*if you set 0, the confirmation would*) (*be created here, and the termination*) (*in the following cycle*) (*setpoint command spontaneous*)

LD 1 ST O_050_171_105_000.S HOPP90:

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

181

Examples for Application Programs

B.7.

Speed Comparison

PLC_RESET: LD 100 ST PLC_CYCLETIME PLC_INIT: LD 1000 ST TOF_FLAENDSTEIG0.PT ST TOF_FLAENDFALL0.PT PLC_START:

(*cycle time in ms*)

(*drop off delay in ms*)

(*Check speed value on change*) LD I_034_016_000_000.S (*load spontaneous bit speed value*) JMPN NO_CHANGE (*jump if no change of value*) (*Change of speed value present*) LD I_034_016_000_000.VALUE (*load speed value*) ST M_REAL_WERTNEU (*current speed value to flag*) ST SUB.IN0 LD M_REAL_WERTALT (*load old speed value*) ST SUB.IN1 CAL SUB (*form difference value*) ST M_REAL_WERTDIF (*difference value to flag*) (*Take over change of value*) LD M_REAL_WERTNEU ST M_REAL_WERTALT

(*load current value*) (*save current value for next *) (*change of value*)

(*Value comparison speed ascending*) LD M_REAL_WERTDIF (*load diff. value*) ST GT.IN0 LD 0 ST GT.IN1 CAL GT (*diff. value > 0: speed ascending*) ST M_BOOL_DZST (*set flag speed ascending*) (*Value comparison speed descending*) LD M_REAL_WERTDIF (*load diff. value*) ST LT.IN0 LD 0 ST LT.IN1 CAL LT (*diff. value < 0: speed descending*) ST M_BOOL_DZFA (*set flag speed descending*) NO_CHANGE: (*jump mark if no change of value*)

(*Drop-off delay speed ascending*) LD M_BOOL_DZST (*load flag speed ascending*) ST TOF_FLAENDSTEIG0.IN CAL TOF_FLAENDSTEIG0 (*drop-off delay*) LD TOF_FLAENDSTEIG0.Q ST O_030_048_000_000.VALUE (*reset output*) (*Drop-off delay speed descending*) LD M_BOOL_DZFA (*load flag speed descending*) ST TOF_FLAENDFALL0.IN CAL TOF_FLAENDFALL0 (*drop-off delay*) LD TOF_FLAENDFALL0.Q ST O_030_049_000_000.VALUE (*set binary output*) (*Reset flags for speed ascending, descending*) LD 0 ST M_BOOL_DZST (*reset flag speed ascending*) ST M_BOOL_DZFA (*reset flag speed descending*)

182

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

C.
Contents

Connection of Resistance Thermometers

C.1.

Calibration Process ..........................................................................................184

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

183

Connection of Resistance Thermometers

C.1.

Calibration Process
For the connection of a resistance thermometer in 2-wire technique a calibration process is required at the analog input module AI-6310.

Preconditions Automation unit ready for operation Resistance thermometer completely wired on the system side and connected to the I/O module Measurement of the temperature by command interrogation from the control system or by means of the webbrowser (user interface online)

Process: 1. Short-circuiting the resistance thermometer. The short circuit should take place as close to the resistance thermometer as possible. 2. Webbrowser: Configuration of the input on AI-6310 in monitor direction to Type "Floating point" as well as connection to "2 wire". 3. Webbrowser: Set configuration of the input on AI-6310 in control direction to Type "single command". 4. Webbrowser: In the Process-display of the AI-6310 actuate Button factory calibration and read out the temperature value. Or set the command remotely (with the correct IOA address) via the control system.

184

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Literature
TM 1703 mic CP-60xx/CPC60 Data Sheet TM 1703 mic CP-60xx/CPC60 System Manual TM 1703 mic Installation TOOLBOX II User Manual TB II CAEx plus User Manual MC6-021-1 DC6-031-2 DC6-009-1 D30-500-1 D30-507-1

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

185

Literature

186

Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008

Potrebbero piacerti anche