CN104049603A - Lower computer parameter configuration and inquiry system and method thereof - Google Patents
Lower computer parameter configuration and inquiry system and method thereof Download PDFInfo
- Publication number
- CN104049603A CN104049603A CN201410225371.XA CN201410225371A CN104049603A CN 104049603 A CN104049603 A CN 104049603A CN 201410225371 A CN201410225371 A CN 201410225371A CN 104049603 A CN104049603 A CN 104049603A
- Authority
- CN
- China
- Prior art keywords
- slave computer
- unit
- parameter configuration
- parameter
- node number
- 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.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention discloses a lower computer parameter configuration and inquiry system. The lower computer parameter configuration and inquiry system comprises a central control module and an information interaction module. The central control module is in communication with a lower computer through the information interaction module and comprises a processor, an inquiry display unit and a parameter configuration unit. The processor controls the lower computer by sending control instructions. The inquiry display unit is used for providing inquiry information to the information interaction unit. Parameters include at least one of the node number of the lower computer, the node number of heartbeat consumption, the number of axial filtering times, the number of radial filtering times and TXPD sending period information. The information interaction module comprises a man-machine interaction unit and a CAN communication unit. The invention further discloses a lower computer parameter configuration and inquiry method. By means of the system and the method, parameter configuration of the lower computer can be achieved through one key, labor is saved, and efficiency of parameter configuration of the lower computer is improved.
Description
Technical field
The present invention relates to a kind of configuration querying system with and method, relate in particular to a kind of slave computer parameter configuration inquiry system and method thereof.
Background technology
Horizontal loading vehicle control is connected main control computer by CAN bus with two general CAN control modules, two step motor control unit.Main control computer, as host computer, is carried out corresponding action by the total line traffic control slave computer of CAN, before slave computer work, need to be configured slave computer parameter.
At present, the parameter configuration of slave computer is completed by CAN bus, configuration mode is in the past that the computer that Jiang Yitai is provided with CAN communication module is connected with slave computer, sends configuration data by CAN bus.Parameter of every configuration sends frame data, and each data that send must be by configuration persons' composition, be filled up in the application interface that CAN card is corresponding after calculating, click to send and just can complete.But, in this process, need the parameter of configuration a lot, this has just greatly increased configuration personnel's workload, in addition, configuration personnel had both needed to be familiar with configuration protocol, again parameter were changed into bus data and send just to complete configuration, and the process that configures multiple parameters is repeated.
Therefore, need a kind of one-touch parameter configuration and querying method of simple to operate, human-saving.
Summary of the invention
In order to address the above problem, the invention provides a kind of slave computer parameter configuration and inquiry system, it is arranged in host computer, comprises central control module and information interaction module, and described central control module communicates by described information interaction module and slave computer; Described central control module comprises processing unit; Described processing unit is for controlling slave computer by sending controling instruction.
Described central control module also comprises query display unit, dispensing unit; Described information interaction module comprises man-machine interaction unit and CAN communication unit;
Described query display unit is used for controlling described man-machine interaction unit and shows slave computer parameter; Described parameter comprises that node number, axial filter times are consumed in node number, the heartbeat of slave computer, radially filter times, TXPD send at least one in cycle information;
Described processing unit is communicated by letter with slave computer by described CAN communication unit.
Described dispensing unit comprises successively connected node number computing unit, parameter configuration unit, wait acknowledge data cell, resolves and confirm data cell;
Described node number computing unit is for sending the instruction of calculating current slave computer node number to described processing unit;
The parameter that described parameter configuration unit is inputted for reading described man-machine interaction unit user, and convert thereof into bus data, and send slave computer to by described CAN communication unit;
Described wait acknowledge data cell is used for receiving the confirmation data that slave computer returns, and controls the duty of described parameter configuration unit;
Described parsing confirms that data cell is for resolving the confirmation data that slave computer returns, and with the interface of described man-machine interaction unit on the data inputted of user contrast, and control according to this duty of described parameter configuration unit.
Described query display unit comprises parameter query unit;
Described parameter query unit is connected with described node number computing unit, described wait acknowledge data cell.
Described parameter query unit is for reading the parameter of slave computer and controlling man-machine interaction unit and carry out data demonstration.
The present invention also provides a kind of slave computer parameter configuration querying method, comprises slave computer method for parameter configuration and slave computer parameter query method;
Described slave computer method for parameter configuration comprises the following steps:
Step 1: build described slave computer parameter configuration and inquiry system;
Step 2: described node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: described processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: described parameter configuration unit is got the parameter of user's input in described man-machine interaction unit, and converts thereof into bus data, and sends slave computer to by described CAN communication unit;
Step 5: described slave computer receives information, carries out Section 1 parameter configuration, and return to confirmation data;
Step 6: described wait acknowledge data cell receives described confirmation data in 100ms, if do not receive the confirmation data, returns to step 4;
Step 7: described parsing confirms that data cell resolves the confirmation data that slave computer returns, and with the interface of described man-machine interaction unit on the data inputted of user contrast, and control according to this duty of described parameter configuration unit;
Step 8: described processing unit has judged whether all parameter configuration, returns to step 4 as do not configured and carries out the next item down parameter configuration;
Step 9: parameter configuration finishes;
Described slave computer parameter query method comprises the following steps:
Step 1: build described slave computer parameter configuration and inquiry system;
Step 2: described node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: described processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: parameter query module reads the slave computer present node number of exporting in node number computing module, converts the bus data of 8 byte to, is configured to 0x180 No. ID, sends frame data to slave computer at every turn, inquires about a parameter;
Step 5: described wait acknowledge data cell waits for that slave computer returns to confirmation data, confirms that data ID number is: the slave computer present node D exporting in 0x180+ node number parsing module; If described wait acknowledge data cell does not receive the confirmation data in 100ms, report an error at the interface of described man-machine interaction unit;
Step 6: poll-final.
The invention provides a kind of can one-touch configuration and system and the using method thereof of inquiry slave computer parameter, greatly simplified configuration and the querying flow of slave computer parameter, reduced staff's operation easier, improved efficiency and saved cost.
Brief description of the drawings
Fig. 1 is system schematic of the present invention.
Fig. 2 is structure composition of the present invention and annexation schematic diagram.
Fig. 3 is parameter configuration unit structural representation of the present invention.
Fig. 4 is slave computer method for parameter configuration process flow diagram of the present invention.
Fig. 5 is slave computer parameter query method flow diagram of the present invention.
Embodiment
Describe the present invention below in conjunction with accompanying drawing:
As shown in Figure 1, slave computer parameter configuration and inquiry system in present embodiment, comprise central control module 1 and information interaction module 2.
As shown in Figure 2, central control module 1 comprises query display unit 11, dispensing unit 12 and the processing unit 13 of mutual electrical connection.Information interaction module 2 comprises man-machine interaction unit 21, CAN communication unit 22.
Processing unit 13 is for controlling slave computer by sending controling instruction.
Slave computer parameter is shown for controlling described man-machine interaction unit in query display unit 11;
Parameter comprises that node number, axial filter times are consumed in node number, the heartbeat of slave computer, radially filter times, TXPD send at least one in cycle information; Processing unit is communicated by letter with slave computer by CAN communication unit.
As shown in Figure 3, the parameter configuration unit of the present embodiment comprises node number computing unit 14, parameter configuration unit 15, wait acknowledge data cell 16, resolves and confirm data cell 17.
As shown in Figure 4, the slave computer method for parameter configuration of the present embodiment comprises the following steps:
Step 1: build slave computer parameter configuration and inquiry system;
Step 2: node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: parameter configuration unit is got the parameter of user's input in described man-machine interaction unit, and converts thereof into bus data, and sends slave computer to by CAN communication unit;
Step 5: slave computer receives information, carries out Section 1 parameter configuration, and return to confirmation data;
Step 6: wait acknowledge data cell receives described confirmation data in 100ms, if do not receive the confirmation data, returns to step 4;
Step 7: resolve and confirm that data cell resolves the confirmation data returned of slave computer, and with the interface of man-machine interaction unit on the data inputted of user contrast, and control according to this duty of parameter configuration unit;
Step 8: processing unit has judged whether all parameter configuration, returns to step 4 as do not configured and carries out the next item down parameter configuration; Step 9: parameter configuration finishes.
In this method, slave computer comprises GU Generic Unit and stepper motor unit, and the conversion method of the each parameter of GU Generic Unit is as table 1, and the conversion method of the each parameter of stepper motor is as table 2.Be configured to 0x180 No. ID, send frame data to slave computer at every turn, configure a parameter;
Table 1
Table 2
As shown in Figure 5, the slave computer parameter query method of the present embodiment comprises the following steps:
Step 1: build described slave computer parameter configuration and inquiry system;
Step 2: described node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: described processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: parameter query module reads the slave computer present node number of exporting in node number computing module, converts the bus data of 8 byte to, is configured to 0x180 No. ID, sends frame data to slave computer at every turn, inquires about a parameter;
Step 5: described wait acknowledge data cell waits for that slave computer returns to confirmation data, confirms that data ID number is: the slave computer present node D exporting in 0x180+ node number parsing module; If described wait acknowledge data cell does not receive the confirmation data in 100ms, report an error at the interface of described man-machine interaction unit;
Step 6: poll-final.
The confirmation data layout that in this method, the each parameter of GU Generic Unit is returned is as table 3, and the confirmation data layout that the each parameter of stepper motor is returned is as table 4:
Table 3
Table 4
Above embodiment is described the preferred embodiment of the present invention; not scope of the present invention is limited; design under the prerequisite of spirit not departing from the present invention; various distortion and improvement that the common engineering technical personnel in this area make technical scheme of the present invention, all should fall in the definite protection domain of claims of the present invention.
Claims (4)
1. a slave computer parameter configuration and inquiry system, comprise central control module (1) and information interaction module (2), described central control module (1) communicates by described information interaction module (2) and slave computer; Described central control module (1) comprises processor; Described processor is for controlling slave computer by sending controling instruction;
It is characterized in that,
Described central control module (1) also comprises query display unit (11), dispensing unit (12) and processing unit (13);
Described information interaction module (2) comprises man-machine interaction unit (21) and CAN communication unit (22);
Described query display unit (11) shows the parameter of slave computer for controlling described man-machine interaction unit (21); Described parameter comprises that node number, axial filter times are consumed in node number, the heartbeat of slave computer, radially filter times, TXPD send at least one in cycle information;
Described processing unit (13) is communicated by letter with slave computer by described CAN communication unit (22).
2. slave computer parameter configuration according to claim 1 and inquiry system, is characterized in that,
Described dispensing unit (12) comprises successively connected node number computing unit (14), parameter configuration unit (15), wait acknowledge data cell (16), resolves and confirm data cell (17);
Described node number computing unit (14) is for sending the instruction of calculating current slave computer node number to described processing unit (13);
The parameter that described dispensing unit (12) is inputted for reading described man-machine interaction unit (21) user, and convert thereof into bus data, and send slave computer to by described CAN communication unit (22);
The confirmation data that described wait acknowledge data cell (16) is returned for receiving slave computer, and control the duty of described parameter configuration unit (15);
The confirmation data that data cell (17) is returned for resolving slave computer are confirmed in described parsing, and with the interface of described man-machine interaction unit (21) on the data inputted of user contrast, and control according to this duty of described parameter configuration unit (15).
3. slave computer parameter configuration according to claim 2 and inquiry system, is characterized in that,
Described query display unit (11) comprises parameter query unit;
Described parameter query unit is connected with described node number computing unit (14), described wait acknowledge data cell (17).
Described parameter query unit is for reading the parameter of slave computer and controlling man-machine interaction unit (21) and carry out data demonstration.
4. a using method for slave computer parameter configuration and inquiry system, is characterized in that,
Comprise slave computer method for parameter configuration and slave computer parameter query method;
Described slave computer method for parameter configuration comprises the following steps:
Step 1: build slave computer parameter configuration claimed in claim 3 and inquiry system;
Step 2: described node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: described processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: described parameter configuration unit is got the parameter of user's input in described man-machine interaction unit, and converts thereof into bus data, and sends slave computer to by described CAN communication unit;
Step 5: described slave computer receives information, carries out Section 1 parameter configuration, and return to confirmation data;
Step 6: described wait acknowledge data cell receives described confirmation data in 100ms, if do not receive the confirmation data, returns to step 4;
Step 7: described parsing confirms that data cell resolves the confirmation data that slave computer returns, and with the interface of described man-machine interaction unit on the data inputted of user contrast, and control according to this duty of described parameter configuration unit;
Step 8: described processing unit has judged whether all parameter configuration, returns to step 4 as do not configured and carries out the next item down parameter configuration;
Step 9: parameter configuration finishes;
Described slave computer parameter query method comprises the following steps:
Step 1: build slave computer parameter configuration claimed in claim 3 and inquiry system;
Step 2: described node number computing unit sends the instruction of slave computer parameter configuration to described processing unit;
Step 3: described processing unit reads the heartbeat node number of slave computer by described CAN communication unit, and calculates slave computer present node number, and computing formula is: slave computer present node D=heartbeat node number ID-0x700;
Step 4: parameter query module reads the slave computer present node number of exporting in node number computing module, converts the bus data of 8 byte to, is configured to 0x180 No. ID, sends frame data to slave computer at every turn, inquires about a parameter;
Step 5: described wait acknowledge data cell waits for that slave computer returns to confirmation data, confirms that data ID number is: the slave computer present node D exporting in 0x180+ node number parsing module; If described wait acknowledge data cell does not receive the confirmation data in 100ms, report an error at the interface of described man-machine interaction unit;
Step 6: poll-final.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410225371.XA CN104049603B (en) | 2014-05-26 | 2014-05-26 | Slave computer parameter configuration inquiries system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410225371.XA CN104049603B (en) | 2014-05-26 | 2014-05-26 | Slave computer parameter configuration inquiries system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104049603A true CN104049603A (en) | 2014-09-17 |
CN104049603B CN104049603B (en) | 2017-10-31 |
Family
ID=51502602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410225371.XA Active CN104049603B (en) | 2014-05-26 | 2014-05-26 | Slave computer parameter configuration inquiries system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104049603B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317616A (en) * | 2014-10-13 | 2015-01-28 | 中国电子科技集团公司第四十一研究所 | Data interaction method of signal generator based on Vx Works |
CN107102632A (en) * | 2017-04-25 | 2017-08-29 | 航天科技控股集团股份有限公司 | CAN diagnostic devices and method for fleet management module |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582824A (en) * | 2008-05-13 | 2009-11-18 | 施耐德电器工业公司 | Node number automatic distribution method for controlling secondary node equipment of local area network bus |
CN101801019A (en) * | 2010-02-03 | 2010-08-11 | 北京航空航天大学 | Analysis and test device for nodes in wireless sensor network |
CN102141807A (en) * | 2011-04-22 | 2011-08-03 | 柳州五菱汽车有限责任公司 | Upper computer, lower computer, monitoring system and method |
DE102010016283B4 (en) * | 2010-03-31 | 2011-12-15 | Schneider Electric Automation Gmbh | Method for transmitting data via a CANopen bus and use of the method for configuring and / or parameterizing field devices via the CANopen bus |
WO2013004384A1 (en) * | 2011-07-06 | 2013-01-10 | Abb Ag | System and method for parameterizing field devices of an automation or control system |
-
2014
- 2014-05-26 CN CN201410225371.XA patent/CN104049603B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582824A (en) * | 2008-05-13 | 2009-11-18 | 施耐德电器工业公司 | Node number automatic distribution method for controlling secondary node equipment of local area network bus |
CN101801019A (en) * | 2010-02-03 | 2010-08-11 | 北京航空航天大学 | Analysis and test device for nodes in wireless sensor network |
DE102010016283B4 (en) * | 2010-03-31 | 2011-12-15 | Schneider Electric Automation Gmbh | Method for transmitting data via a CANopen bus and use of the method for configuring and / or parameterizing field devices via the CANopen bus |
CN102141807A (en) * | 2011-04-22 | 2011-08-03 | 柳州五菱汽车有限责任公司 | Upper computer, lower computer, monitoring system and method |
WO2013004384A1 (en) * | 2011-07-06 | 2013-01-10 | Abb Ag | System and method for parameterizing field devices of an automation or control system |
Non-Patent Citations (2)
Title |
---|
杨晨阳 等: "基于ARM的直流电机控制系统设计", 《自动化与仪器仪表》 * |
黄刘生 等: "无线传感器网络节点随机配置的覆盖和连通研究", 《计算机应用》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317616A (en) * | 2014-10-13 | 2015-01-28 | 中国电子科技集团公司第四十一研究所 | Data interaction method of signal generator based on Vx Works |
CN107102632A (en) * | 2017-04-25 | 2017-08-29 | 航天科技控股集团股份有限公司 | CAN diagnostic devices and method for fleet management module |
Also Published As
Publication number | Publication date |
---|---|
CN104049603B (en) | 2017-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736565B (en) | Communication method of automatic control equipment based on upper and lower computer structures | |
CN105260337B (en) | A kind of automatic addressing method and system of single-chip microcomputer | |
CN204305072U (en) | A kind of Multi-protocol converter | |
CN201966855U (en) | AC (alternating current) servo control system based on Ether CAT network | |
CN102053813B (en) | Splicing wall control method and device | |
CN103473141A (en) | Method for out-of-band check and modification of BIOS (basic input/output system) setting options | |
CN203036861U (en) | Network water heater and network water heater system | |
CN102273178B (en) | Method, platform device and system for setting service single-board address | |
CN102567620A (en) | Intelligent medicine frame system of outpatient pharmacy, and control method of such system | |
CN103795680A (en) | Communication method supporting multiple communication protocols, and electric energy meter | |
CN103345188A (en) | Universal operation panel of electrical equipment | |
CN103905410A (en) | Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol | |
CN104049603A (en) | Lower computer parameter configuration and inquiry system and method thereof | |
CN104123619A (en) | Method and management system for rapidly generating wiring diagram from DWG format based schematic diagram | |
CN102904788B (en) | The method of PROFIBUS interface and use PROFIBUS interface | |
CN203706058U (en) | CAN bus based multi-I/O board card expansion structure | |
CN104657554A (en) | Rapid rocket three-dimensional model design information extraction system | |
CN203430525U (en) | Shield distribution type PLC control system based on controller | |
CN102592055A (en) | Zigbee protocol based wireless fully-self-service dish ordering system | |
CN104240160A (en) | Cloud ordering system and ordering method thereof | |
CN103856466A (en) | Acquisition terminal device capable of configuring protocols automatically | |
CN105302567A (en) | Device and method for dynamically generating report template | |
CN105224327A (en) | A kind of embedded equipment variable exchanges transport address off-line distribution method | |
CN104460437A (en) | Communication control method and communication device | |
CN104133788B (en) | CAN bus data transmission method in active filter system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |