CN216083478U - PLC remote control system based on EtherCAT communication - Google Patents

PLC remote control system based on EtherCAT communication Download PDF

Info

Publication number
CN216083478U
CN216083478U CN202122005549.8U CN202122005549U CN216083478U CN 216083478 U CN216083478 U CN 216083478U CN 202122005549 U CN202122005549 U CN 202122005549U CN 216083478 U CN216083478 U CN 216083478U
Authority
CN
China
Prior art keywords
module
remote control
plc
system based
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202122005549.8U
Other languages
Chinese (zh)
Inventor
李永凯
孙越
高平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Xinje Electric Co Ltd
Original Assignee
Wuxi Xinje Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Xinje Electric Co Ltd filed Critical Wuxi Xinje Electric Co Ltd
Priority to CN202122005549.8U priority Critical patent/CN216083478U/en
Application granted granted Critical
Publication of CN216083478U publication Critical patent/CN216083478U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model relates to the technical field of automation control, in particular to a PLC remote control system based on EtherCAT communication. Realize data transmission and control between PLC module and the functional module through remote control module, remote control module utilizes two RJ 45's mode, realized the hardware cascade between remote control module, and through remote control module's internal design, realize the cascade between remote control module, accomplish control signal and data signal's bidirectional transmission, thereby realize that a PLC can realize the purpose of free nimble control function module through the net twine, in the complicated occasion of control function, can reach and realize light control function and data acquisition function, thereby real high speed and the high efficiency of control has been realized.

Description

PLC remote control system based on EtherCAT communication
Technical Field
The utility model relates to the technical field of automatic control, in particular to a PLC remote control system based on EtherCAT communication.
Background
With the development of industrial technologies, the current industrial control site has higher requirements on communication speed, communication distance and communication quality, and the current communication technologies such as RS232 and RS485 cannot meet the requirements on communication, for example, RS232 cannot realize multi-point communication and can only be point-to-point, so that multi-point control cannot be realized for the industrial site with a plurality of control points, and although multi-point communication is realized by RS485 communication, the maximum transmission speed is generally not more than 10M, so that large data volume transmission cannot be realized. Therefore, for industrial occasions requiring both multi-node control and transmission speed greater than 10M, the conventional communication method cannot perfectly meet the requirements of customers.
Therefore, a technique for solving this problem is urgently required.
SUMMERY OF THE UTILITY MODEL
The utility model aims to overcome the problems in the prior art and provides a PLC remote control system based on EtherCAT communication, two groups of PHY chip modules and RJ45 network interfaces are adopted, bidirectional interaction of data can be completed, PLC can complete data processing and control of a plurality of remote control modules through EtherCAT communication, and thus multistage series connection is achieved. The PLC can realize free and flexible control function modules through network cables, and can realize easy control function and data acquisition function in the occasions with complex control function, thereby really realizing high speed and high efficiency of control.
The above purpose is realized by the following technical scheme:
the utility model provides a PLC remote control system based on etherCAT communication, includes PLC module and at least one remote control module through etherCAT bus connection, every the remote control module has at least one function module as expansion interface through SPI bus connection.
Furthermore, the remote control module comprises an MCU chip module, the MCU chip module is connected with two PHY chip modules through two sets of MII data lines, each PHY chip module is connected with an RJ45 network interface, and the RJ45 network interface is connected with the PLC module through a network cable; the MCU chip module is connected with at least one functional module through an SPI bus.
Furthermore, the chip model of the MCU chip module is Yingfei XMC4300, the chip model of the PHY chip module is DP83822IRHBR, and a network transformer is integrated in the RJ45 network interface.
Further, a resistor with the resistance value of 33 ohms is arranged in the MII data line.
Further, the number of the functional modules is not more than 16.
A control method of a PLC remote control system based on EtherCAT communication comprises the following steps:
the PLC module sends a control instruction to the remote control module;
the remote control module receives the control instruction, and distributes the control instruction to the corresponding functional module after operation processing;
the function module collects detection data and feeds the detection data back to the remote control module;
and the remote control module receives the detection data, and returns the detection data to the PLC module after operation processing.
Further, the PLC module sends a control instruction to the remote control module, specifically: the PLC module transmits a control instruction to the PHY chip module through a network cable, and the PHY chip module decodes the received control instruction and transmits the control instruction to the MCU chip module through the MII data cable.
Further, the remote control module receives the control instruction, and distributes the control instruction to the corresponding functional module after operation processing, specifically: and the MCU chip module performs operation processing on the decoded control instruction and distributes the control instruction to each corresponding functional module through the SPI bus.
Further, the function module collects detection data and feeds the detection data back to the remote control module, and specifically comprises: the function module collects current detection data in real time and transmits the current detection data to the MCU chip module through the SPI bus.
Further, the remote control module receives the detection data, and returns the detection data to the PLC module after operation, specifically: and the MCU chip module is used for processing the received detection data and transmitting the processed detection data to the PHY chip module through the MII data line, and the PHY chip module is transmitted to the PLC module through the RJ45 network interface and a network cable.
Advantageous effects
According to the PLC remote control system based on EtherCAT communication, data transmission and control between a PLC module and a function module are achieved through a remote control module, the remote control module achieves hardware cascade among the remote control modules in a double RJ45 mode, and achieves cascade among the remote control modules through internal design of the remote control module to achieve bidirectional transmission of control signals and data signals, so that the purpose that one PLC can freely and flexibly control the function module through a network cable is achieved, and on the occasions with complex control functions, the PLC remote control system can achieve easy control functions and data acquisition functions, and therefore high speed and high efficiency of control are achieved really. In addition, the system can realize ultra-long distance transmission, the maximum transmission distance between single nodes can reach 100M, high-speed data transmission can be realized by utilizing Ethernet-type EtherCAT communication, and compared with other traditional communication modes, the system not only greatly improves the data transmission rate, but also ensures the accuracy of data transmission and has stronger anti-interference performance, so that the system can meet a large number of industrial control occasions.
Drawings
Fig. 1 is a schematic block diagram of a PLC remote control system based on EtherCAT communication according to the present invention;
fig. 2 is a schematic diagram of a remote control module in a PLC remote control system based on EtherCAT communication according to the present invention;
fig. 3 is a schematic diagram illustrating connection between a remote control module and a function module in a PLC remote control system based on EtherCAT communication according to the present invention;
fig. 4 is a schematic diagram illustrating a connection between an MCU chip module and a PHY chip module in a PLC remote control system based on EtherCAT communication according to the present invention.
Detailed Description
The utility model is explained in more detail below with reference to the figures and examples. The described embodiments are only some embodiments of the utility model, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a PLC remote control system based on EtherCAT communication includes a PLC module and at least one remote control module connected by an EtherCAT bus, and each of the remote control modules is connected to at least one functional module as an expansion interface by an SPI bus.
Specifically, this system is connected, every through a PLC module and a plurality of remote control module connect a plurality of functional module under the remote control module, not only can enrich the PLC interface, can more efficient realization moreover to functional module's control and gather the data of functional module department fast to better monitoring work.
As shown in fig. 2 and 3, as a further optimization of the remote control module in the system, the remote control module includes an MCU chip module, the MCU chip module is connected to two PHY chip modules through two sets of MII data lines, each PHY chip module is connected to an RJ45 network interface, and the RJ45 network interface is connected to the PLC module through a network cable; the MCU chip module is connected with at least one functional module through an SPI bus.
In this embodiment, the MCU module transmits the data received from the PLC module to the next-stage remote control module, and transmits the data fed back by the next remote control module and the data to be fed back to the PLC module by an operation opposite to the receiving method, thereby completing the bidirectional data transmission.
Specifically, the chip model of the MCU chip module is Yingfei XMC4300, and the chip model of the PHY chip module is DP83822 IRHBR;
a network transformer is integrated in the RJ45 network interface, two corresponding RJ45 network interfaces are also arranged in the PLC module, the two RJ45 network interfaces in the PLC module are respectively connected with the RJ45 network interfaces on the two PHY chip modules through network cables, one path of the network interfaces is used for upward cascade connection, and the other path of the network interfaces is used for downward cascade connection, so that the bidirectional transmission of data is realized; here, the network transformer is mainly used for signal level coupling, and may have the following functions:
(1) the signal can be enhanced to be transmitted for a longer distance;
(2) the chip end is isolated from the outside, the anti-interference capability is greatly enhanced, and a great protection effect (such as lightning stroke) is added to the chip;
(3) when the network ports with different levels (such as 2.5V PHY chip and 3.3V PHY chip) are connected, the mutual devices are not influenced.
And the size of a carrier PCB board of the system can be greatly reduced by selecting internal integration, so that the space and the cost are further saved.
As shown in fig. 4, as a connection manner between the PHY chip module and the MCU chip module in the system, corresponding MII interfaces are respectively disposed in the PHY chip module and the MCU chip module, and the two MII interfaces are connected by an MII data line to realize data transmission.
As the optimization of the MII data line in this embodiment, a resistor with a resistance of 33 ohms is also connected in series in the MII data line, so that the interference and influence of the environment on the signal line can be effectively eliminated.
The number of the functional modules connected with the MCU chip module in the system is not more than 16.
Experiments verify that the system can realize ultra-long distance transmission, the maximum transmission distance between single nodes can reach 100M, high-speed data transmission can be realized by utilizing Ethernet-type EtherCAT communication, and compared with other traditional communication modes, the system not only greatly improves the data transmission rate, but also ensures the accuracy of data transmission and has stronger anti-interference performance, so that the system can meet a large number of industrial control occasions.
Based on the above description of the PLC remote control system based on EtherCAT communication, this embodiment further provides a control method of the PLC remote control system based on EtherCAT communication, including:
the PLC module sends a control instruction to the remote control module;
the remote control module receives the control instruction, and distributes the control instruction to the corresponding functional module after operation processing;
the function module collects detection data and feeds the detection data back to the remote control module;
and the remote control module receives the detection data, and returns the detection data to the PLC module after operation processing.
As the optimization of the control method, the following is specifically performed:
the PLC module sends a control instruction to the remote control module, and specifically comprises the following steps: the PLC module transmits a control instruction to the PHY chip module through a network cable, and the PHY chip module decodes the received control instruction and transmits the control instruction to the MCU chip module through the MII data cable;
the remote control module receives the control instruction, and distributes the control instruction to the corresponding functional module after operation processing, specifically: the MCU chip module performs operation processing on the decoded control instruction and distributes the control instruction to each corresponding functional module through the SPI bus;
the function module collects detection data and feeds back the data to the remote control module, and specifically comprises the following steps: the functional module collects current detection data in real time and transmits the current detection data to the MCU chip module through the SPI bus;
the remote control module receives the detection data, and returns the detection data to the PLC module after operation processing, and specifically comprises the following steps: and the MCU chip module is used for processing the received detection data and transmitting the processed detection data to the PHY chip module through the MII data line, and the PHY chip module is transmitted to the PLC module through the RJ45 network interface and a network cable.
Specifically, the working principle is as follows:
the RJ45 network interface is connected to the RJ45 network interface of the PLC control end through a network cable, the PLC transmits control signals and data signals to the remote control module end through the network cable, and the remote control module transmits the received network signals to the network transformer through the RJ45 network interface, and the network transformer is connected with the RJ45 network interface through a network cable according to the ratio of 1: the method comprises the steps that 1, a PHY chip module is transmitted to the PHY chip module, then the PHY chip module decodes the received control instruction according to the received control instruction, then data are converted into an MII communication mode through a built-in MII interface module and transmitted to an MAC module built in an MCU chip, the MCU completes operation processing on the data, the control instruction is transmitted to an expanded function module connected with the MCU chip through a non-standard SPI communication mode, and therefore the function module can complete execution of instructions of a PLC.
In addition, the data signal that function module detected also will be through the transmission of nonstandard SPI to the remote control module, and the remote control module is then responsible for feeding back these data arrangement to the PLC module, and then realizes PLC module to operating condition's real time monitoring.
The above description is for the purpose of illustrating embodiments of the utility model and is not intended to limit the utility model, and it will be understood by those skilled in the art that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (5)

1. The utility model provides a PLC remote control system based on etherCAT communication which characterized in that includes PLC module and at least one remote control module through etherCAT bus connection, every the remote control module has at least one function module as expansion interface through SPI bus connection.
2. The PLC remote control system based on EtherCAT communication of claim 1, wherein the remote control module comprises an MCU chip module, the MCU chip module is respectively connected with two PHY chip modules through two sets of MII data lines, each PHY chip module is connected with an RJ45 network interface, and the RJ45 network interface is connected with the PLC module through a network line; the MCU chip module is connected with at least one functional module through an SPI bus.
3. The PLC remote control system based on EtherCAT communication of claim 2, wherein the chip model of the MCU chip module is Yingfei XMC4300, the chip model of the PHY chip module is DP83822IRHBR, and a network transformer is integrated inside the RJ45 network interface.
4. The PLC remote control system based on EtherCAT communication of claim 2, wherein a resistance of 33 ohms is provided in the MII data line.
5. The PLC remote control system based on EtherCAT communication of claim 1, wherein the number of the functional modules is not more than 16.
CN202122005549.8U 2021-08-24 2021-08-24 PLC remote control system based on EtherCAT communication Active CN216083478U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122005549.8U CN216083478U (en) 2021-08-24 2021-08-24 PLC remote control system based on EtherCAT communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122005549.8U CN216083478U (en) 2021-08-24 2021-08-24 PLC remote control system based on EtherCAT communication

Publications (1)

Publication Number Publication Date
CN216083478U true CN216083478U (en) 2022-03-18

Family

ID=80671777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122005549.8U Active CN216083478U (en) 2021-08-24 2021-08-24 PLC remote control system based on EtherCAT communication

Country Status (1)

Country Link
CN (1) CN216083478U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114590288A (en) * 2022-05-09 2022-06-07 深圳市永达电子信息股份有限公司 Decentralized control method and system for train safety door and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114590288A (en) * 2022-05-09 2022-06-07 深圳市永达电子信息股份有限公司 Decentralized control method and system for train safety door and readable storage medium

Similar Documents

Publication Publication Date Title
CN110784263A (en) Optical fiber transmission device with redundancy function based on FPGA
CN216083478U (en) PLC remote control system based on EtherCAT communication
CN105515927A (en) Remote serial port communication system and method based on Ethernet Cat.5 wiring framework
CN104639236A (en) Robot system based on optical communication and implementation method of robot system
CN113589744A (en) PLC remote control system and method based on EtherCAT communication
CN201569740U (en) Data transmission node of self-configuration universal towed line array
CN202551086U (en) Ethernet switch
CN201047986Y (en) Bus type automatically remote meter-reading system
CN101644766A (en) Data transmission node for self-configured universal towed linear array
CN209447019U (en) RS485 equipment connects circuit and system
CN213042273U (en) Circuit for converting two-wire system serial bus interface into single-wire half-duplex bus interface
CN109725568B (en) Controller expansion bus device
CN201829936U (en) Centralized control system of mine explosion-proof and intrinsic safety type combined switch
CN100388701C (en) Auxiliary data port device in synchronous digital system and its communication method
CN108880826B (en) RS232 and RS485 combined interface
CN213122669U (en) Atmosphere prop main control equipment and execution system
CN107809264B (en) RS485 changes eight way RS 232's wireless communication converter
CN201682510U (en) Ethernet switch capable of providing twenty four 100M optoelectronic multiplex interfaces and two 1000M multiplex interfaces
CN219065404U (en) Gas detection equipment
CN204442371U (en) A kind of intelligent communication device based on PLC
CN216772411U (en) 4-channel RS485 expansion board based on anti-surge technology
CN218213868U (en) Multi-equipment parallel communication system
CN218471300U (en) Isolation communication circuit based on serial port transparent transmission
CN219875776U (en) SPI remote control transmission device
CN211506473U (en) Single-bus multi-node series reliable serial communication circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant