CN110221879A - The parameter setting method and relevant device of driver - Google Patents

The parameter setting method and relevant device of driver Download PDF

Info

Publication number
CN110221879A
CN110221879A CN201910453070.5A CN201910453070A CN110221879A CN 110221879 A CN110221879 A CN 110221879A CN 201910453070 A CN201910453070 A CN 201910453070A CN 110221879 A CN110221879 A CN 110221879A
Authority
CN
China
Prior art keywords
module
driver
setting
input
information
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
CN201910453070.5A
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.)
Lei Sai Software Engineering Co Ltd Of Shenzhen
Original Assignee
Lei Sai Software Engineering Co Ltd Of Shenzhen
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 Lei Sai Software Engineering Co Ltd Of Shenzhen filed Critical Lei Sai Software Engineering Co Ltd Of Shenzhen
Priority to CN201910453070.5A priority Critical patent/CN110221879A/en
Publication of CN110221879A publication Critical patent/CN110221879A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The invention discloses a kind of parameter setting method of driver and relevant devices, method includes: to communicate to connect the driver and commissioning device, the setting guide of the commissioning device is called to carry out parameter setting to the driver, the setting guide includes at least two functional modules;In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, during jumping to another functional module after completing to the parameter setting of presently described functional module, all information of presently described functional module are issued to the driver, and call another functional module and read all information corresponding to the driver and carry out parameter setting, until completing all parameter settings of the functional module and saving the parameter set.The probability for the problem of parameter is missed setting or repeats setting can be reduced using the embodiment of the present invention.

Description

The parameter setting method and relevant device of driver
Technical field
The present invention relates to electronic technology field more particularly to the parameter setting methods and relevant device of a kind of driver.
Background technique
As country from increasing the overall background developed toward high quality at high speed, PC debugging software to industrial circle it is also proposed that Higher requirement.Currently, being usually by the parameter setting that the PC communicated with driver carries out driver: showing one on PC A parameter interface, all parameters that display driver is supported on the parameter interface, in certain parameters of user setting driver Before, user, which needs to consult driver handbook in advance, understands these parameters, these parameters are then arranged on parameter interface again, this Sample is easy to cause certain parameters to be missed setting or repeats the problem of being arranged.
Summary of the invention
The embodiment of the present invention provides the parameter setting method and relevant device of a kind of driver, is missed for reducing parameter It is arranged or repeats the probability for the problem of being arranged.
In a first aspect, the embodiment of the present invention provides a kind of parameter setting method of driver, the method include at least with Lower step:
The driver and commissioning device are communicated to connect, call the setting guide of the commissioning device to the driver Parameter setting is carried out, the setting guide includes at least two in following functions module: control mode selecting module, instruction are defeated Enter setting module or input and output setting module;
In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, when completion pair During jumping to another functional module after the parameter setting of presently described functional module, by presently described functional module All information be issued to the driver, and call another functional module and read corresponding to the driver own Information carries out parameter setting, until completing all parameter settings of the functional module and saving the parameter set.
Second aspect, the embodiment of the present invention provide a kind of parameter setting apparatus of driver, and described device includes communication unit Member and processing unit, in which:
The processing unit, for being communicated to connect the driver and commissioning device by the communication unit;
The processing unit is also used to call the setting guide of the commissioning device to carry out parameter to the driver and sets It sets, the setting guide includes at least two in following functions module: control mode selecting module, instruction input setting module Or input and output setting module;In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver In, it, will be current during jumping to another functional module after completing to the parameter setting of presently described functional module All information of the functional module are issued to the driver, and call another functional module and read the driver Corresponding all information carry out parameter setting, until completing all parameter settings of the functional module and the ginseng that will be set Number is saved.
The third aspect, the embodiment of the present invention provide a kind of commissioning device, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, the step in method described in first aspect of the embodiment of the present invention is realized when above procedure is executed by the processor Instruction.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in method described in first aspect of the embodiment of the present invention.
5th aspect, the embodiment of the invention provides a kind of computer program products, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Step some or all of described in method of the machine execution as described in first aspect of the embodiment of the present invention.The computer program produces Product can be a software installation packet.
As can be seen that in embodiments of the present invention, first communicating to connect driver and commissioning device, then debugging is called to set Standby setting guide carries out parameter setting to driver, which includes at least two functional modules, is calling the setting In the step of guide carries out parameter setting to driver, another function mould is jumped to after completing to the setting of current functional module During block, all information of current functional module are issued to driver, and another functional module is called to read driver All information carry out parameter setting, until completing all parameter settings of the functional modules and carrying out the parameter set It saves.Due to calling setting guide that can jump after completing the setting of a functional module in parameter setting procedure to driver Another functional module is gone to, i.e. guidance setting it is not necessary that the parameter of driver is arranged after user query driver handbook again, reduces Parameter is missed setting or repeats the probability for the problem of being arranged.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is that the embodiment of the invention provides the system framework figures that a kind of commissioning device is connected with driver;
Fig. 2A is a kind of flow diagram of the parameter setting method of driver provided in an embodiment of the present invention;
Fig. 2 B is a kind of schematic diagram at the corresponding interface of basic information module provided in an embodiment of the present invention;
Fig. 2 C is a kind of schematic diagram at the corresponding interface of selection of Motor module provided in an embodiment of the present invention;
Fig. 2 D is a kind of schematic diagram at the corresponding interface of control mode selecting module provided in an embodiment of the present invention;
Fig. 2 E is a kind of schematic diagram one at the corresponding interface of instruction input setting module provided in an embodiment of the present invention;
Fig. 2 F is a kind of schematic diagram two at the corresponding interface of instruction input setting module provided in an embodiment of the present invention;
Fig. 2 G is a kind of schematic diagram at the corresponding interface of electronic gear proportion setting module provided in an embodiment of the present invention;
Fig. 2 H is a kind of schematic diagram at the corresponding interface of frequency dividing output setting module provided in an embodiment of the present invention;
Fig. 2 I is a kind of schematic diagram at the corresponding interface of input and output setting module provided in an embodiment of the present invention;
Fig. 2 J is the schematic diagram at the corresponding interface of another input and output setting module provided in an embodiment of the present invention;
Fig. 2 K is the schematic diagram at the corresponding interface of another input and output setting module provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the parameter setting method of another driver provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the parameter setting apparatus of driver provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is that the embodiment of the invention provides the system frameworks that a kind of commissioning device is connected with driver Figure.Wherein, commissioning device 10 and driver 20, commissioning device 10 include multiple communication interfaces, driver 20 and commissioning device 10 Including multiple communication interfaces in matched communication interface connection.During executing the parameter setting of driver, When commissioning device 10 receives the setting instruction from user's input, commissioning device 10 passes through the communication that connect with driver 20 Interface reads the relevant information for the driver 20 having connect with commissioning device 10, then believes the correlation of the driver 20 read Breath is handled and is shown, is enabled a user to the information based on display and is configured to the parameter of driver.
Fig. 2A is please referred to, Fig. 2A is that the embodiment of the invention provides a kind of signals of the process of the parameter setting method of driver Figure, is applied to mode equipment, and this method includes:
Step 201: the driver and commissioning device are communicated to connect.
Step 202: call the setting guide of the commissioning device to the driver carry out parameter setting, it is described be arranged to Lead including at least two in following functions module: control mode selecting module, instruction input setting module or input and output are set Cover half block;In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, when completion pair During jumping to another functional module after the parameter setting of presently described functional module, by presently described functional module All information be issued to the driver, and call another functional module and read corresponding to the driver own Information carries out parameter setting, until completing all parameter settings of the functional module and saving the parameter set.
Wherein, the commissioning device may include the various handheld devices with wireless communication function, mobile unit, can wear It wears equipment, calculate equipment (such as industrial control computer), service equipment or other processing for being connected to radio modem Equipment and various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal Equipment (terminal device) etc..
Wherein, the setting guide further includes at least one of following functions module: basic information module, selection of Motor Module, electronic gear proportion setting module and frequency dividing output setting module.
Wherein, in the step of carrying out parameter setting to the driver in the setting guide, according to the controlling party Formula selecting module, described instruction input setting module, the electronic gear proportion setting module, the frequency dividing export setting module Sequence successively carries out parameter setting.
It wherein, include pulse control module and bus control module in the control mode selecting module, for described The selection of driver control mode;
It include to instruction mode, instruction arteries and veins in described instruction input setting module after selecting the pulse control module Rush polarity reversion whether, model following bandwidth, input command pulse maximum frequency and real-time self-regulation mode be configured;
Alternatively, after selecting the bus control module, described instruction input setting module include to mailing address into Row setting.
Wherein, basic information module is used to read information and the display of the driver.
Wherein, selection of Motor module is used to read information and display that the driver has connected motor, or is used for Read the information for the corresponding motor of some motor model that user independently selects and display.
Wherein, control mode selecting module is for reading the current control model of the driver and display, user Ke Gen Corresponding control mode is selected according to display therein.
Wherein, for being read according to the control mode that user selects, the driver is current to be led to instruction input setting module Letter address information and the instruction mode for showing or reading the driver, and be supplied to user and select the drive read The current communications address information of dynamic device, or whether for being inverted to user's selection instruction mode, command pulse polarity, in real time from Dynamic adjustment modes and setting model following bandwidth, input command pulse maximum frequency.
Wherein, electronic gear proportion setting module is used to read the current electronic gear proportion information of the driver and show, Or it reads the electronic gear proportion information after being modified and shows.
Wherein, for reading in the case where supporting input pattern, the driver is current often to be transferred frequency dividing output setting module Whether umber of pulse and selected divided pulse invert and show out, and if the driver that currently connects do not support frequency dividing to export Setting, then the frequency dividing output setting module is set to input;If the driver currently connected supports frequency dividing defeated It sets out, then the frequency dividing output setting module is set to input, and every turn of input is supported in the support input pattern Whether output umber of pulse and selected divided pulse invert.
Wherein, input and output setting module is used to read the I/O mouthfuls of current input information of the driver and described I/O mouthfuls of output informations simultaneously show, modify for inputting the function of all input pins of information to described I/O mouthfuls, and Function for all output pins to the I/O mouthfuls of output information is modified.
As can be seen that in embodiments of the present invention, first communicating to connect driver and commissioning device, then debugging is called to set Standby setting guide carries out parameter setting to driver, which includes at least two functional modules, is calling the setting In the step of guide carries out parameter setting to driver, another function mould is jumped to after completing to the setting of current functional module During block, all information of current functional module are issued to driver, and another functional module is called to read driver Corresponding all information carry out parameter setting, until the parameter setting of all functional modules is completed, wherein needing to illustrate , calling another functional module to read in the step of all information corresponding to driver carry out parameter setting, driver Corresponding all information refer to the corresponding information of another functional module, not the information of driver all categories.By In calling setting guide to carry out in parameter setting procedure driver, complete to jump to after the setting of a functional module another Functional module, i.e. guidance setting, it is not necessary that the parameter of driver is arranged after user query driver handbook again, reduces parameter and is lost Leakage setting or the probability for repeating the problem of being arranged.
In an implementation of the invention, in the basic information module, read the driver basic information, I/O mouthfuls of input information and I/O mouthfuls of output informations are simultaneously shown.
Wherein, the basic information of the driver, I/O mouthfuls of input information and I/O mouthfuls of output informations and it is shown in the base Plinth information module is shown in corresponding interface, specific as shown in Figure 2 B.
Further, after the driver and the commissioning device, which are established, to be communicated to connect, the letter of the driver is read It ceases and shows.
Wherein, the basic information of the driver includes but is not limited to the motor for the motor currently connecting with the driver The current control model of model, the driver.
Wherein, the function that all input pins of information are inputted to described I/O mouthfuls is not supported in the basic information module It can be carried out modification, and the function of all output pins to the I/O mouthfuls of output information do not supported to modify.
Wherein, jumping to another functional module from the basic information module can be the click basic information module pair In the interface (as shown in Figure 2 B) answered start button triggering, be also possible to the corresponding interface of the basic information module into Specific touch control operation (such as double click operation, the single-click operation of the specific position) triggering of row, it is not limited thereto.
In an implementation of the invention, in the selection of Motor module, if the driver has connected motor, It reads rated power, rated current and the rated speed for the motor that the driver currently connects and shows.
In addition it can information such as the rotor inertias that reads motor, not only limitation and above-mentioned several parameters in the present invention.
Wherein, rated power, rated current and the rated speed for the motor that the driver currently connects are in the motor Selecting module is shown in corresponding interface, specific as shown in Figure 2 C.
Further, in the selection of Motor module, if the not connected upper motor of the driver, is selected in the motor Select in module support user selected from the multiple motor model lists of principal and subordinate it is therein any one, be elected in it is therein any one When a motor model, reads rated power, rated current and the rated speed for the motor model chosen and show.
In addition it can information such as the rotor inertias that reads motor, not only limitation and above-mentioned several parameters in the present invention.
Wherein, rated power, rated current and the rated speed for the motor model chosen are in the selection of Motor module pair It is shown in the interface answered, display format is similar with Fig. 2 C, but the option in interface in relation to motor model shows as supporting modification Form.
Wherein, jumping to another functional module from the selection of Motor module can be the click selection of Motor module pair What the next button in the interface (as shown in Figure 2 C) answered triggered, it is also possible to the corresponding interface of the selection of Motor module Carrying out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, it is not limited thereto.
In an implementation of the invention, if the driver only supports a kind of control model, in the control mode In selecting module, reads a kind of control model and show.Display format is similar with Fig. 2 D, but related control mould in interface The option of type shows as the form for not supporting modification.
Further, if the driver supports various control mode to work as change in the control mode selecting module When the control model of the driver, then the control model after being modified will be shown in basic information module, it is specific such as Fig. 2 D It is shown.
Wherein, jumping to another functional module from the control mode selecting module can be the click control mode choosing The next button triggering in the corresponding interface of module (as shown in Figure 2 D) is selected, is also possible to the selection of Motor module pair The interface answered carries out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, do not limit herein It is fixed.
In an implementation of the invention, in the described instruction input setting module, it is current to read the driver Communications address information is simultaneously shown, when changing the communications address information of the driver, the mailing address after display is modified is believed Breath.The display mode of communications address information is specific as shown in Fig. 2 E and Fig. 2 F.
Also, in the parametric procedure to control mode selecting module described above and described instruction input setting module, Wherein, include pulse control module and bus control module in the control mode selecting module, be used for the driver control The selection of mode processed;
It include to instruction mode, instruction arteries and veins in described instruction input setting module after selecting the pulse control module Rush polarity reversion whether, model following bandwidth, input command pulse maximum frequency and real-time self-regulation mode be configured;
Alternatively, after selecting the bus control module, described instruction input setting module include to mailing address into Row setting.
Wherein, from described instruction input setting module jump to another functional module can be click described instruction input set What the next button in the corresponding interface of cover half block (as shown in Figure 2 E) triggered, it is also possible to the selection of Motor module pair The interface answered carries out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, do not limit herein It is fixed.
In an implementation of the invention, in the electronic gear proportion setting module, it is current to read the driver Electronic gear proportion information and show, when changing the electronic gear proportion information of the driver, display be modified after electronics Gear ratio information.The display mode of electronic gear proportion information is specifically as shown in Figure 2 G.
Further, in the electronic gear proportion setting module, the explanation of the electronic gear proportion information is shown.
Wherein, jumping to another functional module from the electronic gear proportion setting module can be the click electronic gear What the next button in interface (as shown in Figure 2 G) more corresponding than setting module triggered, it is also possible to the electronic gear proportion The corresponding interface of setting module carries out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, It is not limited thereto.
It include supporting input pattern and forbidding in frequency dividing output setting module in an implementation of the invention Input pattern;In forbidding input pattern, if the driver currently connected does not support frequency dividing output setting, the frequency dividing Output setting module is set to input;In supporting input pattern, if the driver currently connected supports frequency dividing Output setting, then the frequency dividing output setting module is set to input, and supports input often to transfer in supporting input pattern Whether umber of pulse and selected divided pulse invert out.
Further, support input pattern in read often transfer out umber of pulse be 0 or negative when, do not support to change It is described often to transfer out umber of pulse, read in supporting input pattern when often to transfer out umber of pulse not be 0 or negative, support more Change and described often transfers out umber of pulse.
Wherein, another functional module is jumped to from frequency dividing output setting module can be to click the frequency dividing and export set What the next button in the corresponding interface of cover half block (as illustrated in figure 2h) triggered, it is also possible to export the frequency dividing setting mould The corresponding interface of block carries out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, herein not It limits.
In an implementation of the invention, in the input and output setting module, the described of the driver is read I/O mouthfuls of input information and the I/O mouthfuls of output information are simultaneously shown;In the input and output setting module, support to the I/O The function of all input pins of mouth input information is modified, and supports all outputs to the I/O mouthfuls of output information The function of pin is modified.
Wherein, another functional module is jumped to from the input and output setting module can be click the input and output and set Next button triggering in the corresponding interface of cover half block (as shown in Fig. 2 I- Fig. 2 K), it is also possible to the input and output The corresponding interface of setting module carries out specific touch control operation (such as double click operation, the single-click operation of specific position) triggering, It is not limited thereto.
In another aspect of this invention, the input and output setting module can be used as the first cis-position in the setting guide Setup module, start carry out parameter setting be can be since input and output setting module.
Wherein, functional module can also include preserving module, which has been set for saving in setting guide Good parameter information.
It is consistent with embodiment shown in above-mentioned Fig. 2A, referring to Fig. 3, Fig. 3 is that the embodiment of the invention provides a kind of tune Try the structural schematic diagram of equipment, as described in Figure, the commissioning device include processor, memory, communication interface and one or Multiple programs, one or more of programs are stored in the memory, and are configured to be executed by the processor, on Stating program includes the instruction for executing following steps:
The driver and commissioning device are communicated to connect, call the setting guide of the commissioning device to the driver Parameter setting is carried out, the setting guide includes at least two in following functions module: control mode selecting module, instruction are defeated Enter setting module or input and output setting module;
In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, when completion pair During jumping to another functional module after the parameter setting of presently described functional module, by presently described functional module All information be issued to the driver, and call another functional module and read corresponding to the driver own Information carries out parameter setting, until completing all parameter settings of the functional module and saving the parameter set.
In an implementation of the invention, the setting guide further includes at least one of following functions module: base Plinth information module, selection of Motor module, electronic gear proportion setting module and frequency dividing output setting module.
In an implementation of the invention, in the setting guide to the driver carry out parameter setting the step of In, according to the control mode selecting module, described instruction input setting module, the electronic gear proportion setting module, described The sequence of frequency dividing output setting module successively carries out parameter setting.
It include pulse control module and bus in the control mode selecting module in an implementation of the invention Control module, the selection for the driver control mode;
It include to instruction mode, instruction arteries and veins in described instruction input setting module after selecting the pulse control module Rush polarity reversion whether, model following bandwidth, input command pulse maximum frequency and real-time self-regulation mode be configured;
Alternatively, after selecting the bus control module, described instruction input setting module include to mailing address into Row setting.
In an implementation of the invention, in the basic information module, read the driver basic information, I/O mouthfuls of input information and I/O mouthfuls of output informations are simultaneously shown;After the driver and the commissioning device, which are established, to be communicated to connect, Read the information of the driver and display.
In an implementation of the invention, in the selection of Motor module, if the driver has connected motor, It then reads rated power, rated current and the rated speed for the motor that the driver currently connects and shows;If the driving The not connected upper motor of device, then support user to select therein from the multiple motor models of principal and subordinate in the selection of Motor module Meaning one, when any one motor model therein in choosing, read the rated power of the motor model chosen, rated current and Rated speed is simultaneously shown.Wherein, the parameters such as the rotor inertia of motor can also be read, the invention is not limited to above-mentioned several seed ginsengs Number.
It include supporting input pattern and forbidding in frequency dividing output setting module in an implementation of the invention Input pattern;In forbidding input pattern, if the driver currently connected does not support frequency dividing output setting, the frequency dividing Output setting module is set to input;In supporting input pattern, if the driver currently connected supports frequency dividing Output setting, then the frequency dividing output setting module is set to input, and supports input often to transfer in supporting input pattern Whether umber of pulse and selected divided pulse invert out.
In an implementation of the invention, in the input and output setting module, the described of the driver is read I/O mouthfuls of input information and the I/O mouthfuls of output information are simultaneously shown;In the input and output setting module, support to the I/O The function of all input pins of mouth input information is modified, and supports all outputs to the I/O mouthfuls of output information The function of pin is modified.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process, this will not be detailed here.
The embodiment of the present invention can carry out the division of functional unit according to the method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.The integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present invention, it is practical real It is current that there may be another division manner.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method Method.Referring to Fig. 4, Fig. 4 is a kind of parameter setting apparatus of driver provided in an embodiment of the present invention, described device includes Communication unit 401, processing unit 402 and storage unit 403, in which:
The processing unit 402, for by the communication unit 401 by the driver and commissioning device communication link It connects;
The processing unit 402 is also used to call the setting guide of the commissioning device to carry out parameter to the driver Setting, the setting guide include at least two in following functions module: control mode selecting module, instruction input setting mould Block or input and output setting module;The step of parameter setting is carried out to the driver in the setting guide for calling the commissioning device In rapid, during jumping to another functional module after completing to the parameter setting of presently described functional module, it will work as All information of the preceding functional module are issued to the driver, and call another functional module and read the driving All information corresponding to device carry out parameter settings, until completing whole parameter settings of the functional modules and will set Parameter is saved.
In an implementation of the invention, the setting guide further includes at least one of following functions module: base Plinth information module, selection of Motor module, electronic gear proportion setting module and frequency dividing output setting module.
In an implementation of the invention, in the setting guide to the driver carry out parameter setting the step of In, according to the control mode selecting module, described instruction input setting module, the electronic gear proportion setting module, described The sequence of frequency dividing output setting module successively carries out parameter setting.
It include pulse control module and bus in the control mode selecting module in an implementation of the invention Control module, the selection for the driver control mode;
It include to instruction mode, instruction arteries and veins in described instruction input setting module after selecting the pulse control module Rush polarity reversion whether, model following bandwidth, input command pulse maximum frequency and real-time self-regulation mode be configured;
Alternatively, after selecting the bus control module, described instruction input setting module include to mailing address into Row setting.
In an implementation of the invention, in the basic information module, read the driver basic information, I/O mouthfuls of input information and I/O mouthfuls of output informations are simultaneously shown;After the driver and the commissioning device, which are established, to be communicated to connect, Read the information of the driver and display.
In an implementation of the invention, in the selection of Motor module, if the driver has connected motor, It then reads rated power, rated current and the rated speed for the motor that the driver currently connects and shows;If the driving The not connected upper motor of device, then support user to select therein from the multiple motor models of principal and subordinate in the selection of Motor module Meaning one, when any one motor model therein in choosing, read the rated power of the motor model chosen, rated current and Rated speed is simultaneously shown.
It include supporting input pattern and forbidding in frequency dividing output setting module in an implementation of the invention Input pattern;In forbidding input pattern, if the driver currently connected does not support frequency dividing output setting, the frequency dividing Output setting module is set to input;In supporting input pattern, if the driver currently connected supports frequency dividing Output setting, then the frequency dividing output setting module is set to input, and supports input often to transfer in supporting input pattern Whether umber of pulse and selected divided pulse invert out.
In an implementation of the invention, in the input and output setting module, the described of the driver is read I/O mouthfuls of input information and the I/O mouthfuls of output information are simultaneously shown;In the input and output setting module, support to the I/O The function of all input pins of mouth input information is modified, and supports all outputs to the I/O mouthfuls of output information The function of pin is modified.
When processing unit 402 is processor, communication unit 401 is transceiver, when storage unit 403 is memory, this Shen Please the parameter setting apparatus of driver involved in embodiment can be commissioning device shown in Fig. 3.It should be noted that communication Connection unit 401 and parameter set unit 402 can be realized through the processing unit.
The embodiment of the present invention also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include commissioning device.
The embodiment of the present invention also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes commissioning device.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided by the present invention, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (11)

1. a kind of parameter setting method of driver, which is characterized in that the method at least includes the following steps:
The driver and commissioning device are communicated to connect, the setting guide of the commissioning device is called to carry out the driver Parameter setting, the setting guide include at least two in following functions module: control mode selecting module, instruction input are set Cover half block or input and output setting module;
In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, when completion is to current During jumping to another functional module after the parameter setting of the functional module, by the institute of presently described functional module There is information to be issued to the driver, and calls another functional module and read all information corresponding to the driver Parameter setting is carried out, until completing all parameter settings of the functional module and saving the parameter set.
2. the method according to claim 1, wherein the setting guide further include in following functions module extremely It is one few: basic information module, selection of Motor module, electronic gear proportion setting module and frequency dividing output setting module.
3. according to the method described in claim 2, it is characterized in that, carrying out parameter to the driver in the setting guide In the step of setting, set according to the control mode selecting module, described instruction input setting module, the electronic gear proportion Module, the sequence of the frequency dividing output setting module successively carry out parameter setting.
4. the method according to claim 1, wherein including pulse control in the control mode selecting module Module and bus control module, the selection for the driver control mode;
It include to instruction mode, command pulse pole in described instruction input setting module after selecting the pulse control module Whether sex reversal, model following bandwidth, input command pulse maximum frequency and real-time self-regulation mode be configured;
Alternatively, including being set to mailing address in described instruction input setting module after selecting the bus control module It sets.
5. according to the method described in claim 2, it is characterized in that, reading the driver in the basic information module Basic information, I/O mouthfuls of input information and I/O mouthfuls of output informations and show;When the driver and the commissioning device are established After communication connection, the information of the driver and display are read.
6. according to the method described in claim 2, it is characterized in that, in the selection of Motor module, if the driver is Motor in connection then reads rated power, rated current and the rated speed for the motor that the driver currently connects and shows; If the not connected upper motor of the driver, supports user from the multiple motor model lists of principal and subordinate in the selection of Motor module It is middle selection it is therein any one read the specified of the motor model chosen when any one motor model therein in choosing Power, rated current and rated speed are simultaneously shown.
7. the method according to claim 1, wherein including supporting input in frequency dividing output setting module Mode and the one of which for forbidding input pattern;
Forbid in input pattern described, if the driver currently connected does not support frequency dividing output setting, the frequency dividing Output setting module is set to input;
In the support input pattern, if the driver currently connected supports frequency dividing output setting, the frequency dividing is defeated Setting module is set to input out, and input is supported often to transfer out umber of pulse and selected frequency dividing in the support input pattern Whether pulse inverts.
8. method according to claim 1 or 2, which is characterized in that in the input and output setting module, described in reading The I/O mouthfuls of input information of driver and the I/O mouthfuls of output information are simultaneously shown;In the input and output setting module, It supports the function for all input pins for inputting information to described I/O mouthfuls to modify, and supports to believe the I/O mouthfuls of output The function of all output pins of breath is modified.
9. a kind of parameter setting apparatus of driver, which is characterized in that described device includes communication unit and processing unit, In:
The processing unit, for being communicated to connect the driver and commissioning device by the communication unit;
The processing unit is also used to call the setting guide of the commissioning device to carry out parameter setting, institute to the driver Stating setting guide includes at least two in following functions module: control mode selecting module, instruction input setting module or defeated Enter to export setting module;In the step of calling the setting guide of the commissioning device to carry out parameter setting to the driver, It, will be presently described during jumping to another functional module after completing to the parameter setting of presently described functional module All information of functional module are issued to the driver, and call another functional module and to read driver institute right All information for answering carry out parameter setting, until complete all parameter settings of the functional modules and by the parameter set into Row saves.
10. a kind of commissioning device, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program quilt The processor realizes the step in the method according to claim 1 when executing.
11. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing computer Program, the computer program are executed by processor, to realize the method according to claim 1.
CN201910453070.5A 2019-05-28 2019-05-28 The parameter setting method and relevant device of driver Pending CN110221879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910453070.5A CN110221879A (en) 2019-05-28 2019-05-28 The parameter setting method and relevant device of driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910453070.5A CN110221879A (en) 2019-05-28 2019-05-28 The parameter setting method and relevant device of driver

Publications (1)

Publication Number Publication Date
CN110221879A true CN110221879A (en) 2019-09-10

Family

ID=67818399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910453070.5A Pending CN110221879A (en) 2019-05-28 2019-05-28 The parameter setting method and relevant device of driver

Country Status (1)

Country Link
CN (1) CN110221879A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111293833A (en) * 2020-01-21 2020-06-16 深圳市雷赛软件技术有限公司 Motion data display method, motion data display device, motor driver, motor system, and medium
CN112859640A (en) * 2020-12-31 2021-05-28 深圳市雷赛软件技术有限公司 Method and device for debugging corrector parameters of driver and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087118A (en) * 2006-06-06 2007-12-12 上海伙伴科技发展有限公司 A device and method for setting parameters of DC brushless electromotor speed-adjuster
CN102622937A (en) * 2012-03-08 2012-08-01 南京埃斯顿机器人工程有限公司 Robot demonstrator
CN107888454A (en) * 2017-11-30 2018-04-06 英孚康(浙江)工业技术有限公司 A kind of servo-driver monitoring system based on Internet of Things
CN109032986A (en) * 2018-06-28 2018-12-18 郑州云海信息技术有限公司 A kind of drive system and driving debugging system of PCIE link

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087118A (en) * 2006-06-06 2007-12-12 上海伙伴科技发展有限公司 A device and method for setting parameters of DC brushless electromotor speed-adjuster
CN102622937A (en) * 2012-03-08 2012-08-01 南京埃斯顿机器人工程有限公司 Robot demonstrator
CN107888454A (en) * 2017-11-30 2018-04-06 英孚康(浙江)工业技术有限公司 A kind of servo-driver monitoring system based on Internet of Things
CN109032986A (en) * 2018-06-28 2018-12-18 郑州云海信息技术有限公司 A kind of drive system and driving debugging system of PCIE link

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩超: "交流伺服驱动器监控系统设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111293833A (en) * 2020-01-21 2020-06-16 深圳市雷赛软件技术有限公司 Motion data display method, motion data display device, motor driver, motor system, and medium
CN111293833B (en) * 2020-01-21 2022-06-03 深圳市雷赛软件技术有限公司 Motion data display method, motion data display device, motor driver, motor system, and medium
CN112859640A (en) * 2020-12-31 2021-05-28 深圳市雷赛软件技术有限公司 Method and device for debugging corrector parameters of driver and readable storage medium
CN112859640B (en) * 2020-12-31 2024-02-23 深圳市雷赛软件技术有限公司 Method and device for debugging corrector parameter of drive and readable storage medium

Similar Documents

Publication Publication Date Title
CN105357403B (en) Method for switching network, device and communication terminal in a kind of communication terminal
CN110351378A (en) A kind of control method and system of internet of things equipment
CN110221879A (en) The parameter setting method and relevant device of driver
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN105578398A (en) Terminal, and Bluetooth connection method
CN109951400A (en) Instruction sending method, device, electronic equipment and the readable storage medium storing program for executing of terminal
CN103455333B (en) A kind of desktop icons processing method, device and mobile terminal
CN110209619A (en) The method and relevant apparatus of Auto-matching polytypic driver
CN106161725B (en) A kind of information processing method and electronic equipment
CN107277217A (en) A kind of incoming call answering method and terminal device
CN110035167A (en) The way of recording and relevant apparatus
CN106126230A (en) A kind of adaptive device making control interface adaptation platform of internet of things and method
CN106650351B (en) A kind of operation method and mobile terminal of application program
CN108986187A (en) A kind of implementation method, device, storage medium and the android terminal of general animation
CN107133030A (en) Dynamic event performs method and device
CN110163707A (en) Net about vehicle method for processing business, terminal device and server
CN112416617A (en) Control method and device of Bluetooth equipment, storage medium and electronic device
CN105592239A (en) Voice gateway
CN103200516B (en) Realize method and the user equipment of note/voice calling service
CN205566446U (en) Voice gateway
CN109526063A (en) Communicating control method, electronic equipment and computer readable storage medium
CN106469080B (en) The method and device that prevents system service process from restarting, mobile terminal
CN104330983A (en) Control method and electronic device
CN107690799A (en) The method, apparatus and server of a kind of data syn-chronization
JPH07234922A (en) Ic card radio modem and communication system using the same

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