CN2932490Y - Single-chip machine and industrial control machine communication interface and key multiplexing device - Google Patents

Single-chip machine and industrial control machine communication interface and key multiplexing device Download PDF

Info

Publication number
CN2932490Y
CN2932490Y CN 200620026958 CN200620026958U CN2932490Y CN 2932490 Y CN2932490 Y CN 2932490Y CN 200620026958 CN200620026958 CN 200620026958 CN 200620026958 U CN200620026958 U CN 200620026958U CN 2932490 Y CN2932490 Y CN 2932490Y
Authority
CN
China
Prior art keywords
chip microcomputer
chip machine
communication interface
single chip
communication
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
CN 200620026958
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.)
Tianjin Baili Electronic Co Ltd
Original Assignee
Tianjin Baili Electronic 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 Tianjin Baili Electronic Co Ltd filed Critical Tianjin Baili Electronic Co Ltd
Priority to CN 200620026958 priority Critical patent/CN2932490Y/en
Application granted granted Critical
Publication of CN2932490Y publication Critical patent/CN2932490Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The utility model relates to a single chip machine and industrial controller communication interface and key reset device, comprising a single chip machine, a manual set circuit and computer composed of the corresponding operation key series-connected with a resistance and then parallel connected to a DC power supply, and MAX232 communication chip, wherein the RS232 communication port of the single chip machine is connected with the computer with the MAX232 communication port and the RX, TD and CK terminal of the single chip machine is respectively connected with the corresponding operation key of the manual set circuit. The communication method of the terminal multiplexing saves the limited terminal of the single chip machine, lowers cost, optimizes the program structure and increases the integral operation efficiency of the system.

Description

Single-chip microcomputer and industrial computer communication interface and button multiplexing device
Affiliated technical field
The utility model belongs to computing machine communication interface device, particularly relates to a kind of single-chip microcomputer and industrial computer communication interface and button multiplexing device.
Background technology
In the computer communication device that adopts for the technical matters of the manual setup parameter that solves existence and the given parameter of communication in the communication between the present known computing machine, be mostly two kinds of parameter given ways are realized with independent separately computer ports.For the not rich computing machine of this generic port of single-chip microcomputer, the not enough phenomenon of port will occur like this,, be unfavorable for the saving of production cost if at this moment adopt the more single-chip microcomputer of pin then can cause resource waste again.
Summary of the invention
The utility model provides a kind of one-chip machine port multiplexing for solving the technical matters that exists in the known technology, can be between manual setting and communication automatically be given single-chip microcomputer and the industrial computer communication interface and the button multiplexing device of switching flexibly.
The utility model for the technical scheme that solves the technical matters that exists in the known technology and take is: it includes single-chip microcomputer, by corresponding operating button each and parallel connection again after a resistance connect respectively, and being connected to manual initialization circuit and the computing machine of forming on the direct supply, it also includes the MAX232 communication chip; RS232 PORT COM on the described single-chip microcomputer is connected with described computing machine by described MAX232 communication chip; The RX of single-chip microcomputer, TD, the corresponding respectively corresponding operating button that is connected to manual initialization circuit of CK end.
The utility model can also adopt following technical measures:
Described computing machine is single-chip microcomputer, industrial control computer or PLC.
Advantage and the good effect that the utlity model has are: owing to adopt the communication modes of this multiplexed port, not only saved the limited port of single-chip microcomputer, reduced cost, and optimized program structure, improved the overall operation efficiency of system.
Description of drawings
Fig. 1 is circuit theory diagrams of the present utility model;
Fig. 2 is a flow chart of the present utility model.
Embodiment
For further understanding summary of the invention of the present utility model, characteristics and effect, exemplifies now and following the present invention is used for embodiment on the circuit breaker short circuit overload test platform, and conjunction with figs. is described in detail as follows:
As shown in Figure 1, the RX of single-chip microcomputer, TD, corresponding respectively button SB2, SB3 and the SB1 that is connected to manual initialization circuit of CK end.Also respectively with in parallel again after resistance R 1, R2 and R3 connect, this parallel circuit is connected to 5 volts of direct supplys for button SB1, SB2 and SB3; The RX of single-chip microcomputer, TD end is connected to industrial computer PC by the MAX232 communication chip and goes up realization RS232 communication, and manually the switching of setup parameter and the given parameter dual mode of communication is called realization by program interrupt.
Its course of work is as shown in Figure 2: in the master routine operational process, single-chip microcomputer and industrial computer carry out the RS232 communication, and master routine constantly scans manual button state simultaneously; Master routine interrupts when the SB1 key is pressed for the first time, calls manual subroutine, and the communication between single-chip microcomputer and the PC at this moment will be blocked; The optional fixation numerical digit of SB2 key whenever clicks one of left side circulation; The SB3 key can be put number to selected position, whenever clicks to add one, to rules for doing division with a one-digit divisor on the abacus zero; Four all put after, click SB1 again and represent to confirm, promptly parameter is read in single-chip microcomputer, but still be manual operation state this moment, need insert a preset parameter (as 9999) again and then press SB1 and will withdraw from and interrupt to continue carry out master routine, system switches to auto state.

Claims (2)

1. a single-chip microcomputer and industrial computer communication interface and button multiplexing device, it includes single-chip microcomputer, is distinguished respectively and parallel connection again after a resistance is connected by the corresponding operating button, and be connected to manual initialization circuit and the computing machine of forming on the direct supply, it is characterized in that: further comprising has the MAX232 communication chip; RS232 PORT COM on the described single-chip microcomputer is connected with described computing machine by described MAX232 communication chip; The RX of single-chip microcomputer, TD, the corresponding respectively corresponding operating button that is connected to manual initialization circuit of CK end.
2. single-chip microcomputer according to claim 1 and industrial computer communication interface and button multiplexing device is characterized in that described computing machine is single-chip microcomputer, industrial control computer or PLC.
CN 200620026958 2006-08-08 2006-08-08 Single-chip machine and industrial control machine communication interface and key multiplexing device Expired - Fee Related CN2932490Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200620026958 CN2932490Y (en) 2006-08-08 2006-08-08 Single-chip machine and industrial control machine communication interface and key multiplexing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200620026958 CN2932490Y (en) 2006-08-08 2006-08-08 Single-chip machine and industrial control machine communication interface and key multiplexing device

Publications (1)

Publication Number Publication Date
CN2932490Y true CN2932490Y (en) 2007-08-08

Family

ID=38348986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200620026958 Expired - Fee Related CN2932490Y (en) 2006-08-08 2006-08-08 Single-chip machine and industrial control machine communication interface and key multiplexing device

Country Status (1)

Country Link
CN (1) CN2932490Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765471A (en) * 2015-04-09 2015-07-08 合肥三立自动化工程有限公司 Novel remote sensing terminal with soft keyboard

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765471A (en) * 2015-04-09 2015-07-08 合肥三立自动化工程有限公司 Novel remote sensing terminal with soft keyboard

Similar Documents

Publication Publication Date Title
CN206523765U (en) LAN automatic control system based on PIC single chip microcomputer
CN101794267A (en) USB (Universal Serial Bus) switching device and realizing method thereof
CN205754402U (en) The PoE switch of tool human-computer interaction function
CN201364496Y (en) Variable frequency air conditioner mainboard test system
CN2932490Y (en) Single-chip machine and industrial control machine communication interface and key multiplexing device
CN101853075A (en) Multiplexed-output multifunctional keyboard
CN200997076Y (en) Network controlling system of injection moulding machine
CN204062096U (en) A kind of intelligent tap
CN204109111U (en) Chipper running automatic monitoring device
CN201616074U (en) Multi-output multifunctional keyboard
CN201821378U (en) Novel router
CN203143844U (en) Elevator landing calling controller
CN207439486U (en) A kind of low-power consumption gas meter, flow meter metering device
CN203128048U (en) Intelligent button switch
CN202679222U (en) Low-cost simple operation panel for inverter
CN201107618Y (en) Digital type multifunctional touch controller
CN215053507U (en) Non-negative pressure water supply energy-saving control system
CN103133387A (en) Energy-saving controller of fan with modular design
CN202475025U (en) Novel on-off linkage intelligent electricity meter
CN103391031A (en) Star-triangle intelligent start control circuit
CN203038070U (en) Electricity-saving device and energy-saving system using the same
CN204948047U (en) A kind of button fault emergency treatment device
CN201322873Y (en) Improved PLC dual hot standby communication device
CN104375498A (en) Electromechanical device general-purpose tester system based on one master processor and two slave processors
CN202434908U (en) Intelligent lamplight energy saving device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070808

Termination date: 20110808