181x Filetype PDF File size 1.06 MB Source: www.festo-didactic.com
s Preface, Contents 1 Bit Logic Instructions SIMATIC 2 Comparison Instructions 3 Ladder Logic (LAD) for S7-300 Conversion Instructions 4 and S7-400 Programming Counter Instructions 5 Data Block Instructions Reference Manual Logic Control Instructions 6 7 Integer Math Instructions 8 Floating Point Math Instructions 9 Move Instructions 10 Program Control Instructions 11 Shift and Rotate Instructions 12 Status Bit Instructions 13 Timer Instructions 14 This manual is part of the documentation Word Logic Instructions package with the order number: 6ES7810-4CA07-8BW1 Appendix A Overview of All LAD Instructions B Programming Examples C Working with Ladder Logic Edition 01/2004 Index A5E00261407-01 Safety Guidelines This manual contains notices intended to ensure personal safety, as well as to protect the products and connected equipment against damage. These notices are highlighted by the symbols shown below and graded according to severity by the following texts: ! Danger indicates that death, severe personal injury or substantial property damage will result if proper precautions are not taken. ! Warning indicates that death, severe personal injury or substantial property damage can result if proper precautions are not taken. ! Caution indicates that minor personal injury can result if proper precautions are not taken. Caution indicates that property damage can result if proper precautions are not taken. Notice draws your attention to particularly important information on the product, handling the product, or to a particular part of the documentation. Qualified Personnel Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are defined as persons who are authorized to commission, to ground and to tag circuits, equipment, and systems in accordance with established safety practices and standards. Correct Usage Note the following: ! Warning This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. This product can only function correctly and safely if it is transported, stored, set up, and installed correctly, and operated and maintained as recommended. Trademarks SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners. Copyright © Siemens AG 2004 All rights reserved Disclaimer of Liability The reproduction, transmission or use of this document or its We have checked the contents of this manual for agreement with contents is not permitted without express written authority. the hardware and software described. Since deviations cannot be Offenders will be liable for damages. All rights, including rights precluded entirely, we cannot guarantee full agreement. However, created by patent grant or registration of a utility model or design, the data in this manual are reviewed regularly and any necessary are reserved. corrections included in subsequent editions. Suggestions for improvement are welcomed. Siemens AG Bereich Automation and Drives Geschaeftsgebiet Industrial Automation Systems ©Siemens AG 2004 Postfach 4848, D- 90327 Nuernberg Technical data subject to change. Siemens Aktiengesellschaft A5E00261407-01 Preface Purpose This manual is your guide to creating user programs in the Ladder Logic (LAD) programming language. This manual also includes a reference section that describes the syntax and functions of the language elements of Ladder Logic. Basic Knowledge Required The manual is intended for S7 programmers, operators, and maintenance/service personnel. In order to understand this manual, general knowledge of automation technology is required. In addition to, computer literacy and the knowledge of other working equipment similar to the PC (e.g. programming devices) under the operating systems MS Windows 2000 Professional or MS Windows XP Professional are required. Scope of the Manual This manual is valid for release 5.3 of the STEP 7 programming software package. Compliance with IEC 1131-3 LAD corresponds to the “Ladder Logic” language defined in the International Electrotechnical Commission's standard IEC 1131-3. For further details, refer to the table of standards in the STEP 7 file NORM_TBL.WRI. Ladder Logic (LAD) for S7-300 and S7-400 Programming A5E00261407-01 iii Preface Requirements To use this Ladder Logic manual effectively, you should already be familiar with the theory behind S7 programs which is documented in the online help for STEP 7. The language packages also use the STEP 7 standard software, so you should be familiar with handling this software and have read the accompanying documentation. This manual is part of the documentation package "STEP 7 Reference". The following table displays an overview of the STEP 7 documentation: Documentation Purpose Order Number STEP 7 Basic Information with Basic information for technical 6ES7810-4CA07-8BW0 • Working with STEP 7 V5.3, personnel describing the methods Getting Started Manual of implementing control tasks with • Programming with STEP 7 V5.3 STEP 7 and the S7-300/400 • Configuring Hardware and programmable controllers. Communication Connections, STEP 7 V5.3 • From S5 to S7, Converter Manual STEP 7 Reference with Provides reference information 6ES7810-4CA07-8BW1 • Ladder Logic (LAD) / Function Block and describes the programming Diagram (FDB) / Statement List (STL) languages LAD, FBD and STL, for S7-300/400 manuals and standard and system function • Standard and System Function extending the scope of the for S7-300/400 STEP 7 basic information. Online Helps Purpose Order Number Help on STEP 7 Basic information on Part of the STEP 7 programming and configuring Standard software. hardware with STEP 7 in the form of an online help. Reference helps on AWL/KOP/FUP Context-sensitive reference Part of the STEP 7 Reference help on SFBs/SFCs information. Standard software. Reference help on Organization Blocks Ladder Logic (LAD) for S7-300 and S7-400 Programming iv A5E00261407-01
no reviews yet
Please Login to review.