CN202058004U - PLC (programmable logic controller) input circuit - Google Patents
PLC (programmable logic controller) input circuit Download PDFInfo
- Publication number
- CN202058004U CN202058004U CN2011202661585U CN201120266158U CN202058004U CN 202058004 U CN202058004 U CN 202058004U CN 2011202661585 U CN2011202661585 U CN 2011202661585U CN 201120266158 U CN201120266158 U CN 201120266158U CN 202058004 U CN202058004 U CN 202058004U
- Authority
- CN
- China
- Prior art keywords
- input
- circuit
- plc
- resistance
- switch
- 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 - Lifetime
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
The utility model discloses a PLC (programmable logic controller) input circuit, comprising an input terminal, a digit input circuit and an analog input circuit, wherein the input terminal of the digit input circuit and the input terminal of the analog input circuit are connected with the input terminal; the output terminal of the digit input circuit is connected with the digital signal input terminal of a PLC micro-processor; the output terminal of the analog input circuit is connected with the analog signal input terminal of the PLC micro-processor; and the digit input circuit comprises a digit source-type input shifting circuit and a digit drain-type input shifting circuit that are controlled by the PLC micro-processor, the analog input circuit comprises a analog input switch circuit controlled by the PLC micro-processor. In the utility model, each passage can be flexibly configured; therefore, one product can complete the functions of other various products; a user can configure the input according to the requirements; therefore, the user can be facilitated to great degree, and the cost of purchasing a plurality of products can be saved.
Description
[technical field]
The utility model relates to programmable controller, relates in particular to a kind of PLC input circuit.
[background technology]
The input circuit of conventional programmable sequence controller can't flexible configuration, each input channel has only simple function, promptly can only be that the digital quantity input maybe can only be the analog quantity input, and a product has only a kind of function, can not adapt to complicated industrial environment, increase the cost that the user purchases product.
[summary of the invention]
The technical problems to be solved in the utility model provides a kind of PLC input circuit that can adapt to different input environments.
In order to solve the problems of the technologies described above, the technical solution adopted in the utility model is, a kind of PLC input circuit, comprise input terminal, digital quantity input circuit and simulated measurement input circuit, the input end of digital quantity input circuit is connected with described input terminal with the input end of simulated measurement input circuit, the digital signal input end of the output termination PLC microprocessor of digital quantity input circuit, the input end of analog signal of the output termination PLC microprocessor of simulated measurement input circuit; Described digital quantity input circuit comprises digital quantity source type input-switching circuit and the digital quantity leakage type input-switching circuit by the control of PLC microprocessor, and described simulated measurement input circuit comprises the analog quantity input-switching circuit by the control of PLC microprocessor.
Above-described PLC input circuit comprises filtering circuit, and the input end of digital quantity input circuit is connected with described input terminal by described filtering circuit with the input end of simulated measurement input circuit.
Above-described PLC input circuit, described digital quantity input circuit comprises the hysteresis comparator circuit, the described filtering circuit output terminal of the input termination of hysteresis comparator circuit, the digital signal input end of output termination PLC microprocessor; Described digital quantity leakage type input-switching circuit comprises first switch and the 4th resistance by the control of PLC microprocessor, described first switch and the series connection of the 4th resistance, external 10 to the 32V power supplys of one end of digital quantity leakage type input-switching circuit, the input end of another termination hysteresis comparator circuit; Described digital quantity source type input-switching circuit comprises second switch and the 5th resistance by the control of PLC microprocessor, described second switch and the series connection of the 5th resistance, one end ground connection of digital quantity source type input-switching circuit, the input end of another termination hysteresis comparator circuit.
Above-described PLC input circuit, described simulated measurement input circuit comprises voltage follower circuit, the described filtering circuit output terminal of the input termination of voltage follower circuit, the input end of analog signal of output termination PLC microprocessor; Described analog quantity input-switching circuit comprises the first analog quantity input-switching circuit and the second analog quantity input-switching circuit; The first analog quantity input-switching circuit comprises the 3rd switch and first resistance by the control of PLC microprocessor, described the 3rd switch and the series connection of first resistance, an end ground connection of the first analog quantity input-switching circuit, the input end of another termination voltage follower circuit; The second analog quantity input-switching circuit comprises the 4th switch, second resistance and the 3rd resistance by the control of PLC microprocessor, described the 4th switch is a double throw switch, the Chang Heduan of double throw switch is by the 3rd resistance eutral grounding, and the Chang Kaiduan of double throw switch is by the input end of another termination voltage follower circuit of the second resistance eutral grounding double throw switch.
Each passage of the utility model PLC input circuit can flexible configuration, such product just can be finished the function of other multiple products, the user can be configured input when using as required, make things convenient for the user so to the full extent, saved the cost of buying many products for the user.
[description of drawings]
Below in conjunction with the drawings and specific embodiments the utility model is described in further detail.
Fig. 1 is the circuit theory diagrams of the utility model PLC input circuit embodiment 1.
Fig. 2 is the circuit diagram of the utility model PLC input circuit embodiment 2.
[embodiment]
The circuit theory of the utility model PLC input circuit embodiment 1 as shown in Figure 1.Comprise input terminal, digital quantity input circuit and simulated measurement input circuit, the input end of digital quantity input circuit is connected with input terminal with the input end of simulated measurement input circuit, the digital signal input end of the output termination PLC microprocessor of digital quantity input circuit, the input end of analog signal of the output termination PLC microprocessor of simulated measurement input circuit; The digital quantity input circuit comprises digital quantity source type input-switching circuit and the digital quantity leakage type input-switching circuit by the control of PLC microprocessor, and simulated measurement input circuit comprises the analog quantity input-switching circuit by the control of PLC microprocessor.
External input terminals is connected with the input end of digital quantity input circuit and the input end of simulated measurement input circuit by input filter circuit.
The digital quantity input circuit comprises the hysteresis comparator circuit, and the input end of hysteresis comparator circuit connects the input filter circuit output terminal by resistance R 7, the digital signal input end CPU_IO of hysteresis comparator circuit output termination PLC microprocessor; Digital quantity leakage type input-switching circuit comprises first K switch 1 and the 4th resistance R 4 by the control of PLC microprocessor, first K switch 1 and 4 series connection of the 4th resistance R, external 10 to the 32V power supply UB of one end of digital quantity leakage type input-switching circuit, the input end of another termination hysteresis comparator circuit; Digital quantity source type input-switching circuit comprises second switch K2 and the 5th resistance R 5 by the control of PLC microprocessor, second switch K2 and 5 series connection of the 5th resistance R, an end ground connection of digital quantity source type input-switching circuit, the input end of another termination hysteresis comparator circuit.
Simulated measurement input circuit comprises voltage follower circuit, and the input end of voltage follower circuit connects the input filter circuit output terminal by resistance R 6, the input end of analog signal CPU_AD of the output termination PLC microprocessor of voltage follower circuit; The analog quantity input-switching circuit comprises the first analog quantity input-switching circuit and the second analog quantity input-switching circuit; The first analog quantity input-switching circuit comprises by the 3rd K switch 3 of PLC microprocessor control and first resistance R, 1, the three K switch 3 and 1 series connection of first resistance R, an end ground connection of the first analog quantity input-switching circuit, the output terminal of another termination input filter circuit; The second analog quantity input-switching circuit comprises the 4th K switch $, second resistance R 2 and the 3rd resistance R 3 by the control of PLC microprocessor, the 4th switch is a double throw switch, the Chang Heduan of double throw switch is by the 3rd resistance R 3 ground connection, and the Chang Kaiduan of double throw switch is by the input end of another termination voltage follower circuit of second resistance R, 2 ground connection double throw switchs.
The duty of the circuit of PLC input circuit embodiment 1 is as follows: when closed, is the leakage type input of digital quantity by the K1 of microprocessor control; When K2 is closed, be the source type input and the PWM input of digital quantity; When K3 is closed, be analog quantity 0-20mA input; K1, K2, K3 disconnects, and K4 remains on normal-closed end, is analog quantity 0-10V input; When the K4 end is got to Chang Kaiduan, be analog quantity 0-32V input.
The user can carry out the selection of analog quantity input and numeral input by upper computer software, when being chosen as the analog quantity input, also will select under its submenu is 0-10V, 0-32V, 0-20mA, slave computer became machine code by parsing after selection was finished, switch to hardware is provided with, be analog quantity 0-20mA input as a channel definition will importing, then slave computer is resolved back K switch 3 closures, and then channel arrangement is analog quantity 0-20mA input; When being chosen as digital quantity when input, selecting under its submenu is source type input, the input of leakage type, PWM input, and slave computer is provided with K switch 1, the K2 of hardware by resolving to machine code after selecting to finish.
The circuit of the utility model PLC input circuit embodiment 2 as shown in Figure 2.Terminal Z_1, Z_2, Z_3 and Z_4 connect the signal input end of switching tube Q1, control chip U1 (RN4983), control chip U2 (DDC124EU) respectively, accept the control signal that microprocessor is sent.
When upper computer software is imported above-mentioned path setting for the analog quantity electric current, the Z_1 input high level, make switching tube Q1 conducting, at this moment when external input terminals has the electric current input, after the filtering circuit filtering of electric current through inductance L 1, capacitor C 1 composition, on resistance R 2, produce voltage, converted current signal to voltage signal, form to such an extent that bleeder circuit drops to voltage below the 3.3V through resistance R 1, resistance R 4, resistance R 5, resistance R 6, resistance R 9 again, after passing through U3 filtering again, be input to the AD conversion port of capacitor C PU.
When upper computer software is imported above-mentioned path setting for analog quantity voltage 0-10V, after the filtering circuit filtering of voltage through inductance L 1, capacitor C 1 composition, form to such an extent that bleeder circuit drops to voltage below the 3.3V through resistance R 1, resistance R 4, resistance R 5, resistance R 6, resistance R 9, after through U3 filtering, be input to the AD conversion port of capacitor C PU.
When upper computer software is imported above-mentioned path setting for analog quantity voltage 0-32V, the Z_3 input high level, at this moment when voltage is imported, after the filtering circuit filtering of voltage through inductance L 1, capacitor C 1 composition, form to such an extent that bleeder circuit drops to voltage below the 3.3V through resistance R 1, resistance R 4, resistance R 5, resistance R 6, resistance R 8, resistance R 9, after through U3 filtering, be input to the AD conversion port of capacitor C PU.
When upper computer software is the input of digital quantity leakage type with above-mentioned path setting, the Z_2 input high level, Supp inductance L y_D C externally powers by diode D1, resistance R 1, resistance R 7, has so just formed leakage type input circuit.After connecting sensor at user's terminal, sensor signal passes to the IO mouth of capacitor C PU with digital quantity signal after through the hysteresis loop comparator of being made up of resistance R 10, resistance R 11, resistance R 12, resistance R 13, resistance R 14, U4.
When upper computer software is the type input of digital quantity source with above-mentioned path setting, the Z_4 input high level, resistance R 1, resistance R 7 series connection back ground connection have so just been formed source type input circuit.After connecting sensor at user's terminal, sensor signal passes to the IO mouth of capacitor C PU with digital quantity signal after through the hysteresis loop comparator of being made up of resistance R 10, resistance R 11, resistance R 12, resistance R 13, resistance R 14, U4.
Claims (4)
1. PLC input circuit, it is characterized in that, comprise input terminal, digital quantity input circuit and simulated measurement input circuit, the input end of digital quantity input circuit is connected with described input terminal with the input end of simulated measurement input circuit, the digital signal input end of the output termination PLC microprocessor of digital quantity input circuit, the input end of analog signal of the output termination PLC microprocessor of simulated measurement input circuit; Described digital quantity input circuit comprises digital quantity source type input-switching circuit and the digital quantity leakage type input-switching circuit by the control of PLC microprocessor, and described simulated measurement input circuit comprises the analog quantity input-switching circuit by the control of PLC microprocessor.
2. PLC input circuit according to claim 1 is characterized in that, comprises filtering circuit, and the input end of digital quantity input circuit is connected with described input terminal by described filtering circuit with the input end of simulated measurement input circuit.
3. PLC input circuit according to claim 2 is characterized in that, described digital quantity input circuit comprises the hysteresis comparator circuit, the described filtering circuit output terminal of the input termination of hysteresis comparator circuit, the digital signal input end of output termination PLC microprocessor; Described digital quantity leakage type input-switching circuit comprises first switch and the 4th resistance by the control of PLC microprocessor, described first switch and the series connection of the 4th resistance, external 10 to the 32V power supplys of one end of digital quantity leakage type input-switching circuit, the input end of another termination hysteresis comparator circuit; Described digital quantity source type input-switching circuit comprises second switch and the 5th resistance by the control of PLC microprocessor, described second switch and the series connection of the 5th resistance, one end ground connection of digital quantity source type input-switching circuit, the input end of another termination hysteresis comparator circuit.
4. PLC input circuit according to claim 2 is characterized in that described simulated measurement input circuit comprises voltage follower circuit, the described filtering circuit output terminal of the input termination of voltage follower circuit, the input end of analog signal of output termination PLC microprocessor; Described analog quantity input-switching circuit comprises the first analog quantity input-switching circuit and the second analog quantity input-switching circuit; The first analog quantity input-switching circuit comprises the 3rd switch and first resistance by the control of PLC microprocessor, described the 3rd switch and the series connection of first resistance, one end ground connection of the first analog quantity input-switching circuit, another termination other end connects the output terminal of filtering circuit; The second analog quantity input-switching circuit comprises the 4th switch, second resistance and the 3rd resistance by the control of PLC microprocessor, described the 3rd switch is a double throw switch, the Chang Heduan of double throw switch is by the 3rd resistance eutral grounding, and the Chang Kaiduan of double throw switch is by the input end of another termination voltage follower circuit of the second resistance eutral grounding double throw switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011202661585U CN202058004U (en) | 2011-07-26 | 2011-07-26 | PLC (programmable logic controller) input circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011202661585U CN202058004U (en) | 2011-07-26 | 2011-07-26 | PLC (programmable logic controller) input circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202058004U true CN202058004U (en) | 2011-11-30 |
Family
ID=45017974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011202661585U Expired - Lifetime CN202058004U (en) | 2011-07-26 | 2011-07-26 | PLC (programmable logic controller) input circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202058004U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436210A (en) * | 2011-12-16 | 2012-05-02 | 深圳市合信自动化技术有限公司 | PLC (programmable logic controller) and various input voltage compatibility method thereof |
CN102540956A (en) * | 2011-12-16 | 2012-07-04 | 深圳市合信自动化技术有限公司 | PLC (Programmable Logic Controller) and compatible method for various input voltages thereof |
CN111711441A (en) * | 2019-03-18 | 2020-09-25 | 青海凯之成智能装备有限公司 | Apply to adjustable interface circuit of high-low pressure signal of controller |
-
2011
- 2011-07-26 CN CN2011202661585U patent/CN202058004U/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436210A (en) * | 2011-12-16 | 2012-05-02 | 深圳市合信自动化技术有限公司 | PLC (programmable logic controller) and various input voltage compatibility method thereof |
CN102540956A (en) * | 2011-12-16 | 2012-07-04 | 深圳市合信自动化技术有限公司 | PLC (Programmable Logic Controller) and compatible method for various input voltages thereof |
CN111711441A (en) * | 2019-03-18 | 2020-09-25 | 青海凯之成智能装备有限公司 | Apply to adjustable interface circuit of high-low pressure signal of controller |
CN111711441B (en) * | 2019-03-18 | 2023-04-25 | 青海凯之成智能装备有限公司 | High-low voltage signal adjustable interface circuit applied to controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202694027U (en) | Industrial automation controller | |
CN202058004U (en) | PLC (programmable logic controller) input circuit | |
CN102880088B (en) | Expansion circuit of switching value input interface | |
CN102739146B (en) | Servo-control system | |
CN202075630U (en) | Servo control system | |
CN205647498U (en) | High accuracy PWM rotary die volume of planning output circuit | |
CN103023321A (en) | Buck type switching power supply converter controlled by digital sliding mode variable structure | |
CN203301459U (en) | Analog quantity key acquisition circuit | |
CN102983799A (en) | Electromotor rotating speed control system | |
CN202533823U (en) | Temperature control system | |
CN102098052A (en) | Digital/analog conversion method | |
CN103227563A (en) | Intelligent digital control switch power supply | |
CN204272077U (en) | A kind of PWM turns 4-20mA signal isolation change-over circuit | |
CN208737290U (en) | A kind of analog input equipment of PLC host | |
CN103529339B (en) | A kind of circuit interface and status monitoring IED | |
CN202975965U (en) | Direct current voltage converting circuit | |
CN204316474U (en) | For the pwm circuit of Switching Power Supply remote control benchmark | |
CN204695748U (en) | A kind of microcontroller of configurable LCD driving circuit | |
CN104375444A (en) | 4-20 mA current signal output circuit | |
CN204832915U (en) | Power module based on PLC system | |
CN209388500U (en) | A kind of early learning machine circuit | |
CN202995289U (en) | Time controller with functions time cumulating and counting function display | |
CN204256428U (en) | A kind of analog output module and motor protector | |
CN206313662U (en) | The program control DC voltage booster circuit of Waterwheel-type | |
CN203825416U (en) | PLC-based variable display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20111130 |
|
CX01 | Expiry of patent term |