




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Prepare-se para as provas
Estude fácil! Tem muito documento disponível na Docsity
Prepare-se para as provas com trabalhos de outros alunos como você, aqui na Docsity
Encontra documentos específicos para os exames da tua universidade
Prepare-se com as videoaulas e exercícios resolvidos criados a partir da grade da sua Universidade
Responda perguntas de provas passadas e avalie sua preparação.
Ganhe pontos para baixar
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
help MicroWin em pdf
Tipologia: Notas de estudo
1 / 494
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Product Overview 1
Getting Started (^) 2
Installing the S7-200 (^) 3
PLC Concepts 4
5
S7-200 Instruction Set (^) 6
Communicating over a Network 7
8
9
10
11
12
Technical Specifications (^) A
Calculating a Power Budget B
Error Codes (^) C
Special Memory (SM) Bits (^) D
S7-200 Order Numbers E
F
G
S7-200 Programmable Controller
System Manual
SIMATIC
A5E00212536-
Contents
ii
Safety 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 sys- tems 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 owner’s rights may be violated if they are used by third parties for their own purposes.
We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot gua- rantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for impro- vement are welcomed.
Copyright Siemens AG 2003 All rights reserved Disclaimer of Liability
The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Siemens AG Bereich Automation and Drives Geschaeftsgebiet Industrial Automation Systems Postfach 4848, D- 90327 Nuernberg E Siemens AG 2003 Technical data subject to change.
Siemens Aktiengesellschaft 6ES7298-8FA23-8BH
Contents
iv
The S7-200 products are periodically submitted for special agency approvals related to specific markets and applications. This table identifies the agency and certificate number that the S7-200 products have been approved for. Not all S7-200 products in this manual have been approved for these special agency approvals. Consult your local Siemens representative if you need additional information related to the latest listing of exact approvals by part number.
Agency Certificate Number Lloyds Register of Shipping (LRS) 99 / 20018(E1) American Bureau of Shipping (ABS) 01--HG20020--PDA Germanischer Lloyd (GL) 12 045 -- 98 HH Det Norske Veritas (DNV) A-- Bureau Veritas (BV) 09051 / A2 BV Nippon Kaiji Kyokai (NK) A--
If you are a first-time (novice) user of S7-200 Micro PLCs, you should read the entire S7- Programmable Controller System Manual. If you are an experienced user, refer to the table of contents or index to find specific information.
The S7-200 Programmable Controller System Manual is organized according to the following topics:
Preface
v
Additional Information and Assistance
In addition to this manual, STEP 7--Micro/WIN provides extensive online help for getting started with programming the S7-200. Included with the purchase of the STEP 7--Micro/WIN software is a free documentation CD. On this CD you can find application tips, an electronic version of this manual and other information.
Help is only a keystroke away! Pressing F1 accesses the extensive online help for STEP 7--Micro/WIN. The online help includes useful information about getting started with programming the S7-200, as well as many other topics.
An electronic version of this S7-200 System Manual is available on the documentation CD. You can install the electronic manual onto your computer so that you can easily access the information in the manual while you are working with the STEP 7--Micro/WIN software.
The documentation CD includes Programming Tips, a set of application examples with sample programs. Reviewing or modifying these examples can help you find efficient or innovative solutions for your own application. You can also find the most current version of Programming Tips on the S7- Internet site.
For additional information about Siemens products and services, technical support, frequently asked questions (FAQs), product updates, or application tips, refer to the following Internet addresses:
This Siemens Automation & Drives Internet site includes information about the SIMATIC product line and other products available from Siemens.
The S7-200 Internet site includes frequently asked questions (FAQs), Programming Tips (application examples and sample programs), information about newly released products, and product updates or downloads.
Contents
Contents
Contents
The S7-200 series of micro-programmable logic controllers (Micro PLCs) can control a wide variety of devices to support your automation needs.
The S7-200 monitors inputs and changes outputs as controlled by the user program, which can include Boolean logic, counting, timing, complex math operations, and communications with other intelligent devices. The compact design, flexible configuration, and powerful instruction set combine to make the S7-200 a perfect solution for controlling a wide variety of applications.
S7-200 Expansion Modules............................................................. 3 STEP 7--Micro/WIN Programming Package................................................ 3 Communications Options............................................................... 4 Display Panels........................................................................ 4
1
S7-200 Programmable Controller System Manual
S7-200 CPU
The S7-200 CPU combines a microprocessor, an integrated power supply, input circuits, and output circuits in a compact housing to create a powerful Micro PLC. See Figure 1-1. After you have downloaded your program, the S7-200 contains the logic required to monitor and control the input and output devices in your application.
I/O LEDs Status LEDs: System Fault RUN STOP
Optional cartridge: EEPROM Real-time Clock Battery
Communications port
Terminal connector (removable on CPU 224, CPU 226 and CPU 226XM)
Clip for installation on a standard (DIN) rail
Access door: Mode selector switch (RUN/STOP) Analog adjustment potentiometer(s) Expansion port (for most CPUs)
Figure 1-1 S7-200 Micro PLC
Siemens provides different S7-200 CPU models with a diversity of features and capabilities that help you create effective solutions for your varied applications. Table 1-1 briefly compares some of the features of the CPU. For detailed information about a specific CPU, see Appendix A.
Table 1-1 Comparison of the S7-200 CPU Models Feature CPU 221 CPU 222 CPU 224 CPU 226 CPU 226XM Physical size (mm) 90 x 80 x 62 90 x 80 x 62 120.5 x 80 x 62 190 x 80 x 62 190 x 80 x 62 Program memory 4096 bytes 4096 bytes 8192 bytes 8192 bytes 16384 bytes Data memory 2048 bytes 2048 bytes 5120 bytes 5120 bytes 10240 bytes Memory backup 50 hours typical 50 hours typical 190 hours typical 190 hours typical 190 hours typical Local on-board I/O 6 In/4 Out 8 In/6 Out 14 In/10 Out 24 In/16 Out 24 In/16 Out Expansion modules 0 modules 1 2 modules 1 7 modules 1 7 modules 1 7 modules 1 High-speed counters Single phase Two phase
4 at 30 kHz 2 at 20 kHz
4 at 30 kHz 2 at 20 kHz
6 at 30 kHz 4 at 20 kHz
6 at 30 kHz 4 at 20 kHz
6 at 30 kHz 4 at 20 kHz Pulse outputs (DC) 2 at 20 kHz 2 at 20 kHz 2 at 20 kHz 2 at 20 kHz 2 at 20 kHz Analog adjustments 1 1 2 2 2 Real-time clock Cartridge Cartridge Built-in Built-in Built-in Communications ports
1 RS--485 1 RS--485 1 RS--485 2 RS--485 2 RS--
Floating-point math Yes Digital I/O image size 256 (128 in, 128 out) Boolean execution speed
0.37 microseconds/instruction
(^1) You must calculate your power budget to determine how much power (or current) the S7-200 CPU can provide for your configuration. If the CPU power budget is exceeded, you may not be able to connect the maximum number of modules. See Appendix A for CPU and expansion module power requirements, and Appendix B to calculate your power budget.
1
S7-200 Programmable Controller System Manual
Insert the STEP 7--Micro/WIN CD into the CD-ROM drive of your computer. The installation wizard starts automatically and prompts you through the installation process. Refer to the Readme file for more information about installing STEP 7--Micro/WIN.
Tip To install STEP 7--Micro/WIN on a Windows NT, Windows 2000, or Windows XP Professional operating system, you must log in with Administrator privileges.
Communications Options
Siemens provides two programming options for connecting your computer to your S7-200: a direct connection with a PPI Multi-Master cable, or a Communications Processor (CP) card with an MPI cable.
The PPI Multi-Master programming cable is the most common and economical method of connecting your computer to the S7-200. This cable connects the communications port of the S7-200 to the serial communications of your computer. The PPI Multi-Master programming cable can also be used to connect other communications devices to the S7-200.
Display Panels
The TD 200 is a 2-line, 20-character, text display device that can be connected to the S7-200. Using the TD 200 wizard, you can easily program your S7-200 to display text messages and other data pertaining to your application.
The TD 200 provides a low cost interface to your application by allowing you to view, monitor, and change the process variables pertaining to your application.
A separate manual describes the detailed functionality and specifications of the TD 200.
The TD 200 Configuration Wizard in STEP 7--MicroWIN helps you configure TD 200 messages quickly and easily. To start the TD Wi d l h T l TD Wi d
g q y y 200 Wizard, select the Tools > TD 200 Wizard menu command.
Figure 1-3 TD 200 Text Display Unit
The TP070 is a touch panel display device that can be connected to the S7-200. This touch panel provides you with a means to customize your operator interface.
The TP070 can display custom graphics, slider bars, application variables, custom user buttons, and so forth, by means of a user-friendly touch panel.
The optional TP--Designer for TP070, Version 1.0 CD provides the TP Designer software, which is required for programming your TP070.q p g g y Figure 1-4 TP070 Touch Panel Unit
TD 200
STEP 7--Micro/WIN makes it easy for you to program your S7-200. In just a few short steps using a simple example, you can learn how to connect, program, and run your S7-200.
All you need for this example is a PPI Multi-Master cable, an S7-200 CPU, and a programming device running the STEP 7--Micro/WIN programming software.
Connecting the S7-200 CPU............................................................ 6 Creating a Sample Program............................................................. 9 Downloading the Sample Program....................................................... 12 Placing the S7-200 in RUN Mode........................................................ 12
2
Getting Started Chapter 2
Figure 2-2 shows an RS-232/PPI Multi-Master cable connecting the S7-200 to the programming device. To connect the cable:
1 2 3 4 5 6 7 8
RS-232/PPI Multi-Master Cable
S7-
Programming Device
↑1 -- On ↓0 -- Off
Figure 2-2 Connecting the RS-232/PPI Multi-Master Cable
Click on the STEP 7--Micro/WIN icon to open a new project. Figure 2-3 shows a new project.
Notice the navigation bar. You can use the icons on the navigation bar to open elements of the STEP 7--Micro/WIN project.
Click on the Communications icon in the navigation bar to display the Communications dialog box. You use this dialog box to set up the communications for STEP 7--Micro/WIN.
Navigation bar
Communications icon
Figure 2-3 New STEP 7--Micro/WIN Project
2
S7-200 Programmable Controller System Manual
The example project uses the default settings for STEP 7--Micro/WIN and the RS-232/PPI Multi-Master cable. To verify these settings:
If d t h i ti
If you need to change your communications parameter settings, see Chapter 7.
Figure 2-4 Verifying the Communications Parameters
Use the Communications dialog box to connect with your S7-200 CPU:
If STEP 7--Micro/WIN does not find your S7-200 CPU, check the settings for the communications parameters and repeat these steps.
After you have established communications with the S7 200 you are ready to create and
with the S7-200, you are ready to create and download the example program. Figure 2-5 Establishing Communications to the S7-