By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Tutorial: Siemens Communication between PLCs using I-Device
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Tutorial: Siemens Communication between PLCs using I-Device

Tutorial: Siemens Communication between PLCs using I-Device

Learn the tutorial on how to establish Siemens communication between PLCs using the i-device function to make PLC-to-PLC data transfer.

Last updated: January 3, 2024 12:11 pm
Mahmoud Salama
PLC Tutorials
No Comments
Share
9 Min Read
SHARE

There are many ways where PLCs can communicate and talk to each other, in this article we will talk about one of these methods which is how to establish Siemens communication between PLCs using the i-device function to make PLC-to-PLC data transfer.

Contents
What is the I-Device function?Siemens Communication between PLCsData exchange conceptI-device Configuration optionsI-device configuration within the same PLC projectCreating a transfer areaLoading the PLC project

What is the I-Device function?

The I-Device function can be used to exchange data between two PLCs very easily. An I-Device is simply a PLC that is used as an IO device. That means the PLC will act as an IO module providing inputs and receiving outputs with the other PLC.

I-device function enables PROFINET to communicate not only with subordinate devices like IO controllers, but also IO communication with other higher-level or central controllers as an IO device.

Siemens Communication between PLCs

Most of the S7 family PLCs support the I-Device feature but some controllers don’t depending on the firmware version for example:

  • S7-300 (from firmware version V3.2)
  • S7-1200 (from firmware version V4)

You can simply know if your controller has the I-device feature or not by going into your PLC PROFINET interface properties and checking for the “operating mode” option. See pictures 1a and 1b.

What is the I-Device function

picture 1a. PLC doesn’t support I-device

From the picture, we can’t see the “operating mode” option, so we know that PLC doesn’t support the I-device feature.

PLC supports the I-device feature

Picture 1b. PLC supports the I-device feature

As you see from the picture, this PLC supports the I-device feature.

A PLC with the “Intelligent IO device” configuration is called an I-Device. An I-Device is like a standard IO device and needs to be handled like one. This means that the I-Device is also connected to a higher-level IO controller.

So , an I-device will act as an IO module, but it is also still a PLC, so it still acts as a controller if you want it to.

Data exchange concept

The guiding principle of the I-Device method is to use the known process image in a CPU. From the higher-level IO controller’s view, communicating to an I-Device is similar to communicating to a distributed IO with the usual read and write processes at inputs and outputs.

From the I-Device’s view, data transfer to a higher-level IO controller is also analog to the data transfer to the local or assigned distributed IO via inputs and outputs.

I-device Configuration options

 There are two possibilities for configuration:

  •  Configuring an I-Device within a project.
  • Configuring an I-Device that is used in another project

When configuring an I-Device for another project, STEP 7 enables you to do this by exporting a configured I-Device in a GSD file. The GSD file can be imported in the other project or the other engineering system like other GSD files.

This allows not only for communication within the project, but also communication across projects and data exchange between different manufacturers in a tried and tested way. We will show that in another article.

In this article, we will show the Configuration of the I-device within the same Siemens PLC project.

I-device configuration within the same PLC project

We will assume that we have two PLCs in our project, CPU 1516-3 PN/DP which will act as the controller in this configuration, and CPU 1214C which will act as the I-device. 

Start by adding the two PLCs into your TIA Portal project and setup a Profinet connection between them. See picture 2.

Siemens Communication between PLCs using I-Device

picture 2. Setup connection between two PLCs.

Now, we need to configure the CPU 1214C PLC as an I-device.

You do that by going to the Profinet interface properties and from the operating mode option you click on the IO device option. See picture 3.

Setup connection between two PLCs

picture 3. Select IO device.

After that, you need to assign the I-device to a higher-level controller which is the CPU 1516-3 PN/DP PLC in our project.

To do that just select that PLC from the Assigned IO controller drop-down list. See picture 4.

Siemens I-Device Programming

picture 4. Assign the I-device to the controller.

After that, the I-device is now connected and assigned to the controller PLC. See picture 5.

Siemens PLC Communication Guide

picture 5. The I-device is assigned to the controller PLC.

The next step is to exchange the data between the I-device and the controller with what is known as transfer areas.

Creating a transfer area

 Transfer areas are the IO areas that are used to exchange data between the I-Device and the higher-level IO controller.

Go to the “I-Device Communication” section. Click the first field of the “Transfer areas” column. TIA Portal will create a predefined name that you are able to change. As you can see from picture 6.

Siemens Automation Networking

picture 6. Create a transfer area

Select the type of communication relationship: currently, only CD can be selected. See picture 7.

Industrial Communication Siemens

Picture 7. Choose CD communication option.

Once you select the CD option, a transfer area will be created and the addresses of the IO controller and I-device will be automatically created. See picture 8.

Siemens S7 Communication

Picture 8. Transfer area is created.

The addresses are pre-assigned automatically, if required, you can adjust the addresses to your environment and specify the length of the transfer area to be transferred consistently.

To create another transfer area as before, just press the “add new”, see picture 9.

Siemens PLC Network Configuration

picture 9. Add new transfer area.

As we said before, data exchange is based on the simple processing image concept, which means you always send an output and receive an input.

Also note that the arrow you see in previous picture indicates the flow of information between the I-device and the controller. So if I send data from the controller to the I-device then the arrow will be from the controller to I-device and the address of controller will be output and address of I-device will be input and vise verse as you can see from previous picture.

Also keep in mind that it is always better to rename your transfer areas to proper indicating names. See picture 10.

Advanced PLC Interconnectivity

Picture 10. Rename your transfer areas.

Loading the PLC project

To load the PLC project data, select both controllers one after the other in the project navigation and load the project into the respective module.

Note that, because we don’t have actual hardware devices, we can’t simulate this feature.

Download this PLC project files.

  • Source Code
  • PDF Document

In the next article, we will show another way to communicate and exchange data between two PLCs in the same project or in different projects.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Free PLC Training for Students
  • S7-1200 Hardware Configuration
  • Factory IO and Siemens Tia Portal
  • How to Choose a PLC for a Project?
  • What is Multi-touch Technology?
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
PLC Logic: Control Spray Nozzle, Fans, and Puncher
#15 PLC Best Practices – Safe State when PLC Restarts
4-20mA Loop Power Supply Questions and Answers
PLC Timer Programming Examples – TON, TOF, TP and TONR
#8 PLC Best Practices – Validate HMI Input Variables at PLC Level
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

DCS Marshalling Cabinet Checks

PLC, DCS, and ESD Marshalling Cabinet Checks

Studio 5000 Logix Emulate Controller

How to Create New Project in Studio 5000?

Why is 24 Volts Commonly used in PLC Systems?

Why is 24 Volts Commonly used in PLC Systems?

Add an alarm display to the graphics.

How to Configure an Alarm in InTouch SCADA?

PLC Programming for Weight-Based Packaging

PLC Programming for Weight-Based Packaging

Sink or source PNP or NPN Normally Open or Normally Closed Input v. output. output

Sink or Source? Normally Open or Normally Closed?

Siemens TIA Portal program blocks

Tia Portal – Optimized and Standard Data Block Access

Ccomparator in PLC Programming

Comparator in PLC Programming

More Articles

What happen When Synchronous Generator loss Excitation

Two Hand Control Logic

Two Hand Control Logic using PLC

Wireless Projects

100 Wireless Projects – Electrical and Electronics Engineering

Open Tank Level Measurement using DP Transmitter

Open Tank Level Measurement using DP Transmitter

PLC Training Course

#17 PLC Best Practices – Log PLC Uptime and Trend it on HMI

Analyzers Questions and Answers

Amino-Acid Analyzers Questions & Answers

CNC Machine Tools Problems and Solutions

Common Problems With CNC Machine Tools & Their Solutions

Substation Interview Questions Answers

Substation Interview Questions Answers

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?