Communication module implementation scheme in different PLC modes

Publisher:Qinghua2022Latest update time:2024-06-26 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:

9e879958-3a68-11ee-9e74-dac502259ad0.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:

9ea75a2c-3a68-11ee-9e74-dac502259ad0.jpg

(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:

9eb6d2ae-3a68-11ee-9e74-dac502259ad0.jpg

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:

9ec1e9e6-3a68-11ee-9e74-dac502259ad0.jpg

9edc0b6e-3a68-11ee-9e74-dac502259ad0.jpg

(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:

9eef2c44-3a68-11ee-9e74-dac502259ad0.jpg


Keywords:PLC Reference address:Communication module implementation scheme in different PLC modes

Previous article:How to realize motor speed regulation without frequency converter
Next article:ECE Extraction Method for Reduced-Order Model of Six-Phase Permanent Magnet Synchronous Motor

Recommended ReadingLatest update time:2024-11-16 09:23

Communication method between PLC and PC based on multithreading technology in industrial control
In modern industrial control systems, PLC is widely used for its high reliability, adaptability to industrial process sites, and powerful networking functions. It can realize sequential control, PID loop adjustment, high-speed data acquisition and analysis, and computer upper management, and is an important means an
[Embedded]
Communication method between PLC and PC based on multithreading technology in industrial control
How to control servo motor with PLC
Before answering this question, we must first understand the purpose of servo motors. Compared with ordinary motors, servo motors are mainly used for precise positioning. Therefore, what we usually call servo control is actually the position control of the servo motor. In fact, servo motors also have two other worki
[Embedded]
PLC ladder diagram of three-phase induction motor fault alarm control circuit
Many people say that PLC is difficult, and even if you have basic knowledge of electrical engineering, it is still difficult to learn! But is it really so? How can you quickly learn PLC if you have basic knowledge of electrical engineering? Today, let's take a look at how to quickly convert electrical diagrams into
[Embedded]
PLC ladder diagram of three-phase induction motor fault alarm control circuit
Motor start and stop control project based on S7-1500 PLC
Introduction Project Overview For a brand new PLC product, getting started may seem simple, but for engineers who have just started, it can often become a difficult problem if they use it improperly. For this reason, we have designed a simple project and introduced it step by step, so that everyone can see at a
[Embedded]
Motor start and stop control project based on S7-1500 PLC
PLC System Failure Analysis and Solutions
The probability of PLC hardware damage or software running errors is extremely low. When checking for faults, the focus should be on the PLC's peripheral electrical components. Most PLC faults are peripheral interface signal faults. During maintenance, as long as some of the PLC controls are normal, there is no need
[Embedded]
PLC external wiring and switch signal and analog signal conversion
PLC automatic control is widely used in electrical automation and intelligent control, and all power workers know it. In addition to inputting the established program, the automatic control of PLC also requires wiring the input and output ports of the PLC itself. Only when the program instructions of the PLC are cor
[Embedded]
PLC external wiring and switch signal and analog signal conversion
plc wiring diagram plc programming software
PLC wiring diagram If you want to learn electrical engineering well, you must first learn how to connect wires. If the wires are not connected properly, you will still have no idea where to start when the equipment has problems. How to learn how to connect PLCs? I have compiled some PLC-related wiring diagrams
[Embedded]
plc wiring diagram plc programming software
100 PLC and sensor working principle animations
Since the introduction of the Programmable Logic Controller (PLC) in the United States in the 1960s to replace traditional relay control devices, PLC has developed rapidly and has been widely used around the world. At the same time, the functions of PLC have been continuously improved. With the continuous developmen
[Embedded]
100 PLC and sensor working principle animations
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号