Disclosure of Invention
The invention aims to provide a configuration type demonstrator management system aiming at the defects in the prior art, and the technical scheme is as follows:
a configuration type demonstrator management system comprises configuration editing software and running software, wherein the configuration editing software comprises a variable data management system for providing a data source of the whole system, an engineering management system, an interface management system, an equipment management system, a resource management system, an internationalized translation system, a font management system, a user management system, a database access system, a formula management system, a logic management system and a database access interface system which are all in data interaction with the variable data management system; the interface management system is also respectively in data interaction with the resource management system and the international translation system and in data interaction between the international translation system and the font management system; the variable data management system is used for managing various types of variables in the system and comprises an internal variable type management module, an equipment variable type management module and a system variable type management module; the configuration editing software is used by a demonstrator robot software developer, the software runs on a host, and the developer combines the process requirements of robots in different industries to access between the editing software adding configuration and the logic realization interface, variable data, a database and equipment thereof.
The configuration editing software finally generates running software capable of configuring parameters, logic scripts and resource files thereof on the demonstrator, the configuration editing software downloads data to the demonstrator, and an application program run by the demonstrator converts the data into the running software used by the process personnel and the operating personnel who finally use the robot.
Preferably, the project management system comprises a peripheral component management module, a model component management module and a project data management module; the engineering management system generates corresponding engineering data for different robot configurations and logics, the engineering data generates an independent application, a developer selects a corresponding demonstrator model to determine hardware information of a demonstrator, and the data edited by the developer is independently stored in a host disk; the peripheral component building management module manages each built library file to realize building expansion function; the model building management module adds and configures corresponding peripheral equipment to build different models according to the difference of product model peripheral equipment; the project data management module selects a corresponding model to create a demonstrator project data folder according to peripheral requirements, and stores configuration application data of the creation model data configuration, the interface data configuration and the variable data configuration in the project folder.
Preferably, the interface management system comprises a picture control module, a picture data management module, a control management module and a system message processing module; the interface management system can develop and create a picture, add a required control to a corresponding picture, bind a variable by the control on the picture, access variable data and realize the exchange with the variable data; the picture control module generates a library file based on a control base class; the library file comprises a button module, an edit box module, a progress bar module and a chart module; the picture data management module has the management functions of generating data, storing the data and loading the data for the developer configuration picture; the control management module provides a new control module for the subsequent expansion of the management picture control module; the system message processing module is a processing method for adding different messages for developers, and comprises mouse pressing, key pressing and timer events.
Preferably, the device management system comprises a device component module, a device communication protocol driving module and a device communication configuration module; the equipment management system integrally realizes the access of local equipment and remote equipment, and comprises the functions of timing access, triggering access and connection access, and the data accessed each time can update configuration variable data; the equipment component module configures the peripheral types and the number of the peripheral types of corresponding product models, and comprises a remote serial port, a CAN, an Ethernet, a local I2C memory device and an SPI temperature sensor device; the device communication protocol driving module can be a protocol interface created according to the data stream format of the access data; the equipment communication configuration module provides developers with corresponding equipment and equipment communication thereof according to actual equipment peripheral configuration.
Preferably, the variable data management system can manage global variables in the software design process, different variable types can be added, the expansion of subsequent data types can be realized through the variable data management system, after the variable data change, a signal can be sent to other systems using the data, and the other systems access the variable data after acquiring the signal.
Preferably, the internationalized translation system comprises a multinational language management module and a character translation management module; the font management system comprises a font management module; the internationalized translation system can create a translation configuration file, add translation languages, add corresponding translation texts in the configuration process, a developer configures the corresponding translations, the developer can translate the texts into the translations through the translation system, so that the application program configured by the developer can realize the internationalized function, and the developer can use the internationalized translation system in other data systems; the multinational language management module can be used for a developer to add and configure multinational language names, the added data is managed and stored by the multinational language management module, and the added data can be used for acquiring a language list and generating configuration data; the character translation management module comprises original texts and added multi-language translation translations thereof, and the character translation management module provides functions of adding the original texts and editing and storing the translations thereof and also provides interfaces, such as an interface, and an interface for converting the original texts into the translations of variable data.
Different fonts need to be added in an interface in the process of configuring an application program, and the font management system can add and configure various types of pointing and vector font files and set default fonts of the international translation system.
Preferably, the user management system comprises a user management module, a user group management module and a user authority management module; the formula management system comprises a formula data component module and a formula file management module; the user management system integrally realizes the login function of a default user and the user thereof, configures different authorities for each user, and realizes that the demonstrator configuration application program has the functions of the user and the authority thereof; the database access system stores variable data in the data at a certain time point, so that the historical query backup function of the demonstrator dynamic application program is realized; the user management module is responsible for managing user login and password confirmation, sending a message to other systems after the user logs in and the authority of the user, and performing corresponding processing by the other systems according to the authority level; the user group management module is used for creating a user group, a user name and password management thereof; and the user authority management module is used for distributing authority levels to the user groups and the user names thereof.
The recipe management system is used for configuring certain variable data to be stored in a file, and reading data from the file into the corresponding variable data to realize the parameter setting and storing functions of the dynamic application program of the teaching machine.
Preferably, a developer in the logic management system can realize logic control through a script, so that a demonstrator configuration application program has a logic control function, the upper layer of the logic management system comprises a script language editing function, an operation function and a debugging function, and the bottom layer of the logic management system comprises an access interface for accessing variable data; the logic management system supports javascript and lua scripts and has a debugging function.
Preferably, the database access system comprises a database access group module, a database driving module and an access database component module; the database access system supports system functions and arithmetic function programming operation and is provided with a database access interface; the database access system can store variable data in the data at a certain time point, so that the historical query backup function of the demonstrator dynamic application program is realized.
Has the beneficial effects that: the invention has the following beneficial effects: the nested set of the mode management system can be added on the basis of the existing demonstrator, and diversified customer requirements can be met; the configuration type management system has developed interface communication and a basic application framework, and the requirement of a responsible application platform can be met by multi-layer design; the application interface can be customized quickly, the development time is saved by 90%, a large amount of development cost is saved, and the efficiency is greatly improved; the invention can realize the linear motion logic control, can realize partial simple control functions, can save hardware such as PLC and the like and reduce the hardware cost; in addition, the invention can realize the WEB display function and can be used as a visual platform for display, thereby reducing the hardware cost.
Detailed Description
The present invention will be further illustrated with reference to the accompanying drawings and specific examples, which are carried out on the premise of the technical solution of the present invention, and it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
As shown in fig. 1, a configuration-based teach pendant management system is characterized in that: the system comprises a variable data management system for providing a data source of the whole system, and an engineering management system, an interface management system, an equipment management system, a resource management system, an internationalized translation system, a font management system, a user management system, a database access system, a formula management system, a logic management system and a database access interface system which are all in data interaction with the variable data management system; the interface management system is also respectively in data interaction with the resource management system and the internationalized translation system, and the internationalized translation system and the font management system are in data interaction; the variable data management system is used for managing various types of variables in the system and comprises an internal variable type management module, an equipment variable type management module and a system variable type management module.
The management system of the invention integrally comprises two parts of functional software:
configuration editing software: the configuration editing software is used by a robot software developer, the software runs on a host, and the developer accesses the editing software adding configuration and logic realization interface, variable data, a database and equipment thereof by combining actual process requirements of robots in different industries. The system comprises an engineering management system, an interface management system, an equipment management system, a resource management system, an internationalized translation system, a font management system, a user management system, a database access system, a formula management system, a logic management system and a database access interface system.
And (3) running software: finally, the configuration editing software generates a parameter, a logic script and a resource file thereof which can be configured in the demonstrator; the configuration editing software can download the data to a teach pendant, and an application program operated by the teach pendant converts the data into operation software used by a process person and an operator who finally use the robot.
The engineering management system mainly generates corresponding engineering data for different robot configurations and logics, the engineering generates an independent application, a developer can select a corresponding demonstrator model to determine hardware information of the demonstrator, and the data edited by the developer is independently stored in a host disk.
The interface management system can create a picture, add a required control to the corresponding picture, bind a variable by the control of the picture, access variable data and realize the exchange with the variable data.
The device management system mainly aims to realize the access of local devices and remote devices, and comprises functions of timing access, triggering access and connection access, and configuration variable data can be updated by data accessed each time.
The variable data is similar to the global variable of the software design process, different variable types can be added into the variable data management system, and the expansion of the subsequent data types can be realized through the variable data management system; after the variable data are changed, signals are sent to other systems using the variable data, and the other systems access the variable data after acquiring the signals.
The internationalized translation system can create a translation configuration file, add translation languages, add corresponding translation original texts in the configuration process, and a developer configures corresponding translations, and the developer can translate the original texts into the translations through the translation system, so that the application program configured by the developer can realize the internationalized function. Developers use the internationalized translation system in the interface, variable data and their data systems.
Different fonts may be required in the interface in the configuration application process in the font management system, and the font management system may add and configure various types of pointing and vector font files and set default fonts of the internationalized translation system.
The user management system mainly realizes the login function of the default user and the user thereof, can configure different authorities for each user, and realizes that the demonstrator configuration application program has the functions of the user and the authorities thereof.
The database access system can store variable data in the data at a certain time point, and the historical query backup function of the demonstrator configuration application program is realized.
The recipe management system is used for configuring certain variable data to be stored in a file, and reading the data from the file into the corresponding variable data, so that the parameter setting and storing functions of the dynamic application program of the teaching machine are realized.
And a developer of the logic management system can realize logic control through the script, so that the demonstrator configuration application program has a logic control function, the upper layer of the logic management system comprises scripting language editing, running and debugging functions, and the lower layer comprises an access interface for accessing variable data.
Specifically, the project management system comprises a peripheral component management module, a model component management module and a project data management module; the peripheral component building management module is used for managing each built library file to realize a building expansion function; the model building management module is used for adding and configuring corresponding peripherals to build different models according to the difference of the peripherals of the product models; and the project data management module enables a developer to select a corresponding model to create a demonstrator project data folder according to the peripheral requirements. The project engineering data management module stores various configuration application data such as creation model data configuration, interface data configuration, variable data configuration and the like in the project folder.
Specifically, the interface management system comprises a picture control module, a picture data management module, a control management module and a system message processing module; the control module is a plurality of composite modules such as a button module, an edit frame module, a progress bar module, a chart module and the like which generate library files based on a control base class; the picture data management module is mainly used for generating data for the developer configuration picture, and storing the data and the management function of loading the data; the control management module is mainly used for managing the picture control module and subsequently better expanding a new control module; the system message processing module allows developers to add different message processing methods, such as mouse down, key down, timer event, etc.
Specifically, the equipment management system in the invention comprises an equipment component module, an equipment communication protocol driving module and an equipment communication configuration module; the equipment component module is used for configuring peripheral types and the number of the peripheral types of corresponding product models. Such as remote serial ports, CAN, ethernet, local I2C memory devices, SPI temperature sensor devices; the device communication protocol driving module can establish a protocol interface according to the data stream format of the access data; the equipment communication configuration module provides the developer with corresponding equipment and equipment communication thereof according to actual equipment peripheral configuration.
Specifically, the resource management system comprises a picture resource management module and character and text data management; developers in the picture resource management module can add various types of picture resources, and the resources can be subsequently provided for picture backgrounds, control shape backgrounds and the like; in the character and text data management, a developer can add texts and a text list thereof, and the resources are provided for using a drop-down list box control and the like in an interface.
Specifically, the internationalized translation system comprises a multinational language management module and a character translation management module; the font management system comprises a font management module; the multi-language management module can add and configure multi-language names by a developer, the added data is managed and stored by the multi-language management module, and the added data can be used for acquiring a language list and generating configuration data; the character translation management module comprises original texts and multi-language translation texts added with the original texts, and the character translation management module provides functions of adding the original texts and editing and storing the translation texts and provides interfaces for converting the original texts into the translation texts with variable data.
Specifically, the user management system comprises a user management module, a user group management module and a user authority management module; the formula management system comprises a formula data component module and a formula file management module; the user management module is mainly responsible for user login and password confirmation, after login, a user and the authority thereof send messages to other systems, and the other systems perform corresponding processing according to the authority level; the user group management module is mainly used for creating user groups, user names and password management thereof; the user authority management module is mainly used for distributing authority levels to the user groups and user names of the user groups.
Specifically, the database access system comprises a database access group module, a database driving module and an access database component module; the database access system supports system functions and arithmetic function programming operation and is provided with a database access interface; the database access system can store variable data in the data at a certain time point, so that the historical query backup function of the demonstrator dynamic application program is realized.
Specifically, the logic management system supports javascript and lua scripts and has a debugging function; a developer can realize logic control through the script, so that the demonstrator configuration application program has a logic control function, the upper layer of the logic management system comprises script language editing, running and debugging functions, and the lower layer comprises an access interface for accessing variable data.
The nested set of the mode management system can be added on the basis of the existing demonstrator, and diversified customer requirements can be met; the configuration type management system has developed interface communication and a basic application framework, and the requirement of a responsible application platform can be met by multi-layer design; the application interface can be customized quickly, the development time is saved by 90%, a large amount of development cost is saved, and the efficiency is greatly improved; the invention can realize the linear motion logic control, can realize partial simple control functions, can save hardware such as PLC and the like and reduce the hardware cost; in addition, the invention can realize the WEB display function and can be used as a visual platform for display, thereby reducing the hardware cost.
The above-mentioned embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the invention and the appended claims, and all equivalent changes and modifications made within the spirit and scope of the invention as claimed should be included in the appended claims.