CN109634205A - PLC device with wireless communication function - Google Patents

PLC device with wireless communication function Download PDF

Info

Publication number
CN109634205A
CN109634205A CN201811571664.8A CN201811571664A CN109634205A CN 109634205 A CN109634205 A CN 109634205A CN 201811571664 A CN201811571664 A CN 201811571664A CN 109634205 A CN109634205 A CN 109634205A
Authority
CN
China
Prior art keywords
wireless communication
communication module
cpu
module
plc device
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
CN201811571664.8A
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.)
Taihua Wisdom Industry Group Co Ltd
Original Assignee
Taihua Wisdom Industry Group 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 Taihua Wisdom Industry Group Co Ltd filed Critical Taihua Wisdom Industry Group Co Ltd
Priority to CN201811571664.8A priority Critical patent/CN109634205A/en
Publication of CN109634205A publication Critical patent/CN109634205A/en
Pending legal-status Critical Current

Links

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/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/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/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

This application discloses a kind of PLC devices with wireless communication function, comprising: CPU, input module, output module, wire communication module and wireless communication module;CPU receives the input signal that input module is sent, and executes user program, is analyzed input signal and handled, and output control signal sends control signals to output module;CPU carries out information exchange by the electrical connection inside PLC device with wire communication module or with wireless communication module;Wireless communication module is WIFI wireless communication module or LORA wireless communication module;Communication interface between WIFI wireless communication module and CPU is UART interface;Communication interface between LORA wireless communication module and CPU is UART interface;The energization pins of wireless communication module place apparatus for storing electrical energy.Information exchange between PLC and host computer can carry out through wireless communication, more convenient, more flexible.

Description

PLC device with wireless communication function
Technical field
The present invention relates to electronic communication field more particularly to a kind of PLC devices with wireless communication function.
Background technique
Currently, the releases such as PLC (programmable logic controller (PLC)) manufacturer such as Siemens, Omron, Mitsubishi of the market mainstream PLC product, which is still by the way of " wire communication ", the operation such as be programmed to PLC, monitor and safeguard, that is, passes through cable and connect It meets PLC to be communicated with host computer, due to the limitation of cable, does not have flexibility in the use of PLC, it is also inconvenient.
The country have many manufacturers be proposed with traditional matching used wireless telecom equipment of PLC device, solve and PLC set The problem of standby remote operation, but such application mode increases cost, increases due to needing two equipment to be used in conjunction with each other To the occupancy of equipment installation space.
Summary of the invention
The invention discloses a kind of PLC device with wireless communication function, including CPU, input module, output module, Wire communication module and wireless communication module, wherein
The input module is coupled with the CPU phase, for input signal to be sent to the CPU;
The output module is coupled with the CPU phase, the output signal sent for receiving the CPU;
The CPU respectively with the input module, the output module, the wire communication module and described wireless Communication module mutually couples, and the CPU receives the input signal that the input module is sent, and user program is executed, to described Input signal is analyzed and is handled, and the control signal is sent to the output module by output control signal;The CPU Letter is carried out by the electrical connection inside the PLC device with the wire communication module or with the wireless communication module Breath interaction;
The wireless communication module is coupled with the CPU phase, for carrying out information exchange with the CPU;The CPU and institute Stating has electrical connection between wireless communication module;The wireless communication module is WIFI wireless communication module or remote-wireless electricity LORA wireless communication module;Communication interface between the WIFI wireless communication module and the CPU is universal asynchronous receiving-transmitting biography Defeated device UART interface;Communication interface between the remote-wireless electricity LORA wireless communication module and the CPU is general different Walk receiving-transmitting transmitter UART interface;The energization pins of the wireless communication module place apparatus for storing electrical energy;
The wire communication module is coupled with the CPU phase, for carrying out information exchange with the CPU.
Preferably, the apparatus for storing electrical energy is super capacitor or button cell.
Preferably, the electrical connection is the copper conductor or copper core connection cables on printing board PCB.
Preferably, there is electrical connection between the apparatus for storing electrical energy and the wireless communication module.
Preferably, the electrical connection between the apparatus for storing electrical energy and the wireless communication module is printed circuit board Copper conductor or copper core connection cables on PCB.
Compared with prior art, the PLC device provided by the invention with wireless communication function reaches following beneficial to effect Fruit:
First, the information exchange between PLC device of the invention and host computer can carry out through wireless communication, make PLC device using more convenient, it is more flexible.
Second, wireless communication module is fused in PLC device and is integrally formed by the present invention, significantly reduces cost, and Installation space occupies little space.
Third, wireless communication module power supply pin of the invention place apparatus for storing electrical energy, even if PLC device powers off, nothing Line communication module may continue to work normally.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of the PLC device in the embodiment of the present invention 1 with wireless communication function;
Fig. 2 is the CPU and host computer communication flow diagram of the PLC device in the embodiment of the present invention 3 with wireless communication function.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.It should be noted that described embodiment only actually is a part of the embodiment of the present invention, rather than whole realities Example is applied, and is actually merely illustrative, never as to the present invention and its application or any restrictions used.The guarantor of the application Protect range as defined by the appended claims.
Embodiment 1:
Specific embodiment shown in Figure 1 for the herein described PLC device with wireless communication function, the equipment packet It includes: CPU 101, input module 102, output module 103, wire communication module 104 and wireless communication module 105, wherein
The input module 102 is coupled with 101 phase of CPU, for input signal to be sent to the CPU 101;
The output module 103 is coupled with 101 phase of CPU, the output letter sent for receiving the CPU 101 Number;
The CPU 101 respectively with the input module 102, the output module 103, the wire communication module 104, And 105 phase of the wireless communication module coupling, the CPU receive the input signal that the input module 102 is sent, hold Row user program is analyzed and is handled to the input signal, and the control signal is sent to described by output control signal Output module 103;The CPU and the wire communication module or pass through in the PLC device with the wireless communication module The electrical connection in portion carries out information exchange;
The wireless communication module 105 is coupled with 101 phase of CPU, for carrying out information exchange with the CPU 101; There is electrical connection between the CPU 101 and the wireless communication module 105;The wireless communication module 105 is that WIFI is wireless Communication module or remote-wireless electricity LORA (remote-wireless electricity: Long Range Radio) wireless communication module;It is described Communication interface between WIFI wireless communication module and the CPU is universal asynchronous receiving-transmitting transmitter UART (universal asynchronous receiving-transmitting Transmitter: Universal Asynchronous Receiver/Transmitter) interface;The remote-wireless electricity LORA Communication interface between wireless communication module and the CPU is universal asynchronous receiving-transmitting transmitter UART interface;The wireless communication The energization pins of module 105 place apparatus for storing electrical energy;
The wire communication module 104 is coupled with 101 phase of CPU, for carrying out information exchange with the CPU 101.
Embodiment 2:
On the basis of embodiment 1, the present embodiment is another implementation of the PLC device with wireless communication function Example.
The energization pins of wireless communication module 105 described in this example place apparatus for storing electrical energy, the electric energy storage dress It is set to super capacitor or button cell;There are electrical connection, institute between the apparatus for storing electrical energy and the wireless communication module 105 State electrical connection between apparatus for storing electrical energy and the wireless communication module 105 be copper conductor on printing board PCB or Copper core connection cables.
There is electrical connection between the CPU 101 and the wireless communication module 105, the electrical connection is printed circuit Copper conductor or copper core connection cables on plate PCB.
Embodiment 3:
The present embodiment is a practical embodiment of the PLC device with wireless communication function.
CPU 101, input module 102, output module 103, wire communication module 104 and the nothing for including inside PLC device Line communication module 105.CPU 101 is the core of PLC device, it constantly acquires the input signal of input module 102, executes use Family program updates the output signal of output module 103.Input module 102 and output module 103 be contact external controlled device with The bridge of CPU 101.Input module 102 is used to receive and acquire the input signal of external equipment transmission.Output module 103 exports Signal is used to drive the external equipment (such as: the equipment such as contactor, indicator light, solenoid valve) that executes to work.Wire communication mould Block 104 for realizing CPU 101 and host computer 106 communication, if PLC program download, PLC program on-line debugging, PLC work shape State monitoring, PLC firmware update etc., wire communication module 104 are only supported to be communicated by cable with host computer 106, not supported Wireless communication, host computer 106 are general general computer, including desktop computer, laptop and server etc..Wireless communication Module 105 is similar with 104 function of wire communication module, is equally used for realizing the communication of CPU101 and host computer 106, due to wireless Communication module 105 effectively avoids the limitation of " cable ", so that PLC device is more convenient to use, flexible.In PLC device , there is electric connecting relation in inside between wireless communication module 105 and CPU 101, the interaction of information may be implemented whereby, electrically connect The copper conductor or copper core connection cables being connected on printing board PCB.
As shown in Fig. 2, CPU 101 and the communication process of external host computer 106 are: CPU 101 is sent to external upper The data of machine 106 first pass through the electrical connection between CPU 101 and wireless communication module 105, are transmitted to wireless communication module 105, wireless communication module 105 carries out transparent transmission to data, sends the data to host computer through wireless communication 106, similarly, the mode that the data that host computer 106 is sent to CPU 101 first pass through wireless communication is transmitted to wireless communication module 105, wireless communication module 105 transfers data to CPU 101 by the electrical connection between CPU 101.In order to guarantee number According to correct, reliable transmission, the transmission of data can be controlled using data check and retransmission mechanism.The CPU of PLC device 101 to host computer 106 send data when, while send data verification and, host computer 106 after receiving the data, meeting Calculate the verification of data received and, when verification and matching when calculating resulting verification and with receiving, that is, think data It is correctly received, host computer 106 sends answer signal to the CPU 101 of PLC device at this time;When calculate it is resulting verification and with connect When the verification and mismatch that receive, that is, think that mistake occur in transmission process in data, host computer 106 is no longer set to PLC at this time Standby CPU 101 sends answer signal, if the CPU 101 of PLC device can not receive before the deadline answer signal or The answer signal mistake received, then it is assumed that data send failure, and the CPU 101 of PLC device can automatically retransmit data, number When being more than defined number according to the number of retransmission, then " indicator light " or " display screen " is passed through by the CPU of PLC device 101 Deng report mistake.Similarly, data check and retransmission mechanism when host computer 106 sends data to the CPU 101 of PLC device are also So.
Due to using wireless communication module 105, the wireless communication of host computer 106 Yu PLC device may be implemented.PLC with The information exchange of host computer 106, information exchange include: that PLC program is downloaded, PLC program on-line debugging, PLC working state monitoring, PLC firmware update etc. can carry out through wireless communication, without reusing cable for host computer 106 and PLC device It is connected.
Wireless communication module 105 can be WIFI wireless communication module, have between WIFI wireless communication module and CPU 101 Electric connecting relation, and pass through the interaction of UART communication interface realization information between CPU 101.The wireless communication module 105 Also LORA wireless communication module can be used, there is electric connecting relation between LORA wireless communication module and CPU 101, and with The interaction of information is realized between CPU 101 by UART communication interface.
As the further improvement of PLC device, the energization pins of wireless communication module 105 can place electric energy storage dress It sets, when PLC device powers off suddenly, wireless communication module 105 can work on, in this way when external host computer and PLC device When carrying out wireless communication, due to being able to detect that wireless module 105 works normally, and the unresponsive letter of CPU 101 in PLC device Number, PLC device can be deduced and be currently at malfunction.
The apparatus for storing electrical energy that 105 energization pins of wireless communication module use can be super capacitor, be also possible to button Battery;There is electrical connection between apparatus for storing electrical energy and wireless communication module 105, is electrically connected as on printing board PCB Copper conductor or copper core connection cables.
As can be seen from the above embodiments beneficial effect existing for the application is:
First, the information exchange between PLC device of the invention and host computer can carry out through wireless communication, make PLC device using more convenient, it is more flexible.
Second, wireless communication module is fused in PLC device and is integrally formed by the present invention, significantly reduces cost, and Installation space occupies little space.
Third, wireless communication module power supply pin of the invention place apparatus for storing electrical energy, even if PLC device powers off, nothing Line communication module may continue to work normally.
Above by drawings and examples, example is passed through to of the invention one although doing to technical solution of the present invention A little specific embodiments are described in detail, but it should be appreciated by those skilled in the art example above is merely to carry out Illustrate, the range being not intended to be limiting of the invention.Although the present invention is described in detail referring to the foregoing embodiments, right For those skilled in the art, it can still modify to technical solution documented by previous embodiment or right Part of technical characteristic is equivalently replaced.All within the spirits and principles of the present invention, it is made it is any modification, equally replace It changes, improve, should all be included in the protection scope of the present invention.The scope of the present invention is defined by the appended claims.

Claims (5)

1. a kind of PLC device with wireless communication function characterized by comprising CPU, input module, output module, have Line communication module and wireless communication module, wherein
The input module is coupled with the CPU phase, for input signal to be sent to the CPU;
The output module is coupled with the CPU phase, the output signal sent for receiving the CPU;
The CPU respectively with the input module, the output module, the wire communication module and the wireless communication Module mutually couples, and the CPU receives the input signal that the input module is sent, and user program is executed, to the input Signal is analyzed and is handled, and the control signal is sent to the output module by output control signal;The CPU and institute It states wire communication module or information friendship is carried out by the electrical connection inside the PLC device with the wireless communication module Mutually;
The wireless communication module is coupled with the CPU phase, for carrying out information exchange with the CPU;The CPU and the nothing There is electrical connection between line communication module;The wireless communication module is WIFI wireless communication module or remote-wireless electricity LORA Wireless communication module;Communication interface between the WIFI wireless communication module and the CPU is universal asynchronous receiving-transmitting transmitter UART interface;Communication interface between the remote-wireless electricity LORA wireless communication module and the CPU is universal asynchronous receipts Send out transmitter UART interface;The energization pins of the wireless communication module place apparatus for storing electrical energy;
The wire communication module is coupled with the CPU phase, for carrying out information exchange with the CPU.
2. the PLC device according to claim 1 with wireless communication function, which is characterized in that the electric energy storage dress It is set to super capacitor or button cell.
3. the PLC device according to claim 1 with wireless communication function, which is characterized in that the electrical connection is Copper conductor or copper core connection cables on printing board PCB.
4. the PLC device according to claim 1 with wireless communication function, which is characterized in that the electric energy storage dress Setting has electrical connection between the wireless communication module.
5. the PLC device according to claim 4 with wireless communication function, which is characterized in that the electric energy storage dress Setting the electrical connection between the wireless communication module is the copper conductor or copper core connection cables on printing board PCB.
CN201811571664.8A 2018-12-21 2018-12-21 PLC device with wireless communication function Pending CN109634205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811571664.8A CN109634205A (en) 2018-12-21 2018-12-21 PLC device with wireless communication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811571664.8A CN109634205A (en) 2018-12-21 2018-12-21 PLC device with wireless communication function

Publications (1)

Publication Number Publication Date
CN109634205A true CN109634205A (en) 2019-04-16

Family

ID=66076441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811571664.8A Pending CN109634205A (en) 2018-12-21 2018-12-21 PLC device with wireless communication function

Country Status (1)

Country Link
CN (1) CN109634205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231798A (en) * 2019-05-21 2019-09-13 上海航天设备制造总厂有限公司 The communication alternate acknowledge mechanism of human-computer interaction interface and programmable logic controller (PLC)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065880A (en) * 2003-12-26 2005-06-30 재단법인 포항산업과학연구원 Programmable logic controller for wire/wireless communication by using embedded linux
CN202033886U (en) * 2011-03-22 2011-11-09 江苏天泽环保科技有限公司 Data acquisition and transmission instrument
CN202677232U (en) * 2012-04-25 2013-01-16 山西省电力公司长治供电分公司 Transformer-station remote monitoring device
CN202904293U (en) * 2012-11-21 2013-04-24 广东顺德宸熙物联科技有限公司 Remote wireless oxygenation controller
CN103347060A (en) * 2013-06-17 2013-10-09 张燕 System and method for collecting long-distance carbon emission data based on vehicle-mounted diagnostic system
CN207380484U (en) * 2017-06-07 2018-05-18 石家庄赛塔普科技有限公司 A kind of universal Wi-Fi Intelligence Remote Controllers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065880A (en) * 2003-12-26 2005-06-30 재단법인 포항산업과학연구원 Programmable logic controller for wire/wireless communication by using embedded linux
CN202033886U (en) * 2011-03-22 2011-11-09 江苏天泽环保科技有限公司 Data acquisition and transmission instrument
CN202677232U (en) * 2012-04-25 2013-01-16 山西省电力公司长治供电分公司 Transformer-station remote monitoring device
CN202904293U (en) * 2012-11-21 2013-04-24 广东顺德宸熙物联科技有限公司 Remote wireless oxygenation controller
CN103347060A (en) * 2013-06-17 2013-10-09 张燕 System and method for collecting long-distance carbon emission data based on vehicle-mounted diagnostic system
CN207380484U (en) * 2017-06-07 2018-05-18 石家庄赛塔普科技有限公司 A kind of universal Wi-Fi Intelligence Remote Controllers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231798A (en) * 2019-05-21 2019-09-13 上海航天设备制造总厂有限公司 The communication alternate acknowledge mechanism of human-computer interaction interface and programmable logic controller (PLC)

Similar Documents

Publication Publication Date Title
CN109558371B (en) Method for communicating with a microcontroller, and computing system
CN105824771B (en) Electronic equipment and its master-slave switching method and device
CN109459948B (en) Household electrical appliance communication device and household electrical appliance
CN202975723U (en) Household intelligent controller and remote household control system
CN101902769B (en) Single board wireless debugging method and device
CN109634205A (en) PLC device with wireless communication function
CN101877863B (en) Serial interface communication test system
CN102609339A (en) Embedded main board testing device
CN103728502A (en) Antenna test method and system and wireless terminal
CN105406883A (en) Wireless communication device
CN102298550A (en) Test device for recommended standard 485 (RS 485) port
US11513784B2 (en) Software update device and software update method using same
CN108023897B (en) Communication port and electronic equipment with same
CN201966901U (en) Radio frequency receiving and transmitting device
CN206363306U (en) A kind of terminal and its serial communication circuit
CN205139898U (en) Thing networking hardware development board
CN101155037B (en) Signal exchange system and its voltage transformation connector
CN205105240U (en) Communication circuit
CN207732791U (en) Communication port and electronic equipment with the communication port
CN205334188U (en) Seismograph station equipment remote control device
CN204884157U (en) Infrared transmitting data's oxygenerator
CN211479111U (en) Firmware upgrading interface
CN110225053B (en) Common interface communication reconstruction device and communication control method
CN204216902U (en) A kind of bidirectional monitoring device of RS232 serial ports test macro
CN108270129A (en) Connector

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416