CN113721532A - PLC CPU extension module multi-bus protocol self-adaption method - Google Patents

PLC CPU extension module multi-bus protocol self-adaption method Download PDF

Info

Publication number
CN113721532A
CN113721532A CN202111045168.0A CN202111045168A CN113721532A CN 113721532 A CN113721532 A CN 113721532A CN 202111045168 A CN202111045168 A CN 202111045168A CN 113721532 A CN113721532 A CN 113721532A
Authority
CN
China
Prior art keywords
bus protocol
expansion module
protocol
bus
self
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.)
Pending
Application number
CN202111045168.0A
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.)
SHENZHEN CO-TRUST TECHNOLOGY CO LTD
Original Assignee
SHENZHEN CO-TRUST TECHNOLOGY 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 SHENZHEN CO-TRUST TECHNOLOGY CO LTD filed Critical SHENZHEN CO-TRUST TECHNOLOGY CO LTD
Priority to CN202111045168.0A priority Critical patent/CN113721532A/en
Publication of CN113721532A publication Critical patent/CN113721532A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a multi-bus protocol self-adapting method of an expansion module of a CPU of a PLC, which belongs to the technical field of the PLC and comprises an expansion module bus protocol self-adapting controller and an expansion module bus interface, wherein the expansion module bus protocol self-adapting controller comprises an expansion module bus protocol controller and an expansion module bus protocol generator.

Description

PLC CPU extension module multi-bus protocol self-adaption method
Technical Field
The invention relates to the technical field of PLC, in particular to a multi-bus protocol self-adaption method for an extension module of a CPU of a PLC.
Background
The CPU of the PLC mainly has expansion module bus protocols such as CTS7 and CTH2 at present, each type of CPU can only identify and support the expansion module of the same type of protocol at present, so that the management difficulty is increased in production and production management, different warehouse storages are needed, the production management cost is increased, the management difficulty and the management cost are also agreed to be increased for market sales and after-sales service, the above methods are not favorable for large-scale production and production efficiency improvement of products, and are not favorable for further improvement of product quality, convenient management of products and product cost profit optimization, and a plurality of bus protocol self-adaption methods of the expansion module of the CPU of the PLC are provided.
Disclosure of Invention
The invention aims to provide a method for adapting various bus protocols of an expansion module of a CPU of a PLC (programmable logic controller), so as to solve the problems that the mass production and the production efficiency improvement of products are not facilitated, the product quality is not further facilitated, the convenient management of the products and the profit optimization of the product cost are not facilitated.
In order to achieve the purpose, the invention provides the following technical scheme: a self-adaptive method for multiple bus protocols of an expansion module of a CPU of a PLC comprises an expansion module bus protocol self-adaptive controller and an expansion module bus interface, wherein the expansion module bus protocol self-adaptive controller comprises an expansion module bus protocol controller and an expansion module bus protocol generator, and the specific implementation method comprises the following steps:
the method comprises the following steps: the expansion module bus protocol controller starts from a certain protocol according to a certain sequence, and the expansion module bus protocol generator communicates with the expansion module through an expansion module bus interface according to the protocol to confirm the handshake;
step two: if a certain bus protocol succeeds in n-time handshaking, the expansion module connected behind the CPU can be confirmed to be the bus protocol and carry out normal communication operation according to the protocol;
step three: if a certain protocol is unsuccessful after n times of handshaking, the expansion bus protocol controller will switch to another bus protocol to perform handshaking, and repeat the process of the second step until all the bus protocols are completed.
Preferably, the expansion module bus protocol generator includes two or more types of expansion bus protocols.
Compared with the prior art, the invention has the beneficial effects that: the method for automatically adapting the plurality of bus protocols of the expansion module of the CPU of the PLC is characterized in that the controller which is self-adapting to the bus protocols of the expansion module is additionally arranged, and the expansion modules with different protocols hung behind the CPU of the PLC can be automatically identified through the controller, so that the product types of the CPU can be immediately reduced, the scale of a single product can be immediately improved, the expansion modules with various protocols can be supported and identified, and the production, the sale and the subsequent maintenance on the market of the expansion modules are not influenced.
Drawings
FIG. 1 is a schematic diagram of the operation of an expansion module bus protocol adaptive controller according to the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.
The invention provides a multi-bus protocol self-adaptive method for an expansion module of a CPU of a PLC (programmable logic controller), referring to a figure 1, comprising an expansion module bus protocol self-adaptive controller and an expansion module bus interface, wherein the expansion module bus protocol self-adaptive controller comprises an expansion module bus protocol controller and an expansion module bus protocol generator, and the specific implementation method comprises the following steps:
the method comprises the following steps: the expansion module bus protocol controller starts from a certain protocol according to a certain sequence, and the expansion module bus protocol generator communicates with the expansion module through an expansion module bus interface according to the protocol to confirm the handshake;
step two: if a certain bus protocol succeeds in n-time handshaking, the expansion module connected behind the CPU can be confirmed to be the bus protocol and carry out normal communication operation according to the protocol;
step three: if a certain protocol is unsuccessful after n times of handshaking, the expansion bus protocol controller will switch to another bus protocol to perform handshaking, and repeat the process of the second step until all the bus protocols are completed.
The expansion module bus protocol generator comprises two or more types of expansion bus protocols.
In summary, the invention adds the self-adaptive controller of the bus protocol of the expansion module, and the controller can automatically identify the expansion modules with different protocols hung behind the CPU of the PLC, thereby immediately reducing the product types of the CPU, immediately improving the scale of a single product, simultaneously supporting and identifying the expansion modules with various protocols, and not influencing the production, the sale and the subsequent maintenance of the expansion modules on the market.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
While the invention has been described above with reference to an embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the various features of the embodiments disclosed herein may be used in any combination, provided that there is no structural conflict, and the combinations are not exhaustively described in this specification merely for the sake of brevity and conservation of resources. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (2)

1. A PLC CPU extension module multiple bus protocol self-adapting method is characterized in that: the expansion module bus protocol self-adaptive controller comprises an expansion module bus protocol self-adaptive controller and an expansion module bus interface, wherein the expansion module bus protocol self-adaptive controller comprises an expansion module bus protocol controller and an expansion module bus protocol generator, and the specific implementation method comprises the following steps:
the method comprises the following steps: the expansion module bus protocol controller starts from a certain protocol according to a certain sequence, and the expansion module bus protocol generator communicates with the expansion module through an expansion module bus interface according to the protocol to confirm the handshake;
step two: if a certain bus protocol succeeds in n-time handshaking, the expansion module connected behind the CPU can be confirmed to be the bus protocol and carry out normal communication operation according to the protocol;
step three: if a certain protocol is unsuccessful after n times of handshaking, the expansion bus protocol controller will switch to another bus protocol to perform handshaking, and repeat the process of the second step until all the bus protocols are completed.
2. The method of claim 1, wherein the extension module of the CPU of the PLC comprises a plurality of bus protocol self-adaptive methods, wherein the bus protocol self-adaptive methods comprise: the expansion module bus protocol generator comprises two or more types of expansion bus protocols.
CN202111045168.0A 2021-09-07 2021-09-07 PLC CPU extension module multi-bus protocol self-adaption method Pending CN113721532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111045168.0A CN113721532A (en) 2021-09-07 2021-09-07 PLC CPU extension module multi-bus protocol self-adaption method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111045168.0A CN113721532A (en) 2021-09-07 2021-09-07 PLC CPU extension module multi-bus protocol self-adaption method

Publications (1)

Publication Number Publication Date
CN113721532A true CN113721532A (en) 2021-11-30

Family

ID=78682289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111045168.0A Pending CN113721532A (en) 2021-09-07 2021-09-07 PLC CPU extension module multi-bus protocol self-adaption method

Country Status (1)

Country Link
CN (1) CN113721532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115047819A (en) * 2022-05-17 2022-09-13 北京万昇智能科技有限公司 PLC system, PLC data transmission method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201307867Y (en) * 2008-11-13 2009-09-09 上海纳杰电气成套有限公司 Communication system applicable to multiple communication protocols
CN202759477U (en) * 2012-08-23 2013-02-27 北京电子科技职业学院 Industrial communication protocol transition system
CN104090519A (en) * 2014-06-25 2014-10-08 深圳市汇川控制技术有限公司 System for being in communication with PLC extended module and implementation method thereof
CN204790496U (en) * 2015-07-18 2015-11-18 深圳市科为源自动化技术有限公司 Intelligent object of PLC core bus agreement extension PPI communication port
CN107196975A (en) * 2017-07-27 2017-09-22 山东有人信息技术有限公司 A kind of PLC networking serial converters of multiprotocol conversion
CN107315706A (en) * 2017-05-31 2017-11-03 深圳市显控科技股份有限公司 A kind of modularization PLC spread communication systems and communication means
US20180241730A1 (en) * 2017-02-22 2018-08-23 Red Hat, Inc. Supporting secure layer extensions for communication protocols
CN211457144U (en) * 2019-12-23 2020-09-08 泉州立亿德智能科技有限公司 Bus extension device connected with numerical control system through network interface and numerical control equipment
CN111698268A (en) * 2020-07-16 2020-09-22 江苏神彩科技股份有限公司 Equipment communication protocol converter

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201307867Y (en) * 2008-11-13 2009-09-09 上海纳杰电气成套有限公司 Communication system applicable to multiple communication protocols
CN202759477U (en) * 2012-08-23 2013-02-27 北京电子科技职业学院 Industrial communication protocol transition system
CN104090519A (en) * 2014-06-25 2014-10-08 深圳市汇川控制技术有限公司 System for being in communication with PLC extended module and implementation method thereof
CN204790496U (en) * 2015-07-18 2015-11-18 深圳市科为源自动化技术有限公司 Intelligent object of PLC core bus agreement extension PPI communication port
US20180241730A1 (en) * 2017-02-22 2018-08-23 Red Hat, Inc. Supporting secure layer extensions for communication protocols
CN107315706A (en) * 2017-05-31 2017-11-03 深圳市显控科技股份有限公司 A kind of modularization PLC spread communication systems and communication means
CN107196975A (en) * 2017-07-27 2017-09-22 山东有人信息技术有限公司 A kind of PLC networking serial converters of multiprotocol conversion
CN211457144U (en) * 2019-12-23 2020-09-08 泉州立亿德智能科技有限公司 Bus extension device connected with numerical control system through network interface and numerical control equipment
CN111698268A (en) * 2020-07-16 2020-09-22 江苏神彩科技股份有限公司 Equipment communication protocol converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115047819A (en) * 2022-05-17 2022-09-13 北京万昇智能科技有限公司 PLC system, PLC data transmission method and device

Similar Documents

Publication Publication Date Title
CN201966855U (en) AC (alternating current) servo control system based on Ether CAT network
CA2558111C (en) Communication system and slave and repeater units therefor
CN110505319A (en) A kind of RS485 is from device address auto-allocation method and system
CN106603367A (en) CAN bus communication method for time synchronization
CN106130680B (en) Industry internet field layer wideband bus clock synchronization realizing method
CN113721532A (en) PLC CPU extension module multi-bus protocol self-adaption method
CN107104867A (en) Communication method of master-slave system and master-slave system
CN102045200A (en) Conditional synchronization method for MAC address table entry of distributed switch
CN102811152B (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN106016587B (en) multi-connected air conditioning unit and communication method and device thereof
CN106789498A (en) Network address allocation method of Modbus communication network, slave node equipment and communication system
CN111034209A (en) Method for reading information from a group of electricity meters
CN104753749A (en) Multi-host communication method and multi-host communication system
CN104348783A (en) Method for rapid communication between internal machines and external machine in a multi-online system according to multiple protocols and device thereof
CN108390807A (en) A kind of SCM Based multi computer communication method
CN209373581U (en) A kind of updating device of multiple driver
CN104022515B (en) Reactive compensation cabinet and the control method of reactive compensation unit
CN108037785B (en) CAN current equalizing method with grouping function
CN106130797A (en) A kind of cloud computing cluster service method for monitoring state based on message flow and system
CN105978702A (en) Bidirectional communication method and device for point-to-multipoint network
CN202494900U (en) Control system for tobacco thin filament production line
CN106444535B (en) A kind of motion controller and control method
CN215120794U (en) Power carrier communication system of photovoltaic power station
CN205121306U (en) Automatic material control system that throws of reation kettle
CN107666371A (en) Communication method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211130

RJ01 Rejection of invention patent application after publication