Inst ToolsInst ToolsInst Tools
  • 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: Open User Communication in Siemens Tia Portal – PLC to PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • 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 > Open User Communication in Siemens Tia Portal – PLC to PLC

Open User Communication in Siemens Tia Portal – PLC to PLC

One of the methods to establish communication between PLCs using TSEND & TRCV instructions in Open User Connection in Siemens Tia Portal.

Last updated: May 23, 2021 10:26 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

In this article, we discuss the PLC to PLC communication using open user communication in Siemens Tia Portal.

Contents
Open User Communication Configuration StepsSimulation StepsPros & ConsConclusion

In Siemens TIA Portal, there are multiple ways of establishing communication between active or passive devices.

The communication between devices with different make & model is established using a method called “Open User Communication“.

The instructions that come under this method are listed below.

  • TCON               – Establish Communication Connection
  • TDISCON         – Terminate Communication Connection
  • TSEND             – Send Data via Communication Connection
  • TRCV               – Receive Data via Communication Connection

Using above instructions we can establish communication between PLC and any other Active / Passive Device.

The above instructions use TCP protocol for data transfer. The medium used is Profinet / Industrial Ethernet.

Open User Communication Configuration Steps

The below steps explains the procedure to do the PLC to PLC data transfer and receive using the open user communication method in Tia Portal.

Step 1:

Drag two CPU’s from TIA Catalog into Hardware Configuration of TIA Portal.

Create a connection as shown below figure.

Note that connection is not yet established.

Hardware Configuration of TIA Portal

Step 2:

Create a data block as shown below for data to be sent & stored in Local PLC.

Data sent & stored in Local PLC

Step 3:

To store the status data for instructions create data block with following structure & tags in PLC_1.

PLC GLOBAL_DATA_BLOCK_SEND

Step 4:

Now we will program for Local PLC_1.

Connect the parameters of Instructions ‘TCON’ as follows with the use of data block developed in Step 3.

TCON Instruction

Configure the TCON Instruction as mentioned in below figure –

Connection Type is selected as ISO-on-TCP

TSAP ID is auto-generated by the system.

TCON SEND CONFIGURATION

Connect the parameters of Instruction ‘TSEND’ as follows with the use of data block developed in Step 3.

TSEND Instruction

Connect the parameters for Instruction ‘TDISCON’ as follows with the use of data block developed in Step 3.

TDISCON Instruction

Step 5:

Now we will program for Partner PLC_2.

Create a data block as shown below for data to be received & stored.

Program for Partner PLC_2

Step 6:

To store the status data for instructions create a data block with the following structure & tags in PLC_2.

PLC GLOBAL_DATA_BLOCK_RECV

Step 7:

Now we will program for Partner PLC_2.

Connect the parameters of Instructions ‘TCON’ as follows with the use of data block developed in Step 6.

TCON Instance

Configure the TCON Instruction as mentioned in the below figure.

Connection Type is selected as ISO-on-TCP

TSAP ID is auto generated by system.

TCON RECEIVE CONFIGURATION

Connect the parameters of Instruction ‘TRCV’ as follows with the use of data block developed in Step 6.

TRCV Instruction

Connect the parameters for Instruction ‘TDISCON’ as follows with use of data block developed in Step 6.

DISCON Instruction

Simulation Steps

Step 1:

Now both the Local & Partner PLCs are ready for communication. Start the simulation for both PLCs and download the codes. 

Step 2:

For Establishing Connection (TCON), observe the output by making the following changes.

  • Change the parameter REQ to “TRUE” for CPU_2.
  • Change the parameter REQ to “TRUE” for CPU_1.  
TCON Simulation in Tia Portal

Step 3:

When the connection is established by TCON, the TSEND instruction shall send the data based on the Input Parameter ID.

PLC to PLC Send Data

Step 4:

At the same time, the TRCV instruction shall receive the data based on the Input Parameter ID.

PLC to PLC Data Receive

Step 5:

For Terminating Connection (TDISCON), observe the output by making the following changes.

  • Change the parameter REQ to “TRUE” for CPU_2.
  • Change the parameter REQ to “TRUE” for CPU_1. 
PLC to PLC Simulation Table

Pros & Cons

  • It is a secure method of data exchange between devices.
  • We can share a large amount of data compared to GET & PUT Instructions. 

Conclusion

We studied one of the methods to establish communication between PLC’s using TSEND & TRCV instructions in Open User Connection.

It is one of the secure methods of data transfer where connection can be established and terminated from both Local & Partner PLC using TCON & TDISCON instructions.

Author: NMG

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:

  • Communication Between Two PLC Via PROFIBUS
  • Ladder Logic Programming Examples
  • Fieldbus Transmitters Calibration and Ranging
  • Configuration in Siemens Scada and PLC
  • Configuration of Siemens VFD Using TIA
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

Contacts and Coils in PLC Ladder Logic
Compare Modbus, Fieldbus, and Profibus
System Cabinet Health Checks – PLC and DCS Industrial Automation
InTouch SCADA Login Password Security
How to Delete the Siemens CPU Memory?
#20 PLC Best Practices – Identify Critical Alerts
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

Categories

Explore More

PLC Program for Trash Compactor
Types of Script in Intouch Scada
Car Wash Program using Functional Block Diagram (PLC)
Programmable Logic Controller (PLC) Scan Time – Types, Theory
Loop Check of 4-20mA or HART Transmitters
How to Operate a Group of Induction Motors using PLC Logic?
PLC vs PAC – Understanding the Key Differences and Similarities
Tanks Draining Control in PLC using Functional Block Diagram
3 to 8 Line Decoder PLC Ladder Diagram
What is Loop Checking?

Keep Learning

OB10 Time of Day Interrupt

Tia Portal – OB10 Time of Day Interrupt Organization Block

Convert an Electrical Diagram into PLC Program

How to Convert an Electrical Diagram into PLC Program?

Ladder Diagram PLC program

PLC Counter Instructions

What is Hot Standby in PLC

What is Hot Standby in PLC?

PLC Programming Examples using Timer

Basic PLC Ladder Programming Example

Anti-static Wrist Straps

Anti-static Wrist Straps in Industrial Automation

Siemens PLC Write Protection

How to Protect Siemens PLC using Password?

siemens plc db addressing

FB Block in Siemens PLC Programming

Discover More

Transformers Questions & Answers Part-4

Transformers Questions & Answers Part-4

PLC Stop - Start Circuit

Introduction to PLC Ladder Diagrams

Chromatography Questions & Answers

Gas Chromatography Questions & Answers

Door Lock with Delay PLC Exercise Problems

Door Lock with Delay PLC Exercise Problems

Electromagnetic

Types of Signals Based on Electromagnetic Compatibility (EMC Performance)

Calculate Temperature of RTD

Calculate Temperature of RTD

butt weld end Plug Valves Leaks Stopped

PTFE lined 6” 300# butt weld end Plug Valves Leaks Stopped Forever

Van Stone Type Thermowell

Types of Thermowells

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?