EtherCAT bus equipment communication configuration method and system

Through the EtherCAT bus device communication configuration method and system, the problems of low efficiency and error proneness in manual configuration in the prior art are solved, fast and accurate configuration and automated error correction are achieved, simulation testing is supported, and configuration efficiency and accuracy are improved.

CN119324845AActive Publication Date: 2025-01-17INNOVISION INTELLIGENT TECH (HANGZHOU) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411247635.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-01-17
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

The existing EtherCAT bus device communication configuration method relies on manual configuration, which is inefficient and error-prone, lacks support for automation tools, and is difficult to conduct simulation tests, which increases debugging difficulty and cost.

Method used

Provides an EtherCAT bus device communication configuration method and system, scans the device topology structure to generate topology files through the EtherCAT bus tool, selects device types, filters communication groups, provides the function of inserting SDO group, generates and checks configuration files, and supports the generation of simulated configuration files. and use.

Benefits of technology

It realizes the rapid and accurate generation of communication files, reduces the erroneous operation behavior in human operations, provides automated configuration and error correction functions, supports simulation testing, and improves configuration efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324845A_ABST
    Figure CN119324845A_ABST
Patent Text Reader

Abstract

The invention discloses an EtherCAT bus device communication configuration method and system, and relates to the technical field of bus communication, and the method comprises the steps: starting an EtherCAT bus tool, scanning a bus to generate a topological file and a topological graph on the premise of ensuring the connection of the EtherCAT bus device and the existence of an ESI file, selecting a device or a serial number which needs to generate a configuration file according to the topological graph, and configuring the device or the serial number of the configuration file according to the selected device or serial number. Scanning and displaying a device communication data structure, and storing preview content to a configuration file; if no device information exists, using an ESI file to generate a configuration file, selecting a device type, screening a communication group for configuring the file, screening and updating the communication group for multiple communication group devices, providing SDO group insertion and PDO group SDO deletion functions, and after generating the configuration file, modifying and checking, including PDO screening, SDO adding and automatic checking and error correction. According to the method, the communication file of the EtherCAT equipment can be quickly and accurately generated, equipment configuration and adaptation are realized, misoperation behaviors in manual operation are reduced, different PDO groups can be added according to needs, and SDO can be added into PDO communication groups.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bus communication, and in particular to an EtherCAT bus device communication configuration method and system. Background Art

[0002] As the basis of automated communication, fieldbus communicates the connection between the production process site and the control equipment and between them and the higher control management level. In the field of bus communication, EtherCAT (Ethernet Control and Automation Technology) is a very flexible real-time industrial Ethernet protocol. EtherCAT uses the same physical and data link layer. The master station sends data, and the data frame passes through each device node in turn. The device node can only forward the data frame and read or write the data of the device node. This data transmission and read-write mode greatly improves the bus bandwidth utilization and reduces transmission delay. Before the host computer communicates with the device, in order to ensure the accuracy of the communication data, it is usually necessary to configure the communication of the device.

[0003] The current EtherCAT bus device communication configuration method mainly relies on manual configuration, which is not only inefficient but also prone to errors. Common problems include: complex topology, diverse device types, inconsistent data group configuration, and lack of automated error correction mechanism. These problems increase the difficulty of device debugging and maintenance and extend the system debugging cycle. Deficiencies of existing technologies: Low efficiency of manual configuration: The current configuration method mainly relies on manual operation and lacks support from automated tools, resulting in low configuration efficiency; prone to errors: During the manual configuration process, errors are prone to occur in device connection, data structure selection, and configuration file generation, which increases the difficulty of debugging; lack of automated inspection and error correction: The existing methods lack automated inspection and error correction functions, making it difficult to detect and correct errors in the configuration in a timely manner; no support for simulation testing: It is difficult to perform simulation testing without actual device connection, which increases the risk and cost of debugging. Summary of the invention

[0004] Based on the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide an EtherCAT bus device communication configuration method and system to solve the above-mentioned technical problems.

[0005] To achieve the above object, the present invention provides the following technical solution: an EtherCAT bus device communication configuration method, comprising:

[0006] S1: Ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer;

[0007] S2: Start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology map, and scan the bus communication data structure of the selected device to display it in the data box and preview box; save the preview content to the configuration file;

[0008] S3: In the absence of device information obtained through bus scanning, the configuration file is generated using the ESI file provided by the device manufacturer;

[0009] S4: When selecting the device type, confirm whether the device is an IO device or a servo drive device;

[0010] S5: When the device has more than one communication group, filtering the device communication group so that the selected communication group and its data structure are used for the configuration file;

[0011] S6: For a device having multiple RxPDO communication groups or TxPDO communication groups, the RxPDO communication group or TxPDO communication group is filtered, and the selected RxPDO communication group or TxPDO communication group and the data structure are updated to the display box;

[0012] S7: Provides the function of inserting SDO groups, allowing users to add selected SDOs to PDO groups and delete SDOs in PDO groups;

[0013] S8: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and saves the configuration file after confirmation.

[0014] The present invention is further configured such that step S2 also includes S21: in the device selection interface, by clicking the scan device button to scan the bus communication data structure of the selected numbered device, and displaying the relevant information in the data box and the preview box.

[0015] The present invention is further configured such that step S5 further includes S51: searching for the definition of the corresponding SDO in the ESI file by inputting the SDO address, and adding it to the PDO communication after confirmation to meet different control purposes and data requirements.

[0016] The present invention is further configured such that the method provides software implementation, including a Windows operating system version and a Linux operating system version, which is applicable to different operating system environments.

[0017] The present invention is further configured such that after the configuration file is generated, the PDO is revoked for re-screening and the SDO is deleted for re-adding through the provided modification function, and the configuration file can be automatically displayed for error correction using the inspection function.

[0018] The present invention is further configured such that the method also provides a simulation usage function, in which the generation and use of a communication configuration file is simulated only through an ESI file without actually connecting an EtherCAT bus device.

[0019] The present invention also provides an EtherCAT bus device communication configuration system, the system comprising:

[0020] Connection module: ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer;

[0021] The first generation module: start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology map, and scan the bus communication data structure of the selected device to display it in the data box and preview box; save the preview content to the configuration file;

[0022] The second generation module: in the absence of device information obtained through bus scanning, the configuration file is generated using the ESI file provided by the device manufacturer;

[0023] Select Type Module: When selecting the device type, confirm whether the device is an IO device or a servo drive device;

[0024] A first filtering module: when a device has more than one communication group, filtering the device communication group so that the selected communication group and its data structure are used for the configuration file;

[0025] The second screening module: for a device having multiple RxPDO communication groups or TxPDO communication groups, screening the RxPDO communication groups, and being able to update the selected RxPDO communication group and its data structure to the display box;

[0026] Insert module: provides the function of inserting SDO groups, allowing users to add selected SDOs to PDO groups and delete SDOs in PDO groups;

[0027] Modification and inspection module: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and saves the file after confirmation.

[0028] The present invention provides an EtherCAT bus device communication configuration method and system. The method ensures that an EtherCAT bus device establishes a connection on the bus or has an ESI file provided by a device manufacturer; starts an EtherCAT bus tool, selects a configuration file generation function, scans the bus to generate a topology file containing a topological connection structure of all devices in the bus, and generates a topology map containing bus devices according to the topology file; in a device selection interface, selects a device or number for which a configuration file needs to be generated according to the topology map, and scans the bus communication data structure of the selected device to display it in a data box and a preview box; saves the preview content to the configuration file; in the case where there is no device information obtained by bus scanning, generates a configuration file using the ESI file provided by the device manufacturer; when selecting a device type, confirms that the device is an IO device or a servo drive device; when a device has more than one communication group, filters the device communication group so that the selected communication group and its data are displayed in the data box and the preview box; The data structure is used for configuring a configuration file; for a device with multiple RxPDO communication groups or TxPDO communication groups, the RxPDO communication group or TxPDO communication group is screened, and the selected RxPDO communication group or TxPDO communication group and the data structure can be updated to the display box; a function of inserting an SDO group is provided, allowing the user to add the selected SDO to the PDO group, and the SDO in the PDO group can be deleted; after the configuration file is generated, a modification and inspection function is provided, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and the configuration file is saved after confirmation. The beneficial effects produced include: an EtherCAT bus device communication configuration method proposed by the present invention can quickly and accurately generate a communication file of an EtherCAT device, can realize fast device configuration and adaptation, reduce erroneous operation behaviors in human operation, and can add different PDO groups as needed, and add SDO to the PDO communication group.

[0029] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0031] Figure 1A flow chart of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0032] Figure 2 A device topology connection diagram interface diagram of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0033] Figure 3 An interface diagram of screening PDO communication groups of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0034] Figure 4 A search object definition interface diagram of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0035] Figure 5 An interface diagram of inserting an SDO object into a PDO group of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0036] Figure 6 A pop-up interface diagram of selecting a device type for a method for configuring communication of an EtherCAT bus device is shown as an exemplary embodiment of the present invention;

[0037] Figure 7 An interface diagram of a device group selection method for configuring EtherCAT bus device communication is shown as an exemplary embodiment of the present invention;

[0038] Figure 8 A flowchart of screening PDO groups of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0039] Fig. 9 A flow chart of inserting an SDO group of an EtherCAT bus device communication configuration method shown as an exemplary embodiment of the present invention;

[0040] Fig.10 The present invention is a schematic structural diagram of an EtherCAT bus device communication configuration system according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0042] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0043] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0044] Embodiment 1

[0045] A method for configuring EtherCAT bus device communication, such as Figure 1 As shown, including:

[0046] S1: Ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer;

[0047] S2: Start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file. By automatically scanning the bus and generating a topology file and a topology map containing the connection structure of all devices, users can intuitively view the connection status of bus devices, which helps to quickly identify and select the devices that need to be configured; Figure 2The device topology connection diagram interface diagram shown in the figure shows the connection structure of all devices in the bus, which is convenient for users to intuitively select the devices that need to be configured; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology diagram, and scan the bus communication data structure of the selected device to display it in the data box and preview box; the present invention is further configured that step S2 also includes S21: in the device selection interface, click the scan device button to scan the bus communication data structure of the device with the selected number, and display the relevant information in the data box and preview box. Save the preview content to the configuration file, and the user can directly select the device or number that needs to be configured on the topology diagram through the device selection interface. The system will automatically scan and display the bus communication data structure of the selected device, simplifying the process of device selection and data acquisition; such as Figure 4 The search object definition interface shown in the figure allows the user to search and confirm specific communication objects when generating configuration files.

[0048] S3: In the absence of device information obtained through bus scanning, use the ESI file provided by the device manufacturer to generate a configuration file; Specifically, in some cases, the EtherCAT bus tool may not be able to obtain detailed information about the device by scanning the bus. This usually occurs when the device has not yet been connected to the bus or the device cannot be recognized by the bus tool; to solve this problem, the ESI (EtherCAT Slave Information) file provided by the device manufacturer can be used. The ESI file is an XML file containing detailed device information, provided by the device manufacturer. Users can import the ESI file into the EtherCAT bus tool, and the tool will generate a configuration file for the device based on the information in the ESI file. Using the ESI file provided by the device manufacturer can solve the problem of not being able to obtain device information through bus scanning, and improve the compatibility and flexibility of the system.

[0049] S4: When selecting the device type, confirm whether the device is an IO device or a servo drive device; Figure 6 The pop-up interface for selecting device type is shown in the figure. Figure 6 A pop-up window for selecting the device type is displayed. When configuring the device, the user needs to select the device type according to the actual situation. The interface provides two buttons, "Servo Device" and "IO or Other Device". The user selects according to the type of device actually connected to ensure that the device type information in the configuration file is accurate. By clarifying the device type, the device type information in the configuration file is ensured to be consistent with the actual device, thereby improving the accuracy of the configuration file.

[0050] S5: When the device has more than one communication group, filter the device communication group so that the selected communication group and its data structure are used for the configuration file; the present invention is further configured that step S5 also includes S51: searching for the definition of the corresponding SDO in the ESI file by inputting the SDO address, and adding it to the PDO communication after confirmation to meet different control purposes and data requirements. Figure 7 The interface diagram of selecting device groups is shown in the figure. Figure 7 An interface for selecting devices is displayed. When the scanned file contains multiple devices, the user can select a device from them to generate a configuration file. The interface lists all scanned devices. Detailed information such as the name, EtherCAT type, version information, and product code of each device are displayed in the list. The user can select one of the devices and click the "Confirm" button to continue generating the configuration file. By providing a detailed device list, the user can accurately select the device to be configured based on actual needs and device information to ensure the pertinence and accuracy of the configuration file. Detailed information such as the name, type, version, and product code of the device is provided, allowing users to quickly identify and select the required device to avoid misoperation.

[0051] S6: For a device having multiple RxPDO communication groups or TxPDO communication groups, the RxPDO communication group or TxPDO communication group is filtered, and the selected RxPDO communication group or TxPDO communication group and data structure can be updated to the display box; Figure 3 As shown in the interface diagram for filtering PDO communication groups, users can select the reserved TxPDO or RxPDO group number and can add, delete or insert SDO groups. The selected PDO group and its data structure will be updated in real time in the display box, providing the function of selecting and filtering RxPDO or TxPDO communication groups. Users can flexibly configure different communication groups according to the specific needs of the device, which improves the flexibility and adaptability of the configuration; Figure 3 The user can easily add, delete or insert SDO groups through the interface, making the configuration of PDO communication groups more intuitive and convenient; Figure 8 The flowchart for filtering PDO groups shown in the figure includes the following specific steps: importing ESI files, selecting device types, selecting device groups, filtering PDO groups (including RxPDO and TxPDO), and finally confirming the filtering results. Through the above logic, the selection and filtering of multiple RxPDO and TxPDO communication groups are supported, which meets the configuration requirements of different devices and application scenarios, improves the versatility and applicability of the system, and can be accurately configured through this step for both simple and complex devices, thus ensuring the compatibility and scalability of the system.

[0052] S7: Provides the function of inserting SDO groups, allowing users to add selected SDOs to the PDO group and delete SDOs in the PDO group; Figure 5 As shown in the Insert SDO Object to PDO Group interface, the user can select an available SDO on the left side of the interface and add it to the selected PDO group on the right, or delete the SDO from the selected PDO group; Fig. 9 The flowchart of inserting SDO group shown in the figure includes the following specific steps: selecting insert SDO group in the filter PDO interface, displaying writable SDO and readable SDO, adding SDO to RxPDO group or TxPDO group as needed, confirming adding or closing. Through the function of inserting SDO group, users can flexibly add the selected SDO to the corresponding PDO group according to specific needs, ensuring that the configuration file can accurately reflect the communication needs of the device.

[0053] S8: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-adding of SDO, and automatic inspection and error correction display of the configuration file, and saves the configuration file after confirmation; specifically, after generating the configuration file, the user can re-screen PDO as needed to ensure that the configuration of the PDO group meets the latest requirements or modifications. After the configuration file is generated, the user can re-add or delete SDO to ensure the accuracy and completeness of the SDO configuration; the system provides the function of automatically checking the configuration file to identify and correct errors in the configuration. The inspection includes but is not limited to data consistency, parameter correctness, and communication settings. After confirming the modification and inspection results, the user can save the final configuration file to ensure the validity and reliability of the configuration file.

[0054] The present invention is further configured as follows: the method provides software implementation, including a Windows operating system version and a Linux operating system version, which is applicable to different operating system environments. Specifically, the software tool provides a Windows operating system version and a Linux operating system version to ensure that it can run in different operating system environments. Windows and Linux are two common operating systems, covering most application environments of industrial automation and control systems, ensuring the wide applicability of the software.

[0055] The present invention is further configured such that after the configuration file is generated, the PDO is revoked for re-screening and the SDO is deleted for re-adding through the provided modification function, and the configuration file can be automatically displayed for error correction using the inspection function.

[0056] The present invention is further configured that the method also provides a simulation use function. In the case where the EtherCAT bus device is not actually connected, the generation and use of the communication configuration file is simulated only through the ESI file. Specifically, the software tool provides a simulation function. Even in the case where the EtherCAT bus device is not actually connected, the user can use this function to generate and test the configuration file. Through the ESI file simulation, the user can import the ESI (EtherCAT Slave Information) file provided by the device manufacturer. The software will simulate the generation of the communication configuration file according to the information in the ESI file. The user can test and verify the generated configuration file in the simulation environment to ensure the correctness and integrity of the configuration file.

[0057] Embodiment 2

[0058] See also Fig.10 , the exemplary EtherCAT bus device communication configuration system includes:

[0059] Connection module: ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer;

[0060] The first generation module: start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology map, and scan the bus communication data structure of the selected device to display it in the data box and preview box; save the preview content to the configuration file;

[0061] The second generation module: in the absence of device information obtained through bus scanning, the configuration file is generated using the ESI file provided by the device manufacturer;

[0062] Select Type Module: When selecting the device type, confirm whether the device is an IO device or a servo drive device;

[0063] A first filtering module: when a device has more than one communication group, filtering the device communication group so that the selected communication group and its data structure are used for the configuration file;

[0064] The second screening module: for a device having multiple RxPDO communication groups or TxPDO communication groups, screening the RxPDO communication groups, and being able to update the selected RxPDO communication group and its data structure to the display box;

[0065] Insert module: provides the function of inserting SDO groups, allowing users to add selected SDOs to PDO groups and delete SDOs in PDO groups;

[0066] Modification and inspection module: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and saves the file after confirmation.

[0067] It should be noted that the EtherCAT bus device communication configuration system provided in the above embodiment and the EtherCAT bus device communication configuration method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the EtherCAT bus device communication configuration system provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0068] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0069] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0070] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0071] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0072] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0073] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0074] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0075] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0076] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0077] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0078] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for configuring EtherCAT bus device communication, characterized in that: include: S1: Ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer; S2: Start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology map, and scan the bus communication data structure of the selected device to display it in the data box and preview box; save the preview content to the configuration file; S3: In the absence of device information obtained through bus scanning, the configuration file is generated using the ESI file provided by the device manufacturer; S4: When selecting the device type, confirm whether the device is an IO device or a servo drive device; S5: When the device has more than one communication group, filtering the device communication group so that the selected communication group and its data structure are used for the configuration file; S6: For a device having multiple RxPDO communication groups or TxPDO communication groups, the RxPDO communication group or TxPDO communication group is filtered, and the selected RxPDO communication group or TxPDO communication group and the data structure are updated to the display box; S7: Provides the function of inserting SDO groups, allowing users to add selected SDOs to the PDO group and delete SDOs in the PDO group; S8: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and saves the configuration file after confirmation.

2. The EtherCAT bus device communication configuration method according to claim 1, characterized in that: Step S2 also includes S21: in the device selection interface, by clicking the scan device button to scan the bus communication data structure of the selected numbered device, and displaying the relevant information in the data box and the preview box.

3. The EtherCAT bus device communication configuration method according to claim 1, characterized in that: Step S5 also includes S51: searching for the definition of the corresponding SDO in the ESI file by inputting the SDO address, and adding it to the PDO communication after confirmation to meet different control purposes and data requirements.

4. The EtherCAT bus device communication configuration method according to claim 1, characterized in that: The method provides software implementation, including Windows operating system version and Linux operating system version, suitable for different operating system environments.

5. An EtherCAT bus device communication configuration method according to any one of claim 1, characterized in that: After the configuration file is generated, the modification function is provided to cancel the PDO for re-screening, delete the SDO and add it again, and the check function can be used to automatically display the configuration file for error correction.

6. An EtherCAT bus device communication configuration method according to any one of claims 1-5, characterized in that: This method also provides a simulation function, which simulates the generation and use of communication configuration files only through ESI files without actually connecting to the EtherCAT bus device.

7. An EtherCAT bus device communication configuration system, characterized in that: include: Connection module: ensure that the EtherCAT bus device is connected on the bus or has the device ESI file provided by the device manufacturer; The first generation module: start the EtherCAT bus tool, select the configuration file generation function, scan the bus to generate a topology file containing the topological connection structure of all devices in the bus, and generate a topology map containing bus devices based on the topology file; in the device selection interface, select the device or number for which the configuration file needs to be generated according to the topology map, and scan the bus communication data structure of the selected device to display it in the data box and preview box; save the preview content to the configuration file; The second generation module: in the absence of device information obtained through bus scanning, the configuration file is generated using the ESI file provided by the device manufacturer; Select Type Module: When selecting the device type, confirm whether the device is an IO device or a servo drive device; A first filtering module: when a device has more than one communication group, filtering the device communication group so that the selected communication group and its data structure are used for the configuration file; The second screening module: for a device having multiple RxPDO communication groups or TxPDO communication groups, screening the RxPDO communication groups, and being able to update the selected RxPDO communication group and its data structure to the display box; Insert module: provides the function of inserting SDO groups, allowing users to add selected SDOs to PDO groups and delete SDOs in PDO groups; Modification and inspection module: After the configuration file is generated, it provides modification and inspection functions, including re-screening of PDO, re-addition of SDO, and automatic inspection and error correction display of the configuration file, and saves the file after confirmation.

Citation Information

Patent Citations

  • Method for configuring EtherCAT bus configuration through demonstrator

    CN110928243A

  • EtherCAT bus topology configuration method, device and equipment and storage medium

    CN115309685A

  • Master station configuration method and device based on embedded EtherCAT bus, processor and computer readable storage medium thereof

    CN116165928A

  • Master station and slave station adaptation method, master station and storage medium

    CN117459384A

  • EtherCAT master-slave station method for slave station PLC online PDO free mapping based on IgH

    CN118200174A