Four methods of cross-segment communication between PLCs

Publisher:感恩的7号Latest update time:2023-12-27 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Implemented through routing mode

If two PLCs belong to different network segments and have data communication needs, the most typical application is to achieve it through routing mode. On the PLC side, you need to enable the "use router" function, fill in the corresponding gateway address, and then call the corresponding function block for communication, such as calling TSEND_C and TRCV_C in S7-1500 to achieve TCP communication; of course, there needs to be a switch that supports routing functions between the two PLCs, such as scalance xc208. The typical use of this communication architecture is shown in the figure below:

5ea81144-957d-11ee-8b88-92fbcf53809c.jpg

(II) Implementation through Gateway Mode

If the two PLCs belong to different network segments and there is a need for real-time communication, then you can consider the Profinet communication method and use the PN/PN Coupler gateway to achieve real-time data exchange. The PN/PN Coupler has two Profinet interfaces, each of which is linked to the respective Profinet system as a Profinet Io Device, interconnecting the two PROFINET subnets to achieve real-time data interaction. The typical usage of this communication architecture is shown in the figure below:

5eb5af48-957d-11ee-8b88-92fbcf53809c.png

(III) Implementation through NAT mode

If two PLCs belong to different network segments and there is a need for data communication, NAT technology can also be used to achieve cross-segment data exchange. Two PLCs belonging to different network segments are interconnected by a device that supports NAT function, such as SCALANCE S615. The NAT device converts the address of network segment 2 to an address of network segment 1. During communication, the device in network segment 1 accesses the converted address to achieve communication between the two devices. The typical usage of this communication architecture is shown in the figure below:

5ec39d7e-957d-11ee-8b88-92fbcf53809c.png

Network Address Translation (NAT) is a technology for accessing a wide area network (WAN). It is a conversion technology that converts private (reserved) addresses into legal IP addresses. It is widely used in various types of Internet access methods and various types of networks. The reason is simple. NAT not only perfectly solves the problem of insufficient IP addresses, but also effectively avoids attacks from outside the network, hiding and protecting computers inside the network. The NAT function can convert IP. The specific functions are shown in the figure below:

5eddc8e8-957d-11ee-8b88-92fbcf53809c.png

5ef1b9ca-957d-11ee-8b88-92fbcf53809c.png

(IV) Realization through additional communication module

If two PLCs belong to different networks, have addresses in different network segments, and have data communication requirements, you can also use the method of adding communication modules to achieve communication between the two devices. Add a communication template to one of the PLCs and give it an address in the same network segment as the second PLC. This will easily enable communication between the two devices. The typical usage of this communication architecture is shown in the figure below:

5f08ba76-957d-11ee-8b88-92fbcf53809c.png


Keywords:PLC Reference address:Four methods of cross-segment communication between PLCs

Previous article:Siemens S7-200 SMART analog module PLC wiring diagram summary
Next article:Siemens MCD+PLC+Matlab realizes inverted pendulum control

Recommended ReadingLatest update time:2024-11-16 10:30

Wiring method and principle of sensor and PLC
Today, we will introduce the wiring method of sensors and PLCs, including 20 wiring diagrams. Isn’t it super rich? Let’s take a look together. 1 Overview The digital input interface of PLC is not complicated. In order to improve the anti-interference ability, the input interface of PLC uses photocoup
[Embedded]
Wiring method and principle of sensor and PLC
Mitsubishi PLC programming example introduction
Mitsubishi PLC (Programmable Logic Controller) is a control device widely used in the field of industrial automation. It has the characteristics of flexible programming, powerful functions, high reliability, etc., and is widely used in various industrial automation production lines, mechanical equipment and other oc
[Embedded]
Mitsubishi PLC programming example introduction
Siemens PLC instruction explanation
-1. Contact and coil instructions Programming principles of PLC ladder diagram language 1. The ladder diagram consists of multiple rungs. Each coil can constitute a rung. Each rung has multiple branches, and each rung represents a logic equation. 2. The relays, contacts and coils in the ladder diagram
[Embedded]
Siemens PLC instruction explanation
Mitsubishi PLC selection criteria
The number of input/output (I/O) points is the sum of the input signals and output signals that Mitsubishi PLC can accept, and is an important indicator for measuring the performance of Mitsubishi PLC. The more I/O points there are, the more external input devices and output devices can be connected, and the larger
[Embedded]
Introduction to the features of five Siemens PLC series
1. S7-200 Smart Series: S7-200 Smart Series is Siemens' most basic PLC product series, suitable for small control systems. Its features include: Low cost, small size, suitable for simple control tasks. Support multiple communication interfaces, such as RS232, RS485, etc. Built-in digital and analog I/
[Embedded]
ST releases G3-PLC Hybrid Powerline and Wireless Converged Communications Certified Chipset
STMicroelectronics Releases G3-PLC Hybrid Powerline and Wireless Converged Communications Certified Chipset Turnkey solution based on the proven ST8500 programmable multiprotocol power line communication SoC and ultra-low power sub-GHz S2-LP RF transceiver China, June 2, 2021 - STMicroelectronics' ST8500 and S2
[Internet of Things]
ST releases G3-PLC Hybrid Powerline and Wireless Converged Communications Certified Chipset
Omron CPM1A series PLC function instructions
Functional instructions are also called special instructions. The functional instructions provided by the CPM1A series PLC are mainly used to realize program control, data processing and arithmetic operations. This type of instruction generally does not have a corresponding instruction key on the simple programmer,
[Embedded]
Explanation of all components of a typical PLC control cabinet
The Secret of PLC Control Cabinet PLC control cabinet refers to a complete set of control, an electrical cabinet that can realize the control of motors and switches. PLC control cabinet has overload, short circuit, phase loss protection and other functions. It has compact structure, stable operation,
[Embedded]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号