Beckhoff Automation GmbH & Co. KG · TX1200 · 340 pp.
Beckhoff TX1200 PLC Control Manual PDF: Comprehensive Guide for Specialists
Related manuals
Contents
Document text
1.2 For your safety
Foreword 1 Foreword 1.1 Notes on the documentation This description is intended exclusively for trained specialists in control and automation technology who are familiar with the applicable national standards. The documentation and the following notes and explanations must be complied with when installing and commissioning the components. The trained specialists must always use the current valid documentation. The trained specialists must ensure that the application and use of the products described is in line with all safety requirements, including all relevant laws, regulations, guidelines, and standards. Disclaimer The documentation has been compiled with care.
The products described are, however, constantly under development. We reserve the right to revise and change the documentation at any time and without notice. Claims to modify products that have already been supplied may not be made on the basis of the data, diagrams, and descriptions in this documentation. Trademarks Beckhoff ® , ATRO ® , EtherCAT ® , EtherCAT G ® , EtherCAT G10 ® , EtherCAT P ® , MX-System ® , Safety over EtherCAT ® , TC/BSD ® , TwinCAT ® , TwinCAT/BSD ® , TwinSAFE ® , XFC ® , XPlanar ® , and XTS ® are registered and licensed trademarks of Beckhoff Automation GmbH.
If third parties make use of the designations or trademarks contained in this publication for their own purposes, this could infringe upon the rights of the owners of the said designations. EtherCAT ® is a registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Copyright © Beckhoff Automation GmbH & Co. KG, Germany. The distribution and reproduction of this document, as well as the use and communication of its contents without express authorization, are prohibited. Offenders will be held liable for the payment of damages. All rights reserved in the event that a patent, utility model, or design are registered.
Third-party trademarks Trademarks of third parties may be used in this documentation. You can find the trademark notices here: https://www.beckhoff.com/trademarks . 1.2 For your safety Safety regulations Read the following explanations for your safety. Always observe and follow product-specific safety instructions, which you may find at the appropriate places in this document. Exclusion of liability All the components are supplied in particular hardware and software configurations which are appropriate for the application.
Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. TX1200 3 Version: 1.3
1.2 For your safety
Foreword Personnel qualification This description is only intended for trained specialists in control, automation, and drive technology who are familiar with the applicable national standards. Signal words The signal words used in the documentation are classified below. In order to prevent injury and damage to persons and property, read and follow the safety and warning notices. Personal injury warnings DANGER Hazard with high risk of death or serious injury. WARNING Hazard with medium risk of death or serious injury. CAUTION There is a low-risk hazard that could result in medium or minor injury.
Warning of damage to property or environment NOTICE The environment, equipment, or data may be damaged. Information on handling the product This information includes, for example: recommendations for action, assistance or further information on the product. TX1200 4 Version: 1.3
1.3 Notes on information security
Foreword 1.3 Notes on information security The products of Beckhoff Automation GmbH & Co. KG (Beckhoff), insofar as they can be accessed online, are equipped with security functions that support the secure operation of plants, systems, machines and networks. Despite the security functions, the creation, implementation and constant updating of a holistic security concept for the operation are necessary to protect the respective plant, system, machine and networks against cyber threats. The products sold by Beckhoff are only part of the overall security concept. The customer is responsible for preventing unauthorized access by third parties to its equipment, systems, machines and networks.
The latter should be connected to the corporate network or the Internet only if appropriate protective measures have been set up. In addition, the recommendations from Beckhoff regarding appropriate protective measures should be observed. Further information regarding information security and industrial security can be found in our https://www.beckhoff.com/secguide . Beckhoff products and solutions undergo continuous further development. This also applies to security functions. In light of this continuous further development, Beckhoff expressly recommends that the products are kept up to date at all times and that updates are installed for the products once they have been made available.
Using outdated or unsupported product versions can increase the risk of cyber threats. To stay informed about information security for Beckhoff products, subscribe to the RSS feed at https:// www.beckhoff.com/secinfo . TX1200 5 Version: 1.3
Table of contents
Table of contents Table of contents 1 Foreword.................................................................................................................................................... 3 1.1 Notes on the documentation ............................................................................................................. 3 1.2 For your safety .................................................................................................................................. 3 1.3 Notes on information security............................................................................................................
5 2 A Brief Introduction to TwinCAT PLC Control........................................................................................ 9 2.1 Project Components........................................................................................................................ 10 2.2 Languages ...................................................................................................................................... 16 2.2.1 Programming Languages................................................................................................. 16 2.2.2 Instruction List (IL)............................................................................................................
16 2.2.3 Structured Text (ST)......................................................................................................... 18 2.2.4 Sequential Function Chart (SFC)..................................................................................... 23 2.2.5 Function Block Diagram (FBD) ........................................................................................ 27 2.2.6 The Continuous Function Chart Editor (CFC).................................................................. 27 2.2.7 Ladderdiagram (LD).........................................................................................................
28 2.2.8 Debugging, Online Functions........................................................................................... 29 2.2.9 IEC 61131-3..................................................................................................................... 30 3 Sample Program...................................................................................................................................... 32 4 Individual Components...........................................................................................................................
41 4.1 The Main Window ........................................................................................................................... 41 4.2 Options............................................................................................................................................ 43 4.3 Managing Projects .......................................................................................................................... 66 4.4 Objects ............................................................................................................................................
87 4.5 Editing Functions............................................................................................................................. 99 4.6 Online Functions ........................................................................................................................... 103 4.7 Windows........................................................................................................................................ 112 4.8 Help System..................................................................................................................................
113 4.9 Log ................................................................................................................................................ 113 5 Editors.................................................................................................................................................... 115 5.1 Declaration Editor.......................................................................................................................... 116 5.2 Text Editors ...................................................................................................................................
125 5.3 Instruction List Editor..................................................................................................................... 128 5.4 Structured Text Editor ................................................................................................................... 129 5.5 Graphical Editors........................................................................................................................... 130 5.6 Function Block Diagram Editor......................................................................................................
132 5.7 Ladder Diagram Editor .................................................................................................................. 136 5.8 Continuous Function Chart Editor (CFC) ...................................................................................... 141 5.9 Sequential Function Chart Editor .................................................................................................. 152 6 Resources..............................................................................................................................................
161 6.1 Global Variables............................................................................................................................ 161 6.2 Alarm Configuration ...................................................................................................................... 164 6.2.1 Alarm system, Terms ..................................................................................................... 165 6.2.2 Alarm classes.................................................................................................................
166 6.2.3 Alarm groups.................................................................................................................. 169 TX1200 6 Version: 1.3