System 800xA Control AC 800M Configuration System Version 5.1 Power and productivity for a better worldTM System 800xA Control AC 800M Configuration System Version 5.1 NOTICE This document contains information about one or more ABB products and may include a description of or a reference to one or more standards that may be generally relevant to the ABB products. The presence of any such description of a standard or reference to a standard is not a representation that all of the ABB products referenced in this document support all of the features of the described or referenced standard. In order to determine the specific features supported by a particular ABB product, the reader should consult the product specifications for the particular ABB product. ABB may have one or more patents or pending patent applications protecting the intel- lectual property in the ABB products described in this document. The information in this document is subject to change without notice and should not be construed as a commitment by ABB. ABB assumes no responsibility for any errors that may appear in this document. In no event shall ABB be liable for direct, indirect, special, incidental or consequential damages of any nature or kind arising from the use of this document, nor shall ABB be liable for incidental or consequential damages arising from use of any software or hard- ware described in this document. This document and parts thereof must not be reproduced or copied without written per- mission from ABB, and the contents thereof must not be imparted to a third party nor used for any unauthorized purpose. The software or hardware described in this document is furnished under a license and may be used, copied, or disclosed only in accordance with the terms of such license. This product meets the requirements specified in EMC Directive 2004/108/EEC and in Low Voltage Directive 2006/95/EEC. TRADEMARKS All rights to copyrights, registered trademarks, and trademarks reside with their respec- tive owners. Copyright © 2003-2010 by ABB. All rights reserved. Release: June 2010 Document number: 3BSE035980-510 TABLE OF CONTENTS About This Book General............................................................................................................................15 Document Conventions...................................................................................................16 Warning, Caution, Information, and Tip Icons................................................................16 Terminology.....................................................................................................................17 Related Documentation...................................................................................................17 Section 1 - Basic Functi ons and Components Introduction.....................................................................................................................19 Control Project Templates...............................................................................................21 Control Projects...............................................................................................................22 Program Organization Units, POU..................................................................................23 Entities and Reservation (Multi-User Engineering)........................................................24 Entities .............................................................................................................24 Reservation...........................................................................................................25 Environments...................................................................................................................26 Engineering and Production Environments..........................................................26 Remove Environment Changes............................................................................29 System Firmware Functions............................................................................................29 Hardware.........................................................................................................................31 Standard System Libraries with Hardware...........................................................32 Customized Hardware Types................................................................................34 Configuring the Controller...................................................................................34 Basic Hardware....................................................................................................37 Basic Library for Applications........................................................................................38 Application Types and Instances.....................................................................................39 3BSE035980-510 5 Table of Contents Types and Instances - Concept.............................................................................40 Define a Type in the Editor..................................................................................41 Control Modules and Function Blocks................................................................47 Types in Applications...........................................................................................49 Types in User defined Library..............................................................................50 Modify Complex Types........................................................................................51 Decisions When Creating Types..........................................................................52 Create and Connect instances...............................................................................53 Function Block Execution...............................................................................................58 Control Module Execution...................................................................................60 FD Port .............................................................................................................61 Single Control Modules.......................................................................................63 Aspect instances...................................................................................................64 Variables and Parameters.................................................................................................66 Variable and Parameter Concept..........................................................................67 Variables .............................................................................................................69 Variable Entry.......................................................................................................70 Specific Initial Values...........................................................................................77 External Variables................................................................................................78 Access Variables...................................................................................................79 Communication between Applications Using Access Variables.........................81 Communication in an Application Using Global Variables.................................82 Communication Variables....................................................................................83 Control the Execution of Individual Objects........................................................88 Project Constants..................................................................................................92 I/O Addressing Guidelines...................................................................................96 Connecting Variables to I/O Channels.................................................................97 Extensible Parameters in Function Blocks.........................................................102 Keywords for Parameter Descriptions................................................................103 Property Permissions..........................................................................................105 Property Attribute Override................................................................................106 Viewer for Function Diagrams......................................................................................107 33BBSSEE003355998800--551100 66 Table of Contents Viewing the Diagram.........................................................................................107 Common Viewing Operations in Diagram.........................................................110 Objects in Diagram Viewer................................................................................111 Diagram Viewer in POU Online Editor (Online or Simulation View)...............119 Connecting the Diagram to Controller Tasks.....................................................120 Changing the Execution Order...........................................................................120 Library Management.....................................................................................................122 Connect Libraries...............................................................................................123 Import/Export Libraries.....................................................................................128 Create Libraries..................................................................................................128 Library States.....................................................................................................129 Library Versions.................................................................................................130 Library Password Protection..............................................................................133 Add Types to Libraries Used in Applications....................................................134 Add Customized Hardware Types to Library.....................................................137 Device Import Wizard........................................................................................138 Additional Files for Libraries with Hardware....................................................139 Delete Hardware Types......................................................................................143 Type Usage for Hardware Types........................................................................143 Hide and Protect Control Module Types, Function Block Types and Data Types........144 Protect a Self-Defined Type...............................................................................145 Protect MySupervision Type Example...............................................................146 Task Control..................................................................................................................150 Task Connections...............................................................................................150 Task Execution...................................................................................................154 Task Priority.......................................................................................................155 Interval Time......................................................................................................157 Offset ...........................................................................................................158 Execution Time..................................................................................................163 Overrun and Latency.....................................................................................................163 Overrun Supervision..........................................................................................163 Latency Supervision...........................................................................................166 33BBSSEE003355998800--551100 77 Table of Contents Task Abortion.....................................................................................................168 Load Balancing..................................................................................................169 Non-Cyclic Execution in Debug Mode..............................................................170 Task Analysis.................................................................................................................171 Exploring the Interface.......................................................................................172 Modifying Task Execution Time........................................................................176 Error and Warning Categories............................................................................176 Security..........................................................................................................................179 Authentication at Download...............................................................................179 Confirmed Online Write.....................................................................................181 Search and Navigation...................................................................................................181 Search and Navigation Dialog............................................................................182 Search Settings...................................................................................................183 Symbol and Definition.......................................................................................185 References..........................................................................................................186 Navigation to Editors.........................................................................................190 Search and Navigation Settings..........................................................................191 Search Data........................................................................................................194 Reports ...........................................................................................................194 Input and Output Signal Handling.................................................................................195 Backup Media................................................................................................................198 Compact Flash....................................................................................................199 Secure Digital.....................................................................................................199 Adding CF Card or SD Card to Hardware.........................................................200 Saving Cold Retain Values on Files...................................................................201 Downloading the Application to Removable Media..........................................203 Configuration Load............................................................................................203 Upgrading Controller Firmware using Backup Media.......................................204 Restoring Formatted CF Cards to Original Size................................................208 Compiler Switches.........................................................................................................209 Settings ...........................................................................................................209 Reports...........................................................................................................................212 33BBSSEE003355998800--551100 88 Table of Contents Difference Report...............................................................................................212 Source Code Report...........................................................................................215 Reports Generated at Download........................................................................217 Portability Verification.......................................................................................219 Performance Management.............................................................................................219 Project Documentation..................................................................................................222 Objects and Types..............................................................................................223 Editor Items........................................................................................................224 Used Types.........................................................................................................225 Section 2 - Alarm and Event Handling Introduction...................................................................................................................227 Alarms and Events.............................................................................................228 Alarm and Event Library....................................................................................229 Process Alarm and Event Generation............................................................................229 Process Alarms and Events................................................................................230 Detection of Simple Events................................................................................239 Built-in Alarm and Event Handling in Other Libraries......................................239 External Time Stamps (S800 I/O)......................................................................244 External Time Stamps (PROFINET IO)............................................................244 External Time Stamps (INSUM)........................................................................246 Choose Alarm Handling Method for INSUM Alarms.......................................251 System Alarm and Event Generation............................................................................252 Controller Generated System Alarms and System Simple Events.....................253 User Generated System Alarms.........................................................................255 Handling Alarms and Events.........................................................................................255 Simple Events.....................................................................................................256 System Alarms and Events.................................................................................256 Time Stamps.......................................................................................................256 Alarm and Event Communication.................................................................................259 Subscriptions......................................................................................................259 Configuration of OPC AE Communication – Overview....................................259 Buffer Queues....................................................................................................261 33BBSSEE003355998800--551100 99 Table of Contents Buffer Configuration..........................................................................................262 Local Printers.....................................................................................................263 Print Format........................................................................................................263 Sending an Alarm to the Application.................................................................265 Third Party OPC Clients....................................................................................266 Translation – NLS Handling of Strings.........................................................................266 Alarm Examples............................................................................................................267 AlarmSimple_M Example.................................................................................268 Alarm and Event Aspect Example (AlarmSimple_M)......................................273 Alarm Owner Examples.....................................................................................274 Condition State Example....................................................................................278 Inhibit Example..................................................................................................280 Simple Event Examples.....................................................................................282 Alarm and Event Functions...........................................................................................286 System Diagnostics............................................................................................286 Acknowledgement Rules – State Diagrams.......................................................287 Alarm Shelving..............................................................................................................291 Section 3 - Communication Introduction...................................................................................................................293 Communication Libraries..............................................................................................294 COMLI Communication Library.......................................................................294 Foundation FIELDBUS HSE Communication Library.....................................294 INSUM Communication Library.......................................................................298 MB300 Communication Library........................................................................302 MMS Communication Library...........................................................................303 MODBUS RTU Communication Library..........................................................304 MODBUS TCP Communication Library...........................................................304 Modem Communication Library........................................................................304 Siemens S3964 Communication Library...........................................................304 SattBus Communication Library........................................................................305 MTM Communication Library..........................................................................305 Serial Communication Library...........................................................................306 33BBSSEE003355998800--551100 1100
Description: