Tm Mic Opmaint Eng
Short Description
manual de operacion del wb para la mic tm 1703...
Description
Preface, Table of Contents
ACP 1703
Overview
1
Administration
2
Engineering via Webbrowser
3
Engineering via TOOLBOX II
4
Maintenance
5
TM 1703 mic
Operation and Maintenance
Error Information
Examples for Application Programs
B
Connection of Resistance Thermometers
C
Literature
Edition 8.2008 DC6-013-2.01
A
Note
Please observe Notes and Warnings for your own safety in the Preface.
Disclaimer of Liability Although we have have carefully checked checked the contents of of this publication 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 Version.Revision Release date
TM_MIC_OpMaint 2.01 2008-08-29
Siemens Aktiengesellschaft Aktiengesellschaft
o
Order N : DC6-013-2.01
Copyright Copyright © Siemens AG 2008 The reproduction, transmission transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable f or damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
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: •
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 FLASHmic
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
Within this manual there are hints how to obtain information or files by means of ISIWeb (http://intranet.isi-ptdea.siemens.com http://intranet.isi-ptdea.siemens.com)). Should ISIWeb not be available to you please consult your project manager at Siemens.
ACP 1703, Operation and and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
3
Preface
Conventions Used In this document, reference is often made to important information, notifications and l imitations. 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 DESCRIBED IN THIS FONT. Unchangeable texts that are contained in win dows 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.
4
ACP 1703, Operation and Maintenance Maintenance TM 1703 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 t he 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 t he documentation in question, to which special attention must be paid.
Qualified Personnel Commissioning 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 t his manual, qualified personnel are those persons who are authorized to commission, release, ground, 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. commissioning.
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
5
Preface
6
ACP 1703, Operation and Maintenance Maintenance TM 1703 1703 mic DC6-013-2.01, Edition 08.2008
Table of Contents
1.
Overview .................................................. ............................................................................................................ ......................................................................... ...............13 13 1.1.
General...............................................................................................................14
1.2.
System Architecture ...........................................................................................15 ...........................................................................................15
1.2.1. 1.2.1.1. 1.2.2. 1.3.
System Strucure............................................................................................15 Firmware for the Master Control Element ................................................15 Communication ...................................................... .............................................................................................16 .......................................16 Engineering PC ..................................................................................................17 ..................................................................................................17
1.3.1.
Required Hardware ................................................. .......................................................................................17 ......................................17
1.3.2.
Required Software................................................... Software .........................................................................................17 ......................................17
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.
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 .............................................................................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
1.4.2.1.1.
Direct Connection between Engineering PC and TM 1703 mic .........28
1.4.2.1.2.
Remote Connection between Engineering PC and TM 1703 mic ......28
1.4.3.
User Interface........................................................ Interface ................................................................................................29 ........................................29
1.4.3.1.
Input of a Value .................................................. ........................................................................................30 ......................................30
1.4.3.2.
Selection of a Value ....................................................... .................................................................................30 ..........................30
1.5. 1.5.1. 1.5.1.1. 1.5.2. 1.5.2.1.
Engineering via TOOLBOX II .................................................. .............................................................................31 ...........................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
1.5.2.1.1.
Direct Connection between Engineering PC and TM 1703 mic .........33
1.5.2.1.2.
Remote Connection between Engineering PC and TM 1703 mic ......34
1.5.3. 1.6.
User Interface........................................................ Interface ................................................................................................35 ........................................35 Switching the System On and Off ............................................................ ......................................................................36 ..........36
1.6.1.
Switching On ................................................. .................................................................................................36 ................................................36
1.6.2.
Switching Off ................................................. .................................................................................................36 ................................................36
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
7
Table of Contents
2.
Administration................................................................................................................. 37 2.1. 2.1.1.
Users and Rights..................................................................................... 38
2.1.1.2.
Password .......................................................... ................................................................................................. ....................................... 39
2.2. 2.2.1. 2.2.1.1.
Logon and Logoff................................................................................ Logoff.......................................................................................... .......... 39 TOOLBOX II ................................................... ...................................................................................................... ................................................... 40 Preadjustments for the Engineering ........................................................... ............................................................. .. 40 Users and Rights..................................................................................... 41
2.2.2.
Configure Plant ..................................................... ............................................................................................. ........................................ 41
2.2.3.
Import, Export, Backup of Engineering Data ................................................ 41
Engineering via Webbrowser......................................................................................... Webb rowser......................................................................................... 43 3.1. 3.1.1.
Telecontrol ..................................................... ......................................................................................................... .................................................... 44 Offline Engineering .......................................................... ....................................................................................... ............................. 44 44
3.1.1.1.
Creating a New Project ........................................................................... ........................................................................... 45
3.1.1.2.
Starting the User Interface Offline ......................................................... ........................................................... .. 47
3.1.1.3.
Hardware Configuration ........................................................ .......................................................................... .................. 48
3.1.1.4.
Save and Load Parameters..................................................................... 49
3.1.1.4.1.
Write Parameters Parameters to SIM Card ..................................................... ........................................................... ...... 49
3.1.1.4.2.
Read Parameters from SIM Card....................................................... 49
3.1.1.5.
Open Project.............................................................. Project............................................................................................ .............................. 49
3.1.1.6.
Close Project .................................................... ........................................................................................... ....................................... 50
3.1.1.7.
Data Point Import and Export .......................................................... .................................................................. ........ 50
3.1.1.7.1.
Data Point Import ............................................................................... ............................................................................... 51
3.1.1.7.2.
Data Point Export .................................................... ............................................................................... ........................... 52
3.1.1.8. 3.1.2. 3.1.2.1.
Duplication of a Project ........................................................................... 52 Online Engineering .......................................................... ....................................................................................... ............................. 55 Setting the TM 1703 mic IP Address....................................................... 56
3.1.2.1.1.
Serial TCP/IP Interface....................................................... Interface....................................................................... ................ 56
3.1.2.1.2.
Ethernet-TCP/IP Interface.................................................................. 56
3.1.2.2.
Starting the User Interface Online ......................................................... ........................................................... .. 58
3.1.2.3.
Automatic Hardware Configuration ......................................................... ......................................................... 59
3.1.2.4.
Save and Load Parameters..................................................................... 59
3.1.2.4.1.
Download Parameters ........................................................ ........................................................................ ................ 60
3.1.2.4.2.
Upload Parameters ............................................................................ ............................................................................ 60
3.1.3.
8
Preadjustments for the Engineering ........................................................... ............................................................. .. 38
2.1.1.1. 2.1.2.
3.
Webbrowser........................................................................................... Webbrowser................................. ...................................................................... ............ 38
Engineering Offline or Online ....................................................................... 61
3.1.3.1.
System Settings..................................................................... Sett ings....................................................................................... .................. 61
3.1.3.2.
Time Settings .................................................... ........................................................................................... ....................................... 65
3.1.3.3.
Configuration of the Communication Interface........................................ 66
3.1.3.4.
Settings of the Communication Protocol ................................................. 68
3.1.3.5.
Configuration of Inputs and Outputs........................................................ 69
3.1.3.6.
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.
Binary Information Acquisition ............................................................73
3.1.3.6.2.
Counting Pulse Acquisition ........................................................ .................................................................74 .........74
3.1.3.6.3.
Current and Voltage Acquisition .........................................................76
3.1.3.6.4.
Temperature Acquisition .......................................................... .....................................................................77 ...........77
3.1.3.6.5.
Frequency Acquisition.........................................................................78
3.1.3.6.6.
Speed Monitoring ....................................................... ................................................................................79 .........................79
3.1.3.6.7.
Command Output................................................................................82
3.1.3.6.8.
Binary Information Output ................................................... ...................................................................84 ................84
3.1.3.6.9.
Current and Voltage Output .......................................................... ................................................................85 ......85
3.1.3.7.
Decentral Archive (DEAR) .......................................................................86
3.1.3.7.1.
Common..............................................................................................86
3.1.3.7.2.
Configuration of DEAR........................................................................86
3.1.3.7.3.
Archiving Data Points from Peripheral Elements ................................88
3.1.3.7.4.
Archiving Data Points from PLC .........................................................89 .........................................................89
3.1.3.8.
Documentation ................................................... .........................................................................................90 ......................................90
3.1.3.8.1.
Overview ........................................................ .............................................................................................90 .....................................90
3.1.3.8.2.
Power Supply Module .................................................. .........................................................................91 .......................91
3.1.3.8.3.
Protocol .......................................................... ...............................................................................................91 .....................................91
3.1.3.8.4.
I/O Modules.........................................................................................91
3.1.4.
Commissioning and Test...............................................................................92
3.1.4.1.
Initiate Startup .................................................... ..........................................................................................92 ......................................92
3.1.4.2.
Startup Request due to Parameter Modification......................................92 Modification ......................................92
3.1.4.3.
Test Functions..........................................................................................94
3.1.4.3.1.
State Display of Inputs and Outputs ...................................................94
3.1.4.3.2.
Simulation of Outputs..........................................................................97
3.1.4.4.
Display Event List.....................................................................................98
3.1.4.4.1.
Save Event List ......................................................... ...................................................................................99 ..........................99
3.1.4.4.2.
Clear Event List.................................................................................100
3.1.4.5.
Local Reading of the Decentral Archive (DEAR) ...................................100
3.1.4.5.1.
Save DEAR ...................................................... .......................................................................................101 .................................101
3.1.4.5.2.
Clear DEAR..................................................... DEAR .......................................................................................102 ..................................102
3.2.
Automation .............................................................................................. .......................................................................................................103 .........103
3.2.1.
Creating an Application Program as Instruction List (IL).............................103
3.2.1.1.
Structure of an Instruction List ...............................................................103 ...............................................................103
3.2.1.2.
Syntax for Instructions............................................................................104
3.2.1.2.1.
Common............................................................................................104
3.2.1.2.2.
Addressing of I/O Variables ....................................................... ..............................................................104 .......104
3.2.1.2.3.
Addressing of Flags ..........................................................................105 ..........................................................................105
3.2.1.2.4.
Call of Functions Functi ons ...............................................................................105 ...............................................................................105
3.2.1.2.5.
Call of Function Blocks .....................................................................106
3.2.1.3.
Instruction Comments ................................................... ............................................................................106 .........................106
3.2.1.4.
Settings in the Application Program.......................................................107
3.2.1.4.1.
Setting the Cycle Time......................................................................107
3.2.1.4.2.
Spontaneous Program Execution .....................................................108
ACP 1703, Operation and and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
9
Table of Contents
3.2.1.4.3. 3.2.1.5.
System Information in the Application Program .................................... 111
3.2.1.6.
Command Processing according to IEC 61131 .................................... 111
3.2.1.7.
Generation of Integrated Totals............................................................. 112
3.2.1.8.
Reading System Errors .......................................................... ......................................................................... ............... 112
3.2.2.
4.
Commissioning and Test .................................................. ............................................................................ .......................... 113
3.2.2.1.
Initiate Startup (Warm Restart).............................................................. 113
3.2.2.2.
Startup due to Application Program Change (Cold Restart)................. Restart) ................. 114
3.2.2.3.
Configuration .................................................... ......................................................................................... ..................................... 115
3.2.2.3.1.
Enable and Disable PLC Program Execution .................................. 116
3.2.2.3.2.
Save and Load PLC Code................................................................ 116
3.2.2.3.3.
Recompile PLC Code ......................................................... ....................................................................... .............. 117
3.2.2.3.4.
Erase PLC Code from SIM Card .................................................... ...................................................... .. 117
3.2.2.4.
PLC Diagnosis .................................................... ....................................................................................... ................................... 118
3.2.2.5.
Test Functions .................................................. ....................................................................................... ..................................... 120
3.2.2.5.1.
Start and Stop Program Execution ................................................... 121
3.2.2.5.2.
Stop Program Execution at a Command Line .................................. 121
3.2.2.5.3.
Stop Program Execution dependent on Variable............................. 121
3.2.2.5.4.
Read and Write Variable .................................................... .................................................................. .............. 122
Engineering via TOOLBOX II........................................................................................ II........................................................................................ 123 4.1.
Telecontrol ..................................................... ....................................................................................................... .................................................. 124
4.1.1.
Starting the TOOLBOX II ................................................. ............................................................................ ........................... 125
4.1.2.
Configure Plant ..................................................... ........................................................................................... ...................................... 125
4.1.3.
Configuration of the Hardware.................................................... Hardware.................................................................... ................ 125
4.1.3.1. 4.1.4.
Adding or Removing an I/O Module ................................................... ...................................................... ... 126 System Technique/Process Technique...................................................... 127
4.1.4.1.
System-technical Settings ............................................................. ..................................................................... ........ 12 128 8
4.1.4.2.
Process-technical Settings ........................................................... .................................................................... ......... 128
4.1.4.3.
Configuration of the Communication Protocol....................................... 128
4.1.4.4.
Transform Parameters .......................................................................... 128
4.1.4.5.
Upload Parameters.................................. Parameters................................................................................ .............................................. 129
4.1.4.6.
Parameter comparison ......................................................... .......................................................................... ................. 129
4.1.5.
Documentation ..................................................... ........................................................................................... ...................................... 130
4.1.5.1.
HW Configuration ........................................................ .................................................................................. .......................... 130
4.1.5.2.
Assembly Technique ......................................................... ............................................................................. .................... 130
4.1.5.3.
Interface to Elcad........................................................................... Elcad................................................................................... ........ 130
4.1.5.4.
Telecontrol Function ................................................... .............................................................................. ........................... 131
4.1.6. 4.2. 4.2.1.
10
Data Flow Control .................................................... ............................................................................. ......................... 110
Test Functions ..................................................... ............................................................................................ ....................................... 131 131 Automation....................................................................................................... Automation................................................................................... .................... 132 Creating an Application Program as Function Diagram (FUD) (FUD) .................. 132
4.2.1.1.
Restrictions for the Creation of a Function Diagram ............................. 133 133
4.2.1.2.
Configuring External Signals ........................................................ ................................................................. ......... 134
4.2.1.3.
Create Function Diagram ...................................................... ...................................................................... ................ 134 ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Table of Contents
4.2.1.4.
Simulate Function Diagram....................................................................135
4.2.1.5.
Generate Application Program Code .....................................................135
4.2.1.6.
Load Application Program Code ............................................................136
4.2.1.7.
Documentation ................................................... .......................................................................................137 ....................................137
4.2.1.7.1.
Reference List...................................................................................137
4.2.1.7.2.
Open-/Closed-Loop Control Function ...............................................137
4.2.2. 4.2.2.1. 5.
Oscilloscope ....................................................... ...........................................................................................138 ....................................138
Maintenance ..................................................... ............................................................................................................... ..............................................................1 ....139 39 5.1. 5.1.1.
LED Displays on the Master Control Control Module ...................................................140 LED Display upon Startup...........................................................................140
5.2.
I/O Module Monitoring ................................................... ......................................................................................141 ...................................141
5.3.
Behaviour of the Outputs on Startup and Communication Failure...................142
5.4.
Diagnosis via Webbrowser...............................................................................143
5.4.1.
Overview......................................................................................................143
5.4.2.
System Diagnosis..................................................... Diagnosis ........................................................................................145 ...................................145
5.4.3.
System Status ......................................................... .............................................................................................146 ....................................146
5.4.4.
Diagnosis of the Time....................................................... Time..................................................................................148 ...........................148
5.4.4.1.
Time Synchronization.............................................................................148
5.4.4.2.
Local Setting of the Time .......................................................................149 .......................................................................149
5.5.
Diagnosis via TOOLBOX II...............................................................................150
5.5.1.
General........................................................................................................150
5.5.2.
Ax 1703 Error Message...............................................................................150 Message...............................................................................150
5.5.3.
Diagnosis of the Open-/Closed-Loop Control Function ..............................151
5.6.
Maintenance of the Hardware .......................................................... ..........................................................................153 ................153
5.6.1.
General for the Replacement of Modules ...................................................153
5.6.2.
Replacement of the Master Control Module................................................154
5.6.3.
Replacement of the SIM Card.....................................................................154
5.6.3.1.
Read and Write complete SIM Card ......................................................155 ......................................................155
5.6.3.2.
Erase Content of the SIM Card..............................................................155
5.6.4.
Replacement of an I/O Module ...................................................................155
5.6.5.
Removal of an I/O Module...........................................................................155
5.6.6.
Adding an I/O Module..................................................................................155
5.7.
Firmware Update........................................................ Update ..............................................................................................156 ......................................156
5.7.1.
General........................................................................................................156
5.7.2.
Execute Firmware Update...........................................................................157
5.7.2.1. 5.7.3. A.
Test Functions.............................................................................................138
Errors upon Loading the Firmware ........................................................159 Starting FLASHmic via Command Prompt...................................................159
Error Information Inf ormation ...........................................................................................................161 ...........................................................................................................161 A.1.
Error Categories ......................................................... ...............................................................................................162 ......................................162
A.2.
Errors from Hardware and Software.................................................................163
ACP 1703, Operation and and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
11
Table of Contents
A.3. B.
C.
Examples for Application Programs ............................................................... ........................................................................... ............ 173 B.1.
Transfer an Input to a Signalling Output and to a Command Output .............. 174
B.2.
Combine two Inputs with AND......................................................................... 175
B.3.
Linear Adaptation with Value Selection ........................................................... 176
B.4.
Operating Hours Counter..................................................... Counter................................................................................. ............................ 177
B.5.
Bounce Suppression...................................................................... S uppression........................................................................................ .................. 179
B.6.
Setpoint Command .................................................... .......................................................................................... ...................................... 181
B.7.
Speed Comparison .................................................... .......................................................................................... ...................................... 182
Connection of Resistance Thermometers.................................................................. 183 C.1.
12
Operator Errors ........................................................ ................................................................................................ ........................................ 171
Calibration Process........................................................................ Process.......................................................................................... .................. 184
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
1.
Overview
Contents
1.1.
General...............................................................................................................14
1.2.
System Architecture ...........................................................................................15 ...........................................................................................15
1.3.
Engineering PC ..................................................................................................17 ..................................................................................................17
1.4.
Engineering via Webbrowser .............................................................................24 .............................................................................24
1.5.
Engineering via TOOLBOX II .................................................. .............................................................................31 ...........................31
1.6.
Switching the System On and Off ............................................................ ......................................................................36 ..........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 also be created (automation). For this serves an integrated Programmable Logical Controller (PLC). An application program can be programmed programmed either as an Instruction List List (IL) or as a Function Diagram (FUD). The engineering and operation of TM 1703 mic is possible either via a webbrowser or webbrowser or via the TOOLBOX II: 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 Contr ol Module
8 I/O Modules max .
Power Supply Module
1.2.1.1. Firmware for the Master Master Control Element The master control module and its firmware form the master control element. The firmware is available as a "self l oading" 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 /XX/86* in the ISIWeb. Example: Firmware
CPC60
Designation
Item number
Flashloader and firmware FLASHmic
SC6-060-1
TU CPC60 TB II update
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
Process Communication Communication
Engineering
1)
IEC 60870-5-101
•
serial V.28 1)
PPP+TCP/IP
LAN/WAN
Ethernet+TCP/IP
serial V.28 - or
PPP+TCP/IP PPP+TCP/IP
LAN/WAN
Ethernet+TCP/IP
CP-6020/CPC60 MIC
•
serial V.28
CP-6040/CPC60 MIC
•
serial V.28 2)
IEC 60870-5-101
•
•
LAN/WAN 2)
IEC 60870-5-104
•
•
16
1)
Process communication communication and engineering are using the serial interface exclusively. They are not available simultaneously. simultaneously.
2)
Process communication 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.
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 of WEBmic WEBmic or the Prerequisite for Engineering PC must fulfil the Prerequisite for the Operation of the Operation of the TOOLBOX II. 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
Harddisk
Engineering
Meaning/Note Meaning/Not e
online
in the running master control element
offline
in a SIM card read/write device installed on the PC for parameter setting
offline
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 for the Operation Operation of WEBmic •
Executable file WEBmic.exe must be stored locally on the Engineering PC
Supported Operating Systems (32 bit platform)
1.3.2.2.
Operating system
Webbrowser Webbrowser
Windows 2000 Professional (as of Service Pack 4)
Internet Explorer as of Version 5.5
Windows XP Professional (as of Service Pack 2)
Internet Explorer as of Version 6.0
Microsoft Windows NT 4.0
Internet Explorer as of Version 5.5
Microsoft Windows CE (Pocket PC 2002)
Pocket Internet Explorer as of Version 3.0
Microsoft Windows CE (Pocket PC 2000)
Pocket Internet Explorer as of Version 3.0
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 for the Operation 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 5.7.1
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
Designation
Item number
EM II
Engineering Manager
V30-016
PSR II
Engineering and service computer
V30-017
OPM II
Object-oriented process data manager
V30-004
CAEX plus
Tool for open/closed-loop open/closed-loop control applications
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, t hat 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' 'comma' for the thousand separator must must be different ─ As separator an 'inverted comma' comma' must not be used
•
Usage of Windows Fonts in normal size (96 (96 DPI)
•
Microsoft Internet Explorer as of version 6.0
•
•
•
Macromedia Flash Player as of Version 7.0 (to play online help tutorial vid eos), see Installation CD1 directory \MACROMEDIA or www.macromedia.com 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
Operating system
TOOLBOX II Lokal
Windows 2000 Professional (as of Service Pack 4) Windows XP Professional (as of Service Pack 2)
TOOLBOX II Server
Windows 2003 Server (as of Service Pack 1)
TOOLBOX II Web Server (refer to web.engineering)
Windows 2000 Server Server (as of Service Pack 4) with Terminalserver 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 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 Designati on
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 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 i t. 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 installation,, the initial initial access access to the the SIM card card with the tool WEBmic needs considerably more time than the following ones!
1.3.2.4.1. Settings of the Read/Write Read/Write Device for Chipcards Chipcards You can read out the settings of the chipcard reader/writer via the WEBmic pop-up menu under SIM C ARD READER | SIM C ARD READER SETTINGS. WEBmic checks whether a card reader is installed on the PC. If no val id 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 Engineeri ng 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
Online Engineering
The webbrowser accesses local stored files on a PC or a SIM card. It displays HTML pages made available by WEBmic .
The webbrowser accesses directly the master control element. It displays HTML pages made available by the integrated Webserver of TM 1703 mic.
WEBmic
Paramete rs
Editor
Instruction List
Menu functions offline
Menu functions online
Parameter
Parameter
System settings
System settings
Time settings
Time settings
Communication
Communication
Protocol Periphery
Protocol Periphery Upload/Download Process display Diagnosis System status Event list
HW Documentation
HW Documentation
PLC
PLC
Configuration
Save/load code Diagnosis
Decentralized Archive
Decentralized Archive
HW Configuration
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
Functions
Meaning/Note Meaning/Not e
Create new project
edit a new file which contains the plant data "customer", "plant", "station name" in its name, and start of the webbrowser (offline)
Open existing project
open existing parameter file and start of the webbrowser (offline)
Close project
close current parameter file
Duplicate project
copy already existing parameter file and/or write this on the SIM card; optionally write application program on SIM card 1)
Data point import/export
save data points of a project as file or load from a file
Read/write parameters of/to SIM card
read parameters from SIM card and write into file or vice versa 1)
Read/write PLC of/to SIM card
read application program from SIM card and write into file or vice versa 1)
Read/write complete SIM card
create complete data image
Erase complete SIM card
erases all the user data from SIM card
(Dialog via pop-up menu)
Set Ethernet IP address SIM card reader settings
1)
1)
write IP address address online into into the target target system system (without webbrowser, only the MAC address must be known) lists the settings of the read/write device for SIM card 1)
ASCII editor editor 2)
Parameters
edit settings for system, time, communication protocol and periphery (save in a local file or SIM card)
HW documentation
input/output/terminal assignment of the configured modules, signal assignment of communication cables
Decentral Archive
configure Decentral Archive, define data points of the I/O modules and of the application program (via webbrowser)
HW configuration
configure current equipment (master control module and I/O Modules)
Instruction Instructio n list
edit file that contains the application program
1)
only with installed SIM_card_reader
2)
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 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/w rite 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 *)
Firmware update
firmware into TM 1703 mic transfer of firmware
Webserver ( firmware firmware)
Parameters
edit settings for system, time, communication protocol and periphery
Save/load parameters
transfer parameters from TM 1703 mic to PC and vice versa
Process visualization
input/output input/output state (for each configured I/O module)
Simulate outputs
assign values to outputs for test and service purpose
Decentral Archive
chronological display of the occurred events
System diagnosis
show generated messages from self monitoring
HW documentation
terminal assignment of configured modules
Save/load PLC code
transfer of Instruction List from TM 1703 mic to PC and vice versa
Recompile PLC code
compile Instruction List on SIM card (TM 1703 mic)
Erase PLC code
erase Instruction List from SIM card (TM 1703 mic)
Enable/disable PLC program execution
active after startup only, all internal and external signals will be set to default value
PLC diagnosis
used cycle time and memory
Start/stop Start/sto p PLC
start/stop the execution of the application program; stop: current states of internal and external signals remain "frozen"
Read/write variable
state display or simulation of a selected variable
(dialog via webbrowser)
*)
contains the firmware (current revision)
1.4.2.1. Transfer of of Engineering Engineering Data to TM 1703 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 between Engineering 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 between Engineering 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 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 w ill 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 t he 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 i s 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 3.1.4.1,, Initiate Startup) 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 parameters of the TOOLBOX II are to be checked and if necessary changed (refer to section 2.2.1 2.2.1,, Preadjustmen Preadjustments ts for the Engineering) 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 t ool "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 the TOOLBOX 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 tha t 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 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 t he 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 of Engineering Engineering Data to TM 1703 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 between Engineering Engineering PC and TM 1703 mic Toolbox PC and T M 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 between Engineering 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, (TCP/IP, TELNET)
mic TM 1703 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 a fter 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) 5.1.1 Startup). This is also applicable analogously, if only pa rts 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 a t 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.
Administration
Contents
2.1.
Webbrowser ..................................................... .......................................................................................................38 ..................................................38
2.2.
TOOLBOX II ..................................................... .......................................................................................................40 ..................................................40
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
37
Administration Administration
2.1.
Webbrowser
2.1.1.
Preadjustments for the Engineering
2.1.1.1. Users and Rights Description
Administrator Local Local
Initial page System settings
Remot Remote e
Guest
Offlin Offline e
Local Local
Remote Remote
Offlin Offline e
x
x
x
x
x
x
x
x *)
x
-
-
-
x
x *)
x
-
-
-
Parameterization
x
x *)
x
-
-
-
Display
x
x
x
x
x
x
Parameterization
x
x *)
x
-
-
-
Display
x
x
x
x
x
x
-
-
-
-
Administrator Administrator change password Guest change password
Communication
Periphery
save/load
*)
x
x
Display
x
x
-
x
x
-
Control
x
x *)
-
-
-
-
HW Configuration
-
-
x
-
-
-
Diagnosis
x
x
-
x
x
-
Process
*)
Only if enabled by the local administrator with parameter "remote control control via web" (safety relevant), see section 3.1.3.1 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
Meaning/Note
LOCAL
link via serial interface (without modem) or via Ethernet
REMOTE
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 described within this manual are generally valid 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 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 di fferent access rights. Language
Deutsch
User
Administrator Administrator Guest
English
Administrator 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 Administration
2.2.
TOOLBOX II
Overview of the essential administrative functions
configurate plant
Project Technique
Customer
System Technique
Plant Region AU
Plant Management Assemble Technique Technique
Export/Backup Data Distribution Center
Import
Plant Station Building location Cabinet Board rack
Process Technique
Plant Range
content in export record...
Customer Plant Management System Technique Process Technique System Elements
Selection import file
Selection import file
Selection AU
Services
start export
Data Distribution Center
document assembly technique
generate (csv file) documentation
Asse Assem mbly bly Tec Tech. h. Documentation preview spreadsheet System Technique
document parameters OPM II
2.2.1.
Selection AU print spreadsheet
Preadjustments for the Engineering Before you begin with the e ngineering 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 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 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 th e TOOLBOX II User Manual, chapter "TOOLBOX II Presets", section "User/Role Administration" . Note
All operation functions of TM 1703 mic described described in this manual are generally applicable for for the "Adminis"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 th e 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 th e TOOLBOX II User Manual, chapter "Data Distribution Center" .
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
41
Administration Administration
42
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
3.
Engineering via Webbrowser Webbrowser
Contents
3.1.
Telecontrol..........................................................................................................44
3.2.
Automation .............................................................................................. .......................................................................................................103 .........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
start
new project
open project
SIM
File
SIM
WEBmic
write parameters parameters to SIM card
read parameters from SIM card
filename source
filename target
File
plant data
filename
OK
save a project
OK
webbrowser webbrowser (starts (starts automa automatically) tically)
OK
OK
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 3.1.3,, Engineering Offline or Online. Online.
3.1.1.1. Creating a New Project Before you can begin with t he 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 C ARD 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 wi th 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 password (refer to section2.1.1 section 2.1.1,, Preadjustments for the Engineering) 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 Configurat ion As a basis for the parameterization 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 HWCONFIGURATION. 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 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 save the settings with a mouse click on the button button APPLY. Depending on the selection, the settings are stored on the SIM card or in the file. Note
A manual configuration configuration of I/O modules modules is only only possible offline. The configured 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 valu es 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 thei r 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 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 C ARD. 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 writ ten to the SIM card. Then click on OPEN in order to write the parameters from the selected file to the SIM card. Th e write operation takes a few seconds. Take notice of the Active-LED Active-LED on the read-/write device, if present.
3.1.1.4.2. Read Parameters Parameters from SIM 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 C ARD. 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 N AME). The filename can also be renamed. The fixed default file type is mic. Then click on S AVE 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. 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 parameters can be read and changed. Changes are stored with transfer to the file or to the SIM card respectively. On exiting the pro ject, 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 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 downward compatible, it means 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. closed. To do this, in theWEBmic 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. 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 externall y, 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 configuration of data data points created with the "OPM II" can be imported 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 w orked 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 Point Import 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 i nstance from all substations of the plant. To perform an import, click in the WEBmic pop-up menu on D ATA POINT IMPORT IMPORT (CSV FILE -> TM 1703 MIC). A browse window appears for selecting the source file. The f ile must be a text file of the type csv.
Remove Single Data Points If the type identification of an entry i s 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 del eted 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 A PPLY 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 Point Export 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 D ATA POINT EXPORT EXPORT (TM 1703 MIC > CSV FILE). Now a message box appears wi th 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 fil e type is set to csv. Click on S AVE 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 hard ware 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 C ARD or for FILE. Both media can be written to simultaneously. If the check box SIM C ARD 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. st
Mark the 1 row or click in a field in this row. Now click with the ri ght 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.
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 A 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 tw o 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. created.
A copy is only then created if all parameters parameters are entered. After the generation procedure to to file, a message box confirms how many parameter files have bee n 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 b een written. After the generation, close the dialog by clicking on the 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
Ethernet
start
open an existing project
load a project
save a project
serial
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
apply parameters
projekt is written to the SIM card
load parameters (upload)
save parameters (download)
filename source
filename target
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 i nside 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 3.1.3,, Engineering Offline or Online. 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 TM 1703 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
Default
Meaning/Note Meaning/Note
Own IP address
172.16.0.1
address of the TM 1703 mic Webserver
Remote IP address
172.16.0.2
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
Default
Meaning/Note Meaning/Note
Own IP address
172.16.0.3
address of the TM 1703 mic Webserver
Subnetmask
0.0.0.0
0.0.0.0. = not used
Default gateway
0.0.0.0
0.0.0.0. = not used
Interface
half duplex
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 170 3 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 onl ine 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 t he 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 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 1 703 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, ente r 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 password (see section2.1.1 section 2.1.1,, Preadjustments for the Engineering)) you can now begin with the parameter setting. Engineering 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 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 current configuration of the modules is transferred to the dynamic menu tree. For further details, see section 3.1.3.1 3.1.3.1,, System Settings, Settings, Reset all Parameters. Parameters.
3.1.2.4. Save and Load Parameters The telecontrol parameters stored in TM 1703 mic can be saved on a d ata 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 Paramete rs This function is used for transferring the parameters from TM 1703 mic to a file (Dow nload), 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 record is read from the SIM card of TM 1703 mic and and stored in the set file.
3.1.2.4.2. Upload Parameters A parameter record stored 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 wh ich 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. How ever, 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 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 3.1.4.2,, Startup Request due to Parameter Modification). 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 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 3.1.2.1.2,, Ethernet-TCP/IP Interface. Interface. Note
Apart from the system system settings, settings, the initial setting of the Ethernet Ethernet IP address address of a TM TM 1703 mic mic can be done also online with the function " Set Ethernet IP Address" Address" of WEBmic .
Administrator Password and Guest Password The passwords to enter in a project can be changed at a ny 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. password. It is differed between upper and lo wer 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 i nformation see section 5.5.2 5.5.2,, Ax 1703 Error Message. 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 2.1.1.1,, Users and Rights). 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 3.1.4.1,, Initiate Startup. 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 e xcluded.
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 existi ng configuration is thereby lost and the parameter setting can be attached as with the creation o f a new project. RESET and confirm with YES. To do this, click on the button P ARAMETER RESET
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 load ed 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 3.1.2.1,, Setting the TM 1703 mic IP Address. Address .
Offline, the parameters can be reset only module by module by means of removing or exchanging a module in the Hardware Configuration. 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 P ARAMETER | 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 o f 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 summer wintertime switching can be adjusted. Changes are stored in the file or on the SIM card card by clicking the button APPLY. In online operation the settings are immediately active (no startup required). With communication 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 P ARAMETER | COMMUNICATION | PROTOCOL | SETTINGS under TIME SYNCHRONISATION (NTP). Additionally, the time can be set online manually. This is especially especially useful for the stand-alone mode (see section 5.4.4.2, Local Setting of the Time). Time). Information concerning time synchronization resides within section 5.4.4 5.4.4,, Diagnosis of the Time,, and concerning the settings in the TM 1703 mic CP-60xx/CPC60 System Manual, chapTime ter "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 P ARAMETER | COMMUNICATION | PROTOCOL | CONFIGURATION the configuration mask for the protocol is op ened.
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. parameters. Working 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 "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 P ARAMETER | 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 p reconditions 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 P ARAMETER | PERIPHERY | | 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 individu al 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. Thi s 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 characcharacters can be freely assigned to each data point. This te xt is used both in the Documentation as well as for a logging of the respective data point in theDisplay the Display Event List. List. Assignment of information objects and inputs/outputs: Type
Meaning
Connection
Scope
Single-point information
information informatio n acquisition
1 binary input
Double-point information
information acquisition acquisition
2 successive binary inputs
Integrated total
count pulse acquisition acquisition
1 binary input
Measured value
current acquisition acquisition
1 analog input
voltage acquisition
1 analog input
temperature acquisition
2-wire
1 analog input
3-wire 4-wire speed acquisition
1 impulse input
frequency acquisition
1 impulse input 2 successive impulse inputs
Single command
Double command
command output
command output
1-pole
1 binary output
1½-pole *)
1 binary output + 1 binary output for group relay
2-pole *)
2 successive binary outputs
1-pole
2 successive binary outputs
1½-pole *)
2 successive binary outputs + 1 binary output for group relay
2-pole *)
4 successive binary outputs
Single-Point Information
binary information output
1 binary output
Setpoint command
current output
1 analog output
Setpoint command
voltage output
1 analog 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 P ARAMETER | PERIPHERY | | 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. Thi s assignment is specified in the standard IEC 60870-5-101/-104, and serves for the priorization o f 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 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 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 ea ch change of state of the binary information (exception: Class 2 data withdial-up with dial-up traffic). 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 (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, (disconnector, valve etc.) is not in a final position. 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 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). traffic).
Setting of the Mode for the Counter Freeze and Transmission This parameter defines how the integrated total is generated:
74
•
in a certain time interval
•
by means of an external counter interrogation
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 ad justed time-scale. With 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 reset again. There is no "overflow" bit (OV) available.
Counter Groups Each counting value can be classified to a group (adjustable group 1…4). 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 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). 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). 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). 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 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 t he generating unit needs to reach the maximum speed. With these values the measured speed is corcorrected 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 l ocal 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 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 1 4 events can be defined. By means of the respective entry of an IOA unequal 0/0/0, the therefore therefore required digital outputs can 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
with make functionality with break functionality
80
greater than 130% with a hysteresis of 5% smaller than 125% with a hysteresis of 5%
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 n umber 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 n umber of speed pulses, from which the digital output shall be activated (the value must be smaller than that for the standstill de tection). 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 d irectional speed value is desired, an applicational solution via the PLC (IL) is po ssible. For the generation of a value with sign, both parameterized data points "hand of rotation backward" and "hand of rotation for ward" 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). 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 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 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 3.1.3.7.4,, Archiving Data Points from PLC)). 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 ad dresses 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 automation unit. 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 fil e 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 Peripheral Elements Elements Click in the menu tree on DECENTRAL ARCHIVE | D ATA 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 | D ATA POINTS PLC in the menu tree.
Note
After a cold cold restart all the data data points which are used un the IL are entered automatically 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
90
Output
Meaning/Note
Slot
acc. to configuration
power supply (PS) master control unit (MCU) I/O module (IOMx)
Type
acc. to configuration
supported module types see in TM 1703 mic CP-60xx/CPC60 System Manual
Operational equipment designation
10 characters
the text can be entered here
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Engineering via Webbrowser
3.1.3.8.2. Power Supply Module Module Parameter
Display
Customer/plant/station Customer/pla nt/station
acc. to system settings
CASDU1/CASDU2 CASDU1/CAS DU2
acc. to system settings
Operational equipment designation
acc. to overview
Pin
module specific
Terminal
module specific
Meaning/Note Meaning/Note
terminal designation
3.1.3.8.3. Protocol Parameter
Display
Meaning/Note Meaning/Note
Customer/plant/station Customer/pla nt/station
acc. to system settings
CASDU1/CASDU2 CASDU1/CAS DU2
acc. to system settings
Protocol
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 communication
transmission facility
acc. to protocol configuration
modem, radio, ring, direct
Cable assignment
acc. to transmission facility
pin and signal assignment of the cable to the transmission facility
Signal Signal
acc. to transmis transmission sion facility facility signal signal name
3.1.3.8.4. I/O Modules Parameter
Display
Meaning/Note Meaning/Note
Customer/plant/station Customer/pla nt/station
acc. to system settings
CASDU1/CASDU2 CASDU1/CAS DU2
acc. to system settings
Operational equipment designation
acc. to overview
Pin
module specific
DP
module specific
unit
acc. to periphery settings
Type
acc. to periphery settings
connector
acc. to periphery settings
only for AI (temperature (temperature acquisition) acquisition)
type
acc. to periphery settings
only for DO and AO relevant
Text
acc. to periphery settings
IOA1/IOA2/IOA3
*)
Terminal
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
only for AI (current/voltage (current/voltage acquisition) acquisition)
acc. to periphery settings acc. to periphery settings
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 parameter change, by clicking the button RESET in the menu P ARAMETER | SYSTEM SETTINGS. Note
After a change change of the IP address of a TM 1703 mic a startup is always executed automatically. automatically. The same is applicable if the parameters are reset to default values (see section 3.1.3.1 3.1.3.1,, System Setting, Setting, Reset all Parameters)). Parameters
Warning
A startup has has also consequences consequences for for the automation automation function function (if used). For For details thereto thereto refer to section section 3.2.2,, Commissioning and Test. 3.2.2 Test.
3.1.4.2. Startup Request due to Parameter 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 wit h 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 Menu/Submenu
Type
System settings
Parameter
compatibility compatibility mode acquisition grid of TM modules
Communication Communication | Protocol | Configuration
Ethernet
configuration of the protocol transmission facility max. message length monitor direction type identification
Communication Communication | Protocol | Settings
Ethernet
own IP address remote IP address
Communication Communication | Protocol | Configuration
dial-up traffic
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
Communication Communication | Protocol | Settings
dial-up traffic
power supply modem
Communication Communication | Protocol | Configuration
multi-point traffic
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
Communication Communication | Protocol | Settings
multi-point traffic
power supply modem DLC frequency range radio circuit identifier relay operation monitoring timeout
Periphery | Configuration
DI
type class 1 data inversion IEC 60870-5-101 group (RQT)
Periphery | Settings
DO
in case of communication failure keep output/terminate output
Periphery | Configuration
AI
unit type
Periphery | Settings
AI
(all parameters)
Periphery | Configuration
AO
unit type
Periphery | Settings
AO
(all parameters)
Periphery | Configuration
TE
(all parameters)
Periphery | Settings
TE
(all parameters)
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 Outputs The states of the binary and analog inputs/outputs can be visualized online. To do this, click in the menu tree on V ISUALIZATION ISUALIZATION 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 clicking on V IEW | REFRESH in the webbrowser.
94
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Engineering via Webbrowser
Binary Inputs Type
State
Format
Meaning/Note Meaning/Note
Single-point information
Off On
binary
Double-point information
Off On faulty position intermediate position
binary
faulty position = on & off intermediate position = not on & not off & monitoring time expired
Integrated total
value
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
depends on parameterized frozen value
Binary Outputs Type
State
Format
Single-Point Information
Off On
binary
Single command
Off On
binary
double command
Off On
binary
Meaning/Note Meaning/Note
Analog Inputs Type
State
Format
Meaning/Note Meaning/Note
Current
–100%…100% –32000…32000 –32000…32000
normalized scaled floating point
format corresponds to the parameterization of the AI module
Voltage
–100%…100% –32000…32000 –32000…32000
normalized scaled floating point
format corresponds to the parameterization of the AI module
–50°C…350°C (-58F…662F) -100°C…700°C (-148F…1292F) -60°C…250°C (-76F…482F)
floating point
Temperature
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
95
Engineering via Webbrowser
Analog Outputs Type
State
Format
Meaning/Note
Current
–100%…100% –32000…32000 –32000…32000
normalized scaled floating point
format corresponds to the parameterization of the AO module
Voltage
–100%…100% –32000…32000 –32000…32000
normalized scaled floating point
format corresponds to the parameterization of the AO module
Speed acquisition Type
Frequency
96
State
2…10000Hz
Format
Meaning/Note
floating point
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Engineering via Webbrowser
3.1.4.3.2. Simulation of Outputs 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
Scope 1)
Choice
Single-point information
Off
1 binary output
Single command
command output time without identifier 2)
On
short command output time long command output time Double command
Off On
3)
3)
1 binary output + 1 binary output(group relay) 2 successive binary outputs
Command output time without identifier 2) short command output time long command output time
1 binary output
3)
3)
2 successive binary output 2 successive binary output + 1 binary output(group relay) 4 successive binary output
1)
dependent on the settings of the digital outputs
2)
the command output time corresponds to the parameterization of the respective data point
3)
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
Voltage
Choice
Format
-100%…100%
normalized
-32000…32000
scaled
-32000…32000
floating point
-100%…100%
normalized
-32000…32000
scaled
-32000…32000
floating point
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Scope
Note
1 analog output
format corresponds to the parameterization of the DO module
1 analog output
format corresponds to the parameterization of the DO module
97
Engineering via Webbrowser
3.1.4.4. Display Event List By selecting the mask DECENTRAL ARCHIVE | E VENT LIST in the menu tree, the display of events (process information) can be reached. In the event list all the spontaneous datapoints which a re 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 respective oldest signal entry is overwritten by the most current.
Structure of the Information in the Event List Parameter
Output
Time
DD.MM.YYYY hh:mm:ss:ms
Time tag
TI
Single-point information Double-point information Single command Double command Setpoint value
Information object, type identification
IOA1/IOA2/IOA3
0…255/0…255/0…255 0…255/0…255/ 0…255
Set IOA
Text
10 characters
Set signal text
Cause
Spontaneous Act
Information Information from periphery or application program Command or setpoint value via communication or Operation Command confirmation Command termination
Actcon Actterm State
On Off Faulty Intermediate
ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input
Quality
NT IV
At failure of of I/O module If value invalid
Location
Remote Local
Via communication communication Via operation (webbrowser) Not determinable origin or from I/O module
Direction
Arch.
98
Meaning/Note
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
Shows source and target of a data point (data flow):
Selected Not selected
Indication whether data point is archived in DEAR
PE COM PLC WEB
…periphery …communication …programmable …programmable logical logical controller (IL) …manually controlled controlled via webbrowser
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. Th e 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. Th e 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 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 w ill 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
Output
Time
DD.MM.YYYY hh:mm:ss:ms
Time tag
TI
Single-point information Double-point information Single command Double command Setpoint value
Information object, type identification
IOA1/IOA2/IOA3
0…255/0…255/0…255 0…255/0…255/ 0…255
Set IOA
Text
10 characters
Set signal text
Cause
Spontaneous Act
Information Information from periphery or application program Command or setpoint value via communication or operation Command confirmation Command termination
Actcon Actterm State
On Off Faulty Intermediate
Quality
100
Meaning/Note
NT IV
ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input At failure of of I/O module If value invalid
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 CSV (TM 1703 MIC -> PC) click with the right mouse button on that link, which contains the desired recording period and select S AVE TARGET AS. Specify the name and path for your destination file in the browse window. Th e 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 S AVE 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 | O VERVIEW) •
after power failure during the writing of a file on the SIM card
•
if the SIM card is plugged into ano ther 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, page, then the the information information occurs that at this time time a display 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 3.2.2.3.2,, Save and Load PLC Code. 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 variab les can be initialized, that are required directly after startup 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 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 must be in one line. Each line must be concluded with a paragraph break, line break or both (done automatically by the text edi tor). An instruction command command consists of the command command (operation) and an operand. Example:
LD
M_BOOL_TES T
(*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 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 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
I_030_002_000_000.VALUE M_BOOL_FLAG00
Note
At startup all flags which are not signed as "retain" are initialized initialized with with "0".
3.2.1.2.4. Call of Functions 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 O_030_008_000_00 0.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 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
106
15 M_DINT_CONSTANT
(*load constant 15*) (*store in a flag*)
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 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 theprocessing the processing time is exceeded. A cycle time of 2ms for instance is only possible fo r very small Instruction Lists. The cycle time can be specified in the IL wi th 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 i ndependently 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 section A.2,, Errors from Hardware and Software) Software).
3.2.1.4.2. Spontaneous Program Program Execution Execution For faster reaction times, the application p rogram 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 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 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
C
tP tC
C S
S1
tP
tD
tC
cyclic processing spontaneous processing
C
Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
C
t tP tC
tP tD tC
S2
tP
tP tC
processing time delay time cycle time
109
Engineering via Webbrowser
3.2.1.4.3. Data Flow Flow Control 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 routing implicit via the address
Periphery
Code
Communication
2)
1) Data from the communication communication are sent either direct direct to the periphery periphery or to the control. 2) Data from the periphery periphery are sent either direct to to the communication 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 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 Information in the Application 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. Diagnosis.
3.2.1.6. Command Processing according to IEC IEC 61131 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 Revision 14 of the firmware firmware CPC60 the corresponding type type identification 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 section A.2,, Errors from Hardware and Software. Software. Example:
PLC_START LD PLC_SYSERROR_006 ST M_BOOL_ERROR006
112
(*queue overflow class 2 if bit="1"*) (*store in a flag*)
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 3.1.4.1,, Initiate Startup) Startup)
•
Switchover between blocked and enabled program execution (see Configuration 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
Value
T, PN, COT
0
ORIGINATOR
0
OV, S, GI, SB, BL, IV, CLASS1, CA, CY, SQ
0
NT
1
User data
0
Time
01:01:2000 00:00:00.000
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 due to Application Program Change Change (Cold Restart) After the loading of the application program, a startup startup is requested by TM 1703 micand micand performed automatically. automatically. This relates to the following possible operating functions (see Configuration 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 (checksum secured). If the compiler detects a syntax error (violation of the language conventions), then the PLC i s stopped. In the masks DIAGNOSIS | O VERVIEW 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 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 3.2.1.4,, Settings in the Application Program) 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 o r 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 fi le 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 Disable PLC Program 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 fi rst processed comcompletely and then remains stationary at the beginning (line 0). The test functions (see section 3.2.2.5,, Test Functions) 3.2.2.5 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 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). Click with the right mouse button on the logic operation DOWNLOAD PLC CODE (RIGHT CLICK, SAVE TARGET AS). A browse window ap pears for selecting the target path and the target file. The suggested file type plc should be retained. Subsequently click on the button S AVE to write the file. The target is a text fil e, 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 i n TM 1703 mic (upload). To do this, enter the source path and the source file i n 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 performs aCold a Cold Restart. 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 file of TM 1703 mic can not be 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 C ARD. 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 S AVE 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 C ARD. 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 S AVE to write the file.
3.2.2.3.3. Recompile PLC Code Code After an IL is loaded it is automatically compiled compiled in the machine language specific for the 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 que ry. 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 e rasing is necessary. The function is only activated with confi rmation 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, system, one must log on again. On the user interface 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 hyperl ink 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
Meaning
Note
Program running
normal program execution
Program stopped at
program execution halted, specification of the program line in which the program is halted
the application program can be halted either manually or by the system due to an error
Cycle Time
current cycle time
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) 3.2.1.4.1 Time )
Current processing time
processing time of the application program at the moment the diagnosis window is updated
Maximum processing time
maximum achieved processing time of the application program since the last startup
Single pass
single processing programmed
0 = no 1 = yes
bytes from
details of the program memory occupied on the SIM card
size of the Instruction List
details of the program memory occupied in RAM
flags and parameters of function blocks
details of the program memory occupied in NV-RAM
storage of non-volatile flags
display of the program errors that occurred compiling the IL
syntax, logic, false addressing
16378 bytes code used bytes from
1024 bytes RAM used bytes from 256
bytes retain RAM used Compiling errors
118
exceeding of the limits for application program size, cycle time, memory cells
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 a nd 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 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 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 . 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 3.2.2.3.1,, Enable and Disable PLC Program Execution) Execution) a startup is not necessary to start and stop the program execution. After transfer of the stop command, command, a pass of the application program that 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 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 Execution at a Command Command Line The program execution can be halted at an o ptional 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 Execution dependent dependent on Variable Variable The program execution can be halted by comparing a variable w ith 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. (==/
View more...
Comments