manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. Siemens
  6. •
  7. Controllers
  8. •
  9. Siemens SIMATIC S7-1200 User manual

Siemens SIMATIC S7-1200 User manual

Easy Book
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
___________________
SIMATIC
S7-1200
Easy Book
Manual
01/2015
A5E02486774
-AG
Preface
Introducing the powerful and
flexible S7-1200
1
STEP 7 makes the work
easy
2
Getting started
3
PLC concepts made easy
4
Easy to create the device
configuration
5
Programming made easy
6
Easy to communicate
between devices
7
PID is easy
8
Web server for easy Internet
connectivity
9
Motion control is easy
10
Easy to use the online tools
11
IO-Link is easy
12
Technical specifications
A
Exchanging a V3.0 CPU for
a V4.1 CPU
B
Siemens AG
Division Digital Factory
Postfach 48 48
90026 NÜRNBERG
GERMANY
A5E02486774-AG
Ⓟ
12/2014 Subject to change
Copyright © Siemens AG 2015.
All rights reserved
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
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
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, 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 complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of 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.
Easy Book
Manual, 01/2015, A5E02486774-AG 3
Preface
Welcome to the world of S7-1200. 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 TIA Portal programming software 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 the TIA Portal engineering software. The ability to program both
devices using the same engineering software significantly reduces development costs. The
TIA Portal includes STEP 7 for S7-1200 programming and WinCC for designing Basic panel
projects.
The S7
-1200 compact controller includes:
•
Built-in PROFINET
•
High-speed I/O capable of motion control, onboard
analog inputs to minimize space requirements and
the need for additional I/O, 4 pulse generators for
pulse-train and pulse-width applications (Page 70),
and up to 6 high-speed counters (Page 129)
•
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 i
nno-
vative signal boards snap onto the front of
the CPU
to provide additional I/O (Page 18).
The
SIMATIC HMI Basic panels (Page 20)
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 capa-
bilities of the devices.
For additional information, refer to the
S7-1200 Programmable Controller System Manual
.
For information about UL and FM certification, CE labeling, C-Tick and other standards, refer
to the Technical specifications (Page 361).
Preface
Easy Book
4Manual, 01/2015, A5E02486774-AG
This manual describes the following products:
●STEP 7 V13 SP1 Basic and Professional
●S7-1200 CPU firmware release V4.1
Documentation and information
S7-1200 and STEP 7 provide a variety of documentation and other resources for finding the
technical information that you require.
●The S7-1200 Programmable Controller System Manual provides specific information
about the operation, programming, and the specifications for the complete S7-1200
product family. In addition to the system manual, the S7-1200 Easy Book provides a
more general overview to the capabilities of the S7-1200 family.
Both the system manual and the Easy Book are available as electronic (PDF) manuals.
The electronic manuals can be downloaded from the customer support web site and can
also be found on the documentation disk that ships with every S7-1200 CPU.
●The online STEP 7 information system provides immediate access to the conceptual
information and specific instructions that describe the operation and functionality of the
programming package and basic operation of SIMATIC CPUs.
●My Documentation Manager accesses the electronic (PDF) versions of the SIMATIC
documentation set, including the system manual, the Easy Book, and the STEP 7
information system. With My Documentation Manager, you can drag and drop topics from
various documents to create your own custom manual.
The customer support entry portal (http://support.automation.siemens.com) provides a
link to My Documentation Manager under mySupport.
●The customer support web site also provides podcasts, FAQs, and other helpful
documents for S7-1200 and STEP 7. The podcasts utilize short educational video
presentations that focus on specific features or scenarios in order to demonstrate the
interactions, convenience, and efficiency provided by STEP 7. Visit the following web
sites to access the collection of podcasts:
–STEP 7 Basic web page (http://www.automation.siemens.com/mcms/simatic-
controller-software/en/step7/step7-basic/Pages/Default.aspx)
–STEP 7 Professional web page (http://www.automation.siemens.com/mcms/simatic-
controller-software/en/step7/step7-professional/Pages/Default.aspx)
●You can also follow or join product discussions on the Service & Support technical forum
(https://www.automation.siemens.com/WW/forum/guests/Conferences.aspx?Language=e
n&siteid=csius&treeLang=en&groupid=4000002&extranet=standard&viewreg=WW&nodei
d0=34612486). These forums allow you to interact with various product experts.
–Forum for S7-1200
(https://www.automation.siemens.com/WW/forum/guests/Conference.aspx?SortField=
LastPostDate&SortOrder=Descending&ForumID=258&Language=en&onlyInternet=Fa
lse)
–Forum for STEP 7 Basic
(https://www.automation.siemens.com/WW/forum/guests/Conference.aspx?SortField=
LastPostDate&SortOrder=Descending&ForumID=265&Language=en&onlyInternet=Fa
lse)
Preface
Easy Book
Manual, 01/2015, A5E02486774-AG 5
Service and support
In addition to our documentation, Siemens offers technical expertise on the Internet and on
the customer support web site (http://www.siemens.com/tiaportal).
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.
Security information
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, solutions, machines, equipment and/or networks. They are
important components in a holistic industrial security concept. With this in mind, Siemens’
products and solutions undergo continuous development. Siemens recommends strongly
that you regularly check for product updates.
For the secure operation of Siemens products and solutions, it is necessary to take suitable
preventive action (e.g. cell protection concept) and integrate each component into a holistic,
state-of-the-art industrial security concept. Third-party products that may be in use should
also be considered. You can find more information about industrial security on the Internet
(http://www.siemens.com/industrialsecurity).
To stay informed about product updates as they occur, sign up for a product-specific
newsletter. You can find more information on the Internet
(http://support.automation.siemens.com).
Preface
Easy Book
6Manual, 01/2015, A5E02486774-AG
Easy Book
Manual, 01/2015, A5E02486774-AG 7
Table of contents
Preface ................................................................................................................................................... 3
1 Introducing the powerful and flexible S7-1200 ....................................................................................... 15
1.1 Introducing the S7-1200 PLC .................................................................................................15
1.2 Expansion capability of the CPU ............................................................................................18
1.3 S7-1200 modules....................................................................................................................19
1.4 Basic HMI panels ....................................................................................................................20
1.5 Mounting dimensions and clearance requirements ................................................................21
1.6 New features...........................................................................................................................26
2 STEP 7 makes the work easy ............................................................................................................... 29
2.1 Easy to insert instructions into your user program .................................................................30
2.2 Easy access to your favorite instructions from a toolbar ........................................................30
2.3 Easy to add inputs or outputs to LAD and FBD instructions...................................................31
2.4 Expandable instructions..........................................................................................................31
2.5 Easy to change the operating mode of the CPU ....................................................................32
2.6 Easy to modify the appearance and configuration of STEP 7................................................32
2.7 Project and global libraries for easy access ...........................................................................33
2.8 Easy to select a version of an instruction ...............................................................................33
2.9 Easy to drag and drop between editors ..................................................................................34
2.10 Changing the call type for a DB ..............................................................................................35
2.11 Temporarily disconnecting devices from a network................................................................36
2.12 Easy to virtually "unplug" modules without losing the configuration.......................................37
3 Getting started ...................................................................................................................................... 39
3.1 Create a project ......................................................................................................................39
3.2 Create tags for the I/O of the CPU..........................................................................................40
3.3 Create a simple network in your user program.......................................................................42
3.4 Use the PLC tags in the tag table for addressing the instructions..........................................44
3.5 Add a "box" instruction............................................................................................................45
3.6 Use the CALCULATE instruction for a complex mathematical equation................................46
3.7 Add an HMI device to the project............................................................................................48
3.8 Create a network connection between the CPU and HMI device ..........................................49
3.9 Create an HMI connection to share tags ................................................................................49
Table of contents
Easy Book
8Manual, 01/2015, A5E02486774-AG
3.10 Create an HMI screen............................................................................................................ 50
3.11 Select a PLC tag for the HMI element ................................................................................... 51
4 PLC concepts made easy ..................................................................................................................... 53
4.1 Tasks performed every scan cycle ........................................................................................ 53
4.2 Operating modes of the CPU................................................................................................. 55
4.3 Execution of the user program............................................................................................... 56
4.3.1 Processing the scan cycle in RUN mode............................................................................... 56
4.3.2 OBs help you structure your user program............................................................................ 57
4.3.3 Event execution priorities and queuing.................................................................................. 58
4.4 Memory areas, addressing and data types............................................................................ 61
4.4.1 Data types supported by the S7-1200 ................................................................................... 62
4.4.2 Addressing memory areas ..................................................................................................... 64
4.4.3 Accessing a "slice" of a tagged data type.............................................................................. 67
4.4.4 Accessing a tag with an AT overlay ....................................................................................... 68
4.5 Pulse outputs ......................................................................................................................... 70
5 Easy to create the device configuration ................................................................................................. 73
5.1 Uploading the configuration of a connected CPU.................................................................. 74
5.2 Adding a CPU to the configuration......................................................................................... 76
5.3 Changing a device ................................................................................................................. 77
5.4 Adding modules to the configuration ..................................................................................... 78
5.5 Configuration control.............................................................................................................. 79
5.6 Configuring the operation of the CPU and modules .............................................................. 80
5.6.1 System memory and clock memory provide standard functionality....................................... 82
5.7 Configuring the IP address of the CPU.................................................................................. 85
5.8 Protecting access to the CPU or code block is easy ............................................................. 87
5.8.1 Know-how protection ............................................................................................................. 89
5.8.2 Copy protection...................................................................................................................... 90
6 Programming made easy ...................................................................................................................... 93
6.1 Easy to design your user program......................................................................................... 93
6.1.1 Use OBs for organizing your user program ........................................................................... 95
6.1.2 FBs and FCs make programming the modular tasks easy.................................................... 97
6.1.3 Data blocks provide easy storage for program data .............................................................. 98
6.1.4 Creating a new code block..................................................................................................... 99
6.1.5 Creating reusable code blocks............................................................................................. 100
6.1.6 Calling a code block from another code block ..................................................................... 101
6.2 Easy-to-use programming languages .................................................................................. 101
6.2.1 Ladder logic (LAD) ............................................................................................................... 102
6.2.2 Function Block Diagram (FBD) ............................................................................................ 103
6.2.3 SCL overview ....................................................................................................................... 103
6.2.4 SCL program editor.............................................................................................................. 104
6.3 Powerful instructions make programming easy ................................................................... 105
6.3.1 Providing the basic instructions you expect......................................................................... 105
Table of contents
Easy Book
Manual, 01/2015, A5E02486774-AG 9
6.3.2 Comparator and Move instructions.......................................................................................108
6.3.3 Conversion operations ..........................................................................................................109
6.3.4 Math made easy with the Calculate instruction ....................................................................111
6.3.5 Timer operations ...................................................................................................................113
6.3.6 Counter operations ...............................................................................................................118
6.3.7 Pulse-width modulation (PWM) ............................................................................................121
6.4 Easy to create data logs .......................................................................................................122
6.5 Easy to monitor and test your user program ........................................................................124
6.5.1 Watch tables and force tables ..............................................................................................124
6.5.2 Cross reference to show usage ............................................................................................125
6.5.3 Call structure to examine the calling hierarchy.....................................................................126
6.5.4 Diagnostic instructions to monitor the hardware...................................................................127
6.5.4.1 Reading the states of the LEDs on the CPU ........................................................................127
6.5.4.2 Instructions for reading the diagnostic status of the devices................................................128
6.6 High-speed counter (HSC) ...................................................................................................129
6.6.1 Operation of the high-speed counter ....................................................................................131
6.6.2 Configuration of the HSC......................................................................................................137
7 Easy to communicate between devices............................................................................................... 139
7.1 Creating a network connection .............................................................................................140
7.2 Communication options ........................................................................................................141
7.3 V4.1 asynchronous communication connections .................................................................143
7.4 PROFINET and PROFIBUS instructions ..............................................................................146
7.5 PROFINET............................................................................................................................147
7.5.1 Open user communication....................................................................................................147
7.5.1.1 Ad hoc mode.........................................................................................................................148
7.5.1.2 Connection IDs for the Open user communication instructions ...........................................148
7.5.1.3 Parameters for the PROFINET connection ..........................................................................152
7.5.2 Configuring the Local/Partner connection path ....................................................................154
7.6 PROFIBUS............................................................................................................................157
7.6.1 Communications services of the PROFIBUS CMs...............................................................158
7.6.2 Reference to the PROFIBUS CM user manuals ..................................................................159
7.6.3 Adding the CM 1243-5 (DP master) module and a DP slave ...............................................160
7.6.4 Assigning PROFIBUS addresses to the CM 1243-5 module and DP slave.........................161
7.7 AS-i .......................................................................................................................................163
7.7.1 Adding the AS-i master CM 1243-2 and AS-i slave..............................................................164
7.7.2 Assigning an AS-i address to an AS-i slave .........................................................................165
7.8 S7 communication ................................................................................................................168
7.8.1 GET and PUT instructions ....................................................................................................168
7.8.2 Creating an S7 connection ...................................................................................................169
7.8.3 GET/PUT connection parameter assignment .......................................................................170
7.9 GPRS....................................................................................................................................171
7.9.1 Connection to a GSM network..............................................................................................171
7.9.2 Applications of the CP 1242-7 ..............................................................................................173
7.9.3 Other properties of the CP-1242-7 .......................................................................................174
7.9.4 Configuration and electrical connections ..............................................................................175
7.9.5 Further information................................................................................................................175
Table of contents
Easy Book
10 Manual, 01/2015, A5E02486774-AG
7.9.6 Accessories.......................................................................................................................... 176
7.9.7 Reference to GSM antenna manual .................................................................................... 177
7.9.8 Configuration examples for telecontrol ................................................................................ 177
7.10 PtP, USS, and Modbus communication protocols ............................................................... 182
7.10.1 Point-to-point communication .............................................................................................. 182
7.10.2 Using the serial communication interfaces .......................................................................... 184
7.10.3 PtP instructions .................................................................................................................... 185
7.10.4 USS instructions................................................................................................................... 186
7.10.5 Modbus instructions ............................................................................................................. 188
8 PID is easy ..........................................................................................................................................191
8.1 Inserting the PID instruction and technology object............................................................. 193
8.2 PID_Compact instruction ..................................................................................................... 195
8.3 PID_Compact instruction ErrorBit parameters..................................................................... 199
8.4 PID_3Step instruction .......................................................................................................... 201
8.5 PID_3Step instruction ErrorBit parameters.......................................................................... 208
8.6 PID_Temp instruction........................................................................................................... 210
8.6.1 Overview .............................................................................................................................. 210
8.6.2 Operation of the PID_Temp controller ................................................................................. 214
8.6.3 Cascading controllers .......................................................................................................... 216
8.7 PID_Temp instruction ErrorBit parameters .......................................................................... 220
8.8 Configuring the PID_Compact and PID_3Step controllers .................................................. 222
8.9 Configuring the PID_Temp controller................................................................................... 225
8.10 Commissioning the PID_Compact and PID_3Step controllers ............................................ 239
8.11 Commissioning the PID_Temp controller ............................................................................ 241
9 Web server for easy Internet connectivity .............................................................................................253
9.1 Easy to use the standard Web pages.................................................................................. 254
9.2 Constraints that can affect the use of the Web server......................................................... 256
9.3 Easy to create user-defined web pages .............................................................................. 257
9.3.1 Easy to create custom "user-defined" web pages ............................................................... 257
9.3.2 Constraints specific to user-defined Web pages ................................................................. 259
9.3.3 Configuration of a user-defined Web page .......................................................................... 260
9.3.4 Using the WWW instruction ................................................................................................. 260
Table of contents
Easy Book
Manual, 01/2015, A5E02486774-AG 11
10 Motion control is easy ......................................................................................................................... 263
10.1 Phasing .................................................................................................................................268
10.2 Configuring a pulse generator ..............................................................................................270
10.3 Open loop motion control......................................................................................................271
10.3.1 Configuring the axis ..............................................................................................................271
10.3.2 Commissioning .....................................................................................................................275
10.4 Closed loop motion control ...................................................................................................280
10.4.1 Configuring the axis ..............................................................................................................280
10.4.2 Commissioning .....................................................................................................................287
10.5 Configuring the TO_CommandTable_PTO...........................................................................293
10.6 Operation of motion control for S7-1200...............................................................................296
10.6.1 CPU outputs used for motion control....................................................................................296
10.6.2 Hardware and software limit switches for motion control .....................................................298
10.6.3 Homing..................................................................................................................................302
10.6.3.1 Homing the axis ....................................................................................................................302
10.6.3.2 Configuration of homing parameters ....................................................................................303
10.6.3.3 Sequence for active homing .................................................................................................306
10.7 Motion control instructions ....................................................................................................307
10.7.1 MC instruction overview........................................................................................................307
10.7.2 MC_Power (Release/block axis) instruction .........................................................................308
10.7.3 MC_Reset (Confirm error) instruction ...................................................................................311
10.7.4 MC_Home (Home axis) instruction .......................................................................................312
10.7.5 MC_Halt (Pause axis) instruction..........................................................................................315
10.7.6 MC_MoveAbsolute (Position axis absolutely) instruction .....................................................317
10.7.7 MC_MoveRelative (Position axis relatively) instruction ........................................................319
10.7.8 MC_MoveVelocity (Move axis at predefined velocity) instruction.........................................321
10.7.9 MC_MoveJog (Move axis in jog mode) instruction ...............................................................324
10.7.10 MC_CommandTable (Run axis commans as movement sequence) instruction..................326
10.7.11 MC_ChangeDynamic (Change dynamc settings for the axis) instruction ............................328
10.7.12 MC_WriteParam (write parameters of a technology object) instruction ...............................330
10.7.13 MC_ReadParam instruction (read parameters of a technology object) instruction ..............332
11 Easy to use the online tools................................................................................................................. 335
11.1 Going online and connecting to a CPU.................................................................................335
11.2 Interacting with the online CPU ............................................................................................336
11.3 Going online to monitor the values in the CPU.....................................................................337
11.4 Displaying status of the user program is easy ......................................................................338
11.5 Using a watch table for monitoring the CPU.........................................................................338
11.6 Using the force table .............................................................................................................340
11.7 Capturing the online values of a DB to reset the start values...............................................343
11.8 Uploading elements of the project ........................................................................................344
11.9 Comparing offline and online CPUs......................................................................................345
11.10 Displaying the diagnostic events ..........................................................................................346
11.11 Setting the IP address and time of day.................................................................................346
Table of contents
Easy Book
12 Manual, 01/2015, A5E02486774-AG
11.12 Resetting to factory settings................................................................................................. 347
11.13 Updating firmware................................................................................................................ 348
11.14 Downloading an IP address to an online CPU..................................................................... 349
11.15 Using the "unspecified CPU" to upload the hardware configuration.................................... 350
11.16 Downloading in RUN mode.................................................................................................. 351
11.16.1 Changing your program in RUN mode ................................................................................ 352
11.17 Tracing and recording CPU data on trigger conditions........................................................ 353
12 IO-Link is easy .....................................................................................................................................355
12.1 Overview of IO-Link technology ........................................................................................... 355
12.2 Components of an IO-Link system....................................................................................... 355
12.3 After power-up...................................................................................................................... 355
12.4 IO-Link protocol.................................................................................................................... 356
12.5 Configuration in the fieldbus ................................................................................................ 356
12.6 IO-Link and your STEP 7 program....................................................................................... 356
12.7 The SM 1278 4xIO-Link Master ........................................................................................... 357
A Technical specifications .......................................................................................................................361
A.1 General technical specifications .......................................................................................... 361
A.2 CPU modules ....................................................................................................................... 371
A.3 Digital I/O modules............................................................................................................... 375
A.3.1 SB 1221, SB 1222, and SB 1223 digital input/output (DI, DQ, and DI/DQ)......................... 375
A.3.2 SM 1221 digital input (DI) .................................................................................................... 378
A.3.3 SM 1222 digital output (DQ) ................................................................................................ 380
A.3.4 SM 1223 VDC digital input/output (DI / DQ) ........................................................................ 382
A.3.5 SM 1223 120/230 VAC input / Relay output ........................................................................ 383
A.4 Specifications for the digital inputs and outputs................................................................... 384
A.4.1 24 VDC digital inputs (DI) .................................................................................................... 384
A.4.2 120/230 VAC digital AC inputs............................................................................................. 386
A.4.3 Digital outputs (DQ) ............................................................................................................. 387
A.5 Analog I/O modules ............................................................................................................. 390
A.5.1 SB 1231 and SB 1232 analog input (AI) and output (AQ) ................................................... 390
A.5.2 SM 1231 analog input (AI) ................................................................................................... 391
A.5.3 SM 1232 analog output (AQ) ............................................................................................... 391
A.5.4 SM 1234 analog input/output (AI/AQ).................................................................................. 392
A.5.5 Wiring diagrams for SM 1231 (AI), SM 1232 (AQ), and SM 1234 (AI/AQ).......................... 392
A.6 BB 1297 battery board ......................................................................................................... 394
A.7 Specifications for the analog I/O.......................................................................................... 395
A.7.1 Specifications for the analog inputs (CPU, SM, and SB)..................................................... 395
A.7.2 Input (AI) measurement ranges for voltage and current ...................................................... 396
A.7.3 Step response for the analog inputs (AI) ............................................................................. 398
A.7.4 Sample time and update times for the analog inputs........................................................... 398
A.7.5 Specifications for the analog outputs................................................................................... 399
A.7.6 Output (AQ) measurement ranges for voltage and current ................................................. 400
Table of contents
Easy Book
Manual, 01/2015, A5E02486774-AG 13
A.8 RTD and Thermocouple modules.........................................................................................402
A.8.1 SB 1231 RTD and SB 1231 TC specifications .....................................................................403
A.8.2 SM 1231 RTD specifications ................................................................................................405
A.8.3 SM 1231 TC specifications ...................................................................................................407
A.8.4 Analog input specifications for RTD and TC (SM and SB) ...................................................408
A.8.5 Thermocouple type ...............................................................................................................410
A.8.6 Thermocouple filter selection and update times ...................................................................411
A.8.7 RTD sensor type selection table...........................................................................................411
A.8.8 RTD filter selection and update times...................................................................................413
A.9 Communication interfaces ....................................................................................................414
A.9.1 PROFIBUS master/slave ......................................................................................................414
A.9.1.1 CM 1242-5 PROFIBUS DP SLAVE ......................................................................................414
A.9.1.2 Pinout of the D-sub socked of the CM 1242-5......................................................................415
A.9.1.3 CM 1243-5 PROFIBUS DP Master.......................................................................................416
A.9.1.4 PROFIBUS master (CM 1243-5) requires 24 VDC power from the CPU.............................417
A.9.1.5 Pinout of the D-sub socket of the CM 1243-5.......................................................................418
A.9.2 GPRS CP..............................................................................................................................419
A.9.2.1 CP 1242-7 GPRS..................................................................................................................419
A.9.2.2 GSM/GPRS antenna ANT794-4MR .....................................................................................421
A.9.2.3 Flat antenna ANT794-3M .....................................................................................................422
A.9.3 Teleservice (TS)....................................................................................................................422
A.9.4 RS485, RS232 and RS422 communication..........................................................................423
A.9.4.1 CB 1241 RS485 specifications .............................................................................................423
A.9.4.2 CM 1241 RS422/485 specifications......................................................................................425
A.9.4.3 CM 1241 RS232 specifications.............................................................................................426
A.10 Technology modules.............................................................................................................428
A.10.1 SM 1278 4xIO-Link Master SM.............................................................................................428
A.10.1.1 SM 1278 4xIO-Link Master signal module specifications.....................................................428
A.10.1.2 SM 1278 4xIO-Link Master SM wiring diagrams ..................................................................430
A.11 Companion products.............................................................................................................431
A.11.1 PM 1207 power module ........................................................................................................431
A.11.2 CSM 1277 compact switch module ......................................................................................431
A.11.3 CM CANopen module ...........................................................................................................432
B Exchanging a V3.0 CPU for a V4.1 CPU ............................................................................................. 433
B.1 Exchanging a V3.0 CPU for a V4.1 CPU..............................................................................433
Index................................................................................................................................................... 439
Table of contents
Easy Book
14 Manual, 01/2015, A5E02486774-AG
Easy Book
Manual, 01/2015, A5E02486774-AG 15
Introducing the powerful and flexible S7-1200
1
1.1
Introducing the S7-1200 PLC
The S7-1200 controller provides the flexibility and power to control a wide variety of devices
in support of your automation needs. The compact design, flexible configuration, and
powerful instruction set combine to make the S7-1200 a perfect solution for controlling a
wide variety of applications.
The CPU combines a microprocessor, an integrated power supply, input and output circuits,
built-in PROFINET, high-speed motion control I/O, and on-board analog inputs in a compact
housing to create a powerful controller. After you download your program, the CPU contains
the logic required to monitor and control the devices in your application. The CPU monitors
the inputs and changes the outputs according to the logic of your user program, which can
include Boolean logic, counting, timing, complex math operations, and communications with
other intelligent devices.
The CPU provides a PROFINET port for communication over a PROFINET network.
Additional modules are available for communicating over PROFIBUS, GPRS, RS485,
RS232, IEC, DNP3, and WDC networks.
①
Power connector
②
Memory card slot under top
door
③
Removable user wiring co
n-
nectors (behind the doors)
④
Status LEDs for the on
-
board I/O
⑤
PROFINET connector (on
the bottom of the CPU)
Several security features help protect access to both the CPU and the control program:
●Every CPU provides password protection (Page 87) that allows you to configure access
to the CPU functions.
●You can use "know-how protection" (Page 89) to hide the code within a specific block.
●You can use copy protection (Page 90) to bind your program to a specific memory card or
CPU.
Introducing the powerful and flexible S7-1200
1.1 Introducing the S7-1200 PLC
Easy Book
16 Manual, 01/2015, A5E02486774-AG
Table 1- 1 Comparing the CPU models
Feature
CPU 1211C
CPU 1212C
CPU 1214C
CPU 1215C
CPU 1217C
Physical size (mm)
90 x 100 x 75
110 x 100 x 75
130 x 100 x 75
150 x 100 x 75
User memory
Work
50 Kbytes
75 Kbytes
100 Kbytes
125 Kbytes
150 Kbytes
Load
1 Mbyte
4 Mbytes
Retentive 10 Kbytes
Local on-board I/O Digital 6 inputs/4 out-
puts
8 inputs/6 out-
puts
14 inputs/10 output
Analog
2 inputs
2 inputs/2 output
Process image size
Inputs (I)
1024 bytes
Outputs (Q)
1024 bytes
Bit memory (M)
4096 bytes
8192 bytes
Signal module (SM) expansion
None
2
8
Signal board (SB), Battery board
(BB), or communication board
(CB)
1
Communication module (CM)
(left-side expansion)
3
High-speed coun-
ters
Total
Up to 6 configured to use any built-in or SB inputs
1 MHz
-
Ib.2 to Ib.5
100/180
kHz
Ia.0 to Ia.5
30/
1
20 kHz
--
Ia.6 to Ia.7
Ia.6 to Ib.5
Ia.6 to Ib.1
200 kHz
3
Pulse outputs2
Total
Up to 4 configured to use any built-in or SB outputs
1 MHz
--
Qa.0 to Qa.3
100 kHz
Qa.0 to Qa.3
Qa.4 to Qb.1
20 kHz -- Qa.4 to Qa.5 Qa.4 to Qb. --
Memory card
SIMATIC Memory card (optional)
Real time clock retention time
20 days, typ./12 day min. at 40 degrees C (maintenance-free Super Capacitor)
PROFINET
Ethernet communication port
1 2
Real math execution speed
2.3 μs/instruction
Boolean execution speed
0.08 μs/instruction
1
The slower speed is applicable when the HSC is configured for quadrature mode of operation.
2
For CPU models with relay outputs, you must install a digital signal (SB) to use the pulse outputs.
3Up to 200 kHz are available with the SB 1221 DI x 24 VDC 200 kHz and SB 1221 DI 4 x 5 VDC 200 kHz.
The different CPU models provide a diversity of features and capabilities that help you create
effective solutions for your varied applications. For detailed information about a specific
CPU, see the technical specifications (Page 361).
Introducing the powerful and flexible S7-1200
1.1 Introducing the S7-1200 PLC
Easy Book
Manual, 01/2015, A5E02486774-AG 17
Table 1- 2 Blocks, timers, and counters supported by S7-1200
Element
Description
Blocks
Type
OB, FB, FC, DB
Size 50 Kbytes (CPU 1211C)
75 Kbytes (CPU 1212C)
100 Kbytes (CPU 1214C)
125 Kbytes (CPU 1215C)
150 Kbytes (CPU 1217C)
Quantity
Up to 1024 blocks total (OBs + FBs + FCs + DBs)
Nesting depth 16 from the program cycle or startup OB;
6 from any interrupt event OB
Monitoring
Status of 2 code blocks can be monitored simultaneously
OBs
Program cycle
Multiple
Startup
Multiple
Time-delay interrupts
4 (1 per event)
Cyclic interrupts
4 (1 per event)
Hardware interrupts
50 (1 per event)
Time error interrupts
1
Diagnostic error interrupts
1
Pull or plug of modules
1
Rack or station failure
1
Time of day
Multiple
Status
1
Update
1
Profile
1
Timers
Type
IEC
Quantity
Limited only by memory size
Storage Structure in DB, 16 bytes per timer
Counters
Type
IEC
Quantity
Limited only by memory size
Storage Structure in DB, size dependent upon count type
•SInt, USInt: 3 bytes
•Int, UInt: 6 bytes
•DInt, UDInt: 12 bytes
Introducing the powerful and flexible S7-1200
1.2 Expansion capability of the CPU
Easy Book
18 Manual, 01/2015, A5E02486774-AG
1.2
Expansion capability of the CPU
The S7-1200 family provides a variety of modules and plug-in boards for expanding the
capabilities of the CPU with additional I/O or other communication protocols. For detailed
information about a specific module, see the technical specifications (Page 361).
①
Communication module (CM) or communication processor (CP)
②
CPU (CPU 1211C, CPU 1212C, CPU 1214C, CPU 1215C, CPU 1217C)
③
Signal board (SB) (digital SB, analog SB), communication board (CB), or Battery Board (BB)
CPU (CPU 1211C, CPU 1212C, CPU 1214C, CPU 1215C, CPU 1217C)
④
Signal module (SM) (digital SM, analog SM, thermocouple SM, RTD SM, technology SM)
Introducing the powerful and flexible S7-1200
1.3 S7-1200 modules
Easy Book
Manual, 01/2015, A5E02486774-AG 19
1.3
S7-1200 modules
Table 1- 3 S7-1200 expansion modules
Type of module
Description
The CPU supports one plug-in expansion
board:
•A signal board (SB) provides additional
I/O for your CPU. The SB connects on
the front of the CPU.
•A communication board (CB) allows
you to add another communication port
to your CPU.
•A battery board (BB) allows you to
provide long term backup of the
realtime clock.
①
Status LEDs on the SB
②
Removable user wiring connector
Signal modules (SMs) add additional func-
tionality to the CPU. SMs connect to the
right side of the CPU.
•Digital I/O
•Analog I/O
•RTD and thermocouple
•SM 1278 IO-Link Master
①
Status LEDs
②
Bus connector slide tab
③Removable user wiring connector
Communication modules (CMs) and
communications processors (CPs) add
communication options to the CPU, such
as for PROFIBUS or RS232/RS485 con-
nectivity (for PtP, Modbus or USS), or the
AS-i master.
A CP provides capabilities for other types
of communication, such as connecting to
the CPU over a GPRS, IEC, DNP3, or
WDC network.
•The CPU supports up to three CMs or
CPs
Introducing the powerful and flexible S7-1200
1.4 Basic HMI panels
Easy Book
20 Manual, 01/2015, A5E02486774-AG
Type of module
Description
•
Each CM or CP connects to the left
side of the CPU (or to the left side of
another CM or CP)
①
Status LEDs
②Communication connector
1.4
Basic HMI panels
The SIMATIC HMI Basic Panels provide touch-screen devices for basic operator control and
monitoring tasks. All panels have a protection rating for IP65 and have CE, UL, cULus, and
NEMA 4x certification.
The available Basic HMI panels are described below:
●KTP400 Basic: 4" Touch screen with 4 configurable keys, a resolution of 480 x 272 and
800 tags
●KTP700 Basic: 7" Touch screen with 8 configurable keys, a resolution of 800 x 480 and
800 tags
●KTP700 Basic DP: 7" Touch screen with 8 configurable keys, a resolution of 800 x 480
and 800 tags
●KTP900 Basic: 9" Touch screen with 8 configurable keys, a resolution of 800 x 480 and
800 tags
●KTP1200 Basic: 12" Touch screen with 10 configurable keys, a resolution of 800 x 480
and 800 tags
●KTP 1200 Basic DP: 12 Touch screen with 10 configurable keys, a resolution of 800 x
400 and 800 tags

Other manuals for SIMATIC S7-1200

11

Other Siemens Controllers manuals

Siemens Simatic SM331 User manual

Siemens

Siemens Simatic SM331 User manual

Siemens SIKOSTART 3RW34 Manual

Siemens

Siemens SIKOSTART 3RW34 Manual

Siemens SINUMERIK 802D sl Owner's manual

Siemens

Siemens SINUMERIK 802D sl Owner's manual

Siemens Stratos Outstation User manual

Siemens

Siemens Stratos Outstation User manual

Siemens Automatic Star-Delta 3TE05 2AR0 Series User manual

Siemens

Siemens Automatic Star-Delta 3TE05 2AR0 Series User manual

Siemens TIM 1531 IRC User manual

Siemens

Siemens TIM 1531 IRC User manual

Siemens 3RE4 User manual

Siemens

Siemens 3RE4 User manual

Siemens SIRIUS 3RA1.5 User manual

Siemens

Siemens SIRIUS 3RA1.5 User manual

Siemens SSA955 User manual

Siemens

Siemens SSA955 User manual

Siemens SIMATIC S5-100U User guide

Siemens

Siemens SIMATIC S5-100U User guide

Siemens SIPART DR19 User manual

Siemens

Siemens SIPART DR19 User manual

Siemens Powermite 599 Series Owner's manual

Siemens

Siemens Powermite 599 Series Owner's manual

Siemens ECOFAST 3RK1303 S AA Series User manual

Siemens

Siemens ECOFAST 3RK1303 S AA Series User manual

Siemens Desigo PXC4.M16 User manual

Siemens

Siemens Desigo PXC4.M16 User manual

Siemens RWF40 Series User manual

Siemens

Siemens RWF40 Series User manual

Siemens OpenAir GQD Series User manual

Siemens

Siemens OpenAir GQD Series User manual

Siemens SIMATIC User manual

Siemens

Siemens SIMATIC User manual

Siemens RWB27 Timeswitch User manual

Siemens

Siemens RWB27 Timeswitch User manual

Siemens Simatic S7-1500R Technical Document

Siemens

Siemens Simatic S7-1500R Technical Document

Siemens POLYCOOL RWR470.10 Operator's manual

Siemens

Siemens POLYCOOL RWR470.10 Operator's manual

Siemens GBB 1E Series User manual

Siemens

Siemens GBB 1E Series User manual

Siemens SIRIUS M200D User manual

Siemens

Siemens SIRIUS M200D User manual

Siemens MEC 1100 User manual

Siemens

Siemens MEC 1100 User manual

Siemens OpenAir GMA 1 Series User manual

Siemens

Siemens OpenAir GMA 1 Series User manual

Popular Controllers manuals by other brands

Redarc Tow-Pro Elite manual

Redarc

Redarc Tow-Pro Elite manual

RKC INSTRUMENT CB Series Connection manual

RKC INSTRUMENT

RKC INSTRUMENT CB Series Connection manual

RYTEC System 4 Installation & owner's manual

RYTEC

RYTEC System 4 Installation & owner's manual

RoboteQ FBL2360 manual

RoboteQ

RoboteQ FBL2360 manual

DOLD Safemaster Pro user manual

DOLD

DOLD Safemaster Pro user manual

SMSC USB2242 datasheet

SMSC

SMSC USB2242 datasheet

Alcor Micro AU6475 Technical reference manual

Alcor Micro

Alcor Micro AU6475 Technical reference manual

Alpha Group OutBack Power FLEXmax Series owner's manual

Alpha Group

Alpha Group OutBack Power FLEXmax Series owner's manual

ITW Dynatec DPC2 Operation and service manual

ITW Dynatec

ITW Dynatec DPC2 Operation and service manual

Shinko PCA1 instruction manual

Shinko

Shinko PCA1 instruction manual

Chromalox IntelliTrace ITC 1 Installation & operation manual

Chromalox

Chromalox IntelliTrace ITC 1 Installation & operation manual

BARTH Elektronik STG-65 manual

BARTH Elektronik

BARTH Elektronik STG-65 manual

Festo CMMS-AS-G2 Series Description

Festo

Festo CMMS-AS-G2 Series Description

Bernard Controls FSE Series Startup guide

Bernard Controls

Bernard Controls FSE Series Startup guide

LIXiSE LXC31X0 Series user manual

LIXiSE

LIXiSE LXC31X0 Series user manual

Lumel re72 series User Manual & Quick Start

Lumel

Lumel re72 series User Manual & Quick Start

Toshiba BMS-CT5121E owner's manual

Toshiba

Toshiba BMS-CT5121E owner's manual

LS ELECTRIC XBM-DN16/32S installation guide

LS ELECTRIC

LS ELECTRIC XBM-DN16/32S installation guide

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.