0% found this document useful (0 votes)
70 views

Module 1 - Intuitive Development - V14

This document provides an overview of the TIA Portal software and the equipment used in a hands-on lab to demonstrate intuitive development capabilities. It describes the structure and use of libraries, tasks to configure hardware including auto-detecting a S7-1500 PLC, and a module objective to experience efficient engineering with integrated PLCs, HMIs and drives.

Uploaded by

judas amavizca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Module 1 - Intuitive Development - V14

This document provides an overview of the TIA Portal software and the equipment used in a hands-on lab to demonstrate intuitive development capabilities. It describes the structure and use of libraries, tasks to configure hardware including auto-detecting a S7-1500 PLC, and a module objective to experience efficient engineering with integrated PLCs, HMIs and drives.

Uploaded by

judas amavizca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 98

Introduction to the TIA Portal V14, S7-1500,

and StartDrive
Beginners course to utilizing TIA Portal

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved. usa.siemens.com//answers


TIA Portal

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 2 December 19, 2018
Totally Integrated Automation –
Discover efficiencies with the TIA Portal

Totally Integrated Automation Portal

STEP 7 V14 Safety V14 WinCC V14 Startdrive V14

SIMATIC PC & PLC Safety SIMATIC HMI SINAMICS

Single engineering framework for factory automation


Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.
Page 3 December 19, 2018
TIA Portal editor layout

Main Menu Bar

Task Cards –
HW Catalog

Editor view –
Project Tree – PLC, HMI
Device & Networks
and Drive project data

Inspector
Window

Status Bar
TIA Portal editor layout

Editor view – PLC


Programming editor
Task Cards –
Programming
Instructions

Minimized Editors
TIA Portal editor layout

Project Tree –
HMI project data Task Cards –
Screen objects
and tools

Editor view – Screen


development editor
Demo Equipment –
Realizing Engineering Efficiencies Workshop

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 7 December 19, 2018
Demo Equipment –
Realizing Engineering Efficiencies Workshop

SIMATIC HMI 7” Comfort Panel


SIMATIC KP8 Keypad

SIMATIC ET200SP
Remote I/O
SIMATIC S71500 PLC

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


SIMATIC ET200MP I/O
Page 8 December 19, 2018
Demo Equipment –
Realizing Engineering Efficiencies Workshop

SINAMICS G120 Drive

SIMATIC S71200 PLC

Siemens
PROFINET Encoder

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 9 December 19, 2018
Module 1 – Intuitive Development
Lab Exercise
Module 1 Objectives

▪ Goal:
Demonstrate the reduction in engineering time needed to configure an
automation system with PLCs, HMIs, and drives.
▪ Main takeaways for Module 1:
1. A clear understanding of how the TIA Portal can integrate PLCs, HMIs, and drives in ONE
software environment.
2. Understand how the library feature can help reuse program parts that have already
been developed.
3. Experience how a project with PLCs, HMIs, and drives can be configured and working in a
short amount of time.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 11 December 19, 2018
Background Information
Structure of Libraries

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Types of Libraries

▪ 2 Kinds of Libraries
1. Project Library
• Unique for each project
• Attached to the project (opened, closed, and
save with the project) Types
2. Global Library
• Independent from projects
Types
• For cross-project use of objects Master copies
• Can be saved on local PC or on a company server

▪ Elements Master copies

• Master copies: Work as a clipboard Project library

• Type: Instance principle


Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.
Global library
Page 13 December 19, 2018
What Makes Up Libraries

▪ Elements that can be stored in a Library:


• Program blocks
Project library
• Devices (PLC, HMI, etc.)
• Watch tables Additional folders for
organization
• Data types
• Templates Global libraries
• Variables
• HMI screens Elements in a library
are divided in types &
• Scripts master copies

• Alarms
• Many others… Parts of the selected
element are shown
Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.
Page 14 December 19, 2018
How to Implement Libraries

An existing object can be


copied to a library simply by
Drag & Drop

Master copies can also be


copied from one library to
The object can then be reused another
in other parts of the project or
other projects

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 15 December 19, 2018
Configuring the Hardware
Tasks to set up the hardware for the Module

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Task 1

▪Objective:
▪Configure the PLC hardware.
▪Overview:
1. Retrieve a project and add an Unspecified CPU S7-1500.
2. Use auto-detect to find the S7-1500 Tour Kit.
3. Configure the CPU and local I/O properties.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 17 December 19, 2018
1. Open TIA Portal V14 and Switch to “Project View”
if it’s not already open.
1. Retrieve Project
1. “Module 1 Seed Project_V14.zap14” file is located
in Documents > Labs > 1515F Seeds > Module 1 -
Intuitive Development > Module 1 Seed Project
1. Select the “Trainee Project” folder under My
Documents or C:
2. Click OK

2
1
4

1. Double click on “Add new device” in the


Project tree to bring up window.
2. Select “Controllers”.
3. Select “6ES7 5XX-XXXXX-XXXX” under
3 Controllers > SIMATIC S7-1500 > CPU >
Unspecified CPU 1500.
4. Keep the name “PLC_1”.
5 6
5. Make sure “Open device view” is checked.
6. Click “OK”.
1

The new device view for PLC_1 is now opened:


1. Select the option “Detect”.

Customer Benefit -> Auto-detect feature


The Auto-detect feature allows the user to easily get started with a project by
“detecting” the real hardware connected to the PLC, and not having to
manually configure each device from the Hardware Catalog
2

4
Once the search is done:
4. Click on the “plc_1.profinet
interface device”.
3
5. Select “Detect” and the window
will close.

1. If the PG is connected properly, then the Hardware detection


5
dialog appears as shown. If not, select the correct PG/PC
interface for your computer.
2. Verify that “Type of the PG/PC interface” and “PG/PC interface”
matches what is shown. Some PG’s may use “Intel(R)
82579LM” instead.
3. Click “Start search”.
1

View of S7-1500 PLC in “Device view” after auto-detection.


Shows the devices connected to PLC_1 through interface.
1. Now open the properties for PLC_1. This can be done
by either double clicking on the device or by right
clicking and selecting “Properties”.
Now the box at the bottom of the screen will change to
show properties.
*Note that this window can be resized by clicking on and
sliding the black bar up and down.
1. Select the “System and clock memory” option in the
Properties list under the “General” Tab.
2. Check the “Enable the use of system memory byte”
box and use memory byte “101”.
3. Check the “Enable the use of clock memory byte”
box and use memory byte “100”.
Here we are configuring these System and Clock memory
* bits now as they are used in later labs.

2
1

3
1. Now within the same Properties section under the
General Tab, select the “Protection & Security”
option.
2. Enable “Full access incl. fail-safe (no protection)”.

1
1. Now still within the same Properties section under
the General Tab, select the “Fail-safe” option.
2. Click “Enable F-activation”.
Once you click the button, the program will process for
a few moments and then the button will say “Disable F-
activation”.

2
1

1. Now open “Safety Administration” in the Project


tree under PLC_1.
2. Open “F-runtime group” and ensure that there is an
F-runtime group in the project. If so, it will look like
the above.
Note: If you see the F-runtime group above, skip to
slide 32. The runtime group should have been created
for you when you enabled safety, but it might not show
up if you enabled and then disabled F-activation again.
The next two slides will create a runtime group.
1

1. Open “F-runtime group” and click “Add new F-


runtime group.”
1. Make sure “Add new and open”
is checked and press OK.
You should now see the same screen
as from Slide 29.
Task 2

▪Objective:
▪Configure the Remote I/O and Project Library.
▪Overview:
1. Create a new library object
• Open the Project Library and place the analog input module in the Master Copies
section.
2. Use preconfigured library objects
• Add 4 preconfigure devices and connect to the PROFINET network.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 32 December 19, 2018
1

1. Select “Device configuration” under PLC_1 in the


Project tree. This will open the device view of PLC_1.
Background Information -> How is a Library object created?
An existing object (PLC block, HMI screen or I/O module) can be copied to a
library by a simple drag and drop. In this module we will create an example
library object using the analog module in the central rack of the PLC.

3
1

1. Select the “Libraries” on the far right hand side of the screen.
2. Then open “Master copies” under Project library.
3. Click the actual analog input module, AI, and drag and drop it into
Master copies folder in the Project library (it will appear as shown).
If you hover the module over “Master copies” it will highlight blue and
you can drop it there to ensure it doesn’t go in any of the other folders.
Customer Benefit -> How can a Library object be reused?
1
Library objects that were previously saved to the Project library or Global
library can be copied back into the existing project via drag and drop.
For this lab exercise, we will copy a library object that contains four
preconfigured devices used with the demo kits – the ET200SP remote I/O
station, KP8 Pushbutton Device, S7-1200 PLC and G120 Drive

1. Select the “Network view” tab.


2. Under the Project library, select “Devices” in Master
Copies > Module 1.
1. Drag and drop the four preconfigured devices one at a
time into the Network view
1. Four new devices appear as shown
*The order does not particularly matter
*You can collapse the Network Data
window for more space.

Customer Benefit -> How to now network these devices together?


TIA Portal offers a graphical networking of several devices by simply “drawing” the
connection between the devices. The networking technology at the core of this efficiency
is PROFINET, the open industrial Ethernet standard for automation.
▪ PROFINET allows us to leverage the bandwidth and flexibility (e.g. wireless, safety,
motion) of Ethernet while maintaining the determinism and performance necessary
for automation.
▪ PROFINET is an open technology, integrating a 3rd party Profinet device simply
requires importing the hardware descriptor file(GSD) into the TIA Portal software
1

Connecting the Devices over Profinet:


Assign the G120 Drive to the S7-1500 PLC.
1. Click and hold on the right Ethernet port of the S7-1500 (PLC_1), and drag and drop
the line to the G120 Drive Ethernet port. Note: The CPU module port is also shown.
Note: The left Ethernet port on the CPU and the Ethernet port on the CP 1543-1 module
do not support PROFINET devices.
1

Note – be sure to select the right


Ethernet port on the S7-1500.
If you lift up the display on the S7-1500
PLC, you will see it is labelled “X1”
1

Connecting the Devices over Profinet:


Now assign the KP8 key panel, the ET200SP and the S7-1215 CPU to
the S7-1500 PLC.
1. Selecting the right Ethernet port of the S7-1500 (PLC_1), drag and
drop the line to the Ethernet port on each of the other devices. Be
sure to start from PLC_1 each time.

Note – when assigning the other devices to the


S7-1500, be sure to begin the drag and drop
from the right Ethernet port on the S7-1500.
1

1. Select the “Show address labels” option


on the editor toolbar to view the IP
addresses of the devices.
2. Verify all IP addresses are as shown.

Customer Benefit -> Library objects and their properties


After enabling the option to “Show address labels” you can see that the four
devices that were added to the project from the library, have kept the IP address
(and any other properties) that they had when they were first added to the
library.
Customer Benefit -> Easy verification of target devices to be loaded:
When downloading to a system for the first time this dialog will appear, which shows the
2 offline data selected for downloading, the PC interface and the actual target device
which will be loaded. The user can easily verify the target device to be loaded by using
the Flash LED feature of this dialog.

4
1. Select PLC_1 in the Project tree.
2. Click the “Download” button.
3. Your PG/PC interface may be “Intel(R) 82579L” as well if you
are using a different port. If one doesn’t work, use the other. 5
4. Click “Start search”.
5. Once the device is found, click “Load”.
Depending on the current state of the RE Kit you are using, this box
may pop up after compiling.
1. Select “Continue without synchronization”.

1
This box may also appear based on state of the RE Kit you are
using.
1. Select “Stop all” from the drop down menu.
2. Select “Load”.

2
Then if this box appears, do the following:
1. Make sure “Start all” is checked.
2. Select “Finish”.

2
1

Now the S7-1500 has the most recent code loaded onto it.
1. Double click the ET200SP (IO device 1) to open the
device view.
1

1. Right click the ET200SP module (IO device_1).


2. Select “Assign PROFIsafe address”.

2
1

1. Verify the interface settings are correct for


the port you are using.
2. Check the boxes for both Safety IO modules.
3. Click “Identification”.
1
2

1. Once the modules are identified, check to see if the F-destination address
has already been assigned.
2. If the address has not been assigned, check the boxes to confirm that you 3
want to set the F-destination address for the modules. If they have been
assigned, you can skip to step 4.
3. Click “Assign F-destination Address”.
4
4. Once the addresses have been assigned, the status will update to
“assigned”. Now click “Close.
1

1. Save project.
Task 3

▪Objective:
Use the Project Library to add preconfigured PLC tags and

then add some test logic.


▪Overview:
1. Add preconfigured PLC tag tables for the Project Library.
2. Add test logic for potentiometers on the demo kits.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 50 December 19, 2018
1

3
4

Adding Preconfigured PLC tags from the Project library:


1. Verify the PLC_1 subfolders are visible as shown.
2. Select the “Libraries” tab on the far right of the screen.
3. Select “PLC Lab Tags” in Project library > Master copies >
Module 1 > PLC – Blocks and Tags.
4. Click and hold, then drag and drop on the “PLC tags”
subfolder in the Project tree for PLC_1.
2

Adding Preconfigured PLC code blocks from Library:


1. Now select “Test and Interface control” in the same Project library
folder directory as “PLC Lab tags”.
2. Click and hold, then drag and drop on the “Program blocks”
subfolder in the Project tree for PLC_1.
4

3
2

1
1. Verify the material you added to PLC_1 has appeared as shown.
2. Now open “Main [OB1]” under PLC_1 in the Project tree.
3. Once you open it, you may have to resize the window by sliding
the indicated bar up or down.
4. You also only need to have the “Basic instructions” within the
“Instructions” tab showing. You can minimize the other instruction
types by clicking the arrow text to the name.
2 1

Add test logic to main cyclic program:


1. Select “SCALE” instruction in Basic instructions > Conversion
operations > Legacy.
2. Click and hold, then drag and drop “SCALE” in “Network 1”
where the green box pops up.
Note: The green box indicates where the instruction will placed.
It should now look like the below.
1. Select another “SCALE” instruction from the
same location.
2. Drag and drop it right below the first “SCALE”
block.

2
1. Click on the question marks and begin typing
the appropriate tag name. Intelisense will
populate a list as you type and you can pick
the analog potentiometer inputs and scaled
real value outputs from the preconfigured tag
table:
Upper potentiometer on kit:
POT1_Upper_1500 => POT1_Upper_Real
Lower potentiometer on kit:
POT2_Lower_1500 => POT2_Lower_Real

2. Input all other values as shown.

2
1

1. Save project.
Task 3

▪ Objective:
▪ Add a HMI Panel.
▪ Overview:
1. Add a Comfort Panel HMI to the project.
2. Use the HMI Device Wizard to connect it to the S7-1500 PLC and
PROFINET Network, and to create default screens and screen navigation.
3. Add a preconfigured HMI tag table from the Project Library.
4. Add a preconfigured HMI screen from a Reference Project.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 58 December 19, 2018
1
5

3
2

1. Select “Add new device” from the Project tree.


2. Select “HMI” option in dialog.
3. Select the 7” TP700 Comfort panel by navigating
through the folders as shown.
4. Select Start device wizard if not already checked.
5. Leave the default name “HMI_1”.
6. Click “OK”.
4 6
Customer Benefit -> Easy setup and configuration of HMIs
The HMI Device Wizard allows for fast and easy setup and configuration of HMI
devices. When complete, the wizard will have inserted a HMI into the project that is
networked to the desired PLC, contains default screens with navigation, along with
alarm controls and system screens.

Working with the HMI Device Wizard: 2


1. Select PLC_1 from the “Browse…” drop down to
connect the PLC to the HMI.
2. Click the green check to complete the selection.
Customer Benefit -> HMI Drivers to Siemens and 3rd Party PLCs
In this use case we are using the HMI Device Wizard to easily connect the Siemens
Comfort Panel HMIs to a Siemens S7-1500 PLC over Profinet. Note, these HMIs
also support many other drivers (e.g. Ethernet IP) to connect to 3rd party PLCs.

Working with the HMI Device Wizard:


1. Set “Interface” to “ETHERNET”.
2. Click “Next >>”.
1

Step through the HMI Device Wizard:


1. Accept defaults as shown. Click “Next >>”.
1

Step through the HMI Device Wizard:


1. Accept defaults as shown. Click “Next >>”.
Customer Benefit -> Easy default screen creation and navigation
The HMI Device Wizard allows for easy default screen creation, with navigation
between the screens already added. Note, the system also remembers the screen
navigation the last time the wizard was run, so the layout below may already be
shown when you come to this step

Use the HMI Device Wizard to create screen navigation for 3


later labs:
1. If already set up properly, skip to Step 3. Add 3
Screens by clicking on “+” in the “Root screen” box.
2. Rename the screens as shown (Diagnostic, IO Test
Screen, and Conveyor).
3. Click “Next >>”.
1

2
3

Let the HMI Device Wizard create system screens:


1. Check the System Screen.
2. Make sure “Select all” is checked.
3. Click “Next >>”.
1

Step through the HMI Device Wizard:


1. Accept defaults as shown. Click “Finish”.
1

1. TP700 Comfort appears as shown.


3

1
Adding Preconfigured HMI tags from Library: 2
1. Scroll down in the Project tree so that you can see the
4 HMI_1 folder.
2. Select the “Libraries” tab on the far right side.
3. Select “HMI Lab Tags” in the Project library under Master
copies > Module 1 > HMI – Screens and Tags
4. Drag and drop it on “HMI tags” in the Project tree for HMI_1
Customer Benefit -> Easily copy project components between projects via the
“Reference Project” feature:

1 Up to now we have been using the “Libraries” feature to easily add preconfigured
project components (SW and HW) to the existing project. But what if we want to
simply copy project parts from an old project to a new project?
We can easily do this via the “Reference Project” feature, with the advantage that it
avoids having to open up two instances of the TIA Portal software to do the copy and
paste.

Use the “Reference Project” feature to replace the “IO Test Screen” with
2
a preconfigured screen from another project:
1. Under View, check “Reference projects”.
3
2. Select the “Open Reference Project Folder” button.
3. Open “Reference Project 1” in Documents > Labs > Module 1 -
Intuitive Development > Reference Project 1.
2

Replace the IO Test Screen with a preconfigured screen from a Reference


Project:
1. In the Reference Project 1 tree select HMI_1 > Screens > IO Test screen.
2. Drag and drop the “IO Test Screen” from the Reference Project to the
1 “Screens” folder in the Module 1 Seed Project tree under HMI_1.
3. Select “Replace existing objects and move to this location”.
4. Click “OK”.
3
1

2 1. Go to IO Test Screen and verify that it appears as


shown.
2. Close the Reference Project by clicking the
“Close Reference Project Folder” button.
3. Uncheck “Reference projects” in the View menu.
1

1. Save project.
Download and Test Hardware
Tasks to load software and test its functionality

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Task 5

▪ Objective:
▪ Download the CPU and HMI projects.
▪ Overview:
1. Compile the S7-1500 CPU, S7-1200 CPU, and TP700.
2. Download to the S7-1500 CPU, S7-1200 CPU, and TP700 in one step.
3. Test the CPU logic.
4. Use the HMI to test the demo hardware.

(The G120 Drive will be tested in Module 2.)


Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.
Page 74 December 19, 2018
3

1. The tab at bottom of screen can be used to quickly


switch between editor windows that are open. Go
back to Main (OB1) by selecting that tab at the bottom
of screen.
2. Select the 2 CPUs and HMI in the Project tree. Use the
Ctrl key to select PLC_1, PLC_2, and HMI_1. It also
helps to collapse all the folders so it’s easy to see as
shown.
3. Select the “Compile” button to compile all the
1 devices.
Customer Benefit -> Downloading to multiple devices at one time:
The user has the option to select to download to each device one at a time, OR they
1 can multi-select the devices in the Project tree to download to all devices in one step.

4
2

1. With PLC_1, PLC_2, and HMI_1 still selected, select the “Download” button on the main toolbar (next to “Compile”).
2. Make sure the correct PG/PC interface is correct for your PG.
3. Select “Start search”.
4. Note which device you are downloading to make sure you find the correct device.
Customer Benefit -> Easy verification of target devices to be loaded:
When downloading to a system for the first time this dialog will appear, which shows the
offline data selected for downloading, the PC interface and the actual target device
which will be loaded. The user can easily verify the target device to be loaded by using
the Flash LED feature of this dialog.

These should be similar.

1. Verify the correct device is detected and listed as the target device for downloading.
2. Select “Load”, and then repeat process for remaining devices.
4
1

Depending on the state of the kit you are using, the shown box may
appear: 2
1. In Load preview dialog, if Synchronization prompt arises, select
Action “Force download to device”.
3
2. Check “Overwrite all” action if it appears.
3. Check “Fit” action if it appears.
4. Select “Stop all” action if it appears.
5. Select “Load” to download to all three devices.
1

1. Verify that both “Start all” Actions are checked.


2. Select “Finish” to put the CPU in the Run mode.
Note: There may be an ERROR from the G120 Drive. Press the Blue
button next to the drive to acknowledge the error. This is because we
have not yet downloaded to the drive.
Go online and test running code: 2
1. Open the “Main” window from tab at the
bottom of the screen. Or access it from the
project tree under PLC_1 > Program blocks.
2. If the “Info” screen is up, minimize it by
clicking the upside down triangle.

1
1

Go online and test running code:


1. Click the “Monitoring On/Off” button. The
block will then go online.
Go online and test running code:
1. Test that the 2 potentiometers work. You
should see the values changing as you turn
the knob.

1
HMI and KP8 Panel View

1. On the HMI panel, go to the IO Test Screen by


touching the “IO Test Screen” button.
2. Test the buttons, potentiometer, and lights.
Unrestricted © Siemens Industry, Inc. 2014 All rights reserved. 3. Press Back button to return to the Home screen.
Page 83 December 19, 2018
2

1. Select “PLC_1” in the Project tree.


2. Select “Go offline”. The orange banners should
return the normal color.
Establish PLC Communications
Tasks to set up communication line from PLC to PLC

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Task 6

▪ Objective:
Configure and test PLC to PLC communications between the S7-1500 and S7-

1200 via I-Device.


▪ Overview:
1. The I-Device feature allows for easy PLC to PLC communications WITHOUT having
to write dedicated communication blocks in each PLC for the communications
to work.
2. This feature essentially configures a range of input and output addresses in each
PLC that are set aside to handle the data being sent between the PLCs.
3. In this module we will configure an S7-1200 CPU to be an I-Device communicating
with S7-1500 CPU, and then view the data communication in a Watch Table.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 86 December 19, 2018
1
2

Enable the I-Device feature in the S7-1200 PLC:


1. Go to Devices & Networks
2. Double Click on PLC_2
Enable the I-Device feature in the S7-1200 PLC:
1. Double click on the PLC_2 Ethernet Port to
open its properties.
2. Go to General > Operating Mode.
1
3. Check “IO device”.
4. Assign PLC_1 as the Assigned IO Controller.
2
3
4
Enable I-Device -> setting up the IO address ranges for
where data will be sent from the S7-1500 and where
data will be received in the S7-1200.
1. Go to “I-device communication” under General >
Operating mode.
2. Double click on “<Add new>” and then hit enter.

1
2
Customer Benefit -> Easy PLC to PLC communication with NO
communication blocks needed.
The I-Device feature allows the user to configure PLC to PLC
communications as a range of Input and Output addresses in each PLC,
which are set aside for data communications. This means no dedicated
communication blocks need to be added to each PLC.
A use case where this is an advantage is that of an end user who may have Enable I-Device -> setting up the IO address ranges for
separate machines from different OEMs that need to communicate to a main where data will be sent from the S7-1500 and where
PLC on their production line. If the I-Device feature is enabled on the OEM data will be received in the S7-1200
machines, then they can be easily connected at different times and have
communications working, WITHOUT having to make code changes to the 1. Type in “Q100” in the “Address in IO” box.
main PLC running the production line. 2. Type in “I4” in the “Address in I-device” box.
3. Set length to “2 Byte”. It should now look as
shown.

1 2 3
2

Compile both PLCs:


1. Select PLC_1 and PLC_2 using
the Ctrl key.
2. Click the “Compile” button.
Download to PLCs:
1
1. Click the “Download” button.
2. Click “Load”.

2
1

Download the PLCs:


1. Make sure “Start all” is selected for both PLC_1 and
PLC_2.
2
2. Click “Finish”.
Note: There maybe an ERROR from the G120 Drive. Press the
Blue button next to the drive to acknowledge the error. This
is because we have not yet downloaded to the drive.
2

1
Monitor data values in the S7-1500 (PLC_1) by configuring a Watch
Table:
1. In the PLC_1 device tree go to “Watch and force tables” and
click on “Add new watch table”.
2. Enter Address “%QB100”, which is the output address from
the S7-1500.
1
5

Open S7-1200 (PLC_2) Tag Table in Split Screen:


1. Select the Split Screen button.
2. Select “Demo Case [10]” Tag Table in the Project tree
under PLC_2 > PLC tags > Demo Case.
3. Verify the I-Device Tag is at address “%IB4” which is the
2 input address into the S7-1200.

Monitor the Watch Table and Tag Table:


4. Select the “Monitor all” button on the “Demo
Case” tag table window for the S7-1200 PLC.

3 5. Select the “Monitor all” button on the watch


table window configured for the S7-1500 PLC.
You may have to select the upper window in
order to click the top “Monitor all.”
2
1
View Communication Between S7-1500 (PLC_1) and S7-1200
(PLC_2) :
1. Enter a new value in the “Modify value” column of the
PLC_1 Watch Table.
2. Select the “Modify all selected values once and now”
button.
3. In the PLC_2 “DemoCase” tag table, verify the value
corresponding to the IDevice Tag has been received
from PLC_1.

3
3 2

1. Select “PLC_1” and “PLC_2”.


1
2. Select “Go offline” button.
3. Click “Save project”.
Siemens Industry Inc. IA FA and DT MC

DISCLAIMER/TERMS OF USE: THE INFORMATION PROVIDED HEREIN IS PROVIDED AS GENERAL


EXAMPLES REGARDING THE USE OF THE APPLICABLE PRODUCTS IN GENERIC APPLICATIONS.
THIS INFORMATION IS PROVIDED WITHOUT WARRANTY. IT IS YOUR RESPONSIBILITY TO
ENSURE THAT YOU ARE USING ALL SIEMENS PRODUCTS PROPERLY IN YOUR SPECIFIC
APPLICATION. ALTHOUGH THIS CONTENT STRIVES TO MAINTAIN ACCURATE AND RELEVANT
INFORMATION, THERE IS NO OFFICIAL GUARANTEE THAT THE INFORMATION PROVIDED
HEREIN IS ACCURATE. IF YOU USE THE INFORMATION PROVIDED HEREIN IN YOUR SPECIFIC
APPLICATION, PLEASE DOUBLE CHECK ITS APPLICABILITY AND BE ADVISED THAT YOU ARE
USING THIS INFORMATION AT YOUR OWN RISK. THE PURCHASER OF THE PRODUCT MUST
CONFIRM THE SUITABILITY OF THE PRODUCT FOR THE INTENDED USE, AND ASSUME ALL RISK
AND LIABILITY IN CONNECTION WITH THE USE.

Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.


Page 98 December 19, 2018

You might also like