Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Tutorial: Siemens Communication between PLCs using I-Device
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
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 !

Continue Reading

PLC Energize or De-energize the Outputs based on Events
How Engineers Effectively do Problem-solve and Troubleshoot?
RSLogix 5000 PLC Programming Procedure
Evaluating Industrial Automation Projects Return on investment (ROI)
Relay circuits
Remote Factory Acceptance Test
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Siemens PLC Interview Questions and Answers
Instrumentation Earthing
PLC or DCS Control System Spares
Why Use Normally-Closed Contact for Stop Buttons?
Top 5 Advantages of Human-Machine Interface (HMI)
Schneider Electric PLC Timer Problem: Vacuum Cleaner
Automated Garage Gate Control – PLC Ladder Logic
PLC Programming for Traffic Barrier Control

Keep Learning

DCS Commissioning Steps

DCS Commissioning Steps

Control Algorithms in PLC Programming

Control Algorithms in PLC Programming

Motor Stop Interlock for Changing the Direction PLC Program

Motor Stop Interlock for Changing the Direction PLC Program

PLC Programming for Weight-Based Packaging

PLC Programming for Weight-Based Packaging

How to Program Sequential Outputs in PLC

Timer-Based Sequential PLC Program with One Button

PLC Conversion Program

How to use Converters in PLC

PLC Program Upload

How to Upload Siemens PLC Programs?

Offline UPS

UPS Working Principle and Types – Offline and Online UPS Systems

Learn More

DCS

DCS

Analyzers Questions and Answers

Dissolved Oxygen Analyzer Questions and Answers

Gas Turbine Generator Control System

Gas Turbine Control System

PLC Ladder Logic Simulator Mobile Apps For Android

PLC Ladder Logic Simulator Mobile Apps For Android

How do AC drives work

How do AC Drives Work? – Variable Frequency Drive (VFD)

Master Control Reset (MCR) ladder logic

How to use Master Control Reset (MCR) Instruction in PLC

catalytic-gas-detectors-principle

Catalytic Gas Detectors Principle

IoT Project Ideas for Beginners - Internet of Things

100 IoT Project Ideas for Beginners – Internet of Things

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?