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
Notification Show More
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

Connecting Blocks in Functional Block Diagram – Studio 5000
What is Human Machine Interface (HMI) ?
Importance of Grounding Electronic Equipment
Applications of PLC Programming in Bottle Filling Process
HMI Handbook
How to use PLC with SQL Database? – Basics & Tutorials
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

Various Types of Delta PLC used in Industrial Automation
The Concept of Shift Register in Omron PLC with Example
4-20mA Loop Power Supply Questions and Answers
PLC Program for 2 Push buttons to Control 1 Output
I&C Engineer Roles & Responsibilities – Instrumentation Design
Comparison of Control Loops – Open, Closed, Cascade, Feedforward, Ratio
Industrial Automation Engineers Interview Questions
Create User-Defined Data Types and Function Blocks in Studio 5000

Keep Learning

PLC XOR LOGIC with Ladder Diagram

PLC Logic Functions

PLC Sequential Lights Control Example

PLC Timer Example: Sequential Control of Three Lights with Reset

Save and BR Memory in Siemens PLC Programming

SAVE and BR Memory Instructions in Siemens PLC Programming

PLC analog output card

PLC Analog I/O and Network I/O

Pause the Timer PLC Ladder Logic

Pause the Timer PLC Ladder Logic

D flip flop in PLC

D Flip Flop PLC Ladder Logic

Web SCADA HMI

Web-based SCADA HMI Software

Instrument Junction Box

Instrumentation System Architecture

Learn More

Procedure for the Repair of Control Valve

Basic Steps and Procedure for the Repair of Control Valve

flow-meter-accuracy-calculation

Impact of Flow Meter Accuracy

Root Locus Concepts Objective Questions

Root Locus Concepts Objective Questions

Control Systems Questions & Answers

Control Systems Objective Questions & Answers – Set 2

Inductive proximity switches

How to Connect Proximity Switch (Sink Type) to Make LED ON ?

High-Speed and Fast Counters in PLC

What are High-Speed Counters and Fast Counters in PLC?

belt conveyors principle

Conveyor : Belt, Screw, Pneumatic, Hydraulic, Roller, Chain, Bucket, Vibratory

Create PLC Program based on Logic Circuit

Create PLC Program based on Logic Circuit

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?