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:
(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:
(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:
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:
(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:
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
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Are there any recommendations for 5V boost switching chips?
- [ESP32-Audio-Kit Audio Development Board Review] Comparison of Voice Recognition Development Boards
- CircuitPython now runs on over 116 development boards
- Excellent materials, no points required: Album of previous competition questions of the National Undergraduate Electronic Design Competition
- [RVB2601 Creative Application Development] Part 1 Development Preparation 1 (Chip and Board Data Learning)
- Introduction to Vivado working mode
- How to determine the grounding method for a circuit board built with circuit modules?
- Inventory of mainstream Bluetooth chips, which one is better, Nordic/TI/Broadcom?
- Those who praise PADS and Allegro are all unsophisticated
- 50% charge in 5 minutes! How powerful is the much-hyped GaN fast charging?