CN215449927U - Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit) - Google Patents

Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit) Download PDF

Info

Publication number
CN215449927U
CN215449927U CN202121285931.2U CN202121285931U CN215449927U CN 215449927 U CN215449927 U CN 215449927U CN 202121285931 U CN202121285931 U CN 202121285931U CN 215449927 U CN215449927 U CN 215449927U
Authority
CN
China
Prior art keywords
communication
slave station
station
slave
master station
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
CN202121285931.2U
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.)
Fujian Weidong Environmental Protection Co ltd
Original Assignee
Fujian Weidong Environmental Protection 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 Fujian Weidong Environmental Protection Co ltd filed Critical Fujian Weidong Environmental Protection Co ltd
Priority to CN202121285931.2U priority Critical patent/CN215449927U/en
Application granted granted Critical
Publication of CN215449927U publication Critical patent/CN215449927U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

A communication protocol system among a plurality of PLCs (programmable logic controllers), upper computers or MCUs (microprogrammed control units) relates to a communication protocol system. It contains communication master station and communication slave station, connect through the communication twisted pair between communication master station and the communication slave station, connect through the communication twisted pair between a plurality of communication slave station, the communication master station contains master station transmission communication mouth and master station and receives the communication mouth, the communication slave station contains slave station transmission communication mouth and slave station and receives the communication mouth, the transmission communication mouth of communication master station is connected with the slave station receiving communication mouth in the communication slave station of first through the communication twisted pair, first communication slave station concatenates from this with the communication of rear end, and then make communication master station and a plurality of communication slave station constitute annular communication network. The utility model improves the traditional communication speed by about two times under the cooperation of a physical channel and a software communication mode.

Description

Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit)
Technical Field
The utility model relates to the technical field of communication, in particular to a communication protocol system among a plurality of PLCs (programmable logic controllers), upper computers or MCUs (microprogrammed control units).
Background
At present, a master and multiple slaves are generally used for communication among devices. During communication, the master station needs to request one of the slave stations first and then waits for the slave station to respond. And sending the request to the next slave station after the response is finished. Therefore, when the number of chips needing to be communicated reaches a certain value, the communication speed is slower because the number of the devices is larger.
Under the condition that the number of circuit boards of industrial equipment or MCU is large and mutual communication is needed, an efficient communication mode is needed to communicate all the equipment.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a communication protocol system among a plurality of PLCs, upper computers or MCUs (microprogrammed control units), which changes the traditional half-duplex mode into the full-duplex mode to enable a communication master station and a plurality of communication slave stations to form a ring communication network, and on the other hand, on the software level, the communication protocol system improves the communication speed by changing the communication formats between the communication master station and the communication slave stations and between the communication slave stations and the communication slave stations.
In order to achieve the purpose, the utility model adopts the following technical scheme: a communication protocol system among a plurality of PLCs, upper computers or MCUs comprises a communication master station 1 and communication slave stations, wherein the number of the communication slave stations is one or more;
the communication master station 1 is connected with the communication slave station through a communication twisted pair 7;
the communication slave stations are connected in series through a communication twisted pair 7 and are sequentially numbered from one to N, and the communication slave station numbered with one is connected with the communication master station 1 through the communication twisted pair 7;
the communication master station 1 comprises a master station sending communication port 5 and a master station receiving communication port 6, and the communication slave station comprises a slave station sending communication port 8 and a slave station receiving communication port 9;
the sending communication port 5 of the communication master station 1 is connected with the slave station receiving communication port 9 in the communication slave station with the first number through a communication twisted pair 7, the sending communication port 8 of the slave station in the communication slave station with the first number is connected with the slave station receiving communication port 9 in the communication slave station with the second number through the communication twisted pair 7, and so on, the slave station sending communication port 8 of the (N-1) th communication slave station is connected with the slave station receiving communication port 9 of the (N) th communication slave station, the slave station sending communication port 8 of the (N) th communication slave station is connected with the master station receiving communication port 6 of the communication master station 1, and the communication master station 1 and a plurality of communication slave stations form an annular communication network.
Further, the number of the communication master stations 1 is one.
Furthermore, the communication master station 1 and the communication slave station adopt local interfaces for power supply.
Furthermore, the communication master station 1 is connected with the plurality of communication slave stations through serial communication lines.
Further, the outermost layer of the communication twisted pair 7 is a metal shielding layer, and the metal shielding layer is connected with a ground wire.
Further, the master station sending communication port 5, the master station receiving communication port 6, the slave station sending communication port 8 and the slave station receiving communication port 9 are bolt connecting ports.
The working principle of the utility model is as follows:
the utility model connects the master station sending communication port of the communication master station to the slave station receiving communication port of the first communication slave station, the slave station sending communication port of the first communication slave station is connected with the slave station receiving communication port of the second communication slave station, and so on, the slave station sending communication port of the (N-1) th communication slave station is connected with the slave station receiving communication port of the (N) th communication slave station, and the slave station sending communication port of the (N) th communication slave station is communicated with the master station receiving communication port of the communication master station, thereby forming an annular communication network.
The utility model not only changes the wiring mode of the physical layer, but also changes the communication format of the software layer, and the principle is as follows: the communication master station sends data to the first communication slave station, the first communication slave station receives and processes the data and sends the data to the second communication slave station, the second communication slave station receives and processes the data and sends the data to the third communication slave station, and by analogy, the Nth communication slave station receives and processes the data and sends the data back to the communication master station, and about twice of the traditional communication rate can be achieved through the cooperation of the physical layer and the software layer.
After the technical scheme is adopted, the utility model has the beneficial effects that:
on one hand, on the physical level, the traditional half-duplex mode is changed into the full-duplex mode by changing the wiring mode on the basis of the original RS-422, so that the communication master station and a plurality of communication slave stations form a ring communication network, and on the other hand, on the software level, the communication formats between the communication master station and the communication slave stations and between the communication slave stations are changed, so that the traditional communication speed is improved by about two times under the coordination of a physical channel and a software communication mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a communication wiring diagram of the embodiment on a physical layer.
Fig. 2 is a first segment of software request function code based on the physical level of fig. 1.
Fig. 3 is a second software request code and slave response code based on the physical layer of fig. 1.
Fig. 4 is a third software data code based on the physical layer of fig. 1.
Fig. 5 is a fourth software data code based on the physical layer of fig. 1.
Description of reference numerals: the communication system comprises a communication master station 1, a first communication slave station 2, a second communication slave station 3, a third communication slave station 4, a master station sending communication port 5, a master station receiving communication port 6, a communication twisted pair 7, a slave station sending communication port 8 and a slave station receiving communication port 9.
Detailed Description
Referring to fig. 1 to 5, the technical solution adopted by the present embodiment is: the communication system comprises a communication master station 1 and communication slave stations, wherein the number of the communication slave stations is three;
the communication master station 1 is connected with the communication slave station through a communication twisted pair 7;
the three communication slave stations are connected in series through a communication twisted pair 7 and are sequentially numbered from one to three, and the communication slave station numbered with one is connected with the communication master station 1 through the communication twisted pair 7;
the communication master station 1 comprises a master station sending communication port 5 and a master station receiving communication port 6, and the communication slave station comprises a slave station sending communication port 8 and a slave station receiving communication port 9;
the transmitting communication port 5 of the communication master station 1 is connected with the slave station receiving communication port 9 of the communication slave station with the number of one through a communication twisted pair 7, the slave station transmitting communication port 8 of the communication slave station with the number of one is connected with the slave station receiving communication port 9 of the communication slave station with the number of two through the communication twisted pair 7, the slave station transmitting communication port 8 of the third communication slave station is connected with the master station receiving communication port 6 of the communication master station 1, and the communication master station 1 and the three communication slave stations form a ring-shaped communication network.
The number of the communication master stations 1 is one.
The communication master station 1 and the communication slave station adopt local interfaces for power supply.
The communication master station 1 is connected with the plurality of communication slave stations through serial communication lines.
The outermost layer of the communication twisted-pair line 7 is a metal shielding layer, and the metal shielding layer is connected with a ground wire and used for preventing signals from being interfered.
The master station sending communication port 5, the master station receiving communication port 6, the slave station sending communication port 8 and the slave station receiving communication port 9 are bolt connecting ports, and communication lines are connected to the interfaces in a bolt fastening mode.
In the present embodiment, in a specific operation, the communication master 1 as a master first sends a request for a slave to the first communication slave 2, where the request is for three slaves. The request code includes a read command and a write command for each slave station, and refer to fig. 2 in detail.
After receiving the request, the first communication slave station 2 only needs to check the request for the first communication slave station 2, and then attaches the response to the request code of the communication master station 1 and follows the request code as the response of the first communication slave station 2. The processed data is then sent to the second communication slave 3. The responses include read responses, write responses and response content to the master, with particular reference to FIG. 3.
The second communication slave station 3 receives the data sent by the first communication slave station 2 and only processes the request to the second communication slave station 3, and then the response content of the second communication slave station 3 is attached to the back of the response content of the first communication slave station 2. The data is processed and sent to the third communication slave station 4, which is specifically referred to fig. 4.
After receiving the data of the second communication slave station 3, the third communication slave station 4 only processes the request for the third communication slave station 4, the response code of the third communication slave station 4 is attached to the back of the response code of the second communication slave station 3 and then sent to the communication master station 1, specifically referring to fig. 5, such a round of communication is completed, and the next round of communication is in a cycle of the previous communication.
The above description is only for the purpose of illustrating the technical solutions of the present invention and not for the purpose of limiting the same, and other modifications or equivalent substitutions made by those skilled in the art to the technical solutions of the present invention should be covered within the scope of the claims of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (6)

1. The utility model provides a communication protocol system between a plurality of PLC, host computer or MCU which characterized in that: the communication system comprises a communication master station (1) and communication slave stations, wherein the number of the communication slave stations is one or more;
the communication master station (1) is connected with the communication slave station through a communication twisted pair (7);
a plurality of communication slave stations are connected in series through a communication twisted pair (7), and are numbered from one to N in sequence, and the communication slave station numbered with one is connected with the communication master station (1) through the communication twisted pair (7);
the communication master station (1) comprises a master station sending communication port (5) and a master station receiving communication port (6), and the communication slave station comprises a slave station sending communication port (8) and a slave station receiving communication port (9);
the communication master station is characterized in that a sending communication port (5) of the communication master station (1) is connected with a slave station receiving communication port (9) in a communication slave station with a first serial number through a communication twisted pair (7), a slave station sending communication port (8) in the communication slave station with the first serial number is connected with a slave station receiving communication port (9) in a communication slave station with a second serial number through the communication twisted pair (7), and so on, the slave station sending communication port (8) of an N-1 communication slave station is connected with the slave station receiving communication port (9) of the N communication slave station, the slave station sending communication port (8) of the N communication slave station is connected with a master station receiving communication port (6) of the communication master station (1), and the communication master station (1) and a plurality of communication slave stations form an annular communication network.
2. The system according to claim 1, wherein the communication protocol system comprises a plurality of PLCs, upper computers or MCUs, and is characterized in that: the number of the communication master stations (1) is one.
3. The system according to claim 1, wherein the communication protocol system comprises a plurality of PLCs, upper computers or MCUs, and is characterized in that: the communication master station (1) and the communication slave station are powered by storage battery packs.
4. The system according to claim 1, wherein the communication protocol system comprises a plurality of PLCs, upper computers or MCUs, and is characterized in that: the communication master station (1) is connected with the communication slave station through a serial port communication line.
5. The system according to claim 1, wherein the communication protocol system comprises a plurality of PLCs, upper computers or MCUs, and is characterized in that: the outermost layer of the communication twisted pair (7) is a metal shielding layer, and the metal shielding layer is connected with a ground wire.
6. The system according to claim 1, wherein the communication protocol system comprises a plurality of PLCs, upper computers or MCUs, and is characterized in that: the master station sending communication port (5), the master station receiving communication port (6), the slave station sending communication port (8) and the slave station receiving communication port (9) are bolt connecting ports.
CN202121285931.2U 2021-06-09 2021-06-09 Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit) Active CN215449927U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121285931.2U CN215449927U (en) 2021-06-09 2021-06-09 Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121285931.2U CN215449927U (en) 2021-06-09 2021-06-09 Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit)

Publications (1)

Publication Number Publication Date
CN215449927U true CN215449927U (en) 2022-01-07

Family

ID=79710723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121285931.2U Active CN215449927U (en) 2021-06-09 2021-06-09 Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit)

Country Status (1)

Country Link
CN (1) CN215449927U (en)

Similar Documents

Publication Publication Date Title
CN112199316B (en) Configuration method and communication method of chain-type master-slave serial port communication device
CN103095538B (en) Multi-class industrial Ethernet bus integrated master station
CN106021152A (en) Master-slave serial device concentrator and asynchronous duplex one-to-many serial communication method
CN104008082A (en) Converter of 1553B bus remote terminal (RT) node and controller area network (CAN) bus
CN107436851B (en) Four-line isolation system of serial peripheral interface and control method thereof
CN110601943A (en) Communication system based on RS485 bus and communication method thereof
CN108614789B (en) Communication system and method of serial port bus with handshake mechanism
CN107168045A (en) A kind of communication redundancy control system based on EtherCAT
CN105162671A (en) Welding table control system of arbitrary host and control method thereof
CN205179099U (en) Realize serial ports agreement and change high -speed real -time network communication agreement circuit
CN215449927U (en) Communication protocol system among multiple PLCs (programmable logic controllers), upper computer or MCU (microprogrammed control unit)
CN207968522U (en) A kind of RS485 bus driving circuits for realizing multi-host communication mode
CN101662369B (en) Universal network adapter
CN206364826U (en) A kind of synthesized gateway
CN205788168U (en) Master-slave mode serial equipment hub
CN210624840U (en) Two-wire power supply communication circuit
CN214504203U (en) Equipment of PLC multimode extension
CN201820120U (en) Self-adapting multibus execution mechanism controller
CN213367785U (en) On-board communication circuit and device based on CAN communication
CN105242592B (en) The method and system of HART meter parameter are directly read by PROFIBUS PA active station
CN202093347U (en) Interface module for EtherCAT bus numerical control system
CN207543138U (en) A kind of data transmission system of more industrial bus
CN205017346U (en) Welding stage control system of arbitrary host computer
CN213302806U (en) Programmable logic controller, control equipment, extension module and control system
CN107966970A (en) A kind of control system for flexible manufacturing system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant