Documentation Twincat Safety

Total Page:16

File Type:pdf, Size:1020Kb

Documentation Twincat Safety Documentation TwinCAT Safety PLC PC based Safety Controller Version: 1.2.0 Date: 2017-06-29 Table of contents Table of contents 1 Foreword .................................................................................................................................................... 5 1.1 Notes on the documentation........................................................................................................... 5 1.2 Safety instructions .......................................................................................................................... 6 1.2.1 Delivery state ..................................................................................................................... 6 1.2.2 Operator's obligation to exercise diligence ........................................................................ 6 1.2.3 Description of safety symbols ............................................................................................ 7 1.3 Documentation issue status............................................................................................................ 7 2 System description ................................................................................................................................... 8 2.1 Extension of the Beckhoff I/O system with safety functions ........................................................... 8 2.2 TwinCAT Safety PLC...................................................................................................................... 8 2.3 Safety concept ................................................................................................................................ 8 3 Product description................................................................................................................................. 10 3.1 Intended use ................................................................................................................................. 10 3.2 Technical data .............................................................................................................................. 12 3.3 Safety parameters ........................................................................................................................ 13 3.4 Project design limits...................................................................................................................... 13 4 Operation.................................................................................................................................................. 14 4.1 Installation..................................................................................................................................... 14 4.1.1 Safety instructions............................................................................................................ 14 4.1.2 Specifications for transport and storage .......................................................................... 14 4.1.3 Mechanical installation..................................................................................................... 14 4.1.4 Electrical installation......................................................................................................... 15 4.1.5 Software installation......................................................................................................... 15 4.1.6 TwinSAFE reaction times................................................................................................. 15 4.2 Configuration of the TwinCAT Safety PLC in TwinCAT................................................................ 17 4.2.1 Configuration requirements.............................................................................................. 17 4.2.2 Creating a safety project in TwinCAT 3 ........................................................................... 17 4.2.3 CRC distribution............................................................................................................... 39 4.2.4 Downloading the safety application ................................................................................. 40 4.2.5 Activating the safety application....................................................................................... 41 4.2.6 Safety and CRC toolbars ................................................................................................. 42 4.2.7 Info data ........................................................................................................................... 43 4.2.8 Task settings.................................................................................................................... 48 5 Safety C application development ......................................................................................................... 50 5.1 Programming in Safety C.............................................................................................................. 50 5.1.1 Differentiation between programming in Safety C and C/C++ ......................................... 50 5.1.2 Source code templates .................................................................................................... 51 5.2 Safe coding rules .......................................................................................................................... 55 5.2.1 Definitions ........................................................................................................................ 55 5.2.2 General ............................................................................................................................ 56 5.2.3 Strong typing.................................................................................................................... 58 5.3 Permissible language scope......................................................................................................... 66 5.3.1 Simple data types ............................................................................................................ 66 5.3.2 Enumeration types ........................................................................................................... 68 5.3.3 Data structures................................................................................................................. 68 5.3.4 Simple statements............................................................................................................ 69 5.3.5 Control structures............................................................................................................. 70 5.3.6 Expressions and operators .............................................................................................. 73 TwinCAT Safety PLC Version: 1.2.0 3 Table of contents 5.3.7 Literals and constants ...................................................................................................... 74 5.3.8 Function calls and user-defined functions........................................................................ 75 5.3.9 Asserts and traces ........................................................................................................... 76 5.4 Performance optimizations ........................................................................................................... 78 5.5 Interfacing with the I/O level ......................................................................................................... 79 5.6 Verification and validation............................................................................................................. 81 5.7 Online diagnostics ........................................................................................................................ 82 5.8 Safe Helper Functions .................................................................................................................. 86 5.8.1 Safe logic functions ......................................................................................................... 86 5.8.2 Safe integer arithmetic functions ..................................................................................... 89 5.8.3 Safe bit shift functions...................................................................................................... 97 5.8.4 Safe conversion functions (Boolean to integer) ............................................................. 100 5.8.5 Safe conversion functions (integer to integer) ............................................................... 102 6 Graphical application development..................................................................................................... 111 7 Appendix ................................................................................................................................................ 112 7.1 Support and Service ................................................................................................................... 112 7.2 Certificates.................................................................................................................................. 113 4 Version: 1.2.0 TwinCAT Safety PLC Foreword 1 Foreword 1.1 Notes on the documentation Target group This description is aimed specifically at trained qualified persons with a control and automation technology background, who are familiar with the current national and international standards and guidelines. These persons must be trained in the development, validation and verification of safety-related applications
Recommended publications
  • Digital Outputs 750-501, 750-502, 750-504, 750-516, 750-519 750-506 750-509 750-511 750-512, 750-513, 750-514, 750-517
    Modular I/O System SDS Manual Technical description, installation and configuration 750-136 Version 2.3.1 ii • General Copyright ã 1997-2001 by WAGO Kontakttechnik GmbH All rights reserved. WAGO Kontakttechnik GmbH Hansastraße 27 D-32423 Minden Phone: +49 (0) 571/8 87 – 0 Fax: +49 (0) 571/8 87 – 1 69 E-Mail: [email protected] Web: http://www.wago.com Technical Support Phone: +49 (0) 571/8 87 – 5 55 Fax: +49 (0) 571/8 87 – 4 30 E-Mail: [email protected] Every conceivable measure has been taken to ensure the correctness and com- pleteness of this documentation. However, as errors can never be fully ex- cluded we would appreciate any information or ideas at any time. We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected. Modular I/O System SDS TABLE OF CONTENTS • iii TABLE OF CONTENTS Section 1: Explanations Section 2: System Description SDS, Configuration, Initial Starting, Diagnosis Section 3: Digital Inputs 750-400, 750-401, 750-402, 750-403, 750-405, 750-406, 750-410, 750-411, 750-408, 750-409, 750-412, 750-413, 750-414, 750-415 750-404 Section 4: Digital Outputs 750-501, 750-502, 750-504, 750-516, 750-519 750-506 750-509 750-511 750-512, 750-513, 750-514, 750-517 Section 5: Analog Inputs 750-452, 750-454, 750-482, 750-484 750-456, 750-461, 750-481 750-462, 750-469 750-465, 750-466, 750-486, 750-467, 750-468, 750-487, 750-488 750-472, 750-474 750-476, 750-478 Section 6: Analog Outputs 750-550, 750-580 750-552,
    [Show full text]
  • Evaluating a Flexible Architecture for Distributed Control
    (YDOXDWLQJD)OH[LEOH$UFKLWHFWXUHIRU 'LVWULEXWHG&RQWURO P. Bellini*, M. Buonopane*, M. Montanelli#, P. Nesi* 'HSDUWPHQWRI6\VWHPVDQG,QIRUPDWLFV8QLYHUVLW\RI)ORUHQFH,WDO\ 7HO)D[QHVL#LQJILLQJXQLILLWQHVL#GVLXQLILLW Æ6('6SHFLDO(OHFWURQLF'HVLJQHPDLOFEUXQL#VHGQHWFRP 3URMHFWZZZVLWHKWWSZZZGVLXQLILLWaKSFQZZZPXSDDFZZZSDJKWPO $EVWUDFW PDFURSRLQWV. The operation of a CNC can be summarized $ORQJ SURGXFWLRQ SLSHOLQHV LQ PDQXIDFWRU\ LQGXVWULHV as follows: VHYHUDO HODERUDWLRQ SKDVHV LQ ZKLFK WKH PRYHPHQW RI • Interpretation of ISO programs and interpolation. LQWHUSRODWHGD[HVDUHSUHVHQW7KHVHDFWLYLWLHVKDYHWREH Specific versions of ISO programs can be used for V\QFKURQL]HG ZLWK VHYHUDO RWKHU VLPSOHU DFWLYLWLHV DORQJ describing both the operation made by the machine WKH SLSHOLQH &RPSXWHUL]HG QXPHULFDO FRQWUROV IRU VXFK and by its I/O ports in terms of logic equations; V\VWHPVKDYHWREHIOH[LEOHDQGVWURQJO\H[SDQGDEOHDQG • Execution of low-level commands for axes of the UHXVDEOH VLQFH SLSHOLQHV DUH IUHTXHQWO\ UHFRQILJXUHG WR machines and for the other auxiliary services by UHDOL]H GLIIHUHQWO\ DUUDQJHG SLSHOLQHV ZLWK GLIIHUHQW means of several digital and analog ports (sensors); WHFKQLFDO UHTXLUHPHQWV ,Q WKLV SDSHU WKH DVVHVVPHQW RI The CNC is capable of (i) detecting errors/faults that VXFK D IOH[LEOH DUFKLWHFWXUH LV SUHVHQWHG RQ WKH EDVLV RI may occur on the machine, and (ii) monitoring its ZKLFK WKH EXLOGLQJ RI IOH[LEOH GLVWULEXWHG FRQWUROV IRU production. Errors are corrected by a special set of SLSHOLQHVLVSRVVLEOH7KHDUFKLWHFWXUHKDVEHHQGHILQHGLQ instructions and/or are reported towards the other WKH (635,7 +3&1 +LJK 3HUIRUPDQFH &RPSXWHU microprocessor-based systems that are monitoring the 1HWZRUNLQJ SURMHFW 083$$& 0XOWL 3URFHVVRU automated area. $UFKLWHFWXUH IRU $XWRPDWLF &RQWURO 083$$& CNCs are used as the elementary component for DUFKLWHFWXUHDQGSURWRW\SHKDVEHHQDVVHVVHGLQRUGHUWR building complex production pipelines.
    [Show full text]
  • Industrial Networking Solutions for Mission Critical Applications
    www.hirschmann.com GLOBAL LOCATIONS Industrial Networking Solutions for Mission Critical Applications For more information, please visit us at: www.belden.com/hirschmann Industrial Networking Solutions for Mission Critical Applications Critical Mission Industrial for Networking Solutions UNITED STATES CANADA LATIN AMERICA and the CARIBBEAN ISLANDS Division Headquarters Industrial Networking National Business Regional Office – Americas (Hirschmann/GarrettCom/ Center 6100 Hollywood Boulevard 2200 U.S. Highway 27 South Tofino Security) 2280 Alfred-Nobel Suite 110 Richmond, IN 47374 255 Fourier Ave. Suite 200 Hollywood, Florida 33024 Phone: 765-983-5200 Fremont, CA 94539, USA Saint-Laurent, QC Phone: 954-987-5044 Canada H4S 2A4 Inside Sales: 800-235-3361 Phone: 510-438-9071 Fax: 954-987-8022 Fax: 765-983-5294 Fax: 510-952-3456 Phone: 514-822-2345 [email protected] [email protected] www.belden.com Fax: 514-822-7979 www.belden.com [email protected] Belden 2200 U.S. Highway 27 South Richmond, IN 47374a Inside Sales: 1-800-BELDEN-1 (1-800-235-3361) Industry-specific solutions that can Phone: 765-983-5200 Fax: 765-983-5294 improve productivity and operational [email protected] efficiency today, while laying the foundations for tomorrow‘s IIoT opportunities. Belden, Belden Sending All The Right Signals, GarrettCom, Hirschmann, Lumberg Automation, Tofino Security, Tripwire and the Belden logo are trademarks or registered trademarks of Belden Inc. or its affiliated companies in the United States and other jurisdictions. Belden and other parties may also have trademark rights in other terms used herein. Edition 2017 ©Copyright 2017, Belden Inc. Edition 2017 Printed in Germany HIRSCHMANN-INDUSTRIAL-NETWORKING-SOLUTIONS_CA_INIT_HIR_0117_A_AG Prepare your infrastructure for the Industrial Internet of Things (IIoT) The IIoT is widely considered to be one of the primary trends affecting industrial businesses today and in the future.
    [Show full text]
  • Centro Di Competenza HPCN
    Centro di competenza HPCN HPCN Center at DSI Indice Presentation Reference People Project Founded Documentation DSI Homepage Pagina in corso di costruzione PN -- 22 aprile 1997 http://www.dsi.unifi.it/~hpcn/[21/02/2014 23:12:53] Centro di competenza HPCN - Presentazione Centro di competenza HPCN Presentazione Seleziona qui per una presentazione con SLIDES 1. Introduzione La Commissione Europea ha avviato una azione specifica per il finanziamento di progetti nell'ambito delle tecnologie HPCN (High Performance Computing and Networking). Rientrano in tale tipologia di proposte applicazioni per le quali le prestazioni del sistema sono raggiunte per mezzo di architetture parallele o distribuite di sistemi a microprocessore: ad esempio, applicazioni nell'ambito biomedico, integrazione di fabbrica, sistemi di controllo distribuiti e/o concorrenti, elaborazione di immagini, basi di dati distribuite, sistemi multimediali, sistemi di tempo reale, etc. In breve, per HPCN si intende: calcolo e tecnologie di rete ad alte prestazioni, che consentono di ottenere risultati non ottenibili con le tecnologie tradizionali. I sistemi coinvolti vanno dai più costosi mainframe multiprocessore e dalle piattaforme di supercalcolo massivamente parallele fino ai più economici cluster di workstaton e di personal computer. La Commissione Europea intende agevolare l'introduzione della cultura e della tecnologia HPCN presso le piccole e medie industrie, visto che l'avvento di nuove macchine multiprocessore basate sul chip Pentium Pro permette buona potenza di calcolo a prezzi ridotti. Il bando in questione prende in particolare considerazione studi di fattibilità…e progetti delle aziende che intendono utilizzare tecnologia HPCN per migliorare i loro prodotti o crearne di nuovi. I finanziamenti sono dell'ordine del 50% a fondo perduto.
    [Show full text]
  • Canopen Protocol with Visual Basic Net
    Canopen Protocol With Visual Basic Net PavelBubalineReynolds managed andnever syllabic abscisehigh-mindedly Husain any besiegingsalways or grains runabouts reallotsinfinitesimally inferentiallymilitarily, when is andAvram Hercules misdoes adsorbate is cephalalgic. his hierocracies. and counter Syzygialenough? Or downloaded learning the visual basic CANopen Master API for Windows Manual ER-Soft. Protocol HTTP address in the NavigateUri property as shown here. Sub-protocol set that defines the basic communication modes and objects of all. It must be to use sql server object and the entire video file size, with canopen protocol used if you to decrypt the company name as dynamic arrays. Works with LabView Visual Basic 60 Visual Basic NET Visual C Excel. Visual Basic Api Reference Manual Sonork Wakati. Practical Database Programming with Visual BasicNET. I recommend you pause use a code editor such as Visual Studio Code to. 2-port CAN Interface Universal PCI Communication Card w CANopen. NET framework 35 which includes v20 before installing CANUSB DLL. This fire only cosmetic any user can blind the region and view object edit what ' s inside. Carrito El Arte del Vidrio. In This Section Program Structure and Code Conventions Visual Basic. By windows ce and company name, it work was created by looking like to have luck implementing a can bus network, lss slaves on canopen protocol with visual basic net module. Home product solutions software Development Tools. 17 Free Tools for Visual Studio - Visual Studio Magazine. NET Core gives us a rapid easy solution use API that is room to achieve. AdoNET Programming in Visual Basic NET. CANopen API for Windows C CNET developers.
    [Show full text]
  • IAONA Handbook Network Security 2 Contents
    ––– IIAAOONNAA HHaannddbbooookk NNeettwwoorrkk SSeeccuurriittyy Version 1.5 draft v0.4 The IAONA Handbook for Network Security 1 The IAONA Handbook for Network Security Version 1.5 - Magdeburg, June 6th 2006 Ó IAONA e.V. Publisher: Industrial Automation Open Networking Alliance e.V. Universitätsplatz 2 39106 Magdeburg Germany [email protected] www.iaona.org Editors: Dipl. Ing. Matthias Dehof Marcus Tangermann Dr.-Ing. Arndt Lüder Otto-von-Guericke Universität Magdeburg Center Verteilte Systeme Universitätsplatz 2 39106 Magdeburg Germany www.uni-magdeburg.de/iaf/cvs Based on the work of IAONAs Joint Technical Working Group (JTWG) Network Security. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation. The following parties have contributed to this document: DEHOF Computertechnik Matthias Dehof (Chairman JTWG Network Security) ABB Martin Naedele, Dacfey Dzung Data Systems Detlef Kilian Innominate AG Steffen Bruß, Frank Merkel iniNet GmbH / VPI Peter Brügger Hirschmann AC GmbH Klaus Reister, Ralf Kaptur TRUMPF Laser GmbH + Co. KG Rainer Thieringer Heyfra Marcus Tangermann WAGO Kontakttechnik Christoph Möller All illustrations, charts and layout examples shown in this document are intended solely for purposes of example. IAONA assumes no responsibility or liability (including intellectual property liability) for actual use based upon examples given in this publication. Reproduction of the contents of this copyrighted publication,
    [Show full text]
  • Valve Terminal Type 03/05 Electronics Manual Field Bus Connection FB14
    Valve terminal type 03/05 Electronics Manual Field bus connection FB14 Field bus protocols: CANopen SDS Smart Distributed System 9801A 163959 GB VIFB14 - 03/05 Author: S. Breuer, H. Hohner, H.-J.Drung Editor: H.-J. Drung, M. Holder Translation: Douglas Smith Layout: Festo, Dept. PV-IDM Type setting: DUCOM Edition: January 1998 (Festo AG & Co., D-73726 Esslingen, 1998) The copying, distribution and utilization of this document as well as the communication of its contents to others without expressed authoriza- cycled paper cycled tion is prohibited. Offenders will be held liable for the payment of damages. All rights reserved, in particular the right to carry out patent, utility model or ornamental design printed on 100% re registrations. 9801 A I VIFB14 - 03/05 Part no.: 163 959 Titel: MANUAL Designation: P.BE-VIFB14-03/05-GB II 9801 A VIFB14 - 03/05 Contents GENERAL SAFETY INSTRUCTIONS IX Designated use IX Target group X IMPORTANT USER INSTRUCTIONS XI Danger categories XI Pictograms XII Instructions on this manual XIII Service XV Chapter 1 SYSTEM SUMMARY 1.1 SYSTEM SUMMARY 1-3 System structure 1-3 Type 03: Description of components 1-5 Type 05: Description of components 1-9 Chapter 2 FITTING 2.1 FITTING THE COMPONENTS 2-3 Input/output modules 2-4 End plates 2-6 Hat rail clamping unit (type 03) 2-8 2.2 TYPE 03: FITTING THE VALVE TERMINAL 2-9 Fitting onto a wall (type 03) 2-9 Fitting onto a hat rail (type 03) 2-10 2.3 TYPE 05: FITTING THE VALVE TERMINAL 2-13 Fitting onto a wall (type 05) 2-13 9801 A III VIFB14 - 03/05 Chapter 3 INSTALLATION
    [Show full text]
  • Your Trusted Partner in Automation
    Cloud-Based VPN Platform Industrial Smart Switches Industrial LTE Cellular Gateway MRC Solutions SDS-3008 Series OnCell G3150A-LTE Series Moxa Remote Connect Solutions for IIoT Industrial 8-port Smart Switches Industrial LTE Cellular Gateway • Plug-and-play auto-configuration • Multi-protocols for SCADA/HMI • Ethernet/serial to 4G LTE cellular • Firewall-friendly with IT policy compliance monitoring • Dual SIMs for redundant backhaul • Smart IP Mapping for easy field IP management • Superslim and versatile mounting • GuaranLink 4-tier check for cellular availability • Smart Protection to secure remote access • Dashboard-style UI for easy • ATEX Zone 2/IECEx compliance for control and data privacy configuration hazardous locations • Smart Tunnelling to support general applications • IEC 62443-4-2 level 1 security • VPN tunnels with IPSec, GRE, and OpenVPN options • IEC 62443-4-2 level 1-compliant cybersecurity Your Trusted Partner in Automation Moxa is a leading provider of edge connectivity, industrial computing, and network infrastructure solutions for enabling connectivity for the Industrial Internet of Things. With over 30 years of industry experience, Moxa has connected more than 50 million devices worldwide and has a distribution and service network that reaches customers in more than 70 countries. Moxa delivers lasting business value by empowering industry with reliable networks and sincere service for industrial communications infrastructures. Moxa Sales and Marketing The Americas Europe Asia-Pacific China Headquarters Moxa Americas Moxa Germany Moxa Asia-Pacific Moxa Shanghai Moxa Corporate Plaza Toll Free: 1-888-MOXA-USA Tel: +49-89-37003-99-0 and Taiwan Tel: +86-21-5258-9955 601 Valencia Ave., Suite 200 Tel: +1-714-528-6777 Fax: +49-89-37003-99-99 Tel: +886-2-8919-1230 Fax: +86-21-5258-5505 Fax: +1-714-528-6778 [email protected] Fax: +886-2-8919-1231 [email protected] Brea, CA 92823, U.S.A.
    [Show full text]
  • Drive-By-Data Architecture Specification
    Contract No. H2020 – 730539 CONTRIBUTING TO SHIFT2RAIL'S NEXT GENERATION OF HIGH CAPABLE AND SAFE TCMS AND BRAKES. D3.5 – Drive-by-Data Architecture Specification Due date of deliverable: 31/08/2018 Actual submission date: 14/09/2018 Leader/Responsible of this Deliverable: G. Hans, BTG Reviewed: Y Document status Revision Date Description 1 23/06/2017 Initial version, chapter 1 2 11/08/2017 Added: ch. 2.1, 2.2, 2.3 (partly), 2.4, 2.5, 2.8, 2.9, 3.2.8 Updated with parts already reviewed and with other, lesser 3 08/06/2018 innovative parts. Contributions from CAF and SNCF, Analysis of ETB topologies 4 22/06/2018 (former 2.5.3) shifted to new Annex G, Adaptation of Consist Level Quantities (0) 5 13/07/2018 Updated with all contributions received so far 6 23/07/2018 Added ch. 3.2.2 Added contributions from CAF (4.2), Siemens (2.3.1, 3.2.1, 3.3.1) 7 31/07/2018 and ASTS (3.5.6, 4.3, 4.4) Update with respect to comments received from S4R (CTA-T3.5- 8 10/08/2018 X-BTD-061-02) and with respect to peer review comments (CTA- T3.5-R-BTD-063-02); update of quantities (Table 5, Table 6) Added contributions from Siemens (3.2.9, 3.5.3), final quality check 9 17/08/2018 Prepared for TMT Review Update after TMT Review / S4R review (comments collection: 10/11 11/09/2018 CTA-T3.5-R-BTD-066-03). 12 14/09/2018 Final version CTA-T3.5-D-BTD-002-12 Page 1 of 331 14/09/2018 Contract No.
    [Show full text]
  • Serial Transmission System Selection Guide for Serial Interface Units Showing Compatibility with Valve Series and Supported Protocols
    NCAT.E02-1A Reduced-wiring System Serial Transmission System Selection guide for serial interface units showing compatibility with valve series and supported protocols INDEX SI supported protocols chart Page 1 to 4 SI valve compatibility chart Page 5 to 10 Glossary of terms Page 5 to 9 SI supported protocols chart Integrated type, for output Family model no. EX120 EX140 EX180 EX120 EX123 EX124 EX126 EX121 EX122 Product part no. No. of output points (Max.) 16-point output 16-point output 16-point output 32-point output No. of input points (Max.) Power supply for communications and valves Common Common Separated Separated Separated Basic functions International standards CE CE, UL/CSA DeviceNet PROFIBUS-DP CC-Link JEMA Net (OPCN-1) INTERBUS Actuator Sensor interface (AS-i, ASI) CAN Open Lon Works Complies with the open network (Offered by several manufacturers) Smart Distributed System (SDS) Mitsubishi Electric Corp. MELSECNET/MINI-S3 CompoBus/S OMRON Corp. SYSBUS SHARP Corp. Satellite I/O Fuji Electric Co., Ltd. T Link Mini Matsushita Electric Works, Ltd. MEWNET-F PLC manufacturer Rockwell Remote I/O Complies with a respective Automation, Inc. SUNX Corp. S-LINK Reduced-wiring system NKE Corp. Reduced-wiring H system O.N. Electronic SAVENET PLC manufacturers Complies with several Co., Ltd. (ECONO-BUS, HLS) ControlNet INTERBUS Rugged line Lightbus development Protocol under IP-LINK DeviceNet safety PROFI safety INTERBUS safety AS-i safety EtherNet/IP PROFInet EtherNet Modbus TCP Ether CAT Planned to be addressed in the future WorldFIP Rockwell DeviceLogix Automation, Inc. Integrated development SMC Corp. SMC LOGIC controller under : Standard : Made to Order : Under development/planned : Available (However, delivery will be approximately 6 months from the time the development is started.) : Not available or available with other model(s) : Available after the standard products are launched.
    [Show full text]