CN103792876B - Programmable logic controller bringing convenience to communication - Google Patents

Programmable logic controller bringing convenience to communication Download PDF

Info

Publication number
CN103792876B
CN103792876B CN201410084138.4A CN201410084138A CN103792876B CN 103792876 B CN103792876 B CN 103792876B CN 201410084138 A CN201410084138 A CN 201410084138A CN 103792876 B CN103792876 B CN 103792876B
Authority
CN
China
Prior art keywords
module
communication
microprocessor mpu
programmable logic
logic controller
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.)
Expired - Fee Related
Application number
CN201410084138.4A
Other languages
Chinese (zh)
Other versions
CN103792876A (en
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.)
Anhui University
Original Assignee
Anhui University
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 Anhui University filed Critical Anhui University
Priority to CN201410084138.4A priority Critical patent/CN103792876B/en
Publication of CN103792876A publication Critical patent/CN103792876A/en
Application granted granted Critical
Publication of CN103792876B publication Critical patent/CN103792876B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The invention discloses a programmable logic controller bringing convenience to communication and belongs to the technical field of electronic communication. The programmable logic controller comprises a microprocessor MPU, a storage module, a mode conversion switch, a reset module, a communication switching module, a first data transmission module and a second data transmission module. The storage module, the mode conversion switch, the reset module and the communication switching module are respectively connected with the microprocessor MCU. The mode conversion switch controls the microprocessor MPU to select a communication mode. The communication switching module completes switching operation of the communication mode. The first data transmission module is arranged between the microprocessor MPU and an external communication module. The second data transmission module is arranged between the microprocessor MPU and an external program and a debugging module and is used for transmitting data. The programmable logic controller (PLC) is reduced in manufacture cost and shrunk in size and brings convenience to operation in the communication process.

Description

A kind of programmable logic controller (PLC) of being convenient to communication
Technical field
The present invention relates to a kind of programmable logic controller (PLC) (PLC), more particularly, relate to a kind of programmable logic controller (PLC) of being convenient to communication.
Background technology
Programmable logic controller (PLC) (Programmable Logic Controller, PLC) be take microprocessor as core, a kind of universal industrial automaton that integrated computer technology, automatic control technology and development communication technologies are got up.PLC programming language is simple, easy to learn, and the system cycle is short, and antijamming capability is strong, and reliability is high, and production technology is changed to strong adaptability, installs simply, easy to maintenance, is the Main Means of Industry Control and important infrastructure device.
The computing of PLC actuating logic, sequential control, control all types of machinery or production run, such as switching value logic control, the control of temperature, pressure discharge process, motion control, data processing etc. by numeral or analog pattern input/output.In manufacturing shop, there are a series of typical PLC application, such as mechanical arm system control, the control of disc tool magazine exchanging knives process, the control of material allocation system, cut-to-length sizes machine with functions control, elevator device control etc.The use of PLC, can significantly improve production control precision and reliability, the labor strength that alleviates, thereby enhance productivity, and reduces production costs.
PLC has very important effect in the hyundai electronics communications industry.Yet, in commercially available PLC, in order to meet the needs of different communication modes, different communication port need to be set respectively, or complete by independent communication module is set, this not only can increase the volume of a whole set of PLC, and its production cost also will increase greatly.In addition,, when using PLC to communicate control, as need be the program of PLC and parameter repaired or be revised, its operation be also extremely inconvenient.
Summary of the invention
1. the technical matters that invention will solve
The present invention is directed to the problem running in the above-mentioned use PLC process of mentioning, a kind of programmable logic controller (PLC) of being convenient to communication is provided, use the manufacturing cost of technical scheme PLC of the present invention greatly to reduce, also corresponding dwindling of volume, and more convenient to operate in communication process.
2. technical scheme
For achieving the above object, technical scheme provided by the invention is:
A kind of programmable logic controller (PLC) of being convenient to communication of the present invention, comprises microprocessor MPU and memory module, also comprises mode conversion switch, reseting module, communication handover module, the first data transmitting module and the second data transmitting module; Described microprocessor MPU is connected with memory module, mode conversion switch, reseting module and communication handover module respectively; Described mode conversion switch is controlled microprocessor MPU and is selected communication pattern, described communication handover module receives the control signal that microprocessor MPU sends, complete the blocked operation of communication pattern, described reseting module is for guaranteeing the stable operating voltage of microprocessor MPU, and described memory module is for storing from the data of external communication module or outside programming and debugging module reception; The first described data transmitting module is arranged between microprocessor MPU and external communication module, for transmit data between microprocessor MPU and external communication module; The second described data transmitting module is arranged between microprocessor MPU and outside programming and debugging module, for transmit data between microprocessor MPU and outside programming and debugging module.
As further improvement of the present invention, described mode conversion switch is single-pole double-throw switch (SPDT).
As further improvement of the present invention, described memory module adopts flash memories integrated package.
3. beneficial effect
Adopt technical scheme provided by the invention, compare with existing known technology, there is following remarkable result:
(1) a kind of programmable logic controller (PLC) of being convenient to communication of the present invention, the setting of its mode conversion switch, making user can switch as required microprocessor MPU communicates by letter with debugging module with external communication module or outside programming, communicate by letter more flexible, to the program of PLC and parameter, repair or revise convenient;
(2) a kind of programmable logic controller (PLC) of being convenient to communication of the present invention, by the setting of a communication handover module, just can be between two kinds of communication patterns switches flexibly, and the volume of PLC is little, low cost of manufacture.
Accompanying drawing explanation
Fig. 1 is a kind of structured flowchart of being convenient to the programmable logic controller (PLC) of communication of the present invention;
Fig. 2 is the schematic circuit of handover module of communicating by letter in a kind of programmable logic controller (PLC) of being convenient to communication of the present invention.
Embodiment
For further understanding content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
Embodiment 1
By reference to the accompanying drawings, a kind of programmable logic controller (PLC) of being convenient to communication of the present embodiment, comprises microprocessor MPU and memory module, also comprises mode conversion switch, reseting module, communication handover module, the first data transmitting module and the second data transmitting module.Described microprocessor MPU is connected with memory module, mode conversion switch, reseting module and communication handover module respectively.Described mode conversion switch is single-pole double-throw switch (SPDT), this mode conversion switch is connected with direct supply, be used for controlling microprocessor MPU and select communication pattern (communicate by letter with external communication module or communicate by letter with debugging module with outside programming), described communication handover module receives the control signal that microprocessor MPU sends, complete the blocked operation of communication pattern, described reseting module is for guaranteeing the stable operating voltage of microprocessor MPU, principle of stabilized voltage is: when the operating voltage of microprocessor MPU surpasses resetting voltage, reseting module output high level signal, output low level signal during lower than resetting voltage, thereby there is not error in data in control microprocessor MPU when low-voltage.Described memory module is for storing from the data of external communication module or outside programming and debugging module reception.Wherein, the present embodiment memory module used is FlasH flash memories integrated package, and power down is not lost, and can carry out the permanent backup of data.Microprocessor MPU, mode conversion switch (single-pole double-throw switch (SPDT)) and reseting module (Max809 chip) are also commercial goods.
The first described data transmitting module is arranged between microprocessor MPU and external communication module, for transmit data between microprocessor MPU and external communication module; The second described data transmitting module is arranged between microprocessor MPU and outside programming and debugging module, for transmit data between microprocessor MPU and outside programming and debugging module.In the present embodiment, the first data transmitting module and the second data transmitting module are line driver, this line driver becomes to be suitable for the voltage level of external communication module or outside programming and debugging module for microprocessor MPU being exported to the voltage level conversion of data, and external communication module or outside programming are become to be suitable for the voltage level of microprocessor MPU with the voltage level conversion of debugging module output data, to complete data transmission.Outside programming and debugging module are outside programming and debugging acid PADT.
Lower mask body is introduced the present embodiment and is realized the principle that communication pattern switches, referring to Fig. 2 (the inner schematic circuit for communication handover module of dotted line in Fig. 2), it is not shown that microprocessor MPU has UART port and all the other terminals of control terminal CNT(that are comprised of reception terminal RX, transmission terminal TX).Described communication handover module is realized by relay circuit, and the circuit of communication handover module comprises a resistance R 3, bipolar transistor T1, diode D1, relay K 1, a capacitor C, a power supply VCC and 2 common ground end GND; The base stage of described bipolar transistor T1 is connected with one end of resistance R 3, the other end of resistance R 3 is connected with external microprocessor MPU control terminal CNT, the emitting stage of bipolar transistor T1 is electrically connected on common ground end GND, and the collector of bipolar transistor T1 is electrically connected on the anode of diode D1 and one end of relay K 1; The cathodic electricity of described diode D1 is connected in one end and the power supply VCC of capacitor C, and the other end of capacitor C is electrically connected on the other end and the common ground end GND of relay K 1; The contact a of relay K 1 is connected with the reception terminal RX of microprocessor MPU, and the contact b of relay K 1 is connected with the transmission terminal TX of microprocessor MPU; The first data transmitting module is connected with contact d with contact c, and the second data transmitting module is connected with contact f with contact e.
The base stage of bipolar transistor T1 can receive the switch-over control signal sending from microprocessor MPU control terminal CNT, switch-over control signal is the low and high level (microprocessor MPU output level height is controlled by mode conversion switch) of microprocessor MPU output, to control the conducting of bipolar transistor T1.When the switching signal of microprocessor MPU is high level, bipolar transistor T1 conducting, makes relay K 1 energising, makes the contact a of relay K 1 be connected in contact c, and contact b is connected in contact d, thereby set up the tie line of the first data transmitting module and microprocessor MPU.When the switch-over control signal of microprocessor MPU is low level, bipolar transistor T1 cut-off, makes relay K 1 power-off, makes the contact a of relay K 1 be connected in contact e, and contact b is connected in contact f, thereby set up the tie line of the second data transmitting module and microprocessor MPU.
A kind of programmable logic controller (PLC) of being convenient to communication described in embodiment 1, user can be switched as required microprocessor MPU and be communicated by letter with debugging module with external communication module or outside programming, communicate by letter more flexible, to the program of PLC and parameter, repair or revise convenient, simple in structure, be easy to be extended and applied.

Claims (3)

1. a programmable logic controller (PLC) of being convenient to communication, comprises microprocessor MPU and memory module, it is characterized in that: also comprise mode conversion switch, reseting module, communication handover module, the first data transmitting module and the second data transmitting module; Described microprocessor MPU is connected with memory module, mode conversion switch, reseting module and communication handover module respectively; Described mode conversion switch is controlled microprocessor MPU and is selected communication pattern, described communication handover module receives the control signal that microprocessor MPU sends, complete the blocked operation of communication pattern, described reseting module is for guaranteeing the stable operating voltage of microprocessor MPU, and described memory module is for storing from the data of external communication module or outside programming and debugging module reception; The first described data transmitting module is arranged between microprocessor MPU and external communication module, for transmit data between microprocessor MPU and external communication module; The second described data transmitting module is arranged between microprocessor MPU and outside programming and debugging module, for transmit data between microprocessor MPU and outside programming and debugging module; The first described data transmitting module and the second data transmitting module are line driver, and outside programming and debugging module are outside programming and debugging acid PADT.
2. a kind of programmable logic controller (PLC) of being convenient to communication according to claim 1, is characterized in that: described mode conversion switch is single-pole double-throw switch (SPDT).
3. a kind of programmable logic controller (PLC) of being convenient to communication according to claim 2, is characterized in that: described memory module adopts flash memories integrated package.
CN201410084138.4A 2014-03-07 2014-03-07 Programmable logic controller bringing convenience to communication Expired - Fee Related CN103792876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410084138.4A CN103792876B (en) 2014-03-07 2014-03-07 Programmable logic controller bringing convenience to communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410084138.4A CN103792876B (en) 2014-03-07 2014-03-07 Programmable logic controller bringing convenience to communication

Publications (2)

Publication Number Publication Date
CN103792876A CN103792876A (en) 2014-05-14
CN103792876B true CN103792876B (en) 2014-11-12

Family

ID=50668667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410084138.4A Expired - Fee Related CN103792876B (en) 2014-03-07 2014-03-07 Programmable logic controller bringing convenience to communication

Country Status (1)

Country Link
CN (1) CN103792876B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538257B (en) * 2020-04-28 2021-08-03 盛瑞传动股份有限公司 Switching method and device of gearbox control system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2502324Y (en) * 2001-09-06 2002-07-24 铁道部株洲电力机车研究所 Data memory transfer device
CN202794946U (en) * 2012-02-16 2013-03-13 西门子公司 Switching device of PLC (programmable logic controller) and PLC applying same
CN103001895A (en) * 2012-12-18 2013-03-27 福建星网锐捷网络有限公司 Switching device and interface mode switching method
CN103257610A (en) * 2012-02-16 2013-08-21 西门子公司 Programmable logic controller (PLC) switching device and PLC thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2502324Y (en) * 2001-09-06 2002-07-24 铁道部株洲电力机车研究所 Data memory transfer device
CN202794946U (en) * 2012-02-16 2013-03-13 西门子公司 Switching device of PLC (programmable logic controller) and PLC applying same
CN103257610A (en) * 2012-02-16 2013-08-21 西门子公司 Programmable logic controller (PLC) switching device and PLC thereof
CN103001895A (en) * 2012-12-18 2013-03-27 福建星网锐捷网络有限公司 Switching device and interface mode switching method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538257B (en) * 2020-04-28 2021-08-03 盛瑞传动股份有限公司 Switching method and device of gearbox control system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103792876A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN103646628A (en) Blanking circuit
CN103792876B (en) Programmable logic controller bringing convenience to communication
CN103605328A (en) STC single chip microcomputer-based embedded programmable logic controller (PLC) industrial control board
CN204288205U (en) Automobile instrument Special programming
CN105220409A (en) A kind of Intelligent Control System of Washing Machine
CN204058888U (en) A kind of computer embroidery machine main board control circuit
CN211959610U (en) Wireless switch
CN204406642U (en) A kind of novel USB foot-switch actuator apparatus
CN202472346U (en) Bus PLC (Programmable Logic Controller) with multi-communication protocol
CN203745856U (en) Embedded PLC industrial control plate based on STC single-chip microcomputer
CN105629774B (en) Automatic remote control device
CN101901116A (en) Method for expanding low-capacity NAND flash chips into high-capacity module
CN207425086U (en) The Electric Actuator of long range mobile phone signal control
CN102207742B (en) Voltage control device
CN209459690U (en) A kind of Temperature Humidity Sensor with IO-LINK communication interface
CN203164742U (en) Magnetic-latching control system
CN204408315U (en) Signal input output interface Module part
CN203269952U (en) Intelligent blast furnace coal injection control system
CN207764608U (en) The dry contact switch controller of optocoupler output
CN203733289U (en) Remote control duplicator
CN210778419U (en) Contactor with communication and logic programming function
CN108682595A (en) System and relay communication device is arranged in relay
CN203673831U (en) EEPROM on-line burning circuit and conditioner
CN203705916U (en) Safe interlocking device
CN106681955B (en) Universal interface circuit for receiving signals from a servo motor position sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141112

Termination date: 20150307

EXPY Termination of patent right or utility model