Documente Academic
Documente Profesional
Documente Cultură
Overview
Administration
Maintenance
Error Information
1 2 3 4 5 A B C
Literature
Note
Please observe Notes and Warnings for your own safety in the Preface.
Disclaimer of Liability Although we have carefully checked the contents of this publication for conformity with the hardware and software described, we cannot guarantee complete conformity since errors cannot be excluded. The information provided in this manual is checked at regular intervals and any corrections that might become necessary are included in the next releases. Any suggestions for improvement are welcome. Subject to change without prior notice. Identification Version.Revision Release date TM_MIC_OpMaint 2.01 2008-08-29
Copyright Copyright Siemens AG 2008 The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Siemens Aktiengesellschaft
Preface
This document is applicable to the following product(s): TM 1703 mic CP-6020 + CPC60 CP-6040 + CPC60 WEBmic FLASHmic
Purpose of this manual This manual describes how to parameterize a TM 1703 mic system, which errors may occur and which are the existing diagnostic options. Thereby the following points are described step-by-step: Target Group The document you are reading right now is addressed to users, who are in charge of the following engineering tasks: Conceptual activities, as for example design and configuration Creation of the assembly technical documentation System parameterization and system diagnostic Utilization of the designated engineering tools Technical system maintenance Safety instructions Parameter setting of TM 1703 mic Offline tool WEBmic Load, save and duplication of a parameter file Programming and test Load and save of an application program Diagnosis and status display Module handling Meaning of the LEDs Firmware loader FLASHmic
Within this manual there are hints how to obtain information or files by means of ISIWeb (http://intranet.isi-ptdea.siemens.com). Should ISIWeb not be available to you please consult your project manager at Siemens.
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Preface
Conventions Used In this document, reference is often made to important information, notifications and limitations. For clarification, the following conventions are thereby adhered to. Manuals to be referred to are represented in italics, such as e.g. TM 1703 mic Installation, section "SIM Card". Outputs visible on the screen are described in this font. Inputs via keyboard or mouse keys and visible on the screen are described in this font. Menu positions visible on the screen ARE DESCRIBED IN THIS FONT. Unchangeable texts that are contained in windows and are visible on the screen ARE
DESCRIBED IN THIS FONT.
Buttons in windows visible on the screen and to be operated by keyboard or mouse ARE
DESCRIBED IN THIS FONT.
Operation code from programs and variable names are represented in this font. Symbolic names, program names and file name extensions are represented in this font.
Recommendations for Third-party Products Siemens does neither receive liability nor warranty for recommendations which are given or implied by this manual. For the correct and intended use of the respective product the associated technical descriptions must be paid attention to in any case.
Links to Third-Party Websites Siemens is not responsible for the contents of third-party websites mentioned in this document, as well as the correctness of the publications and links. For all product information the respective manufacturer is responsible.
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Preface
Notes on Safety This manual does not constitute a complete catalog of all safety measures required for operating the equipment (module, device) in question because special operating conditions might require additional measures. However, it does contain notes that must be adhered to for your own personal safety and to avoid damage to property. These notes are highlighted with a warning triangle and different keywords indicating different degrees of danger.
Danger means that death, severe injury, or substantial damage to property will occur if the appropriate safety measures are not taken. Warning means that death, severe injury, or substantial damage to property can occur if the appropriate safety measures are not taken. Caution means that minor injury or damage to property can occur if the appropriate safety measures are not taken. Note is important information about the project, handling the product, or the part of the documentation in question, to which special attention must be paid.
Qualified Personnel Commissioning and operation of the equipment (module, device) described in this manual must be performed by qualified personnel only. As used in the safety notes contained in this manual, qualified personnel are those persons who are authorized to commission, release, ground, and tag devices, systems, and electrical circuits in accordance with safety standards. Use as Prescribed The equipment (device, module) must not be used for any other purposes than those described in the Catalog and the Technical Description. If it is used together with third-party devices and components, these must be recommended or approved by Siemens. Correct and safe operation of the product requires adequate transportation, storage, installation, and mounting as well as appropriate use and maintenance. During operation of electrical equipment, it is unavoidable that certain parts of this equipment will carry dangerous voltages. Severe injury or damage to property can occur if the appropriate measures are not taken: Before making any connections at all, ground the equipment at the PE terminal. Hazardous voltages can be present on all switching components connected to the power supply. Even after the supply voltage has been disconnected, hazardous voltages can still be present in the equipment (capacitor storage). Equipment with current transformer circuits must not be operated while open. The limit values indicated in the manual or the operating instructions must not be exceeded; that also applies to testing and commissioning.
Preface
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Table of Contents
1. Overview ...........................................................................................................................13 1.1. 1.2. 1.2.1. 1.2.1.1. 1.2.2. 1.3. 1.3.1. 1.3.2. 1.3.2.1. 1.3.2.1.1. 1.3.2.2. 1.3.2.2.1. 1.3.2.3. 1.3.2.3.1. 1.3.2.4. 1.3.2.4.1. 1.4. 1.4.1. 1.4.1.1. 1.4.2. 1.4.2.1. 1.4.2.1.1. 1.4.2.1.2. 1.4.3. 1.4.3.1. 1.4.3.2. 1.5. 1.5.1. 1.5.1.1. 1.5.2. 1.5.2.1. 1.5.2.1.1. 1.5.2.1.2. 1.5.3. 1.6. 1.6.1. 1.6.2. General ...............................................................................................................14 System Architecture ...........................................................................................15 System Strucure............................................................................................15 Firmware for the Master Control Element ................................................15 Communication .............................................................................................16 Engineering PC ..................................................................................................17 Required Hardware .......................................................................................17 Required Software.........................................................................................17 WEBmic.....................................................................................................17 Prerequisite for the Operation of WEBmic ...........................................18 FLASHmic .................................................................................................18 Prerequisite for the Operation of FLASHmic........................................18 TOOLBOX II .............................................................................................18 Prerequisite for the Operation of the TOOLBOX II .............................19 Chipcard Reader/Writer (optional) ...........................................................20 Settings of the Read/Write Device for Chipcards ...............................23 Engineering via Webbrowser .............................................................................24 Offline Engineering........................................................................................25 Transfer of Engineering Data to TM 1703 mic .........................................26 Online Engineering........................................................................................27 Transfer of Engineering Data to TM 1703 mic .........................................27 Direct Connection between Engineering PC and TM 1703 mic .........28 Remote Connection between Engineering PC and TM 1703 mic ......28 User Interface................................................................................................29 Input of a Value ........................................................................................30 Selection of a Value .................................................................................30 Engineering via TOOLBOX II .............................................................................31 Offline Engineering........................................................................................32 Transfer of Engineering Data to TM 1703 mic .........................................32 Online Engineering........................................................................................32 Transfer of Engineering Data to TM 1703 mic .........................................33 Direct Connection between Engineering PC and TM 1703 mic .........33 Remote Connection between Engineering PC and TM 1703 mic ......34 User Interface................................................................................................35 Switching the System On and Off ......................................................................36 Switching On .................................................................................................36 Switching Off .................................................................................................36
Table of Contents
2.
Administration ................................................................................................................. 37 2.1. 2.1.1. 2.1.1.1. 2.1.1.2. 2.1.2. 2.2. 2.2.1. 2.2.1.1. 2.2.2. 2.2.3. Webbrowser....................................................................................................... 38 Preadjustments for the Engineering ............................................................. 38 Users and Rights ..................................................................................... 38 Password................................................................................................. 39 Logon and Logoff.......................................................................................... 39 TOOLBOX II ...................................................................................................... 40 Preadjustments for the Engineering ............................................................. 40 Users and Rights ..................................................................................... 41 Configure Plant ............................................................................................. 41 Import, Export, Backup of Engineering Data ................................................ 41
3.
Engineering via Webbrowser......................................................................................... 43 3.1. 3.1.1. 3.1.1.1. 3.1.1.2. 3.1.1.3. 3.1.1.4. 3.1.1.4.1. 3.1.1.4.2. 3.1.1.5. 3.1.1.6. 3.1.1.7. 3.1.1.7.1. 3.1.1.7.2. 3.1.1.8. 3.1.2. 3.1.2.1. 3.1.2.1.1. 3.1.2.1.2. 3.1.2.2. 3.1.2.3. 3.1.2.4. 3.1.2.4.1. 3.1.2.4.2. 3.1.3. 3.1.3.1. 3.1.3.2. 3.1.3.3. 3.1.3.4. 3.1.3.5. 3.1.3.6. Telecontrol ......................................................................................................... 44 Offline Engineering ....................................................................................... 44 Creating a New Project ........................................................................... 45 Starting the User Interface Offline ........................................................... 47 Hardware Configuration .......................................................................... 48 Save and Load Parameters..................................................................... 49 Write Parameters to SIM Card ........................................................... 49 Read Parameters from SIM Card....................................................... 49 Open Project............................................................................................ 49 Close Project ........................................................................................... 50 Data Point Import and Export .................................................................. 50 Data Point Import ............................................................................... 51 Data Point Export ............................................................................... 52 Duplication of a Project ........................................................................... 52 Online Engineering ....................................................................................... 55 Setting the TM 1703 mic IP Address....................................................... 56 Serial TCP/IP Interface....................................................................... 56 Ethernet-TCP/IP Interface .................................................................. 56 Starting the User Interface Online ........................................................... 58 Automatic Hardware Configuration ......................................................... 59 Save and Load Parameters..................................................................... 59 Download Parameters........................................................................ 60 Upload Parameters ............................................................................ 60 Engineering Offline or Online ....................................................................... 61 System Settings....................................................................................... 61 Time Settings........................................................................................... 65 Configuration of the Communication Interface........................................ 66 Settings of the Communication Protocol ................................................. 68 Configuration of Inputs and Outputs........................................................ 69 Settings of the Inputs and Outputs .......................................................... 72
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Table of Contents
3.1.3.6.1. 3.1.3.6.2. 3.1.3.6.3. 3.1.3.6.4. 3.1.3.6.5. 3.1.3.6.6. 3.1.3.6.7. 3.1.3.6.8. 3.1.3.6.9. 3.1.3.7. 3.1.3.7.1. 3.1.3.7.2. 3.1.3.7.3. 3.1.3.7.4. 3.1.3.8. 3.1.3.8.1. 3.1.3.8.2. 3.1.3.8.3. 3.1.3.8.4. 3.1.4. 3.1.4.1. 3.1.4.2. 3.1.4.3. 3.1.4.3.1. 3.1.4.3.2. 3.1.4.4. 3.1.4.4.1. 3.1.4.4.2. 3.1.4.5. 3.1.4.5.1. 3.1.4.5.2. 3.2. 3.2.1. 3.2.1.1. 3.2.1.2. 3.2.1.2.1. 3.2.1.2.2. 3.2.1.2.3. 3.2.1.2.4. 3.2.1.2.5. 3.2.1.3. 3.2.1.4. 3.2.1.4.1. 3.2.1.4.2.
Binary Information Acquisition ............................................................73 Counting Pulse Acquisition .................................................................74 Current and Voltage Acquisition .........................................................76 Temperature Acquisition .....................................................................77 Frequency Acquisition.........................................................................78 Speed Monitoring ................................................................................79 Command Output................................................................................82 Binary Information Output ...................................................................84 Current and Voltage Output ................................................................85 Decentral Archive (DEAR) .......................................................................86 Common..............................................................................................86 Configuration of DEAR........................................................................86 Archiving Data Points from Peripheral Elements................................88 Archiving Data Points from PLC .........................................................89 Documentation .........................................................................................90 Overview .............................................................................................90 Power Supply Module .........................................................................91 Protocol ...............................................................................................91 I/O Modules.........................................................................................91 Commissioning and Test...............................................................................92 Initiate Startup ..........................................................................................92 Startup Request due to Parameter Modification ......................................92 Test Functions..........................................................................................94 State Display of Inputs and Outputs ...................................................94 Simulation of Outputs..........................................................................97 Display Event List.....................................................................................98 Save Event List ...................................................................................99 Clear Event List.................................................................................100 Local Reading of the Decentral Archive (DEAR) ...................................100 Save DEAR .......................................................................................101 Clear DEAR.......................................................................................102 Automation .......................................................................................................103 Creating an Application Program as Instruction List (IL).............................103 Structure of an Instruction List ...............................................................103 Syntax for Instructions............................................................................104 Common............................................................................................104 Addressing of I/O Variables ..............................................................104 Addressing of Flags ..........................................................................105 Call of Functions ...............................................................................105 Call of Function Blocks .....................................................................106 Instruction Comments ............................................................................106 Settings in the Application Program.......................................................107 Setting the Cycle Time......................................................................107 Spontaneous Program Execution .....................................................108
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
Table of Contents
3.2.1.4.3. 3.2.1.5. 3.2.1.6. 3.2.1.7. 3.2.1.8. 3.2.2. 3.2.2.1. 3.2.2.2. 3.2.2.3. 3.2.2.3.1. 3.2.2.3.2. 3.2.2.3.3. 3.2.2.3.4. 3.2.2.4. 3.2.2.5. 3.2.2.5.1. 3.2.2.5.2. 3.2.2.5.3. 3.2.2.5.4. 4.
Data Flow Control............................................................................. 110 System Information in the Application Program .................................... 111 Command Processing according to IEC 61131 .................................... 111 Generation of Integrated Totals............................................................. 112 Reading System Errors ......................................................................... 112 Commissioning and Test ............................................................................ 113 Initiate Startup (Warm Restart).............................................................. 113 Startup due to Application Program Change (Cold Restart) ................. 114 Configuration ......................................................................................... 115 Enable and Disable PLC Program Execution .................................. 116 Save and Load PLC Code................................................................ 116 Recompile PLC Code....................................................................... 117 Erase PLC Code from SIM Card...................................................... 117 PLC Diagnosis....................................................................................... 118 Test Functions ....................................................................................... 120 Start and Stop Program Execution................................................... 121 Stop Program Execution at a Command Line.................................. 121 Stop Program Execution dependent on Variable ............................. 121 Read and Write Variable .................................................................. 122
Engineering via TOOLBOX II........................................................................................ 123 4.1. 4.1.1. 4.1.2. 4.1.3. 4.1.3.1. 4.1.4. 4.1.4.1. 4.1.4.2. 4.1.4.3. 4.1.4.4. 4.1.4.5. 4.1.4.6. 4.1.5. 4.1.5.1. 4.1.5.2. 4.1.5.3. 4.1.5.4. 4.1.6. 4.2. 4.2.1. 4.2.1.1. 4.2.1.2. 4.2.1.3. Telecontrol ....................................................................................................... 124 Starting the TOOLBOX II............................................................................ 125 Configure Plant ........................................................................................... 125 Configuration of the Hardware.................................................................... 125 Adding or Removing an I/O Module ...................................................... 126 System Technique/Process Technique ...................................................... 127 System-technical Settings ..................................................................... 128 Process-technical Settings .................................................................... 128 Configuration of the Communication Protocol....................................... 128 Transform Parameters .......................................................................... 128 Upload Parameters................................................................................ 129 Parameter comparison .......................................................................... 129 Documentation ........................................................................................... 130 HW Configuration .................................................................................. 130 Assembly Technique ............................................................................. 130 Interface to Elcad................................................................................... 130 Telecontrol Function .............................................................................. 131 Test Functions ............................................................................................ 131 Automation....................................................................................................... 132 Creating an Application Program as Function Diagram (FUD) .................. 132 Restrictions for the Creation of a Function Diagram ............................. 133 Configuring External Signals ................................................................. 134 Create Function Diagram ...................................................................... 134
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
10
Table of Contents
Simulate Function Diagram....................................................................135 Generate Application Program Code .....................................................135 Load Application Program Code ............................................................136 Documentation .......................................................................................137 Reference List ...................................................................................137 Open-/Closed-Loop Control Function ...............................................137 Test Functions.............................................................................................138 Oscilloscope ...........................................................................................138
Maintenance ...................................................................................................................139 5.1. 5.1.1. 5.2. 5.3. 5.4. 5.4.1. 5.4.2. 5.4.3. 5.4.4. 5.4.4.1. 5.4.4.2. 5.5. 5.5.1. 5.5.2. 5.5.3. 5.6. 5.6.1. 5.6.2. 5.6.3. 5.6.3.1. 5.6.3.2. 5.6.4. 5.6.5. 5.6.6. 5.7. 5.7.1. 5.7.2. 5.7.2.1. 5.7.3. LED Displays on the Master Control Module ...................................................140 LED Display upon Startup ...........................................................................140 I/O Module Monitoring ......................................................................................141 Behaviour of the Outputs on Startup and Communication Failure...................142 Diagnosis via Webbrowser...............................................................................143 Overview......................................................................................................143 System Diagnosis........................................................................................145 System Status .............................................................................................146 Diagnosis of the Time..................................................................................148 Time Synchronization.............................................................................148 Local Setting of the Time .......................................................................149 Diagnosis via TOOLBOX II...............................................................................150 General........................................................................................................150 Ax 1703 Error Message...............................................................................150 Diagnosis of the Open-/Closed-Loop Control Function ..............................151 Maintenance of the Hardware ..........................................................................153 General for the Replacement of Modules ...................................................153 Replacement of the Master Control Module................................................154 Replacement of the SIM Card .....................................................................154 Read and Write complete SIM Card ......................................................155 Erase Content of the SIM Card ..............................................................155 Replacement of an I/O Module ...................................................................155 Removal of an I/O Module...........................................................................155 Adding an I/O Module..................................................................................155 Firmware Update ..............................................................................................156 General........................................................................................................156 Execute Firmware Update...........................................................................157 Errors upon Loading the Firmware ........................................................159 Starting FLASHmic via Command Prompt ...................................................159
A.
Error Information ...........................................................................................................161 A.1. A.2. Error Categories ...............................................................................................162 Errors from Hardware and Software.................................................................163
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
11
Table of Contents
A.3. B.
Examples for Application Programs ........................................................................... 173 B.1. B.2. B.3. B.4. B.5. B.6. B.7. Transfer an Input to a Signalling Output and to a Command Output .............. 174 Combine two Inputs with AND......................................................................... 175 Linear Adaptation with Value Selection ........................................................... 176 Operating Hours Counter................................................................................. 177 Bounce Suppression........................................................................................ 179 Setpoint Command .......................................................................................... 181 Speed Comparison .......................................................................................... 182
C.
12
ACP 1703, Operation and Maintenance TM 1703 mic DC6-013-2.01, Edition 08.2008
1.
Contents
Overview
General ...............................................................................................................14 System Architecture ...........................................................................................15 Engineering PC ..................................................................................................17 Engineering via Webbrowser .............................................................................24 Engineering via TOOLBOX II .............................................................................31 Switching the System On and Off ......................................................................36
13
Overview
1.1.
General
TM 1703 mic is a remote terminal unit with a standardized communication interface. It is equipped with functions for preprocessing and postprocessing of input/output signals. If necessary, with TM 1703 mic freely definable open-/closed-loop control functions can also be created (automation). For this serves an integrated Programmable Logical Controller (PLC). An application program can be programmed either as an Instruction List (IL) or as a Function Diagram (FUD). The engineering and operation of TM 1703 mic is possible either via a webbrowser or via the TOOLBOX II: System settings Access right Identification Error handling Project technique Customer Plant Time settings Communication type Protocol Periphery settings Preprocessing of signals Postprocessing of signals Application Program
Further, operating functions serving for commissioning and maintenance can be carried out (with TOOLBOX II restricted): Load and save of Parameters Application programs State display of inputs and outputs Variables Simulation of Outputs Variables Diagnosis System PLC Event reading from Event list Decentralized Archive
14
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
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
Note Should ISIWeb not be available to you please consult your project manager at Siemens.
15
Overview
1.2.2.
Communication
For process communication and engineering, serial and/or LAN/WAN interfaces are available:
Master Control CP-6020/CPC60 MIC CP-6040/CPC60 MIC Process Communication serial serial V.28 1) V.28 2) IEC 60870-5-101 IEC 60870-5-101 IEC 60870-5-104 Engineering serial V.28 1) LAN/WAN serial V.28 - or LAN/WAN
1)
LAN/WAN 2)
Process communication and engineering are using the serial interface exclusively. They are not available simultaneously. Process communication is available according to either IEC 60870-5-101 or IEC 60870-5-104, but not simultaneously according to both standards, using both interfaces.
2)
16
Overview
1.3.
Engineering PC
1.3.1.
Required Hardware
Dependent if the engineering shall be performed via a webbrowser or via the TOOBOX II, the Engineering PC must fulfil the Prerequisite for the Operation of WEBmic or the Prerequisite for the Operation of the TOOLBOX II. PC with a serial or Ethernet interface Read/write device for SIM card (optional)
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.
17
Overview
1.3.2.2. FLASHmic
FLASHmic is the tool for the reloading of CPC60 firmware updates. This program is on one hand the flashloader and contains on the other hand the firmware in the jeweils current revision. You will find the required programm FLASHmic.exe in the ISIWeb under SC6-060*/XX/86*.
1.3.2.3. TOOLBOX II
The engineering software is available as CD and consists essentially of four toolsets. You can find information on the toolsets of the TOOLBOX II in the ISIWeb.
Toolset EM II PSR II OPM II CAEX plus Designation Engineering Manager Engineering and service computer Object-oriented process data manager Tool for open/closed-loop control applications Item number V30-016 V30-017 V30-004 V30-090
You find updates for the single toolsets also in the ISIWeb. You find detailed information for the installation and execution of updates in the booklet of the TOOLBOX II CD.
18
Overview
19
Overview
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.
To install the driver save the compressed archive into a local directory (i.e. "C:\temp\SCR3xxx_installer_V8.18") and extract it.
20
Overview
21
Overview
Installation of CHIPDRIVE PC/SC Wrapper To install the driver save the compressed archive into a local directory (i.e. "C:\temp\Chipdrive SCARD Wrapper Installer v1.01.0001") and extract it. Start the installation by means of opening the file Setup.exe.
22
Overview
If now the CHIPDRIVE micro pro is connected to the USB port of the PC, the required drivers are recognized by Microsoft Windows and automatically accepted. The CHIPDRIVE micro pro can be used now with the tool WEBmic.
Caution After driver installation, the initial access to the SIM card with the tool WEBmic needs considerably more time than the following ones!
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
23
Overview
1.4.
Online Engineering
The webbrowser accesses directly the master control element. It displays HTML pages made available by the integrated Webserver of TM 1703 mic.
WEBmic
Menu functions offline Parameter System settings Time settings Communication Protocol Periphery
Menu functions online Parameter System settings Time settings Communication Protocol Periphery Upload/Download Process display Diagnosis System status Event list
24
Overview
1.4.1.
Offline Engineering
Overview of the Functions with Offline Engineering
Component WEBmic (Dialog via pop-up menu) Open existing project Close project Duplicate project Functions Create new project Meaning/Note edit a new file which contains the plant data "customer", "plant", "station name" in its name, and start of the webbrowser (offline) open existing parameter file and start of the webbrowser (offline) close current parameter file copy already existing parameter file and/or write this on the SIM card; optionally write application program on SIM card 1) save data points of a project as file or load from a file read parameters from SIM card and write into file or vice versa 1) read application program from SIM card and write into file or vice versa 1) create complete data image 1) erases all the user data from SIM card 1) write IP address online into the target system (without webbrowser, only the MAC address must be known) lists the settings of the read/write device for SIM card
1)
Data point import/export Read/write parameters of/to SIM card Read/write PLC of/to SIM card Read/write complete SIM card Erase complete SIM card Set Ethernet IP address SIM card reader settings Parameters HW documentation Decentral Archive
edit settings for system, time, communication protocol and periphery (save in a local file or SIM card) input/output/terminal assignment of the configured modules, signal assignment of communication cables configure Decentral Archive, define data points of the I/O modules and of the application program (via webbrowser) configure current equipment (master control module and I/O Modules) edit file that contains the application program
Instruction list
25
Overview
CHIPDRIVE micro
26
Overview
1.4.2.
Online Engineering
Overview of the Functions with Online Engineering
FLASHmic *) Webserver (firmware) (dialog via webbrowser) Firmware update Parameters Save/load parameters Process visualization Simulate outputs Decentral Archive System diagnosis HW documentation Save/load PLC code Recompile PLC code Erase PLC code Enable/disable PLC program execution PLC diagnosis Start/stop PLC transfer of firmware into TM 1703 mic edit settings for system, time, communication protocol and periphery transfer parameters from TM 1703 mic to PC and vice versa input/output state (for each configured I/O module) assign values to outputs for test and service purpose chronological display of the occurred events show generated messages from self monitoring terminal assignment of configured modules transfer of Instruction List from TM 1703 mic to PC and vice versa compile Instruction List on SIM card (TM 1703 mic) erase Instruction List from SIM card (TM 1703 mic) active after startup only, all internal and external signals will be set to default value used cycle time and memory start/stop the execution of the application program; stop: current states of internal and external signals remain "frozen" state display or simulation of a selected variable
Read/write variable
*)
27
Overview
WEBmic
28
Overview
1.4.3.
User Interface
The user interface represented in the webbrowser is structured in three parts: Header The indications in the header are Station name CASDU1 CASDU2 Time (generated offline from parameter-setting PC, online from TM 1703 mic)
Menu tree The menu tree is used for the navigation to the individual input/output masks. By means of a click on the symbols + or and on the respective file symbol the desired dialog will be opened.
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
30
Overview
1.5.
The system-technical and process-technical parameter setting can be carried out with the tool "OPM II", an application programm can be edited with the tool "CAEx plus" (Function Diagram). Both is only possible independently from the target system (offline). When the parameter setting is done via the webbrowser you can switch at any time to the parameter setting via the TOOLBOX II.
Note As soon as parameters are set with the TOOLBOX II, the parameter setting via the webbrowser is locked, only the display continues to be possible.
Firmware and Engineering Data in the TOOLBOX II Engineering data maintained with the TOOLBOX II are stored differently during the course of the engineering process. The TOOLBOX II generally works with data, that are stored in a database on the hard disk of the Toolbox PC. Merely loading operations, with which the firmware of system elements and parameters (in the broadest sense) are loaded "into a target system", transfer data from the hard disk of the Toolbox PC to an automation unit. There, they are stored in Flash PROMs of the system elements and on SIM card. On startup of an automation unit, data that differs from that in the Flash PROM, are transferred to the Flash PROM. SIM cards can be copied for example for the purpose of backup with standard commercial means.
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.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
Overview
TM 1703 mic
33
Overview
TOOLBOX II
TM 1703 mic
34
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.
35
Overview
1.6.
1.6.1.
Switching On
Before switching the system on, all components must be connected to a power supply. Switching on takes place by connecting the voltage, commonly for example by switching on a miniature circuit breaker. The system starts up automatically (Startup after Power up). The entire system is operational (without error display), as soon as all available components are supplied with power and all system elements have concluded the startup (refer to section 5.1.1, LED Display upon Startup). This is also applicable analogously, if only parts of the system are switched off and switched on again.
1.6.2.
Switching Off
The switching off of the system takes place by disconnecting the voltage on all components. If the power is switched off only at the master control element, the lower-level components are not operational.
Caution The switching off of the master control element during writing operations to the SIM card (load firmware, load parameters) is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.
36
2.
Contents
Administration
2.1. 2.2.
37
Administration
2.1.
Webbrowser
2.1.1.
x x
x x x x x x x x
x x x x x -
x x x x
x x x x
x x -
Only if enabled by the local administrator with parameter "remote control via web" (safety relevant), see section 3.1.3.1, System Setting
Difference between Access Location LOCAL and REMOTE The difference between the access location depends on the communication link between PC and TM 1703 mic.
Access Location LOCAL REMOTE Meaning/Note link via serial interface (without modem) or via Ethernet link via modem, operation possibilities are limited sometimes (see above), the parameter REMOTE CONTROL VIA WEB is not visible.
Note All operation and test functions of TM 1703 mic described within this manual are generally valid for the unrestricted access right (Administrator LOCAL and Administrator OFFLINE).
38
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.
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.
39
Administration
2.2.
TOOLBOX II
configurate plant
System Technique
Plant Management
Assemble Technique
Process Technique
start export
Services
preview spreadsheet document parameters OPM II System Technique Selection AU print spreadsheet
2.2.1.
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
Administration
2.2.2.
Configure Plant
The plant configuration is entered centrally in the TOOLBOX II with the tool "Plant Management" and subsequently complemented, changed or deleted. The configuration data are parameterized in each case specifically for the various perspectives of the plant: Project technique System technique Assembly technique Process technique
The details thereto can be found in the TOOLBOX II User Manual, chapter "Plant Management".
2.2.3.
41
Administration
42
3.
Contents
3.1. 3.2.
43
3.1.
Telecontrol
3.1.1.
Offline Engineering
The following graphic shows the offline parameter setting of TM 1703 mic as flow chart.
Task:
load a project
save a project
start WEBmic
new project
open project
File
SIM
OK
OK
OK
OK
log on
edit projekt
apply parameters
projekt to SIM
projekt to 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
The parameters are written using WEBmic directly to the SIM card in the read-/write device or in a file.
Here only those steps are described that are relevant for the parameter setting offline. All further steps are described in section 3.1.3, Engineering Offline or Online.
Open the WEBmic pop-up menu by clicking on the WEBmic symbol with the right mouse button. Select NEW PROJECT.
45
Under DESTINATION you can now select whether you wish to write the project data directly to the SIM card in the connected read/write device or to a file, or both in parallel. If there is no chipcard reader/writer installed the menu positions that refer to the SIM card are disabled (they appear as engraved text). In the CUSTOMER INFORMATION the name of the customer, the plant and the station are entered. The filename for the project data is automatically created from these entries.
Click on OK to create the project. Thereby, depending on the selection, either a projectspecific parameter file is generated or the SIM card is written. Both can also be performed in parallel. The file is given a name that is composed from the plant data and the type identification mic. If SIM CARD is marked, but no read/write device is installed or connected, the information Can't write to SIM Card appears.
46
Save Parameters If the webbrowser has been started from a file via OPEN PROJECT or NEW PROJECT, then the parameter record is written to the file with each transfer of a parameter. If the webbrowser has been started from a SIM card via OPEN PROJECT or NEW PROJECT, then the parameter record is written to the SIM card with each transfer of a parameter.
After selecting the user and entering the password (refer to section 2.1.1, Preadjustments for the Engineering) you can now begin with the parameter setting.
47
An overview of the available master control units and I/O modules and their description can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration" (please consider also the "Configuration Rules"). The detailed description of the modules can be found in the chapter "System Elements". After selection of the modules save the settings with a mouse click on the button APPLY. Depending on the selection, the settings are stored on the SIM card or in the file.
Note A manual configuration of I/O modules is only possible offline. The configured HW configuration is compared with the configuration currently existing with a startup of TM 1703 mic. If no concurrence exists, an error message is generated.
Reset all Parameters Data points of I/O modules already configured can be reset to their default values by removing the corresponding module in the configuration, clicking the button Apply, and then reconfiguring the module. The associated data points are then present with their default values.
48
49
Project with old Revision Level If the project has been edited with an older revision level of WEBmic, a hint indication appears with the question, if the parameter setting shall be converted to the current revision level.
If you click NO, the project will not be opened. With the selection YES a converting of the parameterization takes placee, the webbrowser is started automatically, the project is opened and the initial mask of the user interface offline is loaded.
Note A converting can not be undone. A converted project is not downward compatible, it means that it can not be opened by WEBmic with a lower revision level.
The function can only be executed starting from an open project. The format of the import or export file is csv (comma separated value), that means, it concerns a table that can be opened and worked on both with an ASCII text editor and Microsoft Excel .
50
Only that data points are handled which belong to the CASDU1 and CASDU2 of the corresponding substation. Therefor the table may contain also not belonging data points, as for instance from all substations of the plant. To perform an import, click in the WEBmic pop-up menu on DATA POINT IMPORT (CSV FILE -> TM 1703 MIC). A browse window appears for selecting the source file. The file must be a text file of the type csv.
Remove Single Data Points If the type identification of an entry is 0 or 1, the corresponding data point (DP) in TM 1703 mic will be removed and set to "not used". The same applies also if IOA1/IOA2/IOA3=0/0/0. After selecting the text file with the parameters to be imported WEBmic asks whether data points that do not exist in the text file should be deleted in TM 1703 mic. You can thereby decide whether you wish to add only new parameters with the help of the table, or whether exactly the configuration from the table is to be stored in the opened project.
Acknowledge the message box with YES or with NO. After completed import a message box appears which displays the number of imported data points. So that the imported data points are applied in the opened project, the display on the user interface (webbrowser) must be updated. You achieve this either with the Update function of the Webbrowser or with repeated selection of the Input-/Output mask.
Note The updated project is only stored by clicking the button APPLY in any optional user mask. If the project is closed without an update having taken place, then the imported data are lost.
51
If the project contains an application program, all the data points programmed in the optional Instruction List (IL) can be exported together with the data points configured for the telecontrol. To perform an export, click in the WEBmic pop-up menu on DATA POINT EXPORT (TM 1703 MIC > CSV FILE). Now a message box appears with the question whether the export should be performed with the data points used in the IL.
Acknowledge the message box with YES then a browse window appears for selecting the ILfile. After completed selection, confirm with OPEN. Then a browse window appears for selecting the destination file for the data points to be exported. Specify a filename and path. The default file type is set to csv. Click on SAVE to write the text file.
52
Selection of Source and Target Select the source (parameter file, file type mic) in the dialog window under PAR using the Browse function. Select the target for the copy(s) by clicking on the check box for SIM CARD or for FILE. Both media can be written to simultaneously. If the check box SIM CARD is ticked and no SIM card is present, then the error message Not a valid I2C SIM Card! appears When working with SIM cards, besides the parameters an optionally available application program can also be duplicated at the same time. To do this, select the source (IL, file type plc) under PLC. In this way more than one TM 1703 mic can each be supplied with parameters and user-program code at the same time in one operation.
Insert Rows The corresponding number of rows must be inserted in the table depending on how many copies are to be created. Mark the 1 row or click in a field in this row. Now click with the right mouse button at any optional place in the table. The pop-up menu for editing the rows and values opens. It can be selected between two menu items: INSERT ROW Inserts 1 row before the marked row. INSERT ROWS By means of an entry a freely definable number of rows (value between 1 and 1000) is inserted before the marked row.
st
53
Duplication of Basis Parameters By clicking on the check box for FILENAME SAME AS STATION NAME the filename for the file(s) to be created is automatically derived from the station name. By clicking on the check box for ETHERNET IP ADDRESSE SAME AS SOURCE the IP-addresses for the copied projects are automatically set the same as the IP-address of the source project. As a result, in certain cases a simplified postprocessing of these parameters can be achieved. The basis parameters for the unambiguous identification of a station (a project) can be edited in tabular form: Station name CASDU1 CASDU2 Link address Ethernet IP address
These values can be entered manually or generated automatically. Automatically generated values can be postprocessed manually. Mark the column whose values are to be duplicated, or even the entire table. Now click with the right mouse button at any optional place in the table. The pop-up menu for editing the rows and values opens. It can be selected between two menu items:
FILL WITH FIRST VALUE
st
Copies the value of the 1 row to all subsequent rows. INCREMENT FROM FIRST VALUE The rows of the marked columns are written in each case ascending plus 1 from the value of the previous row. If the values from the first row have been retained, then the filename at least must be unambiguous. Otherwise always only one file can be written. All parameters of a project can be changed later with the user interface.
Creation of Project Duplicates After all rows are filled with the basis parameters the copies can be generated. The initiation is carried out manually and can take place in two different ways: Clicking the button SELECTED >> The projects listed in tabular form are created selectively by marking the row number(s). Clicking the button ALL >> All projects listed in tabular form are created. A copy is only then created if all parameters are entered. After the generation procedure to file, a message box confirms how many parameter files have been successfully generated. For the generation procedure to SIM card, the corresponding number of SIM cards must be available. WEBmic writes each copy to a SIM card and then asks you to insert a new SIM card in the read-/write device. This procedure repeats until all copies have been written. After the generation, close the dialog by clicking on the button CLOSE.
54
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:
load a project
save a project
Ethernet
serial
start WEBmic
OK
log on
edit project
apply parameters
filename source
filename target
Via the integrated Webserver the configuration of the parameters can be performed directly in TM 1703 mic. Prerequisite is an existing communication link between the parameter-setting PC and TM 1703 mic. In this case the parameters are written directly on the SIM card inside the target system.
Here only those steps are described that are relevant for the parameter setting online. All further steps are described in section 3.1.3, Engineering Offline or Online.
55
For a point-to-point link an arbitrary IP address can be assigned to a TM 1703 mic (Webserver). The initial parameter setting can be done by selection of the default IP address 172.16.0.3, or with the function "write Ethernet IP address" of WEBmic. The Webserver assignes an IP address automatically to the parameter setting PC, if this is configured for the automatic takeover of an IP address. For a network link the addresses are to be set and administrated corresponding to your plant configuration. The initial setting can be done by selection of the default IP address 172.16.0.3, unless TM 1703 mic is located in another subnet.
Set Ethernet IP Address With the offline tool WEBmic the IP address of a TM 1703 mic can be set online via a menu item. This is in networks also possible via routers. The connection setup for the assignment of the IP address takes place in this case solely via the MAC address of TM 1703 mic. This is stated on a sticker on the rear of the master control module. Start WEBmic with a double click. The WEBmic splash screen appears on the monitor and the WEBmic symbol in the System Tray. Click OK on the splash screen to close it.
56
Then click with the right mouse button on the WEBmic symbol in the System Tray and select SET ETHERNET IP ADDRESS (CP-6040). The window SET ETHERNET IP ADDRESS appears.
Now proceed according to the guide in the manual TM 1703 mic Installation, chapter "Parameter Setting Preparation". After the IP address has been transferred without error you can then access TM 1703 mic with the webbrowser. The IP address can also be changed via the user interface. If TM 1703 mic can no longer respond with the new address from the webbrowser, then the IP address can only be corrected again online with the help of WEBmic.
Note The writing of the IP address with the help of WEBmic is possible either via the serial interface or via the Ethernet interface.
57
After selecting the user and entering the password (see section 2.1.1, Preadjustments for the Engineering) you can now begin with the parameter setting. When you are logged on, the start mask appears with the menu tree for navigating to the individual parameter-setting functions. Online all telecontrol parameters can be set in the same manner as offline. The only exception is the configuration of the I/O modules.
58
Reset all Parameters to Default Values After the resetting of the parameters a startup is executed automatically, and the current configuration of the modules is transferred to the dynamic menu tree. For further details, see section 3.1.3.1, System Settings, Reset all Parameters.
59
60
3.1.3.
61
Changed parameters are stored on the SIM card or in the file by clicking the button APPLY. The setting of the compatibility mode is only active online after a startup.
Note Certain parameters are only active after change and application with a subsequent startup of TM 1703 mic (see section 3.1.4.2, Startup Request due to Parameter Modification).
The details relating to the parameters are described in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "System Settings".
Common Address of ASDU Enter an unambigous station address (CASDU1 and CASDU2). Both addresses together produce automatically the CASDU upon transfer. An inadmissible value is set to a value between 0 and 255.
Customer Information The initial set customer information (customer, plant, station name) can be changed at any time. The storage takes place upon transfer. After refreshing of the user interface the station name will be displayed in the header. The filename which is put together from the original customer information remains unaffected.
Parameterization via a TCP/IP Serial Link The default addresses need not to be changed since they are used temporarily for the parameter setting of TM 1703 mic. The "own IP address" will be assigned to the TM 1703 mic Webserver, the "remote IP Address" will be assigned to the parameter-setting PC, if this one is configured for obtaining the IP address automatically. For this, check the network settings of your PC under SETTINGS | NETWORK AND DIAL-UP CONNECTIONS | Local Area Connection | PROPERTIES | Internet Protocol (TCP/IP) | PROPERTIES.
Parameterization via a Ethernet TCP/IP Link The default addresses need not to be changed since they are used temporarily for the parameter setting of TM 1703 mic. An exception is the parameter setting online in a network. You can find the details thereto in section 3.1.2.1.2, Ethernet-TCP/IP Interface.
Note Apart from the system settings, the initial setting of the Ethernet IP address of a TM 1703 mic can be done also online with the function "Set Ethernet IP Address" of WEBmic.
Administrator Password and Guest Password The passwords to enter in a project can be changed at any time. A changed password is stored after transfer, the project remains open. A new logon into the project is only possible with concordance of the entry and the current password. It is differed between upper and lower case, special characters as "." or "/" are permitted. The procedure applies in the same manner for the users "Administrator" and "Guest".
62
Usage of the D01 Output The output D01 on the master control unit can be used alternatively as watchdog, output or error output.
Note If the output D01 is used as watchdog or error output, then on the master control unit now only 1 information or command output (D00) is available. Then a double-command output via the master control unit is not possible.
Ax 1703 Error Message Enabled The Ax 1703 error message corresponds to the standard IEC 60870-5-101/-104 private range (TI135 FC148/4), further information see section 5.5.2, Ax 1703 Error Message.
Error Messages For the messaging of a sum error for the types "error" and "failure" a free address (IOA1, IOA2, IOA3) can be defined.
Remote Control via WEB Enabled The local Administrator thereby determines, whether the remote Administrator is given the same access rights or is restricted only to access one TM 1703 mic (see section 2.1.1.1, Users and Rights).
Compatibility Mode It can be differentiated, whether TM 1703 mic is connected with an automation unit of the older system family (SK-Mode) or the current system family (Ax-Mode).
Acquisition Grid of the TM Modules Basically the acquisition of the input signals is performed in a 10 ms grid. For fast applications, the possibility to reduce the acquisition grid to 2.5 ms exists. This option, however, is only possible in conjunction with special I/O modules (see TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration"). The selection can be done by means of a pull-down menu.
System Reset The RESET button for performing a startup of TM 1703 mic appears only in online operation. Further information thereto can be found in section 3.1.4.1, Initiate Startup.
Cause of Transmission ACTCON (7), ACTTERM (10) If the identifications for command confirmation (ACTCON) and command termination (ACTERM) are not used, all commands and set point commands sent to the PLC are changed from the global chronologic ring to chronologic ring (behavior like single-point information). The general interrogation (TI 100) is excluded.
63
Reset all Parameters Online, all parameters can be reset to their default values. An already existing configuration is thereby lost and the parameter setting can be attached as with the creation of a new project. To do this, click on the button PARAMETER RESET and confirm with YES. The parameters are now reset and an automatic startup of TM 1703 mic is executed. The current configuration of the modules is thereby learned. The data of the automation function (optionally loaded IL) remain unaffected.
Note It must be considered that with the resetting of the parameters the IP addresses are also affected (serial and Ethernet). If no connection to TM 1703 mic can be established, a valid IP address must be set again (see section 3.1.2.1, Setting the TM 1703 mic IP Address.
Offline, the parameters can be reset only module by module by means of removing or exchanging a module in the Hardware Configuration. The default values for the individual parameters are specified in the TM 1703 mic CP60xx/CPC60 System Manual, chapter "Telecontrol", section "System Settings".
64
The internal clock of TM 1703 mic is used for time-tagging of generated data (from the peripherals and optional IL). The time stamp has a resolution of 10 ms. The time is displayed in the header of the user interface online. Here the updating does not take place continuously, but rather with each updating of the webbrowser.
Settings With the help of pull-down menus the time zone and, if necessary, a rule for the summerwintertime switching can be adjusted. Changes are stored in the file or on the SIM card by clicking the button APPLY. In online operation the settings are immediately active (no startup required). With communication according to IEC 60870-5-104 the time can be synchronized via SNTP (Simple Network Time Protocol). To achieve this, the IP address of up to 4 SNTP servers can be entered, as well as the cycle time of the SNTP synchronization. The settings thereto reside within the mask PARAMETER | COMMUNICATION | PROTOCOL | SETTINGS under TIME SYNCHRONISATION (NTP). Additionally, the time can be set online manually. This is especially useful for the stand-alone mode (see section 5.4.4.2, Local Setting of the Time). Information concerning time synchronization resides within section 5.4.4, Diagnosis of the Time, and concerning the settings in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Time Settings".
65
Here the type of communication can be selected: IEC 60870-5-101 multi-point traffic (serial) IEC 60870-5-101 dial-up traffic (serial) IEC 60870-5-104 Ethernet, LAN (only master control module with Ethernet interface) IEC 60870-5-104 Internet, GPRS No communication (stand-alone operation)
With a change to the type of communication, the configuration mask refreshes immediately with the respective specific parameters. Working online, the button APPLY must be clicked for this if necessary. The changed settings are stored by clicking on the button APPLY (SIM card or file). When parameterizing online a startup of the system is required, so that the settings become active.
66
The meaning and the value ranges for the individual protocol parameters are explained in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Communication Settings", in the respective subsections with the "Protocol Configuration".
Common Settings Independently from the type of communication, for each information object type can be defined whether a transmission shall be carried out with or eithout time tag. On selection multipoint traffic or dial-up traffic, the number of bytes for the standardized identifiers according to IEC 60870-5-101 Link address Common address of the ASDU (CASDU) Information object address (IOA) Cause of transmission (COT) Type identifiers (TI)
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.
67
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
Exceptional Settings for Dial-up Traffic Optionally can be sent an SMS independently from the process communication upon state change of up to 8 definable data points (phone number adjustable). For TM 1703 mic an automatic monitor can be set. At a fixed time the substation tries to set up a connection to the master control. The time for the communication setup is free settable (hour, minute). If in the network at a defined moment a connection setup is carried out already (example: counter interrogation), delay times can be prevented as long as the monitoring function is triggered temporal as far as possible from that moment.
Selection "no Communication" Optionally SMS can be sent. The preconditions for this are like for SMS upon dial-up traffic.
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.
69
In the mask PARAMETER | PERIPHERY | <module name> | CONFIGURATION the respective modulespecific inputs or outputs appear.
Module specific a list of the pins and their settings appear. These settings specify type, name and information object address (IOA) of each data point. Here, the inputs/outputs fixed assigned to the I/O module can be freely assigned from the hardware to data points in the software.
Assignment of Inputs/Outputs to Information Objects Each I/O module is equipped with an individual number of physical input/outputs, that are used for the acquisition or the output of electrical signals. In the configuration mask, for each I/O module the module-specific inputs/outputs appear automatically together with the assigned parameters. The assignment of the electrical signals to an I/O module is carried out according to the relative terminal assignment. Based on the order of the configured modules, the system calculates an absolute data point address (DP) for each input and output. This is unambiguous within a TM 1703 mic. Via parameter setting the electrical signals are assigned to information objects. Each information object is given an information object address (IOA1, IOA2, IOA3) for unambiguous identification. This address is used for assigning the electrical signals for communication (telecontrol) and for control (automation). In the default is IOA1=DP, IOA2=0, IOA3=0. Alternatively for each information object an optional IOA (respectively between 0 and 255) can be parameterized. The exact details thereto can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Architecture", section "Addressing of the Information Objects".
70
Altogether up to 256 data points can be configured. In addition, a long text of up to 10 characters can be freely assigned to each data point. This text is used both in the Documentation as well as for a logging of the respective data point in the Display Event List. Assignment of information objects and inputs/outputs:
Type Single-point information Double-point information Integrated total Measured value Meaning information acquisition information acquisition count pulse acquisition current acquisition voltage acquisition temperature acquisition 2-wire 3-wire 4-wire speed acquisition frequency acquisition 1 impulse input 1 impulse input 2 successive impulse inputs Single command command output 1-pole 1-pole *) 2-pole *) Double command command output 1-pole 1-pole *) 2-pole *) Single-Point Information Setpoint command Setpoint command
*)
Scope
2 successive binary inputs 1 binary input 1 analog input 1 analog input 1 analog input
1 binary output 1 binary output + 1 binary output for group relay 2 successive binary outputs 2 successive binary outputs 2 successive binary outputs + 1 binary output for group relay 4 successive binary outputs 1 binary output 1 analog output 1 analog output
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".
71
Distinction "Class 1 Data"/"Class 2 Data" Each information object in monitoring direction (inputs) can be assigned to the Class 1 or to the Class 2. This assignment is specified in the standard IEC 60870-5-101/-104, and serves for the priorization of information objects for the transmission by the communication function: Class 1 Data: If several data points are to be transmitted to the central station (spontaneous or on request) at the same time, the Class 1 data will be sent before the Class 2 data (priority). With dial-up traffic data of the Class 2 lead to a spontaneous connection setup and data transmission. Class 2 Data: If several data points are to be transmitted to the central station (spontaneous or on request) at the same time, the Class 2 data will be sent after the Class 1 data. With dial-up traffic the connection setup and the data transmission takes place only upon interrogation by the central station.
72
Class 1 Data By means of selection via the corresponding check box a binary information is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission to the central station takes place upon each change of state of the binary information (exception: Class 2 data with dial-up traffic).
Inversion of Binary Information Items (Digital Inputs) With an Inversion the state of a signal from the hardware is output inverse from the allocated information object in the software (open-circuit/closed-circuit principle). For double-point information items the OFF and ON contact can be inverted seperately. This is useful, if for example a feeder signal is configured as closed-circuit contact, and the other one as open-circuit contact.
Intermediate State Suppression Time for Double-point Information Items An intermediate state is given if an actuator (disconnector, valve etc.) is not in a final position. In case of a fault (gear defect, open-circuit signaling contact etc.) this must be reported.
73
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.
Class 1 Data By means of selection via the corresponding check box an integrated total is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the integrated total to the central station takes place interval controlled (exception: Class 2 data with dial-up traffic).
Setting of the Mode for the Counter Freeze and Transmission This parameter defines how the integrated total is generated: in a certain time interval by means of an external counter interrogation
74
Setting of the Interval Control The local interval control serves for the autonomous freezing and transmitting of counting values to the central station. It is active after startup of TM 1703 mic, even if no time is set in the system yet. The counting value is frozen and transmitted spontaneously to the central station in the adjusted time-scale. With dial-up traffic a counting value of the Class 2 is only frozen. Example: quarter hour values
interval time to be set = 15 minutes results following freezing and transmission moments: HH:00:00 HH:15:00 HH:30:00 HH:45:00 If instead of the interval control a counter interrogation is adjusted, the counting value is only frozen and transmitted on request by the central station.
Overflow Counting Value (Value Range) Exceeding the adjusted value range (parameter "overflow at") the "carry" bit (CY) is set and the counting is continued with 0. At the next transmission the current integrated total is sent with the "carry" bit, and the "carry" bit is reset again. There is no "overflow" bit (OV) available.
Counter Groups Each counting value can be classified to a group (adjustable group 14). Due to individual defined criteria, the counter groups can be requested independently from the master control (spontaneous information object "counter interrogation").
75
Class 1 Data By means of selection via the corresponding check box a current value or a voltage value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the current or voltage value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).
76
Class 1 Data By means of selection via the corresponding check box a temperature value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the temperature value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).
Connecting Resistance Thermometers The resistance thermometers can be connected using 2-, 3- or 4-wire technique. The I/O module supplies the constant current needed for the measurement. In 2-wire technology, it is necessary to compensate for the voltage drop on the measuring circuits by means of a calibration process, during which so-called calibration-values are created. If a calibration process has never been performed, this is signaled by the diagnostic message factory calibration for 2-wire technology not performed. The instructions for the Connection of Resistance Thermometers exist in the appendix C.
77
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.
Class 1 Data By means of selection via the corresponding check box a frequency value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the frequency value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).
78
Frequency of Pulses and Acceleration Time Constant Specify the frequency of the pulses at maximum speed, as well as the time which the generating unit needs to reach the maximum speed. With these values the measured speed is corrected during startup of the machine.
Speed Measured Value Output By means of assignment of an IOA the speed value can be output via a digital output. The anlog value output is provided for the local display only, it can not be used for a protective function. At failure of the speed monitoring module the last value remains active. Via the corresponding check box you can decide whether the value is output with (marked) or without (not marked) sign.
79
Assignment of the Single-Point Information "Guide Vane Closed" During standstill a speed signal may be bouncing due to vibrations. Using two sensors this bouncing can be suppressed by means of this information. If this signal does not exist or the guide vane is open, a speed is detected and depending on the range the outputs are set. Instead of "guide vane closed" an equivalent information like "nozzle closed" can be allocated. By means of assignment of an IOA unequal 0/0/0 for the digital input signal, you can decide whether the single-point information is used.
Assignment of the Error Information By means of the respective assignment of an IOA, the error information acquired by the speed monitoring can be output via digital outputs. A fault of the speed contacts is present if the difference of both speeds is greater than the set value (then the signal with the smaller value is set to "faulty"). upon open-circuit.
During running machine a sensor fault does not lead to a malfunction. After a shutdown, however, there is no direction noted and no outputs are set. A fault of the sensor signals should be considered in the startup/shutdown sequence of automatic operations.
Permitted Deviation of the Sensor Signals Through the staggered mounting of the sensors a speed change can be detected earlier from one signal than from the other one. The parameter should be >=1%.
Note If the deviation is set too small, error messages may occur upon change of small speeds.
Setting the Speed Limits Dependent on the speed value up to 14 events can be defined. By means of the respective entry of an IOA unequal 0/0/0, the therefore required digital outputs can be defined. Enter for the activation of the desired output a threshold value and an operate lag, and for the termination a hysteresis. You can define the monitoring direction by means of selection greater/smaller (raising/falling speed). With a configuration with 2 sensors you can define the sense of rotation by means of selection foreward or backward. Normally the threshold values are performed as make contacts. If a break contact functionality is desired, the output must be set inverse. Example: desired resolution at 130% nominal speed greater than 130% with a hysteresis of 5% smaller than 125% with a hysteresis of 5%
80
Setting the Standstill Detection By means of entry of an IOA unequal 0/0/0 a digital output for the output of a standstill information can be defined. For the activation of the function enter the number of speed pulses and the monitoring time within the speed pulses are counted up. For the activation and termination of the digital output you can enter a common delay time.
Setting the Creep Detection By means of entry of an IOA unequal 0/0/0 a digital output for the output of a creep information can be defined. For the activation of the function enter the number of speed pulses, from which the digital output shall be activated (the value must be smaller than that for the standstill detection).
Caution With an impulse frequency greater than 4.1Hz the creep contact will be reset (this must be considered in the sequence of automatic operations). The creep detection is active only with closed guide vane.
Setting the Measured Value Parameters These parameters are only active for the communication link, the measured value to the analog output is transmitted cyclically.
Speed Measured Value for the Communication The measured value is generated as absolute value only. If a directional speed value is desired, an applicational solution via the PLC (IL) is possible. For the generation of a value with sign, both parameterized data points "hand of rotation backward" and "hand of rotation forward" can be evaluated.
Class 1 Data By means of selection via the corresponding check box a speed value is assigned to the Class 1 (marked) or to the Class 2 (not marked). In both cases the spontaneous transmission of the speed value to the central station takes place threshold value controlled (exception: Class 2 data with dial-up traffic).
Single-Point Information Items for the Communication By means of selection via the corresponding check box you can define whether all the information shall be sent also to the communication (marked) or not (not marked).
Error Output D01 By means of selection via the corresponding check box you can define whether the error output of the master control element shall be used (marked) or not (not marked). This digital output can be used for instance to initiate an emergency closure.
81
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
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".
83
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
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.
85
3.1.3.7.1. Common
The Decentral Archive serves for the archiving of data points that are used in the telecontrol function or in the automation function. The Decentral Archive can be configured online (Webserver) or offline (WEBmic), just like the settings for data points of the telecontrol function. Data points of the automation function can be configured only online automatically (see section 3.1.3.7.4, Archiving Data Points from PLC).
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
Address Subdirectory, File The main directory has got its fixed address (IOA1=0, IOA2=0, IOA3=0). The addressing of the subdirectory and of the first file can be chosen freely. The addresses of all the subsequent files will be calculated automatically. This means, that the second file has the same address as the first file, but the value of the IOA1 is incremented by one and so on (see example below).
Recording Grid for Measured Values This parameter defines the recording grid (the cycle time) for measured values. It can be set from 1 to 60 minutes.
Number of Bytes for CASDU, IOA, COT in the Archive You can select the format of saving the entries into the archive. If there is a control system which needs another format for the CASDU, IOA or COT you can define this with the help of these parameters. The parameters only affect the entries in the DEAR, however, it will not affect any other data in your automation unit.
Note It is not possible to call the archive from more than one different control system which use different settings for the number of bytes for CASDU, IOA, COT, because the settings for these parameters affect the whole archive of a automation unit.
Memory Configuration Archive With the help of this parameter it is possible to select the configuration of the archive stored on the SIM card. You may select this parameter referring to your field of application. The smaller the bandwidth of your communication line is the smaller the separated files should be.
Spontaneous Transmission of Directory List It is possible to transmit the directory list spontaneously. This behavior is specified in the IEC 60870-5. It means, that whenever there is a change in the directory list (one file was written, or an old file was deleted), this change may be reported to the control system. However, since upon initialization of a file transfer the control system asks for the directory list anyway, it is not useful to transmit the directory list spontaneously.
Note The addresses that are calculated automatically are not shown in the webbrowser. If such an address is set in the parameterization of the telecontrol function within TM 1703 mic, an error message occurs on attempt to apply.
87
88
Note After a cold restart all the data points which are used un the IL are entered automatically into the list. If necessary, the selection for the archive can be changed manually.
After filling out the list click on the button APPLY. The system checks automatically if the datapoints are available, and adds the correct type identification for each datapoint.
Caution By a later change of the Instruction List (IL) or change of addresses in the parameter setting (periphery) the datapoint numbers may change. During startup TM 1703 mic checks if the assignment of the datapoint number to the information object address and the type identification is valid. If this is not the case, the complete archive will be deleted and an error information is recorded in the History Diagnosis.
89
3.1.3.8. Documentation
Both online as well as offline the current hardware configuration is created automatically on the user interface and displayed in the form of tables. The tables can be printed out directly from the webbrowser. Click in the menu tree on HW DOCUMENTATION. The submenus appear for Overview PS-66xx Protocol Master control unit DI Master control unit DO IOM 0 IOM 1 IOM 2 IOM 3 IOM 4 IOM 5 IOM 6 IOM 7
The order and number of the I/O modules corresponds to the configured configuration. The clicking the individual submenus you get to the respective hardware configuration.
3.1.3.8.1. Overview
Parameter Slot Output acc. to configuration Meaning/Note power supply (PS) master control unit (MCU) I/O module (IOMx) supported module types see in TM 1703 mic CP-60xx/CPC60 System Manual the text can be entered here
Type
acc. to configuration
10 characters
90
3.1.3.8.3. Protocol
Parameter Customer/plant/station CASDU1/CASDU2 Protocol Display acc. to system settings acc. to system settings acc. to protocol configuration IEC 60870-5-104 (Ethernet)/ IEC 60870-5-101 dial-up traffic (serial)/ IEC 60870-5-101 multi-point traffic (serial)/ no communication modem, radio, ring, direct pin and signal assignment of the cable to the transmission facility signal name Meaning/Note
Display acc. to system settings acc. to system settings acc. to overview module specific module specific acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings acc. to periphery settings
Meaning/Note
91
3.1.4.
Warning A startup has also consequences for the automation function (if used). For details thereto refer to section 3.2.2, Commissioning and Test.
92
multi-point traffic
Periphery | Configuration
DI
Periphery | Settings Periphery | Configuration Periphery | Settings Periphery | Configuration Periphery | Settings Periphery | Configuration Periphery | Settings
DO AI AI AO AO TE TE
93
The updating does not take place continuously and if required must therefore be retriggered with a repeated click on the required module, or by clicking on VIEW | REFRESH in the webbrowser.
94
Binary Inputs
Type Single-point information Double-point information Off On Off On faulty position intermediate position value State Format binary binary faulty position = on & off intermediate position = not on & not off & monitoring time expired depends on parameterized frozen value Meaning/Note
Integrated total
31 bit 24 bit 2 decades BCD 3 decades BCD 4 decades BCD 5 decades BCD 6 decades BCD 7 decades BCD 8 decades BCD 9 decades BCD
Binary Outputs
Type Single-Point Information Single command double command Off On Off On Off On State Format binary binary binary Meaning/Note
Analog Inputs
Type Current State 100%100% 3200032000 3200032000 100%100% 3200032000 3200032000 50C350C (-58F662F) -100C700C (-148F1292F) -60C250C (-76F482F) Format normalized scaled floating point normalized scaled floating point floating point Meaning/Note format corresponds to the parameterization of the AI module format corresponds to the parameterization of the AI module
Voltage
Temperature
95
Analog Outputs
Type Current State 100%100% 3200032000 3200032000 100%100% 3200032000 3200032000 Format normalized scaled floating point normalized scaled floating point Meaning/Note format corresponds to the parameterization of the AO module format corresponds to the parameterization of the AO module
Voltage
Speed acquisition
Type Frequency State 210000Hz Format floating point Meaning/Note
96
Warning The manual controlling of outputs with the plant running can lead to damage to persons and machines. Ensure that aggregates in the control area of the command output as well as those subsequent aggregates in the process chain are protected and that persons in the vicinity are warned.
Binary Outputs By selecting in a pull-down menu, depending on which state it is in, you can set and transfer a binary output either to ON or to OFF. Only one output can be written for each transfer. The following manual control possibilities are provided:
Type Single-point information Single command Off On command output time without identifier 2) short command output time 3) long command output time 3) Double command Off On Command output time without identifier 2) short command output time 3) long command output time 3)
1) 2) 3)
Scope 1)
1 binary output 1 binary output + 1 binary output(group relay) 2 successive binary outputs 2 successive binary output 2 successive binary output + 1 binary output(group relay) 4 successive binary output
dependent on the settings of the digital outputs the command output time corresponds to the parameterization of the respective data point the command output time corresponds to the parameterization of the digital output module
Analog Outputs You can set and transfer an analog output to any optional value within the type-specific value range. Only one output can be written for each transfer.
Type Current Choice -100%100% -3200032000 -3200032000 -100%100% -3200032000 -3200032000 Format normalized scaled floating point normalized scaled floating point Scope 1 analog output Note format corresponds to the parameterization of the DO module format corresponds to the parameterization of the DO module
Voltage
1 analog output
97
Set IOA Set signal text Information from periphery or application program Command or setpoint value via communication or Operation Command confirmation Command termination ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input At failure of I/O module If value invalid Via communication Via operation (webbrowser) Not determinable origin or from I/O module Shows source and target of a data point (data flow): PE COM PLC WEB periphery communication programmable logical controller (IL) manually controlled via webbrowser
Quality Location
Direction
Arch.
98
Download Event List as CSV file (Comma Separated Values) In the subgroup DOWNLOAD EVENTLIST (TM 1703 MIC -> PC) click with the right mouse button on the link DOWNLOAD EVENTLIST AS CSV-FILE (RIGHT CLICK, SAVE TARGET AS). Specify the name and path for your destination file in the browse window. The default file type is csv. Then the file can be opened as Microsoft Excel table or also with a text editor.
Download Event List as XML file (Extensible Markup Language) In the subgroup DOWNLOAD EVENTLIST (TM 1703 MIC -> PC) click with the right mouse button on the link DOWNLOAD EVENTLIST AS XML-FILE (RIGHT CLICK, SAVE TARGET AS). Specify the name and path for your destination file in the browse window. The default file type is xml. Then the file can be opened with the webbrowser.
99
Set IOA Set signal text Information from periphery or application program Command or setpoint value via communication or operation Command confirmation Command termination ON (switch closed) OFF (switch open) ON & OFF Not ON & not OFF & monitoring time expired Only for setpoint input At failure of I/O module If value invalid
Quality
100
Download DEAR as CSV file (Comma Seperated Values) In the subgroup DOWNLOAD EVENTLIST AS CSV (TM 1703 MIC -> PC) click with the right mouse button on that link, which contains the desired recording period and select SAVE TARGET AS. Specify the name and path for your destination file in the browse window. The default file type is csv. Then the file can be opened as Microsoft Excel table or also with a text editor.
101
Download DEAR as XML file (Extensible Markup Language) In the subgroup DOWNLOAD EVENTLIST AS XML (TM 1703 MIC -> PC) click with the right mouse button on that link, which contains the desired recording period and select SAVE TARGET AS. Specify the name and path for your destination file in the browse window. The default file type is xml. Then the file can be opened with the webbrowser.
Note Upon request of the superior control center system a file transfer may happen. While this process is running an operation or display via the webbrowser can not take place. Attempting to select a HTML page, then the information occurs that at this time a display is not possible.
102
3.2.
Automation
3.2.1.
103
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.1. Common
Each instruction command must be in one line. Each line must be concluded with a paragraph break, line break or both (done automatically by the text editor). An instruction command consists of the command (operation) and an operand. Example:
LD
M_BOOL_TEST
(*command: LD
operand: M_BOOL_TEST*)
Each operation produces a calculated value (result). The following operation can calculate further with this result.
104
I_030_002_000_000.VALUE M_BOOL_FLAG00
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.
105
Example:
(*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).
LD ST ST LD ST CAL LD
LD ST
15 M_DINT_CONSTANT
106
PLC_RESET: LD 20 ST PLC_CYCLETIME
If the cycle time is set to the value "0", no cyclic program execution takes place. Under certain circumstances the cycle time can be changed independently by the system: If no cycle time is set, it is set to 100ms (default). Extended due to exceeding of the processing time Retriggering due to spontaneous program execution
Affecting the Processing Time The processing time is the duration of a program run of the complete IL. It is primarily determined by the size of the IL (number of operations).
Note It is to be considered, that the processing time of an application program can be variable. Amongst other things, it is also influenced by control operations using the webbrowser.
107
The processing time can be extended due to: Number of communication connections (to further automation units, control system) Number of I/O modules on the TM-Bus Relative program calls Diagnosis and error handling Test- and commissioning functions such as status and simulation of inputs/outputs Saving the IL (Download) Change of parameters online
The processing time of the application program is displayed on the user interface (online) under PLC | DIAGNOSIS.
Exceeding Processing Time The processing time must not be greater than the cycle time. If the maximum processing time successively exceeds 50% of the set cycle time five times, then the cycle time is increased by 50% independently by the system. Simultaneously an error information is set (error number 033, see section A.2, Errors from Hardware and Software).
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
With a spontaneous program execution the entire application program is processed one time. If an event occurs just when the application program would run, then the spontaneous program execution is first started after the current program execution has completed (the application program cannot interrupt itself). The reaction time can therefore be delayed accordingly. If several events occur at the same time or one after the other just when the application program is running, then the states are temporarily stored in a ring and processed chronologically with the next spontaneous program execution. The same is also valid if a data point changes its state several times (transient storage). For further details refer to the TM 1703 mic CP60xx/CPC60 System Manual, chapter "Automation", section "Internal Signal Processing".
108
At the end of each spontaneous pass the cyclic pass is retriggered around the set cycle time. In this case no exceeding of the cycle time is signaled. As long as the events occur in a time-scale that is smaller than the cycle time, only spontaneous program passes take place. If the cycle time is set to "0" and the spontaneous program execution to "1", then only spontaneous program passes take place. Example: Event occurs during a cyclic program execution (S1). Event occurs during a pause (S2).
C S1
S2
tC
tP
tC
tP
tD tC
tP
tP
tC
tP
C S
tP tD tC
109
Control
Periphery
2)
Code
Communication
1) Data from the communication are sent either direct to the periphery or to the control. 2) Data from the periphery are sent either direct to the communication or to the control. By means of a systemvariable the data flow can be directed in such a way, that the data from the periphery are sent direct to the communication as well as parallel to the control.
Example:
PLC_RESET: LD 1 ST PLC_TX_DATAFLOW_030 (*all single-point information is to be sent parallel to the PLC AND to the communication*)
Automatic Routing of the Data Points In the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Automation", section "Automatic Routing of the Data Points" exists a listing of the routing possibilities for data points which are used within the IL.
110
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.
LD ST LD ST
0 0_045_001_001_001.COT 1 0_045_001_001_001.S
If this function is not used, the ACTCON and ACTTERM can also be generated individually (for this at least 2 cycle passes are required).
Note As of Revision 14 of the firmware CPC60 the corresponding type identification can be generated by means of utilization of the command "with/without time" (for instance TI 45/TI 58). With lower revision level only tipe identifications without time can be generated (for instance TI 45).
111
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.
112
3.2.2.
Internal Procedure With a startup of TM 1703 mic all flags, times and counters used in the application program are set to "0". All flags that are identified as non-volatile (retain), are loaded from NV-RAM. The entire input process image of the controller is initialized with the current state of the periphery. All other data are initialized with the following values:
Variable T, PN, COT ORIGINATOR OV, S, GI, SB, BL, IV, CLASS1, CA, CY, SQ NT User data Time 0 0 0 1 0 01:01:2000 00:00:00.000 Value
113
Internal Procedure The newly loaded IL is converted upon startup of the system automatically by a compiler and written in a separate area of the Flash-PROM (checksum secured). If the compiler detects a syntax error (violation of the language conventions), then the PLC is stopped. In the masks DIAGNOSIS | OVERVIEW and DIAGNOSIS | HISTORY DIAGNOSIS the sum error PLC syntax error PLC halted is reported. On the master control module the red ER-LED lights up. If the compiler detects no error, two startups are carried out. Subsequently the application program is processed from the Flash-PROM. After the loading of the application program the sector of the NV-RAM is initialized for the controller (either according to default or with the explicitly specified initialization values, see in section 3.2.1.4, Settings in the Application Program). The syntax errors are displayed in the mask PLC | DIAGNOSIS under ERROR WHILE COMPILING. In the mask PLC | DEBUG it is displayed, whether the PLC is running or is stopped.
114
3.2.2.3. Configuration
The functions for managing the optional IL are located in the menu tree under PLC | CONFIGURATION.
The following functions are available: PLC program execution disable enable PLC Code Upload Download Recompile Erase from SIM card
To execute automation functions there must be an appropriate IL on the SIM card of the master control module. The IL can not be programmed directly on the SIM card, but rather only created in the form of a text file on the PC. This file can then be transferred online to the SIM card.
Note The larger the IL the longer the loading and saving takes. The same is also applicable for the startup operation, as well as all access- and screen updating times.
115
Save PLC Code This function is used for saving the application program loaded in the PLC on the PC (online).
TARGET AS).
Click with the right mouse button on the logic operation DOWNLOAD PLC CODE (RIGHT CLICK, SAVE A browse window appears for selecting the target path and the target file. The suggested file type plc should be retained. Subsequently click on the button SAVE to write the file.
The target is a text file, that contains the application program code in ASCII format. The file can be edited with any optional text editor (e.g. Notepad).
Load PLC Code This function is used for loading the application program from PC to the SIM card in TM 1703 mic (upload). To do this, enter the source path and the source file in the input line UPLOAD PLC CODE, or use the button BROWSE to select the source file using the Browse window. Then click the button UPLOAD in order to write the IL to the SIM card.
116
After loading an IL and subsequent startup, TM 1703 mic performs a Cold Restart. After that, the PLC is running the application program cyclically or spontaneously.
Note For the transmission over Ethernet it is recommended to deactivate the settings for HTTP 1.1 on your PC (CONTROL PANEL | INTERNET OPTIONS | ADVANCED). Otherwise the possibility exists, that the transferred ASCII file of TM 1703 mic can not be interpreted.
Save PLC Code (Offline) Alternatively the application program can also be read from the SIM card offline with the help of WEBmic and stored in a file. For this, the SIM card must be inserted in a read-/write device installed on the parameter-setting PC. To do this, in the WEBmic pop-up menu click on the function READ PLC FROM SIM CARD. A browse window appears for selecting the target path and the target file. The file type plc is fixed defined. Subsequently click on the button SAVE to write the file.
Load PLC Code (Offline) Alternatively the application program can be written offline from a file to the SIM card with the help of WEBmic. For this, the SIM card must be inserted in a read-/write device installed on the parameter-setting PC. To do this, in the WEBmic pop-up menu click on the function WRITE PLC TO SIM CARD. A browse window appears for selecting the source path and the source file. The file type plc is fixed defined. Subsequently click on the button SAVE to write the file.
117
After each startup of the system, one must log on again. On the user interface the following information appears:
SIM Card writing. This procedure can last up to 30 seconds. PLC compiling. This procedure can last up to 40 seconds. In case of use of the serial interface the PPP connection must be reestablished. TM 1703 MIC Homepage (172.29.2.226)
The underlined output line is a hyperlink to the start page of the currently processed station (the IP address specified here is to be regarded as an example).
Maximum processing time Single pass <Number> bytes from 16378 bytes code used <Number> bytes from 1024 bytes RAM used <Number> bytes from 256 bytes retain RAM used Compiling errors
118
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
program is running cycletime (PLC_CYCLETIME): 45 ms actual processing time (PLC_PROCESSINGTIME): 15 ms maximum processing time: 19 ms single processing on/off (PLC_SINGLE): 0 16123 bytes from 16378 bytes code used 35 bytes from 1024 bytes code used 0 bytes from 256 bytes retain RAM used error while compiling: E00: no error
In the example, the processing time successively exceeded the 50% of the programmed cycle time (20 ms) five times and therefore the system has increased the cycle time to 30ms. After again 50% of 30 ms has been exceeded five times in succession (max. processing time 19 ms), the system has again increased the cycle time by 50% (30 ms + 50% = 45 ms).
119
The following test functions are available: Program execution Start Stop Stop at a command line Stop dependent on variable
120
121
Read Variable In the corresponding pull-down menu select READ. Write the name of the variable together with attribute in the input line or copy it from the IL. Then click on the button APPLY. The current value of the variable is displayed in the field WITH/IS.
Write Variable In the corresponding pull-down menu select WRITE. Write the name of the variable together with attribute in the input line or copy it from the IL. Then click on the button APPLY. Enter the simulated value in the field WITH/IS. Then click on the button APPLY to write the variable with the value.
Note With application program running the simulated value of a flag is statically overwritten. In contrast to this, inputs/outputs are not statically overwritten, rather only with a change to their process image (edgetriggered). With application program stopped simulated values are retained.
After switching over between writing and reading, the button APPLY must be clicked in order to transfer the command. The writing or reading of a value takes place with each further click of the button APPLY.
122
4.
Contents
4.1. 4.2.
123
4.1.
Telecontrol
The acquisition, description, parameter setting and documentation of the process-technical process and its associated data points for the automation system is enabled in the TOOLBOX II with the help of the tool "OPM II" (Object Orientated Process Data Manager).
Overview of the fundamental procedure for the parameter setting of TM 1703 mic
Tasks in Logical Order:
define customer and process technical plant (with wizard) configurate plant OPM II define system technical plant (with wizard) Customer Process Technical Plant Niederlassung Nummer System Technical Plant Region AU
HW FW Configuration
System Technique
System Functions
select AU/BSE set parameters save define images set parameters save
Process Technique
System Technique
automatically when saving Target System SAT1703... selection AU user defines the moment
Process Technique
selection AU
Load parameters
124
4.1.1.
4.1.2.
Configure Plant
A plant is configured according to four different perspectives: Project technique System technique Assembly technique Process technique
With the initial creation of a plant, the configuration data are input into the TOOLBOX II with the tool "OPM II". The entry of the parameters is thereby supported by "Wizards". The administration of the plant configuration is carried out with the tool "Plant Management" (refer to section 2.2.2, Configure Plant). The plant topology is determined based on the parameter setting of the configuration data.
4.1.3.
No individual I/O modules are configured, rather only entire peripheral elements. In the System Technique of the "OPM II" the peripheral element will be added automatically with the maximum of 8 I/O modules and the maximum 40 I/Os each in the plant tree. By means of attaching a data point from the process technique to an I/O in the system technique the I/O module is specified (for example binary input module).
Note Please take in account that the system-technical assignment of I/Os fits to the physical configured I/O modules.
An overview of the available master control units and I/O modules and their description can be found in the TM 1703 mic CP-60xx/CPC60 System Manual, chapter "Telecontrol", section "Hardware Configuration" (please consider also the "Configuration Rules"). The detailed description of the modules can be found in the chapter "System Elements".
125
126
4.1.4.
127
Under the level of the Ax peripheral bus, the configured peripheral elements with the processtechnical signals, which have been set in the window EDIT IMAGE, are displayed: Hardware pins Software data points
By means of the context menu of a hardware pin, function EDIT IMAGE, one directly reaches the process-technical parameter setting.
The description of the technological processing of inputs and outputs (process peripheral signals) can be found in the manual TM 1703 mic CP-60xx System Manual, chapter "Telecontrol", section "Process Periphery". The description of the parameters can be found in the TOOLBOX II User Manual, chapter "Parameter Documentation".
128
After the loading of the parameters a startup of the target system is performed automatically. In the error output window of the "OPM II" the display Parameters are loaded and up to date appears subsequently. For the loading of the parameters there are different variants available. The details thereto can be found in the TOOLBOX II User Manual, chapter "Parameter Loader".
Caution During a loading operation, the switching off of the master control element is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.
129
4.1.5.
Documentation
The documentation of all engineering data of a TM 1703 mic system is created with the help of the TOOLBOX II.
4.1.5.1. HW Configuration
The documentation of the automation unit slots occupied with system elements can be created with the tool "HW-FW configuration". The output takes place optionally as preview on the screen or to a printer.
130
4.1.6.
Test Functions
Note The online test functions provided by the TOOLBOX II are not supported for TM 1703 mic. Online test functions are only available via a webbrowser.
131
4.2.
Automation
4.2.1.
define images for... spontaneous messages periodical data points from periphery
Edit Signals
selection of ressource
Offline Simulation (test of the function chart logic without target system)
selection of ressource
Code Generation
selection of AU
Load parameters
132
133
The signals of the process-technical plant can be used by "CAEx plus" after the transformation (refer to section 4.1.4.4, Transform Parameters). The structure of the project tree automatically adapts to the structure from the "OPM II". An introduction how to create a project can be found in the TB II CAEx plus User Manual, chapter "First Steps" and chapter "Additional Products", section "Signal List (Optional)", as well as in the Online Help of "CAEx plus".
The exact description of the editor is included in the TB II CAEx plus User Manual, chapter "Editors", as well as in the Online Help of "CAEx plus".
Additional information can be found in the TOOLBOX II User Manual, chapter "CAEx plus".
134
You will find characteristic values and scope of the functions provided by TM 1703 mic for the creation of the open-/closed-loop control functions in the CP-60xx/CPC60 System Manual, chapter "Technical Data", section "Programmable Logical Controller" and chapter "Automation", section "Function Diagram".
135
The exact description of this tools is included in the TB II CAEx plus User Manual, chapter "Target-System Connection", section "Functions for Target-System Connection", section "Code Generation". The code generation can be started independently from "CAEx plus" with the tool "OPM II" through selection of the function DESTINATION SYSTEMS | CAEX PLUS | SIGNAL LIST/GENERATE CODE. Thereby a signal list is created for the processing of the parameterized signals in the open-/closed loop control function and read into "CAEx plus". Further details can be found in the TOOLBOX II User Manual, chapter "OPM II", section "Transform and Load", "CAEx plus".
The loading of the application programm code into the target system takes place jointly with the parameters, and can be started from the System Technique of the tool "OPM II" via the context menu of the respective automation (right mouse click, PARAMETER | LOADING). Another option offers the tool "Load parameters" (refer to section 4.1.4.5, Upload Parameters). Alternatively the compiled Instruction List can be exported and loaded into TM 1703 mic via the webbrowser (refer to section 3.2.2.3.2, Save and Load PLC Code). All the open-/closed-loop control functions that have been performed in "CAEx plus", are thereby stored on the SIM card in the master control element. The loading of the application program code leads to an operational interruption. After termination of the loading procedure, a startup of the target system is required. Exact details for the operation can be found in the TOOLBOX II User Manual, chapter "Parameter Loader".
Caution During a loading operation, the switching off of the master control element is to be absolutely avoided, since the data on the SIM card could be destroyed as a result.
136
4.2.1.7. Documentation
and is executed by means of pop-up menu CROSS-REFERENCES. The details thereto can be found in the TB II CAEx plus User Manual, chapter "Basics", section "Default Operating Elements", section "Commands of the Pop-Up Menus".
137
4.2.2.
Test Functions
Note The function "Online Test" of the tool "CAEx plus" is not available for TM 1703 mic. The logic of the Function Diagram edited with "CAEx plus" can be testet before the commissioning by means of the "Simulation offline" (refer to 4.2.1.4, Simulate Function Diagram). An online simulation is only available via webbrowser (refer to 3.2.2.5, Test Functions).
4.2.2.1. Oscilloscope
Oscilloscope functions serve for chronological representation of anlog values and binary values during the "Offline Simulation" of the Function Diagram. You can find the details thereto in the CAEx plus User Manual, chapter "Additional Products", section "Logic Analysis with Oscilloscope Functions".
138
5.
Contents
Maintenance
LED Displays on the Master Control Module ...................................................140 I/O Module Monitoring ......................................................................................141 Behaviour of the Outputs on Startup and Communication Failure...................142 Diagnosis via Webbrowser...............................................................................143 Diagnosis via TOOLBOX II...............................................................................150 Maintenance of the Hardware ..........................................................................153 Firmware Update ..............................................................................................156
139
Maintenance
5.1.
Meaning
Note Goes out with startup, in operation permanently lit if ready (also applies for all other module types) Lights up with startup, in operation terminated (no error) or permanently lit (error)
ER
Error
OH0
Connection serial
Every message that is sent Goes out with startup, lights up over the serial interface (multi- permanently with established point traffic); connection in dial-up traffic Established connection (dial-up traffic) Goes out with startup, flashes in operation when sending or receiving data Goes out with startup, in operation permanently lit (only master control module with Ethernet interface) Goes out with startup, flashes in operation when sending or receiving data (only master control module with Ethernet interface)
RTX0
Transmission/Reception Every message that is sent or received over the serial interface Connection Ethernet Physical connection of the master control module with the Ethernet
LNK1
RTX1
Transmission/Reception Every message that is sent or received over the Ethernet interface
5.1.1.
140
Maintenance
5.2.
141
Maintenance
5.3.
Reset
142
Maintenance
5.4.
5.4.1.
Overview
By clicking on DIAGNOSIS | OVERVIEW in the menu tree the overview mask is opened. Here the most current errors are displayed for each module.
143
Maintenance
Display An information display is present if unacknowledged or statical active errors are present. The displayed system information are differentiated in Error information Errors acc. to Appendix A.2, Errors from Hardware and Software Operation information Time of the last change of parameters Example 1: An I/O module present in the configuration is not configured, startup with power-on.
Master control unit No error IOM 0:DO-6200 No error IOM 1:DI-6100 No error IOM 1:DI-6100 Hardware identification wrong
Example 2: Sum error of two measured values through open-circuit (Live Zero Measurement).
Master control unit No error IOM 0:AI-6300 Error measured value 1 (invalid) Error measured value 3 (invalid)
Acknowledging Errors Errors that are no longer present can be acknowledged. To do this, click on the button CLEAR and confirm with OK in the message box that opens. Following this the information errors cleared appears in the current window. Update the overview with a repeated click in the menu tree. If the errors are no longer present, now the error texts are replaced with the display No error.
144
Maintenance
5.4.2.
System Diagnosis
By clicking on DIAGNOSIS | HISTORY DIAGNOSIS the information mask with the history is opened. Here all system information together with time tag are displayed in chronological order.
A maximum of 20 entries is possible. The signal list is a ring buffer, which means if the signaling buffer has been fully written, the respective oldest signal entry is overwritten by the most current.
Note The signal list is cleared if the voltage supply of TM 1703 mic is interrupted for at least 10s.
Display An information display is present if unacknowledged or statical active errors are present. The displayed system information is differentiated in Error information Errors acc. to Appendix A.2, Errors from Hardware and Software Operation information Logon Logoff Upload (load parameters) Download (save parameters)
145
Maintenance
History Diagnosis 03.08.2004 10:15:01:446 03.08.2004 10:15:01:556 03.08.2004 10:15:01:557 03.08.2004 10:20:00:401
Peripheral element 01 : Failure item number missing ON reset by hardware/power on : 3C 00 queues cleared
Acknowledging Errors Errors that are no longer actively present can be deleted from the signal list by clicking the button CLEAR and confirming the query with OK. Following this the information errors cleared appears in the current window. With a renewed clicking in the menu tree the updated signal list can be output. If no new errors have been added only the information errors cleared appears in the input/output mask.
5.4.3.
System Status
By clicking on DIAGNOSIS | STATUS INFORMATION in the menu tree the status information mask is opened. Here the identification features of the configured hardware is displayed module for module.
146
Maintenance
Display If there is no error present, and the fitted hardware configuration matches the configured one, the following information is displayed: Item Number Software version SIM space (only master control module) MAC Address (only master control module with Ethernet interface)
If a fitted module does not match with the configured module type, then the information wrong hardware identification is displayed. Example: TM 1703 mic configured with a power supply module, a master control module and three I/O modules. Failure of a configured I/O module.
Status Information PS-6620 item number: GC6-620-A.00/222-027 software version: 9-1.00 Master control unit item number: GC6-040-A.01/326-006 Software version: 6 SIM size: 32768 MAC address: 00-E0-A8-01-10-A5 IOM 0:DO-6200 item number: GC6-200-A.00/222-055 software version: 4-1.00 IOM 1:DI-6100 item number: GC6-100-A.00/222-027 software version: 1-1.00 IOM 2:AI-6300 hardware identification wrong
147
Maintenance
5.4.4.
Display The time status displays whether the time is set and synchronized, and whether the parameterized NTP-Servers are available (with communication via IEC 60870-5-104).
Multi-point Traffic The time is transmitted to TM 1703 mic from the control system (time master). So that an accuracy of 10 ms is achieved the time master must synchronize at least every 60 s. Upon failure of the time synchronization after 10 min a warning will be set.
Dial-up Traffic The time is transmitted to TM 1703 mic from the control system (time master). A synchronization can only take place each time a connection is established.
148
Maintenance
Ethernet When using SNTP the current SNTP server is determined by means of "voting". This takes place according to the weighting: Attainability Stand alone (SNTP server does not receive a time) Distance (with regard to the time)
With communication via IEC 60870-5-104 upon failure of the time synchronization after the 3fold cycle time of the SNTP synchronization a warning will be set, or minimum after 10 min. If the SNTP synchronization is not used, the warning will be set after 10 min. Example 1: Synchronized TM 1703 mic.
status OK: time set status NTP server (actual: 0) NTP 0 (172.29.31.10) : OK NTP 1 (172.29.63.2) : NOK NTP 2 (172.29.67.145) : NOK NTP 3 (0.0.0.0) : NOK
status Warning: time not set Warning: time not synchronized for more than 10 minutes status NTP server NTP 0 (172.29.31.10) : NOK NTP 1 (172.29.63.2) : NOK NTP 2 (172.29.67.145) : NOK NTP 3 (0.0.0.0) : NOK
149
Maintenance
5.5.
5.5.1.
General
The following listing explains the different error categories and how the error messages are logged. Hardware errors Monitoring of the individual system elements, communication and time synchronization by the firmware of the target system in operation. Error information takes place by Activation of the red error-LED on the master control element. Logging via diagnostic functions.
Note The logging via diagnostic functions is for TM 1703 mic only possible via a webbrowser.
A list of error messages which are indicated in the diagnostic can be found in the Appendix A.2, Errors from Hardware and Software. Software errors. Parameter setting The input of the parameters with the help of the TOOLBOX II tools is subjected to - as far as logically recordable - parameter-specific conventions or plausibility checks. Faulty inputs are notified or directly prevented with the entry. If a in principle permitted parameter setting, that however does not match the physically present system elements, is loaded into the target system, the method of procedure is as with hardware errors. Programming Monitoring by the CAEx plus compiler and logging in an error information list during compiling of the application program code. Operator errors. Are largely excluded due to plausibility checks or queries by the TOOLBOX II. Naturally, all operator inputs, such as for example the loading of parameters or the online testing of application programs, are subject to the responsibility of the user. Profound knowledge of the automation technique in general, as well as the documents mentioned in the Literature index, is presumed.
5.5.2.
150
Maintenance
Network overview diagnostic The error messages of all automation units in the network are output in a report window with the function NETWORK OVERVIEW DIAGNOSTIC (sum information). Structure of the Ax 1703 error message:
Bit No. 0 1 2 3 4 Meaning Internal errors External errors Communication fault Test Warning Remarks PLC shut down TM module fault IEC 60870-5-104 connection failure (not supported) Time not yet set Since 60 min time not set 5 6 7 Module failure AU failure Startup TM module failure (not supported) Startup transient
These error bits are transmitted as single-point information. In TM 1703 mic they are summarized on two information object addresses (or-linked):
Property Fault Failure IOA 240 241 bit 0, 1, 2 5, 6 Remarks Parameter-settable Parameter-settable
5.5.3.
Errors that can occur with the creation of the Function Diagram (for example the linking of a binary signal to an analog input of a function) are displayed in a separate report window ("POU error check"): Automatically with the incorrect input Manually with the function EARLY ERROR DETECTION (pop-up menu in the Function Diagram).
All editing errors can be displayed at any time. The exact details can be found in the CAEx plus User Manual, chapter "Editors", section "FBD Editor", section "Operation in FBD Editor".
151
Maintenance
Errors with engineering Errors that can occur with engineering are displayed centrally in the "Error-state viewer" of "CAEx plus". It essentially concerns thereby Installation binary information Export/Import binary information Project management binary information FBD-editor binary information Code generation binary information Object-related binary information Binary information of the object assistants Binary information of the typical import Signal list binary information Binary information from hardware signal databases
The binary information are generated after the triggering of a function (for example "Code generation"). The exact details can be found in the CAEx plus User Manual, chapter "Additional Products", section "Error-State Viewer".
Errors with the target system connection Errors that can occur with the target system connection are displayed centrally in the "Errorstate viewer" of "CAEx plus". It concerns thereby General messages of the target system connection Messages of the code generator Messages of the control panel Messages of the ONLINE applications Messages of the "Open Operating System" Messages of the target-system integration into the project management Messages from "openPLC"
The exact details can be found in the CAEx plus User Manual, chapter "Target-System Connection", section "Program Messages for Target-System Connection".
152
Maintenance
5.6.
5.6.1.
Warning The connecting and withdrawal of peripheral modules is only permitted in a de-energized state, this means that the power supply to the power supply unit and to the peripherals must be interrupted.
Detailed instructions for the assembly of modules can be found in the manual TM 1703 mic Installation, chapter "Installation and Removal of Modules". To exchange a module tools are not required for either the hardware or the software: the terminals can be detached without tools the module can be detached from the DIN rail without tools to remove the SIM card a ballpoint pen or a pencil is required the user data (parameters and IL) are stored non-volatile on the SIM card
Independent of firmware code the following information is stored non-volatile in TM 1703 mic:
Parameter Initialization with completion CP-EEPROM SIM card Telecontrol parameters Application program MAC address Operating hours counter Item- and serial number of the module
*)
x x x
retained flags
153
Maintenance
5.6.2.
5.6.3.
During the operation of TM 1703 mic no access to the SIM card takes place by the system. Therefore no error is reported if for example the SIM card is withdrawn. In operation the system only accesses the SIM card with operator inputs such as loading parameters, loading PLC code or by selection of the test mask (display of the IL). With each startup of TM 1703 mic the system accesses the SIM card and checks it. The following problems can occur with the SIM card: SIM card not legible The red ER-LED is activated. If the IP address is no longer legible, then the station concerned can no longer be accessed by means of the webbrowser. Data on the SIM card are faulty The system detects a checksum error. In this case the SIM card is overwritten with default parameters. This is also applicable if a new SIM card is inserted in the master control module (no differentiation between faulty data or new SIM card). The following error messages refer to problems with the SIM card: SIM not available (SIM card not present or not legible) SIM checksum error, PLC halted (check of the memory space for parameters and temporary data with startup)
154
Maintenance
5.6.4.
5.6.5.
5.6.6.
155
Maintenance
5.7.
Firmware Update
5.7.1.
General
The firmware update can be carried out exclusively with the firmware loading tool FLASHmic. For the execution of a firmware update you require the following configuration: PC with FLASHmic Connection with the master control module (serial or Ethernet) Local serial
Ethernet TCP/IP 60870-5-104
For the loading of the firmware via Ethernet an operable firmware must be present in TM 1703 mic.
156
Maintenance
5.7.2.
Click OK to close the Splash Screen. Select the language in which the firmware update is to be carried out and proceed with NEXT.
157
Maintenance
Select the required interface and start the firmware update with NEXT. When selecting the Ethernet interface, you must also enter the IP address.
FLASHmic now begins with the checks of the connection and the hardware of the target system. Only when FLASHmic has confirmed all checks with OK does the actual loading operation begin. The duration of the loading operation is dependent on the physical connection. With operation via Ethernet the transfer time is influenced by the number of active participants and by the volume of data traffic on the bus.
The loading operation is concluded free of errors when the information check firmware ... OK appears. Then click on NEXT and FINISH to close FLASHmic.
158
Maintenance
Note A master control element that is no longer capable of functioning can be recognized, if after a startup of TM 1703 mic the yellow RDY-LED and the red ER-LED on the master control element do not light up. In this case send the master control element for repair to: Siemens PTD EA 2 OS MS Ruthnergasse 3 A-1210 Wien
5.7.3.
159
Maintenance
160
A.
Contents
Error Information
Error Categories ...............................................................................................162 Errors from Hardware and Software.................................................................163 Operator Errors.................................................................................................171
161
Error Information
A.1.
Error Categories
The following listing explains the different error categories and how the error messages are logged. Hardware errors Monitoring the the individual system elements (modules) and their configuration by the firmware. Logging online in DIAGNOSIS | OVERVIEW (errors present). DIAGNOSIS | HISTORY DIAGNOSIS (time-tagged error messages, history). Software errors Monitoring by the firmware and logging online in DIAGNOSIS | OVERVIEW and DIAGNOSIS | HISTORY DIAGNOSIS (behavior of the PLC). PLC | DIAGNOSIS (errors when compiling the application program code, syntax of the IL). Parameter setting errors Are reported online by the Webserver, and offline by WEBmic. The input of the parameters is subjected to a plausibility check, error messages are not output. Operator errors Are largely excluded by the user interface. You can find further information thereto in section A.3, Operator Errors.
162
Error Information
A.2.
*)
Error during telegram transmit Super high prior queue overflow High prior ring overflow
No No No
*) *)
*)
Queue overflow class 1 Queue overflow class 2 SIM card not available Errors cleared Reset by hardware/power on
No No No No No
*)
*) *)
*)
163
Error Information
Error Text Reset by remote command (ti105) Reset by watchdog Firmware disabled (kill)
Cause Startup command received from Master Watchdog is exceeded and a startup was performed Internal software error Invalid parameter file loaded Invalid IL loaded
Remedy
FK
ER LED Transient No No No No
*)
Read Diagnosis | History Diagnosis and inform Siemens Reload parameter Reload IL If no remedy: carry out a firmware update
No No
Warning: ring class 1 80% full Warning: ring class 2 80% full firmware loaded DCD continuous level
See error 005 See error 006 In the History Diagnosis it is indicated, when the firmware was updated In multi-point traffic this might happen at Check telecontrol line plugging in the nullmodem cable (mainly with DELL PCs) Modem has detected a continous level Does not occur in normal operation Occurs only during self test Occurs only during self test A startup was triggered by the user due to a parameter change (on demand) TM 1703 mic has performed an automatic startup in consequence of a parameter change Item number not available Connection to the remote station failed Wrong IP addresses See error 022 See error 022 See error 022 Change module Check IP addresses and connection parameters in TM 1703 mic and the remote station K
No No Yes Yes
No No No No
*) *)
*)
Selftest started UART error Ethernet chip error Reset after parameter changing
No No No Yes
No No No No
021 022
Yes Yes
No No
*) *)
K K K
No No No No
*) *) *)
164
Error Information
Remedy Exchange power supply against version >= B or Exchange CP-6020/CP-6040 against version >= A Carry out a firmware update
FK
028
Version of WEBmic with that the parameters were generated is more current than that of the firmware Substation does not call actively any more
Yes
No
*)
029
Modem blockade
Parameterize station in the master, otherwise the master sends a wrong password that the "unknown" station calls no more Enter the password correctly, consider upper case/lower case letters Check DCD wiring of TM 1703 mic to modem Startup in the master during active connection Check telephone line Check telephone line Check telephone number The system increases the cycle time automatically by 50% (max. 2 s possible) If PLC is stopped by the system, use a smaller IL Rewrite the IL to the SIM card I
Yes
No
*)
030 031
TM 1703 mic did not detect a proper connection release The connection was disconnected incorrectly (DCD signal is "0" before command "hang up dial" has been received) Connection to master not possible The processing time for the execution of the application program has exceeded 50% of the set cycle time
Yes Yes
Yes Yes
*)
*)
032 033
Yes Yes
No No
*)
*)
034
Hardware error (the data in the memory range for the application program are faulty) Hardware error (the data on the SIM card are faulty) An unknown instruction is programmed in the IL
Yes
No
035
Delete content of the SI card and rewrite parameters to the SIM card If no remedy: change SIM card Check code and comments in the IL (syntax)
Yes
No
036
Yes
No
165
Error Information
Cause The cycle time for the application program is to high Variable PLC_CYCLETIME Processing time of the application program
Remedy Correct value of the variable PLC_CYCLETIME (range 2 ms 2 s) Processing time of the application program reaches 50% of the max. cycle time Check in parameterization and IL, the type identification of data points used in the application program must match with the type in the parameterization
FK I
038
Yes
No
039
Number of state changes from information items and integrated totals is greater than the FIFO buffer chronological can store Number of state changes from commands, setpoint values and counter interrogations is greater than the FIFO buffer chronological global can store Too many telegrams generated by the application program within one cycle In the IL a RET instruction is programmed without CAL instruction Too many nesting levels by means of CAL instructions Check IL Check IL (return to nesting level 0 not possible) Check IL (max. 20 levels permitted) I I I I
Yes
Yes
*)
040
Yes
Yes
*)
PLC output ring overflow PLC c-stack underflow, PLC halted PLC c-stack overflow, PLC halted PLC f-stack underflow, PLC halted PLC f-stack overflow, PLC halted Permanent loop
Yes No No No No No
*)
Too less transfer parameters for a function Check IL or function block programmed Too many transfer parameters for a function or function block programmed Internal errors Too many startups in succession Endless loop in the application program Behaviout acc. to IEC Behaviout acc. to IEC Software error Please consult your system supplier Check IL Check IL Check power supply Please consult your system supplier
Negative confirmation OLA-command Negative termination OLA-command Console system disabeld by firmware IOA MTS_LAEUFT wrong
No No No No
*) *)
166
Error Information
Error Text IOA enabeling wrong, console halted IOA lamptest wrong, console halted IOA not from DO, console halted IOA not from DI, console halted IOA is not an EM, console halted IOA doubled used, console halted Wrong telegram received (SK)
Cause
Remedy
FK
Error with the conversion of the SK message to the IEC message IOA1 must not be greater than 31 Must be "0" for measured values and integrated totals Not used, must be always "0" in the SK mode Is the bit number in the SK mode must not be greater than 15 Only even bit numbers can be used for double-point information items IOA1 must be definite over all formats See error 063 Occurs only with PCBMxx Too many startups performed within short time, TM 1703 mic has been switched off and on too many times within The PLC function is released under PLC | Configuration, but no code loaded Internal software error
Check parameters in the master, i.e. with/without component number, package, The data point number and IOA are registered under Diagnosis | Diagnosis History See error 058 See error 058 See error 058 See error 058 See error 058 See error 058 Check quality of line Check power supply If error cannot be corrected, please consult your system supplier Block PLC if not used or Load PLC code Please consult your system supplier
Yes
SK addressing fault: IOA1 too big SK addressing fault: IOA2 must be 0 SK addressing fault: IOA3 must be 0 SK addressing fault: IOA2 too big SK addressing fault: IOA2 odd (DP) SK addressing fault: IOA2 for SP used SK addressing fault: IOA2 for SP used SK acknowledgement error Permanent reset, firmware disabled
No No No No No No No No No
067 068
Yes No
No Yes
167
Error Information
Error No. 069 070 071 072 073 074 075 076 077 078
Error Text TE-6420 IOA is not singlepoint TE-6420 IOA not from DO-62xx TE-6420 IOA not from DI-61xx TE-6420 IOA is not Floatingpoint TE-6420 IOA not from AO-6380 TE-6420 IOA doubled used TE-6420 only 1 rotation speed sup. TE-6420 IOA unknown TE-6420 IOA not from an TM module 2.5 ms acquisition not possible
Cause The binary output is not set as single-point information for this IOA The output must be on a DO module and not on the master control module Reserved internally The output of the AO is not set to float for this IOA The output must be on an AO-6380 Somewhere the same IOA was assigned for the TE-6420 The speedmonitoring may be released only once per TM 1703 mic The set IOA is not found on any relevant module The IOA is known, but i.e. only generated by the application program Min. one module does not support the 2,5 ms detection (TE-6460, AI-6310, TE-6420, AI-6300) Master control module has no MAC address Siemens TC35 modem does not respond on AT commands Connection setup could no more performed, therefore the modem was restarted Power-down/power up of the modem No Siemens TC-35 was connected with configuration of the protocol "no communication" Change of the parameters SIM card was replaced CP6020/CP6040 was replaced
Remedy
FK
ER LED Transient Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No No No No No No No No
Use only modules with 2.5 ms detection Set detection to 10 ms Please consult your system supplier
Yes
079 080
Yes Yes
No Yes
081
DEAR deleted
Yes
Yes
168
Error Information
Error Text Logon Administrator (WEB Server) Logon Guest (WEB Server) Logoff (WEB Server) Abortion DEAR file transfer USER
Cause Login by the administrator with following IP adress Login by the guest with following IP adress Logout of the guest resp. the administrator Abortion of the running file transfer by the user The user performed an abortion during running file transfer by means of the user interface
Remedy
FK
090
Abortion DEAR file transfer TIMEOUT Abortion of the running file transfer by timeout in the substation DEAR loss of data
The set timeout is too short There was a communication failure during the file transfer
Yes
Yes
091
There was a loss of data in DEAR Reduce data load (too many data are Data could no more being saved on SIM generated in TM 1703 mic) card resp. NV-RAM There was a loss of data in DEAR Reduce data load (too many data are Data could no more being saved on SIM generated in TM 1703 mic) card resp. NV-RAM Not used Missing two-line calibration Faulty measuring (live zero) (only for measured values) See error 224 See error 224 See error 224 See error 224 See error 224 See error 224 See error 224 Not used Check wiring of the relevant analog inputs Check relevant sensors/sensor voltage E
Yes
Yes
092
Yes
Yes
223 224
Yes Yes
No No
*) *)
Peripheral element 01 fault Peripheral element 02 fault Peripheral element 03 fault Peripheral element 04 fault Peripheral element 05 fault Peripheral element 06 fault Peripheral element 07 fault Master control module periphery failure
E E E E E E E
No No No No No No No No
*) *) *) *) *) *) *) *)
169
Error Information
Cause Wrong hardware identification Checksum error on TM Bus Automatical detection of a defect, i.e. command output driver) Error in command output circuit or status input circuit See error 240 See error 240 See error 240 See error 240 See error 240 See error 240 See error 240 Min. 1 error, due to which the red ER-LED is triggered, is present (see column ER-LED)
Remedy Check the set hardware configuration Change peripheral element Firmware update
FK B
Peripheral element 01 failure Peripheral element 02 failure Peripheral element 03 failure Peripheral element 04 failure Peripheral element 05 failure Peripheral element 06 failure Peripheral element 07 failure Sum error LED (red)
No No No No No No No No
*) *) *) *) *) *) *) *)
*)
error can be read in the IL by means of variable PLC_SYSERROR_xxx for linking in the logic
170
Error Information
A.3.
Operator Errors
The following table shows a selection of error messages that could occur with the operation of TM 1703 mic via the webbrowser. Since different states can occur depending on the hardware- and software configuration used, it cannot be guaranteed, that the remedies described here actually always lead to the desired objective.
Behavior After a startup of the system the application program (PLC) remains stopped Red ER-LED lights up after a reset of the system Webbrowser does not start, if a project is opened with WEBmic or is to be created new After entering the IP address of a TM 1703 mic (online) in the webbrowser the message "Page not available" appears Possible Cause There is a syntax error The learned configuration does not match the configured setting One or more projects have been opened previously, but not logged out There is no connection to the selected TM 1703 mic TM 1703 mic is switched off IP address is incorrect The selected TM 1703 mic is not attainable and the last processed offline project is still in your PC cache Remedy Carry out correction in the lines specified under PLC | Diagnosis Open the project loaded in TM 1703 mic offline (WEBmic) and check the parameterized configuration Close WEBmic, check with Windows Task Manager whether a WEBmic task is still running, and end the task Check whether TM 1703 mic is switched on and is connected with the PC With operation via Ethernet and without router the network addresses of TM 1703 mic and PC must correspond (according to the subnet mask) Close offline project Check IP address and connection to the selected TM 1703 mic, if necessary write a new IP address (if need be, locally with WEBmic)
After entering the IP address of a TM 1703 mic (online) the registration mask opens, but after logging on an offline project opens WEBmic will not close After loading an IL the webbrowser attempts for a long time (> 1min) to update or no status information at all comes regarding the loading operation
There is still a WEBmic task running in the background Close the task or terminate the process with Task Manager The IL to be loaded is too large (> 16kB) In general, a loading operation takes longer, the larger the IL is Abort loading operation (Stop function in webbrowser) Check whether errors are entered under PLC | Diagnosis Load a smaller IL If TM 1703 mic returns status information after the loading operation, check whether the IL has been transferred
171
Error Information
Behavior After loading an IL operator masks are incorrect or empty; in some circumstances the red ER-LED lights up
Possible Cause An invalid IL has been loaded (incorrect file of file format) A connection error may have occurred during the transmission
Remedy If possible, read error displays in the diagnosis Check whether the correct source file has been loaded Check whether the file which contains the IL is a text file (ASCII format) Check whether the correct control code is in the text file
After loading the parameters TM 1703 mic can no longer be selected from the webbrowser; in some circumstances the red ERLED lights up
There is an invalid or unknown IP address set in Set a valid IP address again on TM 1703 mic with WEBmic, after successful transmission enter this the loaded parameter setting address in the webbrowser, TM 1703 mic can then An invalid parameter file has been loaded (incorrect be processed online again file of file format) Otherwise the SIM card must be withdrawn from A connection error may have occurred during the TM 1703 mic and written again offline with valid transmission parameters The session has been terminated by the internal timeout The session has been terminated by logon of another user Avoid longer breaks (> 15 min.) during the operating or parameter setting Save changed parameters by clicking on the apply button With each refresh in the webbrowser the timeout is restarted
After refresh in the webbrowser (by selecting an input/output mask or by applying a parameter) the logon mask appears
172
B.
Contents
Transfer an Input to a Signalling Output and to a Command Output...............174 Combine two Inputs with AND..........................................................................175 Linear Adaptation with Value Selection............................................................176 Operating Hours Counter .................................................................................177 Bounce Suppression ........................................................................................179 Setpoint Command...........................................................................................181 Speed Comparison...........................................................................................182
173
B.1.
(*IN00 TI:30 IOA1:002 IOA2:000 IOA3:000*) (*store at output as binary information*) (*store at output as command*)
174
B.2.
PLC_RESET: LD 50 ST PLC_CYCLETIME
(*load value 50*) (*store at system variable for cycle*) (*time in ms*)
PLC_INIT: PLC_START: LD I_030_002_000_000.VALUE ST AND.IN0 LD I_030_003_000_000.VALUE ST AND.IN1 CAL AND ST M_BOOL_TESTFLAG ST O_030_008_000_000.VALUE
(*read input IN00*) (*store at input 0 for AND function*) (*read input IN01*) (*store at input 1 for AND function*) (*call function*) (*store in a flag*) (*store as single command output*)
175
B.3.
PLC_RESET: LD 10 ST PLC_CYCLETIME PLC_INIT: LD 10 ST M_REAL_CONSTANTforK LD -5 ST M_REAL_CONSTANTforD PLC_START: LD I_036_032_000_000.VALUE ST MAX.IN0 LD I_036_033_000_000.VALUE ST MAX.IN1 CAL MAX ST M_REAL_MAXVALUE ST MUL.IN0 LD M_REAL_CONSTANTforK ST MUL.IN1 CAL MUL ST ADD.IN0 LD M_REAL_CONSTANTforD ST ADD.IN1 CAL ADD ST O_036_032_001_001.VALUE
(*input 1*) (*input 2*) (*the greater value of both is used*) (*serves for reading which value will *) (*be used*)
(*the selected value is multiplicated *) (*with the constant and results as "kx"*)
176
B.4.
PLC_RESET: LD 10 ST PLC_CYCLETIME PLC_INIT: LD MR_DINT_MINUTES ST M_DINT_MINUTESOLD PLC_START: (*Operating hours counter*) LD PLC_SYSTIME.SEC ST M_DINT_SEC LD M_DINT_SEC EQ 0 ST CTU_COUNTER.CU
CAL LD ST LD ST CAL ST
ST LD ST CAL ST
(*fetch second value of the system time*) (*and store in variable*) (*current second*) (*compare with second 0*) (*HIGH always at the second 0, required*) (*edge detection is implemented within*) (*the counter*) (*increments the counter*) (*load current counter score*) (*store at input 0 for ADD function*) (*load old value*) (*store at input 1 for ADD function*) (*call ADD function*) (*store sum of operating minutes in a*) (*retaining flag, after startup the*) (*old value will be added to the*) (*current counter score*) (*store at input 0 for DIV function*) (*load constant for 60 minutes*) (*store at input 1 for DIV function*) (*call DIV function*) (*sum of operating hours = minutes*) (*divided by 60*)
To reset the counter score it is necessary to reset the counter (CTU_COUNTER.R) as well as the flag with the retained value (M_DINT_MINUTESOLD).
177
This could be executed by a subroutine before PLC_RESET. With RET the subroutine will be left.
(*the old value for operating minutes*) (*is set to "0"*) (*reset the flag for running this*) (*subroutine*) (*reset counter by input R*)
The call of the subroutine could be executed at the end (after ST M_DINT_HOURS). Therefore the flag (M_BOOL_RESET) must be set to "1". Instead of the flag an input address could be used, for instance a command. Reaching the command CALC the call of the subroutine will be executed. In the subroutine the flag (M_BOOL_RESET) will be reset to "0", otherwise the counter would last at "0" as long as the flag will be reset to "0".
LD ST
0 CTU_COUNTER.R
(*besides reset of the time the*) (*counter input R is set to "0"*) (*if the flag is set to "1"*) (*call the subroutine ResetCounter*)
178
B.5.
Bounce Suppression
If an input signal is bouncing the blocked bit (BL bit) is set. The number of state changes until the BL bit is set, as well as the monitoring time during which the information must be static until the BL bit is reset, are adjustable via constants. An output is set to "0" during the BL bit is set. With an edge detection for the rising edge (R_TRIG_INEDRISE0) and the falling edge (F_EDTIMEFALL0) the counter (CTU_EDC0) will be incremented by 1. At the same time the R input of the counter is reset via an ON delay for the rising edge (TON_EDTIMERISE0) as well as for the falling edge (TON_EDTIMEFALL0). With this function all state changes of the input will be integrated by the counter (started with the first edge and triggered by each following one). As soon as a state change of the input happens the flag (M_BOOL_COUNTER00) is reset and the input of an AND (module 8) is set (inverted). If the sum of state changes is greater as or equal to a defined number (CV>=PV) the counter output is set as well, and the BL bit is set. With the set BL bit the output is reset by another AND (module 9). After expiration of the monitoring time the R input of the counter is set again, and the counter is reset. If the BL bit is set it will be reset as well (output of module 8 is reset).
R_TRIG_INEDRISE0
Input
1
> 1
M_BOOL_MODULE03
CU
3 2 F_TRIG_INEDFALL0
Counter upward PV
CTU_EDC0
Parameter
in the INIT part
M_BOOL_MODULE7
TON_EDTIMERISE0
TON
4
> 1
M_BOOL_COUNTER00
TON
5 TON_EDTIMEFALL0
&
Blocked
8
& Output
In the operation order the R input of the counter must be reset first, because only afterwards the positive edge at the CU input of the counter causes an increment. Therefore the application program handles the R input before the CU input of the counter.
179
Example: number of state changes >= 5 monitoring time of the stability of the input = 10 s
(*once detected as bouncing, the input signal must last statical "1" for a preset time until the blocked bit will be reset again*) LD 10000 (*load constant for 10s*) ST TON_EDTIMERISE0.PT (*ON delay rising edge*) ST TON_EDTIMEFALL0.PT (*ON delay falling edge*) PLC_START: (*Modules 4,5,6,7 if there are no more state changes of the input, the counter will be reset when the preset monitoring time has expired*) LD I_030_002_000_000.VALUE (*input*) ST M_BOOL_INPUT00 ST TON_EDTIMERISE0.IN (*rising edge - module 4*) STN TON_EDTIMEFALL0.IN (*falling edge - module 5*) CAL TON_EDTIMERISE0.IN (*call module 4*) ST OR.IN0 CAL TON_EDTIMEFALL0 (*call module 5*) ST OR.IN1 CAL OR (*call module 6*) ST M_BOOL_COUNTER00 (*also in graphic*) ST CTU_EDC0.R (*reset input of counter - module 7*) (*Modules 1,2,3,7 rising and falling edge of the input are combined with an OR and put to the CU input of the counter each change will be added*) LD M_BOOL_INPUT00 ST R_TRIG_INEDRISE0.CLK (*rising edge - module 1*) ST F_TRIG_INEDFALL0.CLK (*falling edge - module 2*) CAL R_TRIG_INEDRISE0 (*call module 1*) ST OR.IN0 CAL F_TRIG_INEDFALL0 (*call module 2*) ST OR.IN1 CAL OR (*call module 3*) ST CTU_EDC0.CU (*count up input of counter - module 7*) ST M_BOOL_MODULE3 (*only for graphic*) (*Modules 7,8 with the first edge change the monitoring time will be started. If the number of edges is greater then the number of transients within this time, the output of the AND (module 8) is set = blocked*) CAL CTU_EDC0 (*call module 7*) ST M_BOOL_MODULE7 (*only for graphic*) ST AND.IN0 LDN M_BOOL_COUNTER00 ST AND.IN1 CAL AND (*call module 8*) ST M_BOOL_BOUNCING00 (*is set if the input is bouncing*) ST O_030_002_000_000.BL (*set blocked bit of the input*) (*Module 9 - the output is reset during the input is detected as bouncing*) LD M_BOOL_INPUT00 ST AND.IN0 LD M_BOOL_BOUNCING00 STN AND.IN1 CAL AND (*call module 9 if bouncing, then*) (*reset"*) ST O_030_002_000_000.VALUE (*output of input information*)
180
B.6.
Setpoint Command
PLC_RESET: LD 20 ST PLC_CYCLETIME PLC_INIT: LD 1 ST PLC_TX_DATAFLOW_030 ST PLC_TX_DATAFLOW_031 ST PLC_TX_DATAFLOW_036 ST PLC_TX_DATAFLOW_050 PLC_START: (*Mapping inputs to flags*) LD ST LD ST LD ST LD ST I_050_171_105_000.S_E M_BOOL_NyttBVCmL45 I_030_008_004_000.VALUE M_BOOL_OmkHandL45 I_036_018_039_000.VALUE M_REAL_CmL45 I_050_171_105_000.VALUE M_REAL_BvCmL45DC
(*single-point inform. to plc & (*double-point inform. to plc & (*measured value float to plc & (*setpoint command float to plc
(*setpoint command select/execute*) (*single-point information input*) (*measured value float input*) (*setpoint command float input*)
(*Temporary test variables*) LD ST CAL JMPN LD ST I_050_171_105_000.S R_TRIG_PosFlank1.CLK R_TRIG_PosFlank1 HOPP90 I_050_171_105_000.S_E O_050_171_105_000.S_E (*check for a rising edge, otherwise *) (*create a confirmation each cycle *) (*if you have no setpoint the logic *) (*will jump over the COT procedure*)
(*here you have to add the select*) (*before execute procedure*) (*setpoint command select/execute*)
ST LD ST ST
(*Example for select before execute*) LD ST 7 O_050_171_105_000.COT (*7 = confirmation, 10 = termination,*) (*if you set 0, the confirmation would*) (*be created here, and the termination*) (*in the following cycle*) (*setpoint command spontaneous*)
LD 1 ST O_050_171_105_000.S HOPP90:
181
B.7.
Speed Comparison
(*Check speed value on change*) LD I_034_016_000_000.S (*load spontaneous bit speed value*) JMPN NO_CHANGE (*jump if no change of value*) (*Change of speed value present*) LD I_034_016_000_000.VALUE (*load speed value*) ST M_REAL_WERTNEU (*current speed value to flag*) ST SUB.IN0 LD M_REAL_WERTALT (*load old speed value*) ST SUB.IN1 CAL SUB (*form difference value*) ST M_REAL_WERTDIF (*difference value to flag*) (*Take over change of value*) LD M_REAL_WERTNEU ST M_REAL_WERTALT
(*load current value*) (*save current value for next *) (*change of value*)
(*Value comparison speed ascending*) LD M_REAL_WERTDIF (*load diff. value*) ST GT.IN0 LD 0 ST GT.IN1 CAL GT (*diff. value > 0: speed ascending*) ST M_BOOL_DZST (*set flag speed ascending*) (*Value comparison speed descending*) LD M_REAL_WERTDIF (*load diff. value*) ST LT.IN0 LD 0 ST LT.IN1 CAL LT (*diff. value < 0: speed descending*) ST M_BOOL_DZFA (*set flag speed descending*) NO_CHANGE: (*jump mark if no change of value*)
(*Drop-off delay speed ascending*) LD M_BOOL_DZST (*load flag speed ascending*) ST TOF_FLAENDSTEIG0.IN CAL TOF_FLAENDSTEIG0 (*drop-off delay*) LD TOF_FLAENDSTEIG0.Q ST O_030_048_000_000.VALUE (*reset output*) (*Drop-off delay speed descending*) LD M_BOOL_DZFA (*load flag speed descending*) ST TOF_FLAENDFALL0.IN CAL TOF_FLAENDFALL0 (*drop-off delay*) LD TOF_FLAENDFALL0.Q ST O_030_049_000_000.VALUE (*set binary output*) (*Reset flags for speed ascending, descending*) LD 0 ST M_BOOL_DZST (*reset flag speed ascending*) ST M_BOOL_DZFA (*reset flag speed descending*)
182
C.
Contents
C.1.
183
C.1.
Calibration Process
For the connection of a resistance thermometer in 2-wire technique a calibration process is required at the analog input module AI-6310.
Preconditions Automation unit ready for operation Resistance thermometer completely wired on the system side and connected to the I/O module Measurement of the temperature by command interrogation from the control system or by means of the webbrowser (user interface online)
Process: 1. Short-circuiting the resistance thermometer. The short circuit should take place as close to the resistance thermometer as possible. 2. Webbrowser: Configuration of the input on AI-6310 in monitor direction to Type "Floating point" as well as connection to "2 wire". 3. Webbrowser: Set configuration of the input on AI-6310 in control direction to Type "single command". 4. Webbrowser: In the Process-display of the AI-6310 actuate Button factory calibration and read out the temperature value. Or set the command remotely (with the correct IOA address) via the control system.
184
Literature
TM 1703 mic CP-60xx/CPC60 Data Sheet TM 1703 mic CP-60xx/CPC60 System Manual TM 1703 mic Installation TOOLBOX II User Manual TB II CAEx plus User Manual MC6-021-1 DC6-031-2 DC6-009-1 D30-500-1 D30-507-1
185
Literature
186