Preface, Contents Product Overview 1 Getting Started 2 SIMATIC Installing the S7-200 3 PLC Concepts 4 S7-200 Programming Concepts, 5 Programmable Controller Conventions and Features System Manual S7-200 Instruction Set 6 Communicating over a Network 7 Hardware Troubleshooting Guide 8 and Software Debugging Tools Open Loop Motion Control with 9 the S7-200 Creating a Program for the 10 Modem Module Using the USS Protocol Library to 11 Control a MicroMaster Drive Using the Modbus Protocol 12 Library Using Recipes 13 Using Data Logs 14 PID Auto-Tune and the PID 15 Tuning Control Panel Appendices Index This manual has the order number: 6ES7298-8FA24--8BH0 Edition 08/2008 A5E00307987--04Safety Guidelines This manual contains notices which you should observe to ensure your own personal safety, as well as to protect the product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger: Danger Danger indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Warning Warning indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Caution Caution used with the safety alert symbol indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury. Caution Caution used without the safety alert symbol indicates a potentially hazardous situation which, if not avoided, may result in property damage. Notice Notice indicates a potential situation which, if not avoided, may result in an undesirable result or state. 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 descriptions, 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 SIMATICR, SIMATIC HMIR and SIMATIC NETR are registered trademarks of SIEMENS AG. Some of other designations used in these documents are also registered trademarks the owners rights may be violated if they are used by third parties for their own purposes. Copyright Siemens AG 2008 All rights reserved Disclaimer of Liability The reproduction, transmission or use of this document or its contents is not We have checked the contents of this manual for agreement with the hardware and permitted without express written authority. Offenders will be liable for damages. software described. Since deviations cannot be precluded entirely, we cannot All rights, including rights created by patent grant or registration of a utility model guarantee full agreement. However, the data in this manual are reviewed regularly or design, are reserved. and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed. Siemens AG Bereich Automation and Drives Geschaeftsgebiet Industrial Automation Systems E Siemens AG 2008 Postfach 4848, D- 90327 Nuernberg Technical data subject to change. ii Siemens Aktiengesellschaft 6ES7298-8FA24-8BH0