CN101859285B - Method for transmitting status data of controlled self-service device to serial port of control host - Google Patents

Method for transmitting status data of controlled self-service device to serial port of control host Download PDF

Info

Publication number
CN101859285B
CN101859285B CN2010101611254A CN201010161125A CN101859285B CN 101859285 B CN101859285 B CN 101859285B CN 2010101611254 A CN2010101611254 A CN 2010101611254A CN 201010161125 A CN201010161125 A CN 201010161125A CN 101859285 B CN101859285 B CN 101859285B
Authority
CN
China
Prior art keywords
data
service device
controlled self
serial ports
main control
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
CN2010101611254A
Other languages
Chinese (zh)
Other versions
CN101859285A (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.)
Inspur Shandong Electronics Information Ltd
Original Assignee
Inspur Shandong Electronics Information 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 Inspur Shandong Electronics Information Ltd filed Critical Inspur Shandong Electronics Information Ltd
Priority to CN2010101611254A priority Critical patent/CN101859285B/en
Publication of CN101859285A publication Critical patent/CN101859285A/en
Application granted granted Critical
Publication of CN101859285B publication Critical patent/CN101859285B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method for transmitting status data of a controlled self-service device to a serial port of a control host, and belongs to the technical field of self-service products. The control host and the controlled self-service device are characterized in that control host receives and controls data of the controlled self-service device through the own serial port; a circuit for acquiring the status data of the controlled self-service device is connected between the serial port of the control host and the controlled self-service device, and comprises a data sending time-controlling module, a serial port data simulating module, a data receiving module; and the controlled self-service device, the data sending time controlling module, the serial port data simulating module, the data receiving module and the serial port of the control host are connected one by one. Compared with the prior art, the method can acquire the status of the controlled self-service device through a plurality of discrete components and send the data to the serial port of the control host, has the characteristics of rational design, low cost and the like.

Description

A kind of method of sending status data of controlled self-service device to the main control system serial ports
Technical field
The present invention relates to a kind of self-service product scope technology, specifically a kind of method of sending status data of controlled self-service device to the main control system serial ports.
Background technology
Possum is a kind of equipment that is carried out the miscellaneous service contact fully by client oneself through computing machine display terminal (Input/Output Device of computer system).
Existing most Possums use serial ports to communicate, and obtain data, obtain equipment state.Serial ports is a kind of very general devices communicating agreement on computing machine, the instrument and meter equipment, and serial communication protocol can be used to obtain the data of remote collection equipment simultaneously.Serial communication is asynchronous, and port can receive data simultaneously in transmission data on the single line on other single line; It is very simple and can realize telecommunication.
Sometimes in order to obtain a user mode of controlled self-service device, needs use the single-chip microcomputer judgement and communicate with main frame.This kind way, cost is high, complex structure.
Summary of the invention
Technical assignment of the present invention provide a kind of simple in structure, production cost is low, can obtain the state of controlled self-service device and send data to a kind of method of sending status data of controlled self-service device to the main control system serial ports of the serial ports of main control system through several discrete components.
Technical assignment of the present invention is realized by following mode; Comprise main control system, controlled self-service device; Main control system is controlled with status data controlled self-service device and is received; Main control system carries out Data Receiving, control to controlled self-service device through the serial ports of self, is connected with the status data of controlled self-service device acquisition cuicuit between the serial ports of main control system and the controlled self-service device; The status data of controlled self-service device acquisition cuicuit comprises that control data sends time module, simulative serial port data module, data reception module; Controlled self-service device connects control data and sends time module; Control data sends time module and connects simulation serial data module; The simulative serial port data module connects data reception module, and data reception module connects the serial ports of main control system.
Described status data of controlled self-service device acquisition cuicuit can supply with or use the power supply of external unit to supply with through the serial ports power taking power supply of main control system.
Described status data of controlled self-service device acquisition cuicuit can be supplied with through the serial ports power taking power supply of main control system; Through serial ports self 7 pin, 8 pin and the 6 pin power takings of 4 pin of main control system, produce status data of controlled self-service device acquisition cuicuit required voltage through capacitor C 1 filtering.
Described control data sends time module and controls transmitting time with infrared tube.
Described infrared tube D1, D2 and triode T1, four of T2 are connected in parallel on capacitor C 1 two ends of serial ports power taking power supply supplying module.
During use, serial ports is opened and is in the preparation accepting state, and controlled self-service device determines when to serial ports and sends data.When controlled self-service device will begin that through the control transmitting time serial ports is carried out data and send when serial ports send data.The sequential of signal imitation serial ports RS232 is carried out that serial ports is carried out data and is sent; After serial ports receives data, controlled self-service device is controlled respectively, so that make controlled self-service device carry out next step operation through the divider of main control system; Send to serial ports through data again, form close loop maneuver.
Through power valve D1 and receiving tube D2 during to pipe, T1, T2 all ends, and no datat is seen off.T1 conducting when article pass pipe, the T2 conducting is sent data to serial ports, and serial ports is done handled after receiving data.
A kind of method to main control system serial ports transmission status data of controlled self-service device of the present invention is compared with prior art; Can obtain the state of controlled self-service device through several discrete components; And send data to the serial ports of main control system, report the controlled self-service device user mode; Reasonable in design, simple in structure, cost is low, thereby, have good value for applications.
Description of drawings
Below in conjunction with accompanying drawing the present invention is further specified.
Accompanying drawing 1 is a kind of structured flowchart that sends the method for status data of controlled self-service device to the main control system serial ports;
Accompanying drawing 2 is status data of controlled self-service device acquisition cuicuit figure.
Among Fig. 2, being serial ports power taking power supply supplying module in the frame of broken lines A, for control data sends time module, is the simulative serial port data module in the frame of broken lines C in the frame of broken lines B, is data reception module in the frame of broken lines D.
Embodiment
Explanation at length below with reference to Figure of description and specific embodiment a kind of method of sending status data of controlled self-service device to the main control system serial ports of the present invention being done.
Embodiment:
A kind of method of sending status data of controlled self-service device to the main control system serial ports of the present invention; Its structure comprises main control system, controlled self-service device; Main control system is controlled with status data controlled self-service device and is received; Main control system carries out Data Receiving, control to controlled self-service device through the serial ports of self, is connected with the status data of controlled self-service device acquisition cuicuit between the serial ports of main control system and the controlled self-service device; The status data of controlled self-service device acquisition cuicuit comprises that control data sends time module, simulative serial port data module, data reception module; Controlled self-service device connects control data and sends time module; Control data sends time module and connects simulation serial data module; The simulative serial port data module connects data reception module, and data reception module connects the serial ports of main control system.
The status data of controlled self-service device acquisition cuicuit can supply with or use the power supply of external unit to supply with through the serial ports power taking power supply of main control system.
The status data of controlled self-service device acquisition cuicuit can be supplied with through the serial ports power taking power supply of main control system, through serial ports self 7 pin, 8 pin and the 6 pin power takings of 4 pin of main control system, produces status data of controlled self-service device acquisition cuicuit required voltage through capacitor C 1 filtering.
Control data sends time module and controls transmitting time with infrared tube.
Infrared tube D1, D2 and triode T1, four of T2 are connected in parallel on capacitor C 1 two ends of serial ports power taking power supply supplying module.
Through power valve D1 and receiving tube D2 during to pipe, T1, T2 all ends, and no datat is seen off.T1 conducting when article pass pipe, the T2 conducting is sent data to serial ports, and serial ports is done handled after receiving data.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (2)

1. method of sending status data of controlled self-service device to the main control system serial ports; Comprise main control system, controlled self-service device; Main control system is controlled with status data controlled self-service device and is received; It is characterized in that main control system carries out Data Receiving, control to controlled self-service device through the serial ports of self, is connected with the status data of controlled self-service device acquisition cuicuit between the serial ports of main control system and the controlled self-service device; The status data of controlled self-service device acquisition cuicuit comprises that control data sends time module, simulative serial port data module, data reception module; Controlled self-service device connects control data and sends time module; Control data sends time module and connects simulation serial data module; The simulative serial port data module connects data reception module, and data reception module connects the serial ports of main control system, and forwarding step is following:
Serial ports is opened and is in the preparation accepting state; Controlled self-service device determines when to serial ports and sends data, when controlled self-service device will begin that through the control transmitting time serial ports is carried out data and send when serial ports send data; The sequential of signal imitation serial ports RS232 is carried out that serial ports is carried out data and is sent; After serial ports receives data, controlled self-service device is controlled respectively, so that make controlled self-service device carry out next step operation through the divider of main control system; Send to serial ports through data again, form close loop maneuver.
2. a kind of method of sending status data of controlled self-service device to the main control system serial ports according to claim 1 is characterized in that the status data of controlled self-service device acquisition cuicuit can be through the serial ports power taking power supply supply of main control system or the power supply supply of use external unit.
CN2010101611254A 2010-04-30 2010-04-30 Method for transmitting status data of controlled self-service device to serial port of control host Expired - Fee Related CN101859285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101611254A CN101859285B (en) 2010-04-30 2010-04-30 Method for transmitting status data of controlled self-service device to serial port of control host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101611254A CN101859285B (en) 2010-04-30 2010-04-30 Method for transmitting status data of controlled self-service device to serial port of control host

Publications (2)

Publication Number Publication Date
CN101859285A CN101859285A (en) 2010-10-13
CN101859285B true CN101859285B (en) 2012-08-01

Family

ID=42945204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101611254A Expired - Fee Related CN101859285B (en) 2010-04-30 2010-04-30 Method for transmitting status data of controlled self-service device to serial port of control host

Country Status (1)

Country Link
CN (1) CN101859285B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067034B (en) * 2012-12-31 2015-01-21 广州杰赛科技股份有限公司 Third generation telecommunication (3G) module capable of monitoring light-emitting diode (LED) release system
CN105187274A (en) * 2015-08-27 2015-12-23 浪潮软件集团有限公司 Method for judging port state and selecting good port communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615011A (en) * 2008-06-24 2009-12-30 海湾安全技术有限公司 A kind of plant control unit and apparatus control system that possesses the path monitoring function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615011A (en) * 2008-06-24 2009-12-30 海湾安全技术有限公司 A kind of plant control unit and apparatus control system that possesses the path monitoring function

Also Published As

Publication number Publication date
CN101859285A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
CN206575438U (en) A kind of vehicle-mounted ethernet test modular converter and test system based on BroadR Reach
CN104954198B (en) A kind of transformer station process layer switch state monitoring apparatus and method
CN107065668A (en) Industrial gateway remote data monitoring system and method based on intelligent sensor device
CN205901714U (en) S frequency channel receiving and dispatching integration treater
CN101859285B (en) Method for transmitting status data of controlled self-service device to serial port of control host
CN103426271B (en) Electrical fire monitor unit with pulse metering and implementation method thereof
CN103152274A (en) Energy efficiency and safety data wireless network routing device, energy efficiency and safety data wireless network routing system and method applying same
CN205545328U (en) Support intelligent home gateway of multi -protocols
CN204946336U (en) The metering communication module of intelligent electric energy meter
CN202472276U (en) Environment-friendly data acquisition instrument based on Linux operating system
CN208488659U (en) A kind of long-range control and the intelligent switching device locally controlled
CN207799397U (en) A kind of GPRS types RTU with suspend mode revival function
CN203276542U (en) Mobile display and control system for power distribution room information
CN108363336A (en) A kind of remote control and the intelligent switching device locally controlled
CN204440140U (en) Kitchen appliance parametric controller, kitchen appliance and intelligent control system
CN205693683U (en) A kind of signal transmitting apparatus
CN206249048U (en) A kind of intelligent DTU equipment for being applied to Internet of Things field
CN203786221U (en) Energy efficiency data acquisition terminal possessing two RS485 interfaces
CN209118101U (en) Multiplex roles isomery Internet of things access equipment
CN207148578U (en) A kind of Interface Expanding remote terminal control system based on Internet of Things
CN201563204U (en) Intelligent optical fiber transceiver network management device
CN104749430A (en) Circuit line loss monitoring device
CN206364815U (en) E1 turns industry ethernet adapter
CN204667148U (en) A kind of electric equipment control device based on Internet of Things
CN204465576U (en) The on-the-spot integrated network system of YHOT

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: 20120801

Termination date: 20150430

EXPY Termination of patent right or utility model