Sce 011 100 Unspecific Hardware Configuration s7 1200 r1709 en
Sce 011 100 Unspecific Hardware Configuration s7 1200 r1709 en
Sce 011 100 Unspecific Hardware Configuration s7 1200 r1709 en
DocumentSiemens Automation
Cooperates with Education (SCE) | From Version
V14 SP1
TIA Portal Module 011-100
Unspecified Hardware Configuration
with SIMATIC S7-1200
siemens.com/sce
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved.
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Note that these trainer packages are replaced with successor packages when necessary.
An overview of the currently available SCE packages is available at: siemens.com/sce/tp
Continued training
For regional Siemens SCE continued training, get in touch with your regional SCE contact
siemens.com/sce/contact
This document is to be used only for initial training on Siemens products/systems, which means it can be
copied in whole or part and given to those being trained for use within the scope of their training.
Circulation or copying this Learn-/Training Document and sharing its content is permitted within public
training and advanced training facilities for training purposes.
Exceptions require written consent from the Siemens AG contact person: Roland Scheuerer
[email protected].
Offenders will be held liable. All rights including translation are reserved, particularly if a patent is granted
or a utility model or design is registered.
Use for industrial customer courses is explicitly not permitted. We do not consent to commercial use of
the Learn-/Training Document.
We wish to thank the TU Dresden, particularly Prof. Dr.-Ing. Leon Urbas and the Michael Dziallas
Engineering Corporation and all other involved persons for their support during the preparation of this
Learn-/Training Document.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 2
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Table of contents
1 Goal..................................................................................................................................................... 5
2 Prerequisite........................................................................................................................................ 5
4 Theory................................................................................................................................................. 7
4.2 Operator control and display elements of the CPU 1214C DC/DC/DC......................................10
4.3.1 Project................................................................................................................................ 13
5 Task.................................................................................................................................................. 26
6 Planning............................................................................................................................................ 26
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
7.8 Checklist.................................................................................................................................... 44
8 Additional information...................................................................................................................... 45
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 4
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
2 Prerequisite
You do not need any previous knowledge from other chapters to successfully complete this
chapter. You only need an S7-1200 controller and a PC with the STEP 7 Basic V14 (TIA Portal
V14) software.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 5
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
1 Engineering station: requirements include hardware and operating system (for additional
information, see Readme on the TIA Portal Installation DVDs)
3 SIMATIC S7-1200 controller, e.g. CPU 1214C DC/DC/DC with ANALOG OUTPUT SB1232 signal
board, 1 AO – Firmware as of V4.2.1
2 SIMATIC STEP 7
1 Engineering Station Basic (TIA Portal) as of
V14 SP1
4 Ethernet connection
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 6
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
4 Theory
4.1 SIMATIC S7-1200 automation system
The SIMATIC S7-1200 automation system is a modular microcontroller system for the lower
performance range.
A comprehensive range of modules is available to optimally adapt the system to the automation
task.
The S7 controller consists of a power supply and a CPU with integrated inputs and outputs or
additional input and output modules for digital and analog signals.
If necessary, communication processors and function modules are also used for special tasks
such as stepper motor control.
The programmable logic controller (PLC) uses the S7 program to monitor and control a machine
or process. In doing so, the IO modules are scanned in the S7 program using input addresses
(%I) and addressed using output addresses (%Q).
The system is programmed with the TIA Portal Basic or Professional software.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 7
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Central processing units (CPUs) with different performance, integrated inputs/outputs, and
PROFINET interface (e.g. CPU 1214C)
Power supply module (PM) with input 120/230 V AC, 50 Hz / 60 Hz, 1.2 A / 0.7 A and output 24 V
DC / 2.5 A
Signal boards (SBs) for adding analog or digital inputs/outputs, in which case the size of the CPU
remains unchanged. (Signal boards can be used with CPUs 1211C / 1212C and 1214C.)
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 8
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Signal modules (SMs) for digital and analog inputs and outputs (a maximum of 2 SMs can be
used for CPU 1212C and a maximum of 8 SMs for CPU 1214C.)
Communication modules (CMs) for serial communication RS232 / RS 485 (Up to 3 CMs can be
used for CPUs 1211C / 1212C and 1214C.)
SIMATIC memory cards from 2 MB to 32 MB for storing program data and for easy exchange of
CPUs during maintenance.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 9
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Note: Only a single CPU (any type) with integrated digital inputs and digital outputs is needed for
this module.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 10
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The CPU has an integrated TCP/IP connection for communication with a programming device.
The CPU can thus communicate with HMI devices or other CPUs via an Ethernet network.
24 V connection
Plug-in terminal block for user wiring (behind the cover flaps)
Status LEDs for the integrated IO and the operating state of the CPU
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 11
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
– Firmware update of CPUs, signal modules (SMs) and communication modules (CMs)
– In the STOP operating state, the CPU is not executing the program and you can download a
project.
The CPU does not have a physical switch for changing the operating state.
You use the button on the operator panel of the STEP 7 Basic software to change the operating
state (STOP or RUN). The operator panel also contains an MRES button for performing a
memory reset and displays the status LEDs of the CPU.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 12
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The RUN/STOP status LED on the front side of the CPU indicates the current operating state of
the CPU by the color of the display.
There are two additional LEDs here: ERROR LED for indicating errors and MAINT LED for
indicating that maintenance is required.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 13
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
– Basic Panels
STEP 7 Basic V14 provides the following functions for automation of a system:
– Configuration and parameter assignment of the hardware
– Programming
– Documentation
– Creation of visualizations for SIMATIC Basic Panels using the integrated WinCC Basic
software
4.3.1 Project
To implement a solution for an automation and visualization task, you create a project in the TIA
Portal. A project in the TIA Portal contains the configuration data for the configuration and
internetworking of devices as well as the programs and the configuration of the visualization.
The hardware of SIMATIC S7-1200 automation systems comprises the controller (CPU), the
signal modules for input and output signals (SMs), the communication modules (CMs) and other
special-purpose modules.
The signal modules and the field devices connect the input and output data of the process to be
automated and visualized to the automation system.
The hardware configuration enables the downloading of automation and visualization solutions to
the automation system and access to the connected signal modules by the controller.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 14
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The functionality required and the ambient conditions are of vital importance for planning the
hardware configuration. For example, the temperature range in the application area sometimes
limits which devices are available for selection. Fail-safe operation might be another requirement.
The TIA Selection Tool (Select automation technology TIA Selection Tool and follow the
instructions) provides you support. Note: The TIA Selection Tool requires Java.
Note for online research: If more than one manual is available, you should look for the
description "Device Manual", "Product Manual" or simply "Manual" (as opposed to "Function
Manual", "List Manual", "System Manual", etc.) in order to find the device specifications.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 15
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The portal view provides a task-oriented view of the tools for working on the project. Here, you
can quickly decide what you want to do and open the tool for the task at hand. If necessary, a
change to the project view takes place automatically for the selected task.
Figure 1 shows the portal view. At the bottom left, there is an option to switch between this view
and the project view.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 16
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The project view, as shown in Figure 2, is used for hardware configuration, programming,
creation of the visualization and many other tasks.
By default, the project view displays the menu bar with the toolbars at the top, the project tree
with all components of a project on the left and the so-called "task cards" with instructions and
libraries, for example, on the right.
If an element (for example, the device configuration) is selected in the project tree, it is displayed
in the center and can be worked on there.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 17
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Users can specify their own default settings for certain settings in the TIA Portal. A few
important settings are shown here.
In the project view, select the ® "Options" menu and then ® "Settings".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 18
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
One basic setting is the selection of the user interface language and the language for the
program display. In the curriculums to follow, "English" will be used for both settings.
Under "General" in "Settings", select ® "User interface language ® English" and "Mnemonic
® International".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 19
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
To program the SIMATIC S7-1200 controller from the PC, the programming device or a laptop,
you need a TCP/IP connection or an optional PROFIBUS connection.
For the PC and SIMATIC S7-1200 to communicate with each other via TCP/IP, it is important that
the IP addresses of both devices match.
First, we show you how to set the IP address of a PC with Windows 7 operating system.
Locate the network icon in the taskbar at the bottom and click ® "Open Network and
Sharing Center".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 20
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
In the open Network and Sharing Center window, click ® "Change adapter settings".
Select the desired ® "Local Area Connection" that you want to use to connect to the
controller and click ® "Properties".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 21
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
You can use the following address, for example ® IP address: 192.168.0.99 ® Subnet mask
255.255.255.0 and accept the settings (® "OK")
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 22
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Select the Totally Integrated Automation Portal for this, which is opened here with a double-
click (®® TIA Portal V14)
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 23
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
In the project tree under "Online access", select the network adapter that was set
previously. If you click "Update accessible devices" here, you see the IP address (if
previously set) or the MAC address (if IP address not yet assigned) of the connected
SIMATIC S7-1200. Select "Online & diagnostics" here.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 24
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Under "Functions", you now find the "Assign IP address" item. Enter the following IP
address here (example): ® IP address: 192.168.0.1 ® Subnet mask 255.255.255.0. Click
"Assign IP address" and this new address will be assigned to your SIMATIC S7-1200.
If the IP address was not successfully assigned, you will receive a message in the "Info"
window under "General".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 25
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
If the IP address could not be assigned, the program data on the CPU must be deleted. This
is done by resetting the CPU. To reset the controller, select the "Reset to factory settings"
function and click "Reset".
Confirm the prompt asking if you really want to reset the module with "Yes".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 26
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
5 Task
Create a project and add the modules of the existing hardware (here: Trainer Package SIMATIC
S7-1200 with CPU 1214C) by using the automatic hardware detection of the TIA Portal. The
following modules must be detected:
6 Planning
Because this is a new system, a new project must be created.
The hardware for this project is already specified by the existing hardware (here: SIMATIC S7-
1200 Trainer Package). Therefore, a selection does not have to be made. Instead, the listed
modules of the Trainer Package are detected directly. The order numbers (see Task or Table 1)
can be used for checking purposes.
The Ethernet interface must be set for the configuration of the CPU. For the digital and analog
inputs and outputs, the address areas corresponding to Table 1 will be set.
DQ 0.0 - 1.1
AI 64 / 66
As the final step, the hardware configuration must be compiled and downloaded. Any errors
present can be detected during compiling and incorrect modules can be detected when the
controller is started (only possible when hardware is present and installed identically).
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 27
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
In the portal view under the "Start" menu, select the command "Create new project".
Modify Project name, Path, Author and Comment as appropriate and click "Create".
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 28
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The project will be created and opened and the menu "Start", "First steps" will open
automatically.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 29
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The "Show all devices" menu opens in the "Devices & Networks" portal.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 30
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 31
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Create a new CPU. Use an unspecified model of the S7-1200 CPU with order number 6ES7
2XX-XXXXX-XXXX for this.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 32
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Click "Add".
The TIA Portal now switches automatically to the project view and displays a notice there that
this device is not specified. In order to have the hardware configuration automatically
detected, start detection by clicking "detect" in the yellow information box ( detect).
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 33
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Select the type of your PG/PC interface ( Type of the PG/PC interface: PN/IE).
You can now select the network adapter you want to use to establish an Ethernet connection
with the PLC ( PG/PC interface: Intel(R) Ethernet Connection (4) I219-LM).
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 34
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The search for devices in the network must be started by clicking the button.
All accessible nodes are found and listed. If you have selected the correct CPU, the
corresponding CPU and all the connected modules will be detected when you click "detect".
Note: If the list does not contain your CPU, ensure that you have selected the correct network
adapter and have established a connection between the laptop and CPU.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 35
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The TIA Portal shows the complete device configuration of the selected CPU with signal
board SB1232, 1 AO.
Note: You can now configure the CPU according to your specifications there. Possible settings
include the PROFINET interface, startup characteristics, cycle, password protection,
communication load and many more.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 36
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Under "Properties", open the "PROFINET interface [X1]" menu and select the
"Ethernet addresses" entry.
Under "Interface networked with", only the "Not networked" entry is available.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 37
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 38
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Note: To show and hide the Device overview, you need to click the small arrow next to "Device
data" on the right side of the hardware configuration.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 39
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
button. To compile your CPU with the device configuration, first select the
Note: "Save project" should be used again and again when working on a project since this does
not happen automatically. A prompt to save the project only occurs when the TIA Portal is closed.
If the project was compiled without errors, you see the following screen.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 40
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The manager for configuring the connection properties (extended download) opens.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 41
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 42
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
First, the interface must be correctly selected. This happens in three steps.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 43
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The "Show all compatible devices" check box must be selected. The search for devices in
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 44
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
If your CPU is shown in the "Compatible devices in target subnet" list, you must select it. The
download can then be started ( CPU 1214C DC/DC/DC "Load").
You first obtain a preview. Confirm the prompt "Overwrite all" and continue with "Load".
Note: The symbol should be visible in every line of the "Load preview". You can find additional
information in the "Message" column.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 45
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
The "Start all" option will be selected next before the download operation can be
completed with "Finish".
After a successful download, the project view will open again automatically. A loading report
appears in the information field under "General". This can be helpful when troubleshooting an
unsuccessful download.
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 46
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Select a folder where you want to archive your project and save it as file type "TIA Portal
project archive" ( "TIA Portal project archive" "SCE_EN_011-100_Unspecified hardware
configuration_S7-1200" "Save").
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 47
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
7.8 Checklist
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 48
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
8 Additional information
More information for further practice and consolidation is available as orientation, for example:
Getting Started, videos, tutorials, apps, manuals, programming guidelines and trial software /
firmware, under the following link:
www.siemens.com/sce/s7-1200
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 49
667152176.docx
Learn-/Training Document | TIA Portal Modul 011-100, Edition 2018 | Digital Factory, DF FA
Further Information
Siemens AG
Digital Factory
P.O. Box 4848
90026 Nuremberg
Germany
siemens.com/sce
For unrestricted use in educational / R&D institutions. © Siemens AG 2018. All rights reserved. 3
667152176.docx