CN106873405A - Controller automatically configures device and its method of automatic configuration - Google Patents

Controller automatically configures device and its method of automatic configuration Download PDF

Info

Publication number
CN106873405A
CN106873405A CN201510933668.6A CN201510933668A CN106873405A CN 106873405 A CN106873405 A CN 106873405A CN 201510933668 A CN201510933668 A CN 201510933668A CN 106873405 A CN106873405 A CN 106873405A
Authority
CN
China
Prior art keywords
controller
host computer
configuration
configuration data
change
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
Application number
CN201510933668.6A
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.)
Chongqing Chuanyi Automation Co Ltd
Original Assignee
Chongqing Chuanyi Automation 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 Chongqing Chuanyi Automation Co Ltd filed Critical Chongqing Chuanyi Automation Co Ltd
Priority to CN201510933668.6A priority Critical patent/CN106873405A/en
Publication of CN106873405A publication Critical patent/CN106873405A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The present invention provides a kind of controller and automatically configures device and its method of automatic configuration, and the controller automatically configures device includes host computer and controller;The host computer is electrically connected with the controller, be suitable to inquire about the existence information of the controller, read the controller configuration data and change with the host computer the afoul controller of other controllers in a network configuration data.Operation by host computer to controller, the data configuration of the completion controller of fast and stable, it is not necessary to which engineer is manually operated, and whole process is simple and convenient, greatlys save manpower and time, and ensure whole controller system rapid configuration, stable operation.

Description

Controller automatically configures device and its method of automatic configuration
Technical field
The present invention relates to automatic field, more particularly to a kind of controller automatically configures device and its method of automatic configuration.
Background technology
In industrial control field, the application of controller is to compare main flow at present, is also the scheme of international comparison accreditation.Control tolerance After output factory, the configuration information of each controller is the same, is carried out firstly the need of the configuration to each controller before the use Initialization, if in use more changer controller need ensure controller configuration data there is alterability.Industry at present In control application, need engineer's in-site installation to configure mostly, also tend to need engineer's new control of change manually during more changer controller Device configuration data processed, can otherwise cause the configuration information conflict (such as IP conflicts) between controller.Device is so controlled manually Configuration and renewal, process is complicated and loses time and human resources.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of controller automatically configure device and its from Dynamic collocation method, for solve in the prior art due in more changer controller, it is necessary to change the configuration data of new controller manually And the change procedure complexity for existing, cause the problem of the waste of time and human resources.
In order to achieve the above objects and other related objects, the present invention provides a kind of controller and automatically configures device, and the controller is certainly Dynamic configuration device includes host computer and controller;
The host computer is electrically connected with the controller, is suitable to inquire about the existence information of the controller, is read the controller Configuration data and change with the host computer the afoul controller of other controllers in a network configuration data.
A kind of preferred scheme of device is automatically configured as controller of the invention, the host computer includes:
Enquiry module, be suitable to inquire about the host computer the controller in a network existence information;
Read module, be suitable to read the host computer the controller in a network configuration data;
Change module, be suitable to change and the host computer the afoul controller of other controllers in a network configuration Data.
A kind of preferred scheme of device is automatically configured as controller of the invention, the enquiry module is suitable to by sending broadcast Mode be scanned with inquire about the host computer the controller in a network existence information;
The read module is suitable to after the presence that the enquiry module inquires the controller, is sent to the controller and read Take configuration request with read the host computer the controller in a network configuration data;
The change module is suitable to the afoul controller transmission of host computer institute other controllers in a network more Change data command, and the data of configuration will be needed to be downloaded to the controller.
A kind of preferred scheme of device is automatically configured as controller of the invention, the controller is suitable to receiving the host computer Broadcast scan data after, the presence of described this controller of host computer is informed in response;The controller is suitable to receiving on described After the reading configuration data request that position machine sends, read the configuration data of itself and be uploaded to the host computer;The controller It is suitable to after the change data command and configuration data that receive the host computer transmission, changes the configuration data of itself.
A kind of preferred scheme of device is automatically configured as controller of the invention, the host computer is PC host computers.
The present invention also provides the method for automatic configuration that a kind of controller automatically configures device, and the method for automatic configuration includes:
Host computer inquire about its controller in a network existence information;
The host computer is inquired after the presence of the controller, reads the configuration data of each controller;
When there is controller afoul with other controllers in the network where the host computer, the host computer is changed and other The configuration data of the afoul controller of controller.
A kind of preferred scheme of the method for automatic configuration of device is automatically configured as controller of the invention, the host computer inquires about it The specific method of the existence information of the controller in a network be:The host computer is swept by way of sending broadcast Retouch, the controller is received after the broadcast scan data of the host computer, the presence of described this controller of host computer is informed in response.
A kind of preferred scheme of the method for automatic configuration of device is automatically configured as controller of the invention, the host computer reads every The specific method of the configuration data of the individual controller is:The host computer sends to the controller and reads configuration request, The controller is received after the reading configuration data request that the host computer sends, and is read the configuration data of itself and is uploaded to institute State host computer.
Automatically configure a kind of preferred scheme of the method for automatic configuration of device as controller of the invention, the host computer change with The specific method of the configuration data of the afoul controller of other controllers is:The host computer to the host computer where The afoul controller of other controllers in network sends change data command, and the data of configuration will be needed to be downloaded to institute Controller is stated, the controller is received after the change data command and configuration data of the host computer transmission, changes matching somebody with somebody for itself Put data.
A kind of preferred scheme of the method for automatic configuration of device is automatically configured as controller of the invention, the host computer includes looking into Ask module, read module and change module;The host computer by the enquiry module inquire about the host computer in a network The existence information of the controller;The host computer reads the configuration data of each controller by the read module;Institute State host computer by the change module change with the host computer the afoul controller of other controllers in a network Configuration data.
A kind of preferred scheme of the method for automatic configuration of device is automatically configured as controller of the invention, the host computer is PC Host computer.
As described above, controller of the invention automatically configures device and its method of automatic configuration, have the advantages that:Pass through Operation of the host computer to controller, the data configuration of the completion controller of fast and stable, it is not necessary to which engineer is manually operated, entirely Process is simple and convenient, greatlys save manpower and time, and ensure whole controller system rapid configuration, stable operation.
Brief description of the drawings
The controller that Fig. 1 is shown as providing in the embodiment of the present invention one automatically configures the schematic diagram of device.
The controller that Fig. 2 is shown as providing in the embodiment of the present invention one automatically configures the schematic diagram of the host computer in device.
The controller provided in Fig. 3 display embodiment of the present invention two automatically configures the flow chart of the method for automatic configuration of device.
Component label instructions
1 host computer
11 enquiry modules
12 read modules
13 change modules
2 controllers
Specific embodiment
Embodiments of the present invention are illustrated below by way of specific instantiation, those skilled in the art can be as disclosed by this specification Content understand other advantages of the invention and effect easily.The present invention can also add by way of a different and different embodiment To implement or apply, the various details in this specification can also be based on different viewpoints and application, without departing from essence of the invention Various modifications or alterations are carried out under god.
Fig. 1 to Fig. 3 is referred to it should be noted that the diagram provided in the present embodiment only illustrates of the invention in a schematic way Basic conception, though component count, shape when only display is with relevant component in the present invention rather than according to actual implementation in diagram and Size is drawn, and it is actual when the implementing kenel of each component, quantity and ratio can be a kind of random change, and its assembly layout type State is likely to increasingly complex.
Embodiment one
Fig. 1 to Fig. 2 is referred to, the present invention provides a kind of controller and automatically configures device, and the controller automatically configures device bag Include host computer 1 and controller 2;The host computer 1 is electrically connected with the controller 2, and it is described that the host computer 1 is suitable to inquiry The existence information of controller 2, the configuration data for reading the controller 2 and change with the host computer 1 in a network The configuration data of the afoul controller 2 of other controllers 2.
As an example, the host computer 1 includes:Enquiry module 11, read module 12 and change module 13;The inquiry mould Block 11 be suitable to inquire about the host computer 1 the controller 2 in a network existence information;The read module 12 is suitable to Read the host computer 1 the controller 2 in a network configuration data;It is described change module 13 be suitable to change with it is described Host computer 1 the afoul controller 2 of other controllers 2 in a network configuration data.
As an example, the enquiry module 11 is suitable to be scanned by way of sending broadcast inquire about where the host computer 1 The existence information of the controller 2 in network;The read module 12 is suitable to inquire the control in the enquiry module 11 After the presence of device processed 2, sent to the controller 2 and read configuration request to read the institute of the host computer 1 in a network The controller 2 configuration data;When existing and other afoul controls of controller 2 in the network where the host computer 1 During device 2 processed, the change module 13 be suitable to the host computer 1 other controllers 2 in a network it is afoul described Controller 2 sends change data command, and the data of configuration will be needed to be downloaded to the controller 2.
As an example, after the controller 2 receives the broadcast scan data of the host computer 1, the host computer is informed in response 1 presence of controller;The controller 2 is received after the reading configuration data request of the transmission of the host computer 1, is read from The configuration data of body is simultaneously uploaded to the host computer 1;The controller 2 receives the change data command of the transmission of the host computer 1 After configuration data, the configuration data of itself is changed.
As an example, the configuration data includes but are not limited to the IP configurations of redundant configuration and the controller 2.
As an example, the host computer 1 is PC host computers.
The operation principle that the controller of the present embodiment automatically configures device is:First, before whole device commencement of commercial operation, The host computer 1 needs the existence information of the inquiry institute controller 2 in a network, the existence information to include the network In the controller 2 number and other information, specifically, the host computer 1 send broadcast by way of be scanned The presence of the controller 2, after the controller 2 receives the broadcast data of the host computer 1, it is necessary to responded with Inform 1 presence of controller of the host computer;Secondly, the host computer 1 is inquired after the presence of the controller 2, Need to be sent to the controller 2 and read the data that configuration request reads each controller 2, to facilitate to each institute State the management and configuration of the configuration data of controller 2, it is ensured that be currently located between the controller 2 in network and occur without conflict, Specifically, the controller 2 reads the configuration data of itself and is uploaded on described after reading configuration request is received Position machine 1;When existing with other 2 afoul controllers 2 of controller in the network where the host computer 1, for example need When changing the controller 2, the host computer 1 needs the configuration data of the new controller 2 of change, specifically, described Host computer 1 sends change data command by the controller 2, and the data for needing to configure are downloaded to the controller 2, After the controller 2 receives change order and new configuration data, the configuration data of itself is changed.
In the present invention, by 1 pair of operation of the controller 2 of the host computer, can be with the completion of the fast and stable controller 2 data configuration, it is not necessary to which engineer is manually operated, whole process is simple and convenient, greatlys save manpower and time, and protect Demonstrate,prove whole controller system rapid configuration, stable operation.
Embodiment two
Fig. 3 is referred to, the present invention also provides the method for automatic configuration that a kind of controller automatically configures device, and the controller is automatic The method of automatic configuration of configuration device includes:
S1:Host computer inquire about its controller in a network existence information;
S2:The host computer is inquired after the presence of the controller, reads the configuration data of each controller;
S3:When there is controller afoul with other controllers in the network where the host computer, host computer change with The configuration data of the afoul controller of other controllers.
Perform S1 steps, refer to the S1 steps in Fig. 3, host computer inquire about its controller in a network existence information.
As an example, the host computer includes enquiry module, read module and change module;The host computer is by the inquiry Host computer described in module polls the controller in a network existence information.
As an example, the host computer inquire about its specific method of the existence information of the controller in a network be:It is described The enquiry module of host computer is scanned by way of sending broadcast, and the broadcast that the controller receives the host computer is swept Retouch after data, the presence of described this controller of host computer is informed in response.
S2 steps are performed, the S2 steps in Fig. 3 are referred to, the host computer is inquired after the presence of the controller, read Take the configuration data of each controller.
As an example, the host computer reads the configuration data of each controller by the read module.
As an example, the specific method that the host computer reads the configuration data of each controller is:The reading of the host computer Modulus block sends to the controller and reads configuration request, and the controller receives the reading configuration number that the host computer sends After according to request, read the configuration data of itself and be uploaded to the host computer.
S3 steps are performed, the S3 steps in Fig. 3 are referred to, existed and other controller phases in the network where the host computer During the controller of conflict, the configuration data of the host computer change and the afoul controller of other controllers.
As an example, the host computer by the change module change with the host computer other controller phases in a network The configuration data of the controller of conflict.
As an example, the specific method that the host computer changes the configuration data of the controller afoul with other controllers is: The change module of the host computer to the host computer the afoul controller of other controllers in a network send more Change data command, and the data of configuration will be needed to be downloaded to the controller, the controller receives the host computer and sends more Change after data command and configuration data, change the configuration data of itself.
As an example, the host computer is PC host computers.
In sum, the present invention provides a kind of controller and automatically configures device and its method of automatic configuration, and the controller is matched somebody with somebody automatically Putting device includes host computer and controller;The host computer is electrically connected with the controller, is suitable to inquire about the presence of the controller Information, the configuration data for reading the controller and change with the host computer other controllers in a network it is afoul The configuration data of the controller.Operation by host computer to controller, the data configuration of the completion controller of fast and stable, Do not need that engineer is manually operated, whole process is simple and convenient, greatlys save manpower and time, and ensures whole controller system System rapid configuration, stable operation.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any to be familiar with this skill The personage of art all can carry out modifications and changes under without prejudice to spirit and scope of the invention to above-described embodiment.Therefore, such as Those of ordinary skill in the art completed under without departing from disclosed spirit and technological thought all etc. Effect modifications and changes, should be covered by claim of the invention.

Claims (11)

1. a kind of controller automatically configures device, it is characterised in that the controller automatically configures device includes host computer and controller;
The host computer is electrically connected with the controller, is suitable to inquire about the existence information of the controller, is read the control The configuration data of device and change with the host computer the afoul controller of other controllers in a network configuration Data.
2. controller according to claim 1 automatically configures device, it is characterised in that:The host computer includes:
Enquiry module, be suitable to inquire about the host computer the controller in a network existence information;
Read module, be suitable to read the host computer the controller in a network configuration data;
Change module, be suitable to change and the host computer the afoul controller of other controllers in a network Configuration data.
3. controller according to claim 2 automatically configures device, it is characterised in that:
The enquiry module be suitable to be scanned by way of sending broadcast with inquire about the host computer institute in a network State the existence information of controller;
The read module is suitable to after the presence that the enquiry module inquires the controller, is sent out to the controller Send read configuration request with read the host computer the controller in a network configuration data;
The change module be suitable to the host computer institute afoul controller hair of other controllers in a network Change data command is sent, and the data of configuration will be needed to be downloaded to the controller.
4. controller according to claim 3 automatically configures device, it is characterised in that:The controller is suitable to receiving on described After the broadcast scan data of position machine, the presence of described this controller of host computer is informed in response;The controller is suitable to receiving After the reading configuration data request that the host computer sends, read the configuration data of itself and be uploaded to the host computer;Institute State controller to be suitable to after the change data command and configuration data that receive the host computer transmission, change the configuration number of itself According to.
5. controller according to any one of claim 1 to 4 automatically configures device, it is characterised in that:The host computer is PC host computers.
6. a kind of controller automatically configures the method for automatic configuration of device, it is characterised in that the method for automatic configuration includes:
Host computer inquire about its controller in a network existence information;
The host computer is inquired after the presence of the controller, reads the configuration data of each controller;
When there is controller afoul with other controllers in the network where the host computer, host computer change with The configuration data of the afoul controller of other controllers.
7. controller according to claim 6 automatically configures the method for automatic configuration of device, it is characterised in that:The host computer is looked into Ask its specific method of the existence information of the controller in a network be:The host computer is by way of sending broadcast It is scanned, the controller is received after the broadcast scan data of the host computer, the host computer this control is informed in response The presence of device.
8. controller according to claim 6 automatically configures the method for automatic configuration of device, it is characterised in that:It is described upper machine-readable The specific method for taking the configuration data of each controller is:The host computer sends to the controller and reads configuration information Request, the controller is received after the reading configuration data request that the host computer sends, and reads the configuration data of itself simultaneously It is uploaded to the host computer.
9. controller according to claim 6 automatically configures the method for automatic configuration of device, it is characterised in that:The host computer is more The specific method for changing the configuration data of the controller afoul with other controllers is:The host computer is to upper with described Machine the afoul controller of other controllers in a network send change data command, and the data of configuration will be needed The controller is downloaded to, the controller is received after the change data command and configuration data of the host computer transmission, more Change the configuration data of itself.
10. controller according to claim 6 automatically configures the method for automatic configuration of device, it is characterised in that:It is described upper Machine includes enquiry module, read module and change module;The host computer inquires about the host computer institute by the enquiry module The existence information of the controller in a network;The host computer reads each controller by the read module Configuration data;The host computer by the change module change with the host computer other controllers in a network mutually rush The configuration data of the prominent controller.
11. controller according to any one of claim 6 to 10 automatically configures the method for automatic configuration of device, its feature It is:The host computer is PC host computers.
CN201510933668.6A 2015-12-11 2015-12-11 Controller automatically configures device and its method of automatic configuration Pending CN106873405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510933668.6A CN106873405A (en) 2015-12-11 2015-12-11 Controller automatically configures device and its method of automatic configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510933668.6A CN106873405A (en) 2015-12-11 2015-12-11 Controller automatically configures device and its method of automatic configuration

Publications (1)

Publication Number Publication Date
CN106873405A true CN106873405A (en) 2017-06-20

Family

ID=59238514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510933668.6A Pending CN106873405A (en) 2015-12-11 2015-12-11 Controller automatically configures device and its method of automatic configuration

Country Status (1)

Country Link
CN (1) CN106873405A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85108726A (en) * 1984-12-03 1986-12-17 西屋电气公司 Universal process control device and method
CN2927526Y (en) * 2006-05-25 2007-07-25 南京工业大学 Teaching multiaxis distributed control system based on Ethernet and CAN bus
CN101266490A (en) * 2008-03-31 2008-09-17 清华大学 MAC address free bus family wired control network plug and play method
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
CN101304388A (en) * 2008-06-20 2008-11-12 华为技术有限公司 Method, apparatus and system for settling IP address conflict
CN201348735Y (en) * 2008-11-25 2009-11-18 中山市华美骏达电器有限公司 Gas water heater multi-machine communication system
CN102368710A (en) * 2011-10-17 2012-03-07 深圳市共进电子股份有限公司 Local area network-based method for match upgrading of network equipment software
CN102624937A (en) * 2011-01-28 2012-08-01 华为技术有限公司 Method, equipment and system for IP address configuration
US20130096695A1 (en) * 2011-10-13 2013-04-18 Abb Ag Method for configuring a control device
CN103677943A (en) * 2013-12-27 2014-03-26 浙江众邦机电科技有限公司 Upgrading method of control software of sewing machine

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85108726A (en) * 1984-12-03 1986-12-17 西屋电气公司 Universal process control device and method
CN2927526Y (en) * 2006-05-25 2007-07-25 南京工业大学 Teaching multiaxis distributed control system based on Ethernet and CAN bus
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
CN101266490A (en) * 2008-03-31 2008-09-17 清华大学 MAC address free bus family wired control network plug and play method
CN101304388A (en) * 2008-06-20 2008-11-12 华为技术有限公司 Method, apparatus and system for settling IP address conflict
CN201348735Y (en) * 2008-11-25 2009-11-18 中山市华美骏达电器有限公司 Gas water heater multi-machine communication system
CN102624937A (en) * 2011-01-28 2012-08-01 华为技术有限公司 Method, equipment and system for IP address configuration
US20130096695A1 (en) * 2011-10-13 2013-04-18 Abb Ag Method for configuring a control device
CN102368710A (en) * 2011-10-17 2012-03-07 深圳市共进电子股份有限公司 Local area network-based method for match upgrading of network equipment software
CN103677943A (en) * 2013-12-27 2014-03-26 浙江众邦机电科技有限公司 Upgrading method of control software of sewing machine

Similar Documents

Publication Publication Date Title
CN106538066B (en) System and method for pre-debug wireless lighting control system
CN101409670B (en) Management component transport protocol interconnect filtering and routing
Reinhart et al. Automatic configuration (plug & produce) of industrial ethernet networks
CN105681086B (en) Communication manager and data acquisition method of programmable logic control equipment
CN103188122B (en) Communication system and communication method based on CAN (Controller Area Network)
CN102694870B (en) The online upgrading method of the gateway of dynamically allocate address
CN107592332B (en) Network system, cloud connector, and method for identifying network device
CN106547709A (en) The method and device of flexible configuration multi-channel DMA controller
CN107395787A (en) Address distribution method, system, gateway and the medium of CAN communication network
CN105785905A (en) Configurable field bus system and configuration method thereof
CN105653326A (en) System and method for batch Linux system installation and detection
CN103412832A (en) Automatic WIFI (Wireless Fidelity) adaptation method
CN110519144B (en) Method and device for establishing communication between automobile diagnosis equipment and vehicle and automobile communication interface equipment
CN111224835B (en) Automatic serial port communication mode switching method, device and system
CN109884971A (en) Long-range control method, apparatus and system
CN106873405A (en) Controller automatically configures device and its method of automatic configuration
CN105391776A (en) Communication method and system for long connection message
CN105095149B (en) A kind of batch processing method and device of system on chip parameter
EP3180659B1 (en) Mobile device, engineering tool device, system and methods for cable configuration in a process control system
CN106302240A (en) Received server-side client concurrently connects and data processing method
CN109032866A (en) A kind of multimachine test method of more network interface card test same network segment products
CN103081412A (en) Programmable logic controller
CN103370906B (en) Communication system
CN103488593B (en) A kind of data processing equipment and data handling system
CN105783178A (en) Control method for air-conditioner integrated controller

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

RJ01 Rejection of invention patent application after publication