s71200_easy_book_en-US_en-US.pdf

(5229 KB) Pobierz
S7-1200 Easy Book
Preface
S7-1200 Easy Book
1
2
SIMATIC
3
Getting started
S7-1200
Easy Book
4
5
Manual
Easy to communicate
between devices
6
7
8
A
11/2009
A5E02486774-01
Introducing the powerful and
flexible S7-1200
STEP 7 Basic makes the
work easy
PLC concepts made easy
Programming concepts
made easy
Easy to use the built-in pulse
generators
Easy to use the online tools
Technical specifications
389301103.010.png 389301103.011.png
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation for the specific task, in particular its warning notices and
safety instructions. Qualified personnel are those who, based on their training and experience, are capable of
identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be adhered to. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
Ordernumber: 6ES7298-8FA30-8BQ0
Ⓟ 10/2009
Copyright © Siemens AG 2009.
Technical data subject to change
Legal information
389301103.012.png 389301103.013.png 389301103.001.png 389301103.002.png 389301103.003.png 389301103.004.png
Preface
Welcome to the world of S7-1200, the latest in a line of the Siemens SIMATIC controllers.
The SIMATIC S7-1200 compact controller is the modular, space-saving controller for small
automation systems that require either simple or advanced functionality for logic, HMI and
networking. The compact design, low cost, and powerful features make the S7-1200 a
perfect solution for controlling small applications.
As part of the SIMATIC commitment to "totally integrated automation" (TIA), the S7-1200
product family and the STEP 7 Basic programming tool give you the flexibility you need to
solve your automation needs.
The S7-1200 helps to make the most challenging tasks easy!
The SIMATIC S7-1200 controller solution, designed for the "compact" controller class, is
comprised of the SIMATIC S7-1200 controller and SIMATIC HMI Basic panels that can both
be programmed with SIMATIC STEP 7 Basic engineering software. The ability to program
both devices using the same engineering software significantly reduces development costs.
The S7-1200 compact controller includes:
High-speed I/O capable of motion control, onboard
analog inputs to minimize space requirements and
the need for additional I/O, 2 pulse generators for
pulse-width applications (Page 84) , and up to 6
On-board I/O points built into the CPU modules
provide from 6 to 14 input points and from 4 to 10
output points
Signal modules for DC, relay, or analog I/O
expand the number of I/O points, and
innovative signal boards snap onto the
front of the CPU to provide additional I/O
(Page 9) .
were designed specifically for the S7-1200.
This Easy Book provides an introduction to
the S7-1200 PLC. The following pages
offer an overview of the many features and
capabilities of the devices.
For additional information, refer to the S7-1200 programmable controler system manua.
You can also use the following web site to search for specific information about products or
to contact technical support representatives:
Easy Book
Manual, 11/2009, A5E02486774-01
3
Built-in PROFINET
389301103.005.png 389301103.006.png 389301103.007.png
Preface
For information about UL and FM certification, CE labeling, C-Tick and other standards, refer
to the Technical specifications (Page 95 ).
Contact your Siemens distributor or sales office for assistance in answering any technical
questions, for training, or for ordering S7 products. Because your sales representatives are
technically trained and have the most specific knowledge about your operations, process
and industry, as well as about the individual Siemens products that you are using, they can
provide the fastest and most efficient answers to any problems you might encounter.
Easy Book
4
Manual, 11/2009, A5E02486774-01
389301103.008.png
Table of contents
Preface...................................................................................................................................................... 3
1 Introducing the powerful and flexible S7-1200........................................................................................... 7
1.1 Expanding the capability of the CPU ............................................................................................. 9
1.2 HMI Basic panels......................................................................................................................... 10
1.3 Mounting di mensions and clearance requirements..................................................................... 11
2 STEP 7 Basic makes the work easy........................................................................................................ 13
2.1 Help when you need it ................................................................................................................. 14
2.1.1 Printing a topic from the online help ............................................................................................ 15
2.2 Providing easy-to-use tools.......................................................................................................... 16
2.2.1 Easy to insert instructions into your user program....................................................................... 16
2.2.2 Easy access to your favorite instructions from a toolbar ............................................................. 16
2.2.3 Easy to drag and drop between editors....................................................................................... 17
2.2.4 Easy to change the operating mode of the CPU ......................................................................... 17
2.2.5 Easy to virtually "unplug" modules without losing the configuration............................................ 18
2.2.6 Easy to modify the appearance and configuration of STEP 7 Basic........................................... 18
3 Getting started......................................................................................................................................... 19
4 PLC concepts made easy........................................................................................................................ 29
4.1 Tasks performed every scan cycle .............................................................................................. 29
4.2 Operating modes of the CPU....................................................................................................... 30
4.3 Memory areas, addressing and data types.................................................................................. 31
4.4 Execution of the user program..................................................................................................... 35
4.5 Protecting access to the CPU or code block is easy................................................................... 37
5 Programming concepts made easy.......................................................................................................... 39
5.1 Easy to create the device configuration....................................................................................... 39
5.1.1 Configuring the operation of the CPU and modules.................................................................... 44
5.1.2 Configuring the IP address of the CPU........................................................................................ 46
5.2 Easy to design your user program............................................................................................... 47
5.2.1 Use OBs for organizing your user program................................................................................. 49
5.2.2 FBs and FCs make programming the modular tasks easy.......................................................... 50
5.2.3 Data blocks provide easy storage for program data.................................................................... 51
5.3 Easy to use the powerful programming languages...................................................................... 53
5.3.1 Providing the basic instructions you expect................................................................................. 54
5.4 Other features to make programming easy................................................................................. 62
5.4.1 System memory and clock memory provide standard functionality............................................. 62
5.4.2 Watch tables make monitoring the user program easy ............................................................... 64
5.4.3 Project and global libraries for easy access ................................................................................ 64
5.4.4 Cross reference to show usage................................................................................................... 65
5.4.5 Call structure to examine the calling hierarchy............................................................................ 66
Easy Book
Manual, 11/2009, A5E02486774-01
5
389301103.009.png
Zgłoś jeśli naruszono regulamin