CN104049603B - Slave computer parameter configuration inquiries system and method - Google Patents
Slave computer parameter configuration inquiries system and method Download PDFInfo
- Publication number
- CN104049603B CN104049603B CN201410225371.XA CN201410225371A CN104049603B CN 104049603 B CN104049603 B CN 104049603B CN 201410225371 A CN201410225371 A CN 201410225371A CN 104049603 B CN104049603 B CN 104049603B
- Authority
- CN
- China
- Prior art keywords
- slave computer
- unit
- parameter
- parameter configuration
- 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.)
- Active
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 kind of slave computer parameter configuration and inquiry system, including central control module and information exchange module, the central control module is communicated by described information interactive module with slave computer;The central control module includes processor, query display unit, parameter configuration unit;The processor is controlled by sending control instruction to slave computer, and the query display unit is used to provide Query Information to information exchange unit;The parameter includes the node number of slave computer, heartbeat consumption node number, axial filter times, radial direction filter times, TXPD and sends at least one of cycle information.Described information interactive module includes man-machine interaction unit and CAN communication unit.The invention also discloses a kind of slave computer parameter configuration inquiries method.A key is realized the invention enables slave computer parameter configuration, manpower is saved, the efficiency of slave computer parameter configuration work is improved.
Description
Technical field
The present invention relates to a kind of configuration querying system and its method, more particularly to a kind of slave computer parameter configuration inquiries system
System and its method.
Background technology
Horizontal loading vehicle control is by CAN by main control computer and two general CAN control units, two steps
Stepper motor control unit is connected.Main control computer controls slave computer to perform corresponding action as host computer by CAN,
, it is necessary to be configured to slave computer parameter before slave computer work.
At present, the parameter configuration to slave computer is completed by CAN, and conventional configuration mode is that Jiang Yitai is provided with
The computer of CAN is connected with slave computer, passes through CAN send configuration data.Often configure a parameter and send a frame
Data, and the data sent every time must by configuration persons' composition, calculate after be filled up in the corresponding application interface of CAN cards,
Click on and send and could complete.However, needing the parameter configured in the process a lot, this just substantially increases configuration personnel's
Workload, in addition, configuration personnel both need to be familiar with configuration protocol, changes into bus data by parameter again and sends ability
Configuration is completed, the process of configuration multiple parameters is repeated.
Accordingly, it would be desirable to a kind of one-touch parameter configuration simple to operate, human-saving and querying method.
The content of the invention
In order to solve the above problems, the invention provides a kind of slave computer parameter configuration and inquiry system, it is arranged on
In the machine of position, including central control module and information exchange module, the central control module by described information interactive module with
Slave computer is communicated;The central control module includes processing unit;The processing unit is used for by sending control instruction
Slave computer is controlled.
The central control module also includes query display unit, dispensing unit;Described information interactive module includes man-machine
Interactive unit and CAN communication unit;
The query display unit is used to control the man-machine interaction unit displaying slave computer parameter;Under the parameter includes
Node number, heartbeat consumption node number, axial filter times, radial direction filter times, the TXPD of position machine are sent in cycle information extremely
Few one kind;
The processing unit is communicated by the CAN communication unit with slave computer.
The dispensing unit include be sequentially connected node number computing unit, parameter configuration unit, etc. data sheet to be confirmed
Member, parsing confirm data cell;
The node number computing unit is used to send the instruction for calculating current slave computer node number to the processing unit;
The parameter configuration unit is used to read the parameter that user inputs in the man-machine interaction unit, and converts thereof into
Bus data, and slave computer is sent to by the CAN communication unit;
The data cell to be confirmed such as described is used for the confirmation data for receiving slave computer return, and controls the parameter configuration list
The working condition of member;
It is described parsing confirm data cell be used for parse slave computer return confirmation data, and with the man-machine interaction unit
Interface on the data that are inputted of user contrasted, and control the working condition of the parameter configuration unit according to this.
The query display unit includes parameter query unit;
The parameter query unit is connected with the data cell to be confirmed such as the node number computing unit, described.
The parameter query unit is used to read the parameter of slave computer and controls man-machine interaction unit to carry out data display.
Present invention also offers a kind of slave computer parameter configuration inquiries method, including slave computer method for parameter configuration and bottom
Machine parameter query method;
The slave computer method for parameter configuration comprises the following steps:
Step one:Build the slave computer parameter configuration and inquiry system;
Step 2:The node number computing unit sends slave computer parameter configuration to the processing unit and instructed;
Step 3:The processing unit is read by the CAN communication unit under the heartbeat node number of slave computer, and calculating
Position machine present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:The parameter configuration unit takes the parameter that user inputs in the man-machine interaction unit, and is converted
Slave computer is sent into bus data, and by the CAN communication unit;
Step 5:The slave computer receives information, carries out Section 1 parameter configuration, and returns to confirmation data;
Step 6:The data cell to be confirmed such as described receives the confirmation data in 100ms, if being not received by confirmation
Data, then return to step four;
Step 7:It is described parsing confirm data cell parsing slave computer return confirmation data, and with the man-machine interaction
The data that user is inputted on the interface of unit are contrasted, and control the working condition of the parameter configuration unit according to this;
Step 8:The processing unit judges whether to complete all parameter configurations, the return to step four if not configuring and completing
Carry out the next item down parameter configuration;
Step 9:Parameter configuration terminates;
The slave computer parameter query method comprises the following steps:
Step one:Build the slave computer parameter configuration and inquiry system;
Step 2:The node number computing unit sends slave computer parameter configuration to the processing unit and instructed;
Step 3:The processing unit is read by the CAN communication unit under the heartbeat node number of slave computer, and calculating
Position machine present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:Parameter query module reads the slave computer present node number exported in node number computing module, is converted into 8
Individual byte bus data, No. ID is configured to 0x180, and a frame data are sent every time to slave computer, a parameter is inquired about;
Step 5:The data cell to be confirmed such as described waits slave computer to return to confirmation data, confirms that data ID are:
The slave computer present node D exported in 0x180+ node number parsing modules;If the data cell to be confirmed such as described does not have in 100ms
Confirmation data are received, then are reported an error at the interface of the man-machine interaction unit;
Step 6:Poll-final.
It is capable of the one-touch system and its application method configured with inquiry slave computer parameter the invention provides a kind of, greatly
Configuration and the querying flow of slave computer parameter are simplified, the operation difficulty of staff is reduced, efficiency is improved and saves
Cost.
Brief description of the drawings
Fig. 1 is system schematic of the invention.
Fig. 2 is structure composition and annexation schematic diagram of the invention.
Fig. 3 is parameter configuration unit structural representation of the invention.
Fig. 4 is slave computer method for parameter configuration flow chart of the invention.
Fig. 5 is slave computer parameter query method flow diagram of the invention.
Embodiment
The present invention will be described in detail below in conjunction with the accompanying drawings:
As shown in figure 1, slave computer parameter configuration and inquiry system in present embodiment, including central control module 1 and letter
Cease interactive module 2.
As shown in Fig. 2 central control module 1 include be electrically connected to each other query display unit 11, dispensing unit 12 and
Processing unit 13.Information exchange module 2 includes man-machine interaction unit 21, CAN communication unit 22.
Processing unit 13 is used to be controlled slave computer by sending control instruction.
Query display unit 11 is used to control the man-machine interaction unit displaying slave computer parameter;
Parameter includes the node number of slave computer, heartbeat consumption node number, axial filter times, radial direction filter times, TXPD
Send at least one of cycle information;Processing unit is communicated by CAN communication unit with slave computer.
As shown in figure 3, the parameter configuration unit of the present embodiment include node number computing unit 14, parameter configuration unit 15,
Confirm data cell 17 etc. data cell 16 to be confirmed, parsing.
As shown in figure 4, the slave computer method for parameter configuration of the present embodiment comprises the following steps:
Step one:Build slave computer parameter configuration and inquiry system;
Step 2:Node number computing unit sends slave computer parameter configuration to the processing unit and instructed;
Step 3:Processing unit reads the heartbeat node number of slave computer by the CAN communication unit, and calculates slave computer
Present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:Parameter configuration unit takes the parameter that user inputs in the man-machine interaction unit, and converts thereof into total
Line number evidence, and slave computer is sent to by CAN communication unit;
Step 5:Slave computer receives information, carries out Section 1 parameter configuration, and returns to confirmation data;
Step 6:The confirmation data are received in 100ms etc. data cell to be confirmed, if being not received by confirmation number
According to then return to step four;
Step 7:Parsing confirm data cell parsing slave computer return confirmation data, and with the boundary of man-machine interaction unit
The data that user is inputted on face are contrasted, and the working condition of control parameter dispensing unit according to this;
Step 8:Processing unit judges whether to complete all parameter configurations, the progress of return to step four if not configuring and completing
The next item down parameter configuration;Step 9:Parameter configuration terminates.
In this method, slave computer includes GU Generic Unit and stepper motor unit, the conversion side of each parameter of GU Generic Unit
Method such as table 1, the conversion method such as table 2 of each parameter of stepper motor.No. ID is configured to 0x180, and a frame data are sent every time under
Position machine, configures 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 one:Build the slave computer parameter configuration and inquiry system;
Step 2:The node number computing unit sends slave computer parameter configuration to the processing unit and instructed;
Step 3:The processing unit is read by the CAN communication unit under the heartbeat node number of slave computer, and calculating
Position machine present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:Parameter query module reads the slave computer present node number exported in node number computing module, is converted into 8
Individual byte bus data, No. ID is configured to 0x180, and a frame data are sent every time to slave computer, a parameter is inquired about;
Step 5:The data cell to be confirmed such as described waits slave computer to return to confirmation data, confirms that data ID are:
The slave computer present node D exported in 0x180+ node number parsing modules;If the data cell to be confirmed such as described does not have in 100ms
Confirmation data are received, then are reported an error at the interface of the man-machine interaction unit;
Step 6:Poll-final.
The confirmation data format such as table 3 that each parameter of GU Generic Unit is returned in this method, each parameter of stepper motor is returned
Confirmation data format such as table 4:
Table 3
Table 4
Embodiment above is only that the preferred embodiment of the present invention is described, and not the scope of the present invention is entered
Row is limited, on the premise of design spirit of the present invention is not departed from, technical side of this area ordinary skill technical staff to the present invention
In various modifications and improvement that case is made, the protection domain that claims of the present invention determination all should be fallen into.
Claims (3)
1. a kind of slave computer parameter configuration and inquiry system, including central control module (1) and information exchange module (2), described
Central control module (1) is communicated by described information interactive module (2) with slave computer;Central control module (1) bag
Include processing unit;The processing unit is used to be controlled slave computer by sending control instruction;
Characterized in that,
The central control module (1) also includes query display unit (11), dispensing unit (12) and processing unit (13);
Described information interactive module (2) includes man-machine interaction unit (21) and CAN communication unit (22);
The query display unit (11) is used for the parameter for controlling the man-machine interaction unit (21) to show slave computer;The parameter
Node number including slave computer, heartbeat consumption node number, axial filter times, radial direction filter times, TXPD send cycle information
At least one of;
The processing unit (13) is communicated by the CAN communication unit (22) with slave computer;
The dispensing unit (12) is true including the node number computing unit (14) being sequentially connected, parameter configuration unit (15), wait
Recognize data cell (16), parsing and confirm data cell (17);
The node number computing unit (14) is used to send the finger for calculating current slave computer node number to the processing unit (13)
Order;
The dispensing unit (12) is used to read the parameter that user inputs in the man-machine interaction unit (21), and converts thereof into
Bus data, and slave computer is sent to by the CAN communication unit (22);
The data cell (16) to be confirmed such as described is used for the confirmation data for receiving slave computer return, and controls the parameter configuration list
The working condition of first (15);
It is described parsing confirm data cell (17) be used for parse slave computer return confirmation data, and with the man-machine interaction unit
(21) data that user is inputted on interface are contrasted, and control the work shape of the parameter configuration unit (15) according to this
State.
2. slave computer parameter configuration according to claim 1 and inquiry system, it is characterised in that
The query display unit (11) includes parameter query unit;
The parameter query unit is connected with the data cell to be confirmed (16) such as the node number computing unit (14), described;
The parameter query unit is used to read the parameter of slave computer and controls man-machine interaction unit (21) to carry out data display.
3. the application method of a kind of slave computer parameter configuration and inquiry system, it is characterised in that
Including slave computer method for parameter configuration and slave computer parameter query method;
The slave computer method for parameter configuration comprises the following steps:
Step one:Build slave computer parameter configuration and the inquiry system described in claim 2;
Step 2:The node number computing unit sends slave computer parameter configuration to the processing unit and instructed;
Step 3:The processing unit reads the heartbeat node number of slave computer by the CAN communication unit, and calculates slave computer
Present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:The parameter configuration unit takes the parameter that user inputs in the man-machine interaction unit, and converts thereof into total
Line number evidence, and slave computer is sent to by the CAN communication unit;
Step 5:The slave computer receives information, carries out Section 1 parameter configuration, and returns to confirmation data;
Step 6:The data cell to be confirmed such as described receives the confirmation data in 100ms, if being not received by confirmation number
According to then return to step four;
Step 7:It is described parsing confirm data cell parsing slave computer return confirmation data, and with the man-machine interaction unit
Interface on the data that are inputted of user contrasted, and control the working condition of the parameter configuration unit according to this;
Step 8:The processing unit judges whether to complete all parameter configurations, the progress of return to step four if not configuring and completing
The next item down parameter configuration;
Step 9:Parameter configuration terminates;
The slave computer parameter query method comprises the following steps:
Step one:Build slave computer parameter configuration and the inquiry system described in claim 2;
Step 2:The node number computing unit sends slave computer parameter query to the processing unit and instructed;
Step 3:The processing unit reads the heartbeat node number of slave computer by the CAN communication unit, and calculates slave computer
Present node number, calculation formula is:Slave computer present node D=heartbeat node numbers ID-0x700;
Step 4:Parameter query module reads the slave computer present node number exported in node number computing module, is converted into 8
Byte bus data, No. ID is configured to 0x180, and a frame data are sent every time to slave computer, a parameter is inquired about;
Step 5:The data cell to be confirmed such as described waits slave computer to return to confirmation data, confirms that data ID are:Under 0x180+
Position machine present node D;If the data cell to be confirmed such as described is not received by confirmation data in 100ms, described man-machine
The interface of interactive unit reports an error;
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 CN104049603A (en) | 2014-09-17 |
CN104049603B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317616B (en) * | 2014-10-13 | 2018-06-19 | 中国电子科技集团公司第四十一研究所 | A kind of signal generator data interactive method based on VxWorks |
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的直流电机控制系统设计;杨晨阳 等;《自动化与仪器仪表》;20131231(第1期);第57-59页 * |
无线传感器网络节点随机配置的覆盖和连通研究;黄刘生 等;《计算机应用》;20061130;第26卷(第11期);第2567-2569页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104049603A (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102729476B (en) | Controlling method for stereo-prototyping mechanism | |
CN202495966U (en) | Embedded configurable multi-protocol communication network converter | |
CN103944982A (en) | Data collecting and controlling device and method for heterogeneous sensor network | |
CN101984633A (en) | Interactive ward monitoring system based on wireless communication mode | |
CN101286095A (en) | Intelligent type computer external apparatus interface switch controller | |
CN104049603B (en) | Slave computer parameter configuration inquiries system and method | |
CN103905410A (en) | Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol | |
CN107328034A (en) | Centralized management method and device for air conditioning unit and air conditioning system | |
CN208334985U (en) | A kind of multi-screen collaboration control system of instrument | |
CN108334550A (en) | A kind of data processing system based on Human Resource Management System | |
CN106708701A (en) | Central maintenance device and method based on ARINC659 bus | |
CN203882345U (en) | Medical record filing status monitoring system | |
CN107676987A (en) | Fully-automatic thermostatic heater operation's plate communication system | |
CN103246243A (en) | Scalable architecture for a human machine interface device | |
CN104076773B (en) | A kind of modularization ZIGBEE monitoring systems applied to 3D printing equipment | |
CN204566137U (en) | The robot control system of the multiple driver of a kind of compatibility | |
CN107316573A (en) | Screen splitting device under control of single chip microcomputer, combined liquid crystal display screen and working method of combined liquid crystal display screen | |
CN201869229U (en) | Interactive ward monitoring system based on wireless communication mode | |
CN202736326U (en) | Wireless intelligent answering system supporting multi-network and multi-terminal | |
CN207115918U (en) | Split screen device and combined liquid crystal display screen under control of single chip microcomputer | |
CN201837019U (en) | Integrated controller of ceiling-mounted air-conditioner | |
CN102122320A (en) | Management system of intelligent medicine frame | |
CN202395709U (en) | Driving device of motor | |
CN201945861U (en) | Multiple process units control system in paper industry | |
CN205655540U (en) | Heat pump set centralized control device |
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 |