CN107966929A - A kind of control method of host computer - Google Patents
A kind of control method of host computer Download PDFInfo
- Publication number
- CN107966929A CN107966929A CN201711172138.XA CN201711172138A CN107966929A CN 107966929 A CN107966929 A CN 107966929A CN 201711172138 A CN201711172138 A CN 201711172138A CN 107966929 A CN107966929 A CN 107966929A
- Authority
- CN
- China
- Prior art keywords
- host computer
- parameter
- control method
- control
- present
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2609—Process control
Abstract
The present invention relates to a kind of control method of host computer, it belongs to the field of control communication.The rate-determining steps of host computer of the present invention are as follows:Configure CAN device parameter;CAN communication is opened, establishes being interconnected between CAN device, PC machine and MCU microcontrollers;CAN device is opened, configures the parameter of electromagnetic valve driver;Selection needs the control passage controlled;Required parameter is sent to MCU microcontrollers by CAN message;Receive MCU microcontrollers message and parse value of feedback.Present invention design is reasonable, reliable and stable, and method is easy, and easily operated, precision controlling is accurate, reaches people's use demand.
Description
Technical field
The present invention relates to a kind of control method, and more particularly, to a kind of control method of host computer, it belongs to control communication
Field.
Background technology
The control of existing host computer, it is relatively complicated, and during control, the efficiency of control be not it is very high, relatively
It is not very stable, control is not accurate enough, does not reach the requirement of people.
Publication date is on 06 10th, 2015, in the Chinese patent of Publication No. CN104698950A, discloses a kind of name
A kind of referred to as patent of invention of " peripheral device control method, microcontroller, host computer and system ".The patent includes and host computer
Establish communication;Receive control information of the host computer according to pre-defined rule editor;Explain control information, obtain control instruction;Perform
Control instruction, is controlled ancillary equipment.Although in the present solution, without developing control routine on a microcontroller, it is only necessary to
Edit control information on host computer, then explained and performed by microcontroller, and then ancillary equipment is controlled;The control information
With durability and real-time editability, service efficiency is improved, but be not particularly suited for the control method of the host computer of the application.
Therefore it provides a kind of design is reasonable, reliable and stable, method is easy, and the control method of easily operated host computer, shows
Obtain particularly necessary.
The content of the invention
It is an object of the invention to overcome above-mentioned deficiency existing in the prior art, and provide a kind of design rationally, stablize
Reliably, method is easy, easily operated, the control method of the accurate host computer of precision controlling.
Technical solution is used by the present invention solves the above problems:The control method of the host computer, it is characterised in that:Step
It is rapid as follows:
(1)Configure CAN device parameter;
(2)CAN communication is opened, establishes being interconnected between CAN device, PC machine and MCU microcontrollers;
(3)CAN device is opened, configures the parameter of electromagnetic valve driver;
(4)Selection needs the electromagnetic valve driver control passage controlled;
(5)Required parameter is sent to MCU microcontrollers by CAN message;
(6)Receive MCU microcontrollers message and parse value of feedback.
Preferably, step of the present invention(1)In, parameter includes baud rate and CAN addresses.
Preferably, step of the present invention(1)In, CAN device is electromagnetic valve driver.
Compared with prior art, the present invention haing the following advantages and effect:Design is reasonable, reliable and stable, and method is easy, easily
In operation, precision controlling is accurate, and control efficiency is high, meets PC control demand.
Brief description of the drawings
Fig. 1 is the control flow schematic diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and the present invention is described in further detail by embodiment, and following embodiments are to this hair
Bright explanation and the invention is not limited in following embodiments.
Embodiment.
It is as follows referring to Fig. 1, the control method of the host computer of the present embodiment, step:
(1)Configure CAN device parameter.
(2)CAN communication is opened, establishes being interconnected between CAN device, PC machine and MCU microcontrollers.
(3)CAN device is opened, configures the parameter of electromagnetic valve driver.
(4)Selection needs the electromagnetic valve driver control passage controlled.
(5)Required parameter is sent to MCU microcontrollers by CAN message.
(6)Receive MCU microcontrollers message and parse value of feedback.
The step of the present embodiment control method(1)In, parameter includes baud rate and CAN addresses.
The step of the present embodiment control method(1)In, CAN device is electromagnetic valve driver.
It is the concrete analysis and explanation in each step below:Configure CAN parameters:CAN device is selected, and sets communication to connect
Mouth and baud rate;Open CAN communication:Open CAN message transmitting/receiving program;Open CAN device:Open CAN interface;Configure solenoid valve
The parameter of driver:The machine CAN message address and type of message are set;Select control passage:Selection needs the MCU micro-controls controlled
Device passage processed;CAN message is sent:Control or the parameter changed will be needed, MCU microcontrollers are sent to by CAN message;Connect
Receive MCU microcontroller messages:MCU feedback messages are received and parsed through, and the results are shown on control or curve.
By above-mentioned elaboration, those skilled in the art can implement.
Furthermore, it is necessary to illustrate, the specific embodiment described in this specification, the shape of its parts and components, be named
Title etc. can be different, and the above content described in this specification is only to structure example explanation of the present invention.It is all according to
The equivalence changes or simple change done according to the construction described in inventional idea of the present invention, feature and principle, are included in this hair
In the protection domain of bright patent.Those skilled in the art can do described specific embodiment various
The modification of various kinds or supplement substitute in a similar way, without departing from structure of the invention or surmount present claims
Scope defined in book, is within the scope of protection of the invention.
Claims (3)
- A kind of 1. control method of host computer, it is characterised in that:Step is as follows:(1)Configure CAN device parameter;(2)CAN communication is opened, establishes being interconnected between CAN device, PC machine and MCU microcontrollers;(3)CAN device is opened, configures the parameter of electromagnetic valve driver;(4)Selection needs the electromagnetic valve driver control passage controlled;(5)Required parameter is sent to MCU microcontrollers by CAN message;(6)Receive MCU microcontrollers message and parse value of feedback.
- 2. the control method of host computer according to claim 1, it is characterised in that:The step(1)In, parameter includes ripple Special rate and CAN addresses.
- 3. the control method of host computer according to claim 1, it is characterised in that:The step(1)In, CAN device is Electromagnetic valve driver.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711172138.XA CN107966929A (en) | 2017-11-22 | 2017-11-22 | A kind of control method of host computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711172138.XA CN107966929A (en) | 2017-11-22 | 2017-11-22 | A kind of control method of host computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107966929A true CN107966929A (en) | 2018-04-27 |
Family
ID=62000622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711172138.XA Pending CN107966929A (en) | 2017-11-22 | 2017-11-22 | A kind of control method of host computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107966929A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201859346U (en) * | 2010-11-29 | 2011-06-08 | 大连捷成实业发展有限公司 | Device for monitoring CAN (controller area network) bus communication data |
CN102298380A (en) * | 2011-08-23 | 2011-12-28 | 张亚光 | Intelligent control network on the basis of on-site bus technology |
CN202331122U (en) * | 2011-08-23 | 2012-07-11 | 张亚光 | Intelligent control network based on field-bus technology |
CN103941625A (en) * | 2014-05-08 | 2014-07-23 | 哈尔滨工业大学 | Can bus data transmission monitoring system |
CN104133435A (en) * | 2014-07-04 | 2014-11-05 | 深圳市宝捷龙电脑刺绣技术有限公司 | Embedded-type high-speed-embroidery-machine control system based on CAN bus |
-
2017
- 2017-11-22 CN CN201711172138.XA patent/CN107966929A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201859346U (en) * | 2010-11-29 | 2011-06-08 | 大连捷成实业发展有限公司 | Device for monitoring CAN (controller area network) bus communication data |
CN102298380A (en) * | 2011-08-23 | 2011-12-28 | 张亚光 | Intelligent control network on the basis of on-site bus technology |
CN202331122U (en) * | 2011-08-23 | 2012-07-11 | 张亚光 | Intelligent control network based on field-bus technology |
CN103941625A (en) * | 2014-05-08 | 2014-07-23 | 哈尔滨工业大学 | Can bus data transmission monitoring system |
CN104133435A (en) * | 2014-07-04 | 2014-11-05 | 深圳市宝捷龙电脑刺绣技术有限公司 | Embedded-type high-speed-embroidery-machine control system based on CAN bus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105553836B (en) | A method of household electrical appliances are manipulated based on wechat | |
WO2004010593A3 (en) | Integrated interactive messaging system and method | |
CN104881776B (en) | Easy to the office system of multi-user Cooperation | |
CN108363573A (en) | A kind of efficient mobile form design and rendering intent | |
CN107154946A (en) | A kind of smart machine control method for supporting various communications protocols | |
CN105082540A (en) | Method for controlling 3D printer through 3D slicing device | |
CN103079178B (en) | The message management method of a kind of NGCRM second filial generation CRM system and system | |
CN103905482B (en) | Method, push server and the system of pushed information | |
CN108965293A (en) | Message parsing method and device, electronic equipment | |
CN103729340A (en) | Method and device for editing table in webpage | |
CN107911227A (en) | A kind of breakpoint data follow-up method, electronic device and computer-readable recording medium | |
CN110011875A (en) | Dial testing method, device, equipment and computer readable storage medium | |
CN102520927A (en) | Method, device and terminal for generation logic business of embedded terminal | |
CN110099313A (en) | A kind of realization low latency industrial real-time data acquisition system and method | |
CN109740096A (en) | A kind of implementation method of live preview, device, system and storage medium | |
CN109102245A (en) | A kind of processing method of approval process, system and device | |
CN102375743B (en) | SOA(Service-Oriented Architecture) system development method based on model and template | |
EP1271377A3 (en) | Method, system and article of manufacture for accessing computational resources through electronic messages | |
CN107966929A (en) | A kind of control method of host computer | |
CN102591752A (en) | On-line debugging method of peripheral equipment based on high pass platform | |
CN102736924B (en) | Software installation method and device | |
CN106126230A (en) | A kind of adaptive device making control interface adaptation platform of internet of things and method | |
CN101102333A (en) | Network download system and its method | |
CN105049337B (en) | Communication means and device between a kind of smart machine based on instant messaging | |
CN105930262B (en) | Application program user interface automated testing method and electronic equipment |
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 |
Application publication date: 20180427 |
|
RJ01 | Rejection of invention patent application after publication |