WO2020134607A1 - Configuration method and apparatus - Google Patents

Configuration method and apparatus Download PDF

Info

Publication number
WO2020134607A1
WO2020134607A1 PCT/CN2019/115682 CN2019115682W WO2020134607A1 WO 2020134607 A1 WO2020134607 A1 WO 2020134607A1 CN 2019115682 W CN2019115682 W CN 2019115682W WO 2020134607 A1 WO2020134607 A1 WO 2020134607A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
devices
network topology
slave station
parameter information
Prior art date
Application number
PCT/CN2019/115682
Other languages
French (fr)
Chinese (zh)
Inventor
金东�
杨帆
Original Assignee
苏州谷夫道自动化科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州谷夫道自动化科技有限公司 filed Critical 苏州谷夫道自动化科技有限公司
Publication of WO2020134607A1 publication Critical patent/WO2020134607A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21063Bus, I-O connected to a bus

Definitions

  • the present disclosure relates to the technical field of industrial control, in particular to a configuration method and device.
  • the real-time industrial Ethernet bus EtherCAT is widely used in the field of industrial control because of its fast transmission speed, large data volume, high real-time performance and high reliability.
  • the EtherCAT Technology Association has standardized the device description form of the devices of different manufacturers. The configuration software accesses and operates the device description The information in the file, obtain the required parameters for system configuration, and realize the control of field devices and interoperation between devices.
  • the configuration software configures the field device in a single device unit, by accessing and operating the parameter information of the field device, to perform manual configuration, and when the configuration is completed, the next device is configured.
  • the above configuration method is cumbersome, not efficient, and the correlation between multiple devices is not clear enough, and the manual configuration method is more time-consuming.
  • the present disclosure provides a configuration method and device.
  • a configuration method is provided, which is applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including acquiring the plurality of slave stations
  • the network topology of the device and the parameter information of the slave device, the parameter information includes device basic information and device function information;
  • a configuration file of the controlled system is generated.
  • the acquiring the network topology of the plurality of slave device and the parameter information of the slave device includes:
  • the physical layer of the multiple slave devices is scanned based on the EtherCAT protocol to obtain the network topology of the multiple slave devices and parameter information of the slave devices.
  • the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  • the operation instruction set includes a plurality of program blocks, and the program blocks correspond one-to-one with the slave station device, and the program blocks include variable parameters. Accordingly, the The arrangement order of the slave station devices in the network topology structure, based on the parameter information of the slave station devices and the operation instruction set, generating a configuration file of the controlled system includes:
  • the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device.
  • the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
  • a configuration device which is applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including:
  • a first obtaining module configured to obtain the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
  • a second obtaining module configured to obtain the operation instruction set of the slave station equipment
  • the generating module is configured to generate a configuration file of the controlled system based on the parameter order of the slave device and the operation instruction set according to the arrangement order of the slave devices in the network topology.
  • the first obtaining module includes:
  • the first acquisition sub-module is used to scan the physical layer of the multiple slave devices based on the EtherCAT protocol when the slave device is in a standby state to obtain the network topology structure and location of the multiple slave devices Describe the parameter information of the slave device.
  • the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  • the operation instruction set includes a plurality of program blocks
  • the program blocks correspond to the slave device in a one-to-one manner
  • the program blocks include variable parameters
  • the generation module include:
  • a first setting module configured to set the identification information of the slave device according to the arrangement order of the slave devices in the network topology
  • the establishment module is used to establish the association relationship between the identification information of the slave device and the program block;
  • the second setting module based on the association relationship, sets the parameter information of the slave device to the value of the variable parameter in the program block corresponding to the slave device.
  • the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
  • a configuration device including:
  • Memory for storing processor executable instructions
  • the processor is configured to perform the method described in any embodiment of the present disclosure.
  • a non-transitory computer-readable storage medium which, when instructions in the storage medium are executed by a processor, enables the processor to execute any of the embodiments according to the present disclosure. Described method.
  • the technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
  • the present disclosure collects the topology structure and parameter information of multiple slave devices at the same time, and centrally configures multiple slave devices automatically to improve the configuration efficiency, while , According to the operation instruction set provided by the user, real-time changes to the device parameters can be achieved.
  • Fig. 1 is a flow chart showing a configuration method according to an exemplary embodiment.
  • Fig. 2 is a flow chart showing a configuration method according to an exemplary embodiment.
  • Fig. 3 is a block diagram of a configuration device according to an exemplary embodiment.
  • Fig. 4 is a block diagram of a configuration device according to an exemplary embodiment.
  • Fig. 5 is a block diagram of a configuration device according to an exemplary embodiment.
  • Fig. 6 is a block diagram of a configuration device according to an exemplary embodiment.
  • Fig. 7 is a block diagram of a configuration device according to an exemplary embodiment.
  • Fig. 1 is a flowchart showing a configuration method according to an exemplary embodiment.
  • the configuration method is applied to a master station device and a plurality of slave station devices subordinate to the master station device
  • the controlled system may include a machine tool numerical control system
  • the master station device may include a master station controller based on the EtherCAT protocol
  • the slave station device may include a servo drive
  • the servo drive may be used to drive a servo motor
  • the configuration method includes the following steps:
  • step S101 the network topology of the plurality of slave station devices and parameter information of the slave station devices are obtained, where the parameter information includes device basic information and device function information.
  • the network topology refers to the physical layout of interconnecting various devices with transmission media, that is, the connection relationship of slave devices in the network.
  • the network topology structure includes a star structure, a ring structure, a bus structure, a distributed structure tree structure, a mesh structure, a honeycomb structure, and the like.
  • the network topology of the slave device can be obtained through passive detection technology or active detection technology, such as by adding a detector to all observed networks, which collects information and sends it to the PC host of the controlled system to form the network topology Structure; or through the host PC of the controlled system to actively send probe packets to all management networks, and collect the returned information for analysis and finally form the network topology.
  • the parameter information of the slave device is stored in the memory of the slave device, such as EEPROM, the device basic information may include device type, device name and socket type, etc.
  • the device function information is used to characterize various functions of the device Parameters such as the number of synchronization managers SM supported by the device, the size of the synchronization manager SM, distributed clock DC information, PDO (Process Data Object) input and output, the number and size of bus management units, etc.
  • the parameter information of the slave device can be obtained by accessing the memory of the slave device through the EtherCAT bus communication interface.
  • step S102 the operation instruction set of the slave station device is acquired.
  • the operation instruction set is used to describe the specific action execution of the slave device. Because the types of slave devices are different and the actions performed are also different, it is necessary to describe the specific actions of specific slave devices through the operation instruction set, such as the rotor and torque of the servo motor, shaft control, input and output, etc.;
  • the instruction set is also used to describe the function information of the slave station device, such as the setting value of the synchronization manager SM, the selection of the distributed clock DC mode, and the like.
  • step S103 according to the arrangement order of the slave station devices in the network topology, based on the parameter information of the slave station devices and the operation instruction set, a configuration file of the controlled system is generated.
  • the network topology of the slave device that is, the specific physical connection relationship of the slave device.
  • the data access mode adopted by the EtherCAT communication protocol the master device sends a data message, and when the data frame passes through each slave device, the ESC (EtherCAT Slave Controller, slave controller) of the slave device responds to the data message Read or write, then pass to the next slave device in turn, and return to the master device in turn via the last slave device.
  • This slave access mode is consistent with the connection sequence of the network topology of the slave device, so the input and output parameters of the slave device can be provided to the operation instruction set according to the arrangement order of the slaves in the network topology, which can simplify Configuration difficulty, improve configuration efficiency.
  • the present disclosure concentrates on automatic configuration of multiple slave devices by simultaneously acquiring the topology structure and parameter information of multiple slave devices, and improves the configuration efficiency; at the same time, according to the operation instruction set provided by the user, the device parameters can be realized Real-time changes.
  • the acquiring the network topology of the plurality of slave device and the parameter information of the slave device includes:
  • the physical layer of the multiple slave devices is scanned based on the EtherCAT protocol to obtain the network topology of the multiple slave devices and parameter information of the slave devices.
  • the EtherCAT protocol master station controller uses a standard MAC chip, which is connected to the physical layer PHY chip through MII or RMII.
  • the PHY chip has the functions of decoding, transceiving and encoding.
  • the master station controller completes the media access control through the MAC chip.
  • the EtherCAT master station controller actively sends probe packets to all slave device networks, and collects the returned information for analysis to form a network topology.
  • the address resolution protocol can be used to make the slave device convert the IP address into a real hardware address such as an Ethernet address.
  • the master controller sends an ARP request
  • the packet contains the IP address it wishes to translate, and sends a multicast address so that all points on the network can receive it.
  • the slave device with this IP address responds with an ARP, which includes its physical hardware address. By collecting the returned ARP replies, the network topology is finally formed through analysis.
  • the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  • the operation instruction set describes the function information of the slave device, and may include some pre-written program codes, or may include program codes written in real time according to needs, wherein the program codes written in real time may run in RT-thread real time Operating system.
  • the program description language used in the operation instruction set may include PLC (Programmable Logic Controller) language, CNC (Computerized Numerical Control) language, and C language.
  • FIG. 2 is a flowchart of a configuration method according to an exemplary embodiment.
  • the preset operation instruction set includes a plurality of program blocks, and the program blocks are The slave devices are in one-to-one correspondence, and the program block includes variable parameters.
  • the sequence of the slave devices in the network topology is based on the parameter information of the slave devices and the Set the operation instruction set to generate the configuration file of the controlled system, including:
  • step S104 according to the arrangement order of the slave station devices in the network topology, the identification information of the slave station devices is set;
  • step S105 an association relationship between the identification information of the slave device and the program block is established respectively;
  • step S106 based on the association relationship, the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device.
  • the preset operation instruction set includes multiple program blocks, and each of the program blocks and the slave devices are set to a one-to-one correspondence . That is, the number of program blocks is the same as the number of slave devices, and the description of each program block corresponds to the functional action of a slave device.
  • the identification information of the slave device is set according to the arrangement order of the slave devices in the network topology.
  • the form of the identification information may include a number, such as Arabic numerals 1, 2, 3...; may also include English characters, such as a, b, c, d...; may also include other patterns, etc., the identification information can It reflects a certain sequence relationship, so that it can be queried during subsequent parameter configuration.
  • the content information of each program block corresponds to a slave device. Therefore, the arrangement order of the program blocks in the operation instruction set can be arranged according to the arrangement order of the slave devices in the network topology.
  • the described identification information of the slave device is added to the variable parameter of the corresponding program block, thereby establishing the identification information of the slave device and the device Describe the association between program blocks.
  • the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device. For example, if you need to set the PDO input and output of the slave device, you can query the physical address of the previous device of the slave device and assign it to the corresponding program block variable parameter as the input address of the current slave device. The physical address of the next device from the slave device is assigned to the parameter of the corresponding program variable as the output address of the current slave device. Among them, the former and the latter are distinguished according to the topology of the slave device. For other functional information of the slave device, such as SM, DC, etc., can be directly set in the program block according to user needs.
  • the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
  • the configuration file can also include some information of the master device, such as the communication protocol between the master device and the slave device, such as the EtherCAT protocol, the communication parameters of the master device and the slave device, such as the master clock, addressing Method, communication mode, etc.
  • the communication protocol between the master device and the slave device such as the EtherCAT protocol
  • the communication parameters of the master device and the slave device such as the master clock, addressing Method, communication mode, etc.
  • the configuration file After the configuration file is formed, it is sent to the upper-level PC.
  • the PC By parsing the configuration file, the PC can run multiple operation instruction sets and motion control at the same time. Each task runs independently and does not interfere with each other.
  • a monitoring module is set on the PC, and through the monitoring module, the running state and running phase of each program are monitored.
  • Fig. 3 is a block diagram of a configuration device according to an exemplary embodiment. 3, the device includes:
  • the first obtaining module 11 is configured to obtain the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
  • the second obtaining module 12 is configured to obtain the preset operation instruction set of the slave station device
  • the generating module 13 is configured to generate a configuration file of the controlled system based on the parameter order of the slave station devices and the preset operation instruction set according to the arrangement order of the slave station devices in the network topology.
  • Fig. 4 is a block diagram of a configuration device according to an exemplary embodiment.
  • the first acquisition module 11 includes:
  • the first acquisition sub-module 111 is configured to scan the physical layer of the multiple slave devices based on the etherCAT protocol to obtain the network topology of the multiple slave devices and when the slave devices are in a standby state Parameter information of the slave device.
  • the preset operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  • Fig. 5 is a block diagram of a configuration device according to an exemplary embodiment.
  • the preset operation instruction set includes a plurality of program blocks, the program blocks correspond one-to-one with the slave device, and the program blocks include variable parameters, correspondingly ,
  • the generation module 13 includes:
  • the first setting module 131 is configured to set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
  • the establishment module 132 is used to establish an association relationship between the identification information of the slave device and the program block;
  • the second setting module 133 sets the parameter information of the slave device to the value of the variable parameter in the program block corresponding to the slave device based on the association relationship.
  • the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
  • Fig. 6 is a block diagram of a configuration device 800 according to an exemplary embodiment.
  • the device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so on.
  • the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, ⁇ 816.
  • the processing component 802 generally controls the overall operations of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps in the above method.
  • the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components.
  • the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
  • the memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, and so on.
  • the memory 804 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable and removable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable and removable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • the power supply component 806 provides power to various components of the device 800.
  • the power component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
  • the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or sliding action, but also detect the duration and pressure related to the touch or sliding operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input audio signals.
  • the audio component 810 includes a microphone (MIC).
  • the microphone When the device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal.
  • the received audio signal may be further stored in the memory 804 or transmitted via the communication component 816.
  • the audio component 810 further includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module.
  • the above peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
  • the sensor component 814 includes one or more sensors for providing the device 800 with status assessments in various aspects.
  • the sensor component 814 can detect the on/off state of the device 800, and the relative positioning of the components, for example, the component is the display and keypad of the device 800, and the sensor component 814 can also detect the position change of the device 800 or a component of the device 800 The presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and the temperature change of the device 800.
  • the sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • the sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 814 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices.
  • the device 800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
  • the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the apparatus 800 may be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 804 including instructions, is also provided.
  • the above instructions can be executed by the processor 820 of the device 800 to complete the above method.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.
  • Fig. 7 is a block diagram of a configuration device 1900 according to an exemplary embodiment.
  • the device 1900 may be provided as a server. 7
  • the device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by the memory 1932, for storing instructions executable by the processing component 1922, such as application programs.
  • the application programs stored in the memory 1932 may include one or more modules each corresponding to a set of instructions.
  • the processing component 1922 is configured to execute instructions to perform the above method.
  • the device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to the network, and an input output (I/O) interface 1958.
  • the device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1932 including instructions, which can be executed by the processing component 1922 of the device 1900 to complete the above method.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.

Abstract

A configuration method and apparatus (800, 1900), applied to a controlled system provided with a master station device and a plurality of slave station devices subordinate to the master station device. The configuration method comprises: obtaining a network topology structure of the plurality of slave station devices and parameter information of the slave station devices, the parameter information comprising device basic information and device function information (S101); obtaining a preset operation instruction set of the slave station devices (S102); and generating a configuration file of the controlled system according to the arraying order of the slave station devices in the network topology structure on the basis of the parameter information and the preset operation instruction set of the slave station devices (S103). Automatic configuration is performed on the plurality of slave station devices in a centralized mode by simultaneously obtaining the topology structure and the parameter information of the plurality of slave station devices, the configuration efficiency is improved, moreover, device parameters can be changed in real time according to the operation instruction set provided by a user.

Description

一种组态方法及装置Configuration method and device 技术领域Technical field
本公开涉及工业控制技术领域,尤其涉及一种组态方法及装置。The present disclosure relates to the technical field of industrial control, in particular to a configuration method and device.
背景技术Background technique
实时的工业以太网总线EtherCAT,相比于传统的现场总线,因其传输速度快、数据量大、实时性和可靠性高的特点,在工业控制领域得到了广泛的应用。在相同的现场总线协议下,为了保证不同厂家的设备能在同一系统中相互正常操作,EtherCAT技术协会对不同的厂商设备的设备描述形式进行了统一的规范,组态软件通过访问和操作设备描述文件中的信息,获取所需要的参数进行系统配置,实现了对现场设备的控制及设备间的互操作。Compared with the traditional field bus, the real-time industrial Ethernet bus EtherCAT is widely used in the field of industrial control because of its fast transmission speed, large data volume, high real-time performance and high reliability. Under the same fieldbus protocol, in order to ensure that the devices of different manufacturers can operate normally in the same system, the EtherCAT Technology Association has standardized the device description form of the devices of different manufacturers. The configuration software accesses and operates the device description The information in the file, obtain the required parameters for system configuration, and realize the control of field devices and interoperation between devices.
相关技术中,组态软件对现场设备的配置,是以单独设备单位,通过访问和操作所述现场设备的参数信息,进行手动配置,当配置完成后,再进行下一设备的配置。上述组态方法比较繁琐,不具有高效性,且多个设备之间的关联性不够清晰,手动组态方法较为耗时。In the related art, the configuration software configures the field device in a single device unit, by accessing and operating the parameter information of the field device, to perform manual configuration, and when the configuration is completed, the next device is configured. The above configuration method is cumbersome, not efficient, and the correlation between multiple devices is not clear enough, and the manual configuration method is more time-consuming.
发明内容Summary of the invention
为克服相关技术中存在的问题,本公开提供一种组态方法及装置。To overcome the problems in the related art, the present disclosure provides a configuration method and device.
根据本公开实施例的第一方面,提供一种组态方法,应用于具有主站设备以及从属于所述主站设备的多个从站设备的被控系统,包括获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息;According to a first aspect of an embodiment of the present disclosure, a configuration method is provided, which is applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including acquiring the plurality of slave stations The network topology of the device and the parameter information of the slave device, the parameter information includes device basic information and device function information;
获取所述从站设备的操作指令集;Obtain the operation instruction set of the slave device;
按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件。According to the arrangement order of the slave station devices in the network topology, based on the parameter information of the slave station devices and the operation instruction set, a configuration file of the controlled system is generated.
在一种可能的实现方式中,所述获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息包括:In a possible implementation manner, the acquiring the network topology of the plurality of slave device and the parameter information of the slave device includes:
在所述从站设备处于待机状态的情况下,基于EtherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。When the slave device is in a standby state, the physical layer of the multiple slave devices is scanned based on the EtherCAT protocol to obtain the network topology of the multiple slave devices and parameter information of the slave devices.
在一种可能的实现方式中,所述操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。In a possible implementation manner, the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
在一种可能的实现方式中,所述操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件,包括:In a possible implementation manner, the operation instruction set includes a plurality of program blocks, and the program blocks correspond one-to-one with the slave station device, and the program blocks include variable parameters. Accordingly, the The arrangement order of the slave station devices in the network topology structure, based on the parameter information of the slave station devices and the operation instruction set, generating a configuration file of the controlled system includes:
根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;Set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
分别建立所述从站设备的标识信息与所述程序块之间的关联关系;Separately establishing an association relationship between the identification information of the slave device and the program block;
基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。Based on the association relationship, the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device.
在一种可能的实现方式,所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。In a possible implementation manner, the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
根据本公开实施例的第二方面,提供一种组态装置,应用于具有主站设备以及从属于所述主站设备的多个从站设备的被控系统,包括:According to a second aspect of the embodiments of the present disclosure, a configuration device is provided, which is applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including:
第一获取模块,用于获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息;A first obtaining module, configured to obtain the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
第二获取模块,用于获取所述从站设备的操作指令集;A second obtaining module, configured to obtain the operation instruction set of the slave station equipment;
生成模块,用于按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件。The generating module is configured to generate a configuration file of the controlled system based on the parameter order of the slave device and the operation instruction set according to the arrangement order of the slave devices in the network topology.
在一种可能的实现方式中,所述第一获取模块包括:In a possible implementation manner, the first obtaining module includes:
第一获取子模块,用于在所述从站设备处于待机状态的情况下,基于EtherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。The first acquisition sub-module is used to scan the physical layer of the multiple slave devices based on the EtherCAT protocol when the slave device is in a standby state to obtain the network topology structure and location of the multiple slave devices Describe the parameter information of the slave device.
在一种可能的实现方式中,所述操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。In a possible implementation manner, the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
在一种可能的实现方式中,所述操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述生成模块包括:In a possible implementation manner, the operation instruction set includes a plurality of program blocks, the program blocks correspond to the slave device in a one-to-one manner, the program blocks include variable parameters, and accordingly, the generation module include:
第一设置模块,用于根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;A first setting module, configured to set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
建立模块,用于建立所述从站设备的标识信息与所述程序块之间的关联关系;The establishment module is used to establish the association relationship between the identification information of the slave device and the program block;
第二设置模块,基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。The second setting module, based on the association relationship, sets the parameter information of the slave device to the value of the variable parameter in the program block corresponding to the slave device.
在一种可能的实现方式中,所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。In a possible implementation manner, the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
根据本公开实施例的第三方面,提供一种组态装置,包括:According to a third aspect of the embodiments of the present disclosure, a configuration device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory for storing processor executable instructions;
其中,所述处理器被配置为执行本公开任一实施例所述的方法。Wherein, the processor is configured to perform the method described in any embodiment of the present disclosure.
根据本公开实施例的第四方面,提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器执行时,使得处理器能够执行根据本公开任一实施例所述的方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium which, when instructions in the storage medium are executed by a processor, enables the processor to execute any of the embodiments according to the present disclosure. Described method.
本公开的实施例提供的技术方案可以包括以下有益效果:本公开通过同时获取多台从站设备的拓扑结构和参数信息,集中对多台从站设备进行自动组态,提高组态效率,同时,根据用户提供的操作指令集,可以实现对设备参数实时的更改。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: The present disclosure collects the topology structure and parameter information of multiple slave devices at the same time, and centrally configures multiple slave devices automatically to improve the configuration efficiency, while , According to the operation instruction set provided by the user, real-time changes to the device parameters can be achieved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The drawings herein are incorporated into and constitute a part of this specification, show embodiments consistent with this disclosure, and are used together with the specification to explain the principles of this disclosure.
图1是根据一示例性实施例示出的一种组态方法的流程图。Fig. 1 is a flow chart showing a configuration method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种组态方法的流程图。Fig. 2 is a flow chart showing a configuration method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种组态装置的框图。Fig. 3 is a block diagram of a configuration device according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种组态装置的框图。Fig. 4 is a block diagram of a configuration device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种组态装置的框图。Fig. 5 is a block diagram of a configuration device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种组态装置的框图。Fig. 6 is a block diagram of a configuration device according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种组态装置的框图。Fig. 7 is a block diagram of a configuration device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail here, examples of which are shown in the drawings. When referring to the drawings below, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
图1是根据一示例性实施例示出的一种组态方法的流程图,参照图1,所述组态方法 应用于具有主站设备以及从属于所述主站设备的多个从站设备的被控系统,所述被控系统可以包括机床数控系统,所述主站设备可以包括基于EtherCAT协议的主站控制器,所述从站设备可以包括伺服驱动器,所述伺服驱动器可用于驱动伺服电机,通过配置伺服驱动器的EtherCAT参数,实现数控系统中主站控制器和多个伺服驱动器之间的高速、实时的数据通信。Fig. 1 is a flowchart showing a configuration method according to an exemplary embodiment. Referring to Fig. 1, the configuration method is applied to a master station device and a plurality of slave station devices subordinate to the master station device Controlled system, the controlled system may include a machine tool numerical control system, the master station device may include a master station controller based on the EtherCAT protocol, the slave station device may include a servo drive, and the servo drive may be used to drive a servo motor By configuring the EtherCAT parameters of the servo drive, the high-speed, real-time data communication between the master station controller and multiple servo drives in the CNC system is realized.
所述组态方法包括以下步骤:The configuration method includes the following steps:
在步骤S101中,获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息。In step S101, the network topology of the plurality of slave station devices and parameter information of the slave station devices are obtained, where the parameter information includes device basic information and device function information.
网络拓扑结构是指用传输媒体互联各种设备的物理布局,即网络中从站设备的连接关系。所述网络拓扑结构包括星型结构、环型结构、总线结构、分布式结构树型结构、网状结构、蜂窝状结构等。可以通过被动检测技术或主动探测技术获得从站设备的网络拓扑结构,如通过在所有观测的网络加入一个探测器,由它来采集信息,并发送到被控系统的PC主机从而形成网络的拓扑结构;或者通过被控系统PC主机主动向所有管理网络发送探测包,并收集返回信息,进行分析最终形成网络拓扑结构。The network topology refers to the physical layout of interconnecting various devices with transmission media, that is, the connection relationship of slave devices in the network. The network topology structure includes a star structure, a ring structure, a bus structure, a distributed structure tree structure, a mesh structure, a honeycomb structure, and the like. The network topology of the slave device can be obtained through passive detection technology or active detection technology, such as by adding a detector to all observed networks, which collects information and sends it to the PC host of the controlled system to form the network topology Structure; or through the host PC of the controlled system to actively send probe packets to all management networks, and collect the returned information for analysis and finally form the network topology.
所述从站设备的参数信息存储于从站设备的存储器,如EEPROM中,所述设备基本信息可以包括设备类型、设备名称和插口类型等,所述设备功能信息用于表征设备功能的各种参数,如设备支持的同步管理器SM的数量、同步管理器SM的大小、分布时钟DC信息、PDO(Process Data Object)输入输出、总线管理单元数量和大小等。可以通过EtherCAT总线通信接口访问所述从站设备的存储器获得所述从站设备的参数信息。The parameter information of the slave device is stored in the memory of the slave device, such as EEPROM, the device basic information may include device type, device name and socket type, etc. The device function information is used to characterize various functions of the device Parameters such as the number of synchronization managers SM supported by the device, the size of the synchronization manager SM, distributed clock DC information, PDO (Process Data Object) input and output, the number and size of bus management units, etc. The parameter information of the slave device can be obtained by accessing the memory of the slave device through the EtherCAT bus communication interface.
在步骤S102中,获取所述从站设备的操作指令集。In step S102, the operation instruction set of the slave station device is acquired.
所述操作指令集用于描述从站设备具体的动作执行。由于从站设备的种类不同,执行的动作也不相同,因此需要通过操作指令集来描述具体从站设备的具体动作,比如伺服电机的转子和转矩,轴控制、输入输出等;所述操作指令集还用于描述所述从站设备的功能信息,比如同步管理器SM的设置值、分布时钟DC模式的选择等。The operation instruction set is used to describe the specific action execution of the slave device. Because the types of slave devices are different and the actions performed are also different, it is necessary to describe the specific actions of specific slave devices through the operation instruction set, such as the rotor and torque of the servo motor, shaft control, input and output, etc.; The instruction set is also used to describe the function information of the slave station device, such as the setting value of the synchronization manager SM, the selection of the distributed clock DC mode, and the like.
在步骤S103中,按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件。In step S103, according to the arrangement order of the slave station devices in the network topology, based on the parameter information of the slave station devices and the operation instruction set, a configuration file of the controlled system is generated.
从站设备的网络拓扑结构,即从站设备具体的物理连接关系。根据EtherCAT通信协议采用的数据访问的模式:主站设备发送数据报文,当数据帧经过各从站设备时,从站设备的ESC(EtherCAT Slave Controller,从站控制器)对所述数据报文进行读取或写入,然后依次传递给下一个从站设备,经最后一个从站设备依次返回到主站设备。这种从站访 问模式与从站设备的网络拓扑结构的连接顺序是一致的,因此可根据网络拓扑结构中从站的排列顺序,将从站设备的输入输出参数提供给操作指令集,可以简化配置难度,提高配置效率。The network topology of the slave device, that is, the specific physical connection relationship of the slave device. According to the data access mode adopted by the EtherCAT communication protocol: the master device sends a data message, and when the data frame passes through each slave device, the ESC (EtherCAT Slave Controller, slave controller) of the slave device responds to the data message Read or write, then pass to the next slave device in turn, and return to the master device in turn via the last slave device. This slave access mode is consistent with the connection sequence of the network topology of the slave device, so the input and output parameters of the slave device can be provided to the operation instruction set according to the arrangement order of the slaves in the network topology, which can simplify Configuration difficulty, improve configuration efficiency.
本公开通过同时获取多台从站设备的拓扑结构和参数信息,集中对多台从站设备进行自动组态,提高了组态效率;同时,根据用户提供的操作指令集,可以实现对设备参数实时的更改。The present disclosure concentrates on automatic configuration of multiple slave devices by simultaneously acquiring the topology structure and parameter information of multiple slave devices, and improves the configuration efficiency; at the same time, according to the operation instruction set provided by the user, the device parameters can be realized Real-time changes.
在一种可能的实现方式中,所述获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息包括:In a possible implementation manner, the acquiring the network topology of the plurality of slave device and the parameter information of the slave device includes:
在所述从站设备处于待机状态的情况下,基于EtherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。When the slave device is in a standby state, the physical layer of the multiple slave devices is scanned based on the EtherCAT protocol to obtain the network topology of the multiple slave devices and parameter information of the slave devices.
EtherCAT协议主站控制器使用标准的MAC芯片,与物理层的PHY芯片通过MII或RMII连接,PHY芯片具有译码、收发和编码的功能,主站控制器通过MAC芯片完成介质访问的控制,可以通过EtherCAT主站控制器主动向所有从站设备网络发送探测包,并且收集返回信息,进行分析最终形成网络拓扑。The EtherCAT protocol master station controller uses a standard MAC chip, which is connected to the physical layer PHY chip through MII or RMII. The PHY chip has the functions of decoding, transceiving and encoding. The master station controller completes the media access control through the MAC chip. The EtherCAT master station controller actively sends probe packets to all slave device networks, and collects the returned information for analysis to form a network topology.
具体来说,可以通过地址解析协议(ARP)让从站设备把IP地址转换成真实的硬件地址例如以太网地址,为了得到一个IP地址所联系的硬件地址,主站控制器会发送一个ARP请求包,包含它希望转换的IP地址,发送一个多点广播地址,让网络上所有的点都可以收到,具有这个IP地址的从站设备用一个ARP来应答,这中间包括了它的物理硬件地址。通过收集返回的ARP应答,进行分析最终形成网络拓扑。Specifically, the address resolution protocol (ARP) can be used to make the slave device convert the IP address into a real hardware address such as an Ethernet address. In order to obtain the hardware address contacted by an IP address, the master controller sends an ARP request The packet contains the IP address it wishes to translate, and sends a multicast address so that all points on the network can receive it. The slave device with this IP address responds with an ARP, which includes its physical hardware address. By collecting the returned ARP replies, the network topology is finally formed through analysis.
在一种可能的实现方式中,所述操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。In a possible implementation manner, the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
所述操作指令集描述了所述从站设备的功能信息,可以包括预先编写完成的一些程序代码,也可以包括根据需要实时编写的程序代码,其中实时编写的程序代码可以运行于RT-thread实时的操作系统中。所述操作指令集所使用的程序描述语言可以包括PLC(Programmable Logic Controller,可编程逻辑控制器)语言,CNC(Computerized Numerical Control,计算机数控)语言和C语言。The operation instruction set describes the function information of the slave device, and may include some pre-written program codes, or may include program codes written in real time according to needs, wherein the program codes written in real time may run in RT-thread real time Operating system. The program description language used in the operation instruction set may include PLC (Programmable Logic Controller) language, CNC (Computerized Numerical Control) language, and C language.
图2是根据一示例性实施例示出的一种组态方法的流程图,参照图2,与上述实施例不同的是,所述预设操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述预设操作指令集,生成所述被控系统的组态文件,包 括:FIG. 2 is a flowchart of a configuration method according to an exemplary embodiment. Referring to FIG. 2, the difference from the foregoing embodiment is that the preset operation instruction set includes a plurality of program blocks, and the program blocks are The slave devices are in one-to-one correspondence, and the program block includes variable parameters. Correspondingly, the sequence of the slave devices in the network topology is based on the parameter information of the slave devices and the Set the operation instruction set to generate the configuration file of the controlled system, including:
在步骤S104中,根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;In step S104, according to the arrangement order of the slave station devices in the network topology, the identification information of the slave station devices is set;
在步骤S105中,分别建立所述从站设备的标识信息与所述程序块之间的关联关系;In step S105, an association relationship between the identification information of the slave device and the program block is established respectively;
在步骤S106中,基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。In step S106, based on the association relationship, the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device.
由于采用集中式,多台从站设备集中编辑的方法,因此,所述预设操作指令集中包括多个程序块,每个所述程序块与从站设备之间被设置为一一对应的关系。即,程序块数量与从站设备的数量是一致的,每个程序块的描述内容对应一台从站设备功能动作。Due to the centralized method of centralized editing of multiple slave devices, the preset operation instruction set includes multiple program blocks, and each of the program blocks and the slave devices are set to a one-to-one correspondence . That is, the number of program blocks is the same as the number of slave devices, and the description of each program block corresponds to the functional action of a slave device.
根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息。所述标识信息的形式可以包括编号,如阿拉伯数字1,2,3…;还可以包括英语字符,如a,b,c,d…;也可以包括其他一些图案等,所述的标识信息能够体现出一定的顺序关系,以便于后续参数配置时进行查询。The identification information of the slave device is set according to the arrangement order of the slave devices in the network topology. The form of the identification information may include a number, such as Arabic numerals 1, 2, 3...; may also include English characters, such as a, b, c, d...; may also include other patterns, etc., the identification information can It reflects a certain sequence relationship, so that it can be queried during subsequent parameter configuration.
每个程序块的内容信息对应一台从站设备,因此,可以按照网络拓扑结构中从站设备的排列顺序,安排操作指令集中程序块的排列顺序。为了实现程序块与从站设备的准确匹配,在程序块形成时,将所描述的从站设备的标识信息添加到对应程序块的变量参数上,从而建立所述从站设备的标识信息与所述程序块之间的关联关系。The content information of each program block corresponds to a slave device. Therefore, the arrangement order of the program blocks in the operation instruction set can be arranged according to the arrangement order of the slave devices in the network topology. In order to achieve an accurate match between the program block and the slave device, when the program block is formed, the described identification information of the slave device is added to the variable parameter of the corresponding program block, thereby establishing the identification information of the slave device and the device Describe the association between program blocks.
基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。比如需要设置所述从站设备的PDO输入输出,可以通过查询所述从站设备前一台设备的物理地址赋值到对应的程序块变量参数上,作为当前从站设备的输入地址,同时查询所述从站设备后一台设备的物理地址赋值到对应程序变量的参数上,作为当前从站设备的输出地址。其中,前一台和后一台分别根据从站设备的拓扑结构进行区分。对于所述从站设备的其他功能信息,如SM、DC等,可以直接根据用户需求,在程序块中直接进行设置。Based on the association relationship, the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device. For example, if you need to set the PDO input and output of the slave device, you can query the physical address of the previous device of the slave device and assign it to the corresponding program block variable parameter as the input address of the current slave device. The physical address of the next device from the slave device is assigned to the parameter of the corresponding program variable as the output address of the current slave device. Among them, the former and the latter are distinguished according to the topology of the slave device. For other functional information of the slave device, such as SM, DC, etc., can be directly set in the program block according to user needs.
在一种可能的实现方式中,所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。In a possible implementation manner, the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
组态文件中还可以包括主站设备的一些信息,比如主站设备与从站设备之间的通信协议,如EtherCAT协议,主站设备与从站设备的通信参数,如主站时钟、寻址方式、通信模式等。The configuration file can also include some information of the master device, such as the communication protocol between the master device and the slave device, such as the EtherCAT protocol, the communication parameters of the master device and the slave device, such as the master clock, addressing Method, communication mode, etc.
组态文件形成以后,发送至上位的PC机,PC机通过解析组态文件,可以同时运行 多个操作指令集和运动控制,每个任务独立运行,互不干扰。同时,PC机上设置有监控模块,通过监控模块,监控各个程序运行的状态和运行阶段。After the configuration file is formed, it is sent to the upper-level PC. By parsing the configuration file, the PC can run multiple operation instruction sets and motion control at the same time. Each task runs independently and does not interfere with each other. At the same time, a monitoring module is set on the PC, and through the monitoring module, the running state and running phase of each program are monitored.
图3是根据一示例性实施例示出的一种组态装置框图。参照图3,所述装置包括:Fig. 3 is a block diagram of a configuration device according to an exemplary embodiment. 3, the device includes:
第一获取模块11,用于获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息;The first obtaining module 11 is configured to obtain the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
第二获取模块12,用于获取所述从站设备的预设操作指令集;The second obtaining module 12 is configured to obtain the preset operation instruction set of the slave station device;
生成模块13,用于按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述预设操作指令集,生成所述被控系统的组态文件。The generating module 13 is configured to generate a configuration file of the controlled system based on the parameter order of the slave station devices and the preset operation instruction set according to the arrangement order of the slave station devices in the network topology.
图4是根据一示例性实施例示出的一种组态装置框图。参照图4,与上述实施例不同的是,所述第一获取模块11包括:Fig. 4 is a block diagram of a configuration device according to an exemplary embodiment. Referring to FIG. 4, unlike the above embodiment, the first acquisition module 11 includes:
第一获取子模块111,用于在所述从站设备处于待机状态的情况下,基于etherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。The first acquisition sub-module 111 is configured to scan the physical layer of the multiple slave devices based on the etherCAT protocol to obtain the network topology of the multiple slave devices and when the slave devices are in a standby state Parameter information of the slave device.
在一种可能的实现方式中,所述预设操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。In a possible implementation manner, the preset operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
图5是根据一示例性实施例示出的一种组态装置框图。参照图5,与上述实施例不同的是,所述预设操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述生成模块13包括:Fig. 5 is a block diagram of a configuration device according to an exemplary embodiment. Referring to FIG. 5, unlike the above embodiment, the preset operation instruction set includes a plurality of program blocks, the program blocks correspond one-to-one with the slave device, and the program blocks include variable parameters, correspondingly , The generation module 13 includes:
第一设置模块131,用于根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;The first setting module 131 is configured to set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
建立模块132,用于建立所述从站设备的标识信息与所述程序块之间的关联关系;The establishment module 132 is used to establish an association relationship between the identification information of the slave device and the program block;
第二设置模块133,基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。The second setting module 133 sets the parameter information of the slave device to the value of the variable parameter in the program block corresponding to the slave device based on the association relationship.
在一种可能的实现方式中,所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。In a possible implementation manner, the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
图6是根据一示例性实施例示出的一种组态装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 6 is a block diagram of a configuration device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so on.
参照图6,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。6, the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814,与通信组816.
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps in the above method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, and so on. The memory 804 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable and removable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to various components of the device 800. The power component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or sliding action, but also detect the duration and pressure related to the touch or sliding operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC). When the device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以 是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module. The above peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 814 includes one or more sensors for providing the device 800 with status assessments in various aspects. For example, the sensor component 814 can detect the on/off state of the device 800, and the relative positioning of the components, for example, the component is the display and keypad of the device 800, and the sensor component 814 can also detect the position change of the device 800 or a component of the device 800 The presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the apparatus 800 may be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions can be executed by the processor 820 of the device 800 to complete the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.
图7是根据一示例性实施例示出的一种组态装置1900的框图。例如,装置1900可以被提供为一服务器。参照图7,装置1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。Fig. 7 is a block diagram of a configuration device 1900 according to an exemplary embodiment. For example, the device 1900 may be provided as a server. 7, the device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by the memory 1932, for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
装置1900还可以包括一个电源组件1926被配置为执行装置1900的电源管理,一个 有线或无线网络接口1950被配置为将装置1900连接到网络,和一个输入输出(I/O)接口1958。装置1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to the network, and an input output (I/O) interface 1958. The device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1932,上述指令可由装置1900的处理组件1922执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1932 including instructions, which can be executed by the processing component 1922 of the device 1900 to complete the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, or the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。After considering the description and practicing the invention disclosed herein, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common general knowledge or common technical means in the technical field not disclosed in the present disclosure . The description and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are pointed out by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

  1. 一种组态方法,其特征在于,应用于具有主站设备以及从属于所述主站设备的多个从站设备的被控系统,包括:A configuration method characterized by being applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including:
    获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息;Acquiring the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
    获取所述从站设备的操作指令集;Obtain the operation instruction set of the slave device;
    按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件。According to the arrangement order of the slave station devices in the network topology, based on the parameter information of the slave station devices and the operation instruction set, a configuration file of the controlled system is generated.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息包括:The method according to claim 1, wherein the acquiring the network topology of the plurality of slave station devices and the parameter information of the slave station devices includes:
    在所述从站设备处于待机状态的情况下,基于EtherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。When the slave device is in a standby state, the physical layer of the multiple slave devices is scanned based on the EtherCAT protocol to obtain the network topology of the multiple slave devices and parameter information of the slave devices.
  3. 根据权利要求1所述的方法,其特征在于,所述操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。The method according to claim 1, wherein the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  4. 根据权利要求1所述的方法,其特征在于,所述操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件,包括:The method according to claim 1, wherein the operation instruction set includes a plurality of program blocks, the program blocks correspond one-to-one with the slave device, and the program blocks include variable parameters, and accordingly, The generating the configuration file of the controlled system based on the arrangement order of the slave devices in the network topology based on the parameter information of the slave devices and the operation instruction set includes:
    根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;Set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
    分别建立所述从站设备的标识信息与所述程序块之间的关联关系;Separately establishing an association relationship between the identification information of the slave device and the program block;
    基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。Based on the association relationship, the parameter information of the slave device is set to the value of the variable parameter in the program block corresponding to the slave device.
  5. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。The configuration file also includes the communication protocol and communication parameters between the master station device and the slave station device.
  6. 一种组态装置,其特征在于,应用于具有主站设备以及从属于所述主站设备的多个从站设备的被控系统,包括:A configuration device characterized by being applied to a controlled system having a master station device and a plurality of slave station devices subordinate to the master station device, including:
    第一获取模块,用于获取所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息,所述参数信息包括设备基本信息和设备功能信息;A first obtaining module, configured to obtain the network topology of the plurality of slave station devices and parameter information of the slave station devices, where the parameter information includes device basic information and device function information;
    第二获取模块,用于获取所述从站设备的操作指令集;A second acquisition module, configured to acquire the operation instruction set of the slave station device;
    生成模块,用于按照所述网络拓扑结构中从站设备的排列顺序,基于所述从站设备的参数信息及所述操作指令集,生成所述被控系统的组态文件。The generating module is configured to generate a configuration file of the controlled system based on the parameter order of the slave station devices and the operation instruction set according to the arrangement order of the slave station devices in the network topology.
  7. 根据权利要求6所述的装置,其特征在于,所述第一获取模块包括:The apparatus according to claim 6, wherein the first acquisition module comprises:
    第一获取子模块,用于在所述从站设备处于待机状态的情况下,基于EtherCAT协议扫描所述多个从站设备的物理层,得到所述多个从站设备的网络拓扑结构以及所述从站设备的参数信息。The first acquisition sub-module is used to scan the physical layer of the multiple slave devices based on the EtherCAT protocol when the slave device is in a standby state to obtain the network topology structure and location of the multiple slave devices Describe the parameter information of the slave device.
  8. 根据权利要求6所述的装置,其特征在于,所述操作指令集包括下述中至少一种的描述形式:PLC语言描述、CNC语言描述和C语言描述。The apparatus according to claim 6, wherein the operation instruction set includes at least one of the following description forms: PLC language description, CNC language description, and C language description.
  9. 根据权利要求6所述的装置,其特征在于,所述操作指令集包括多个程序块,所述程序块与所述从站设备一一对应,所述程序块中包括变量参数,相应地,所述生成模块包括:The apparatus according to claim 6, wherein the operation instruction set includes a plurality of program blocks, the program blocks correspond one-to-one with the slave device, and the program blocks include variable parameters, and accordingly, The generation module includes:
    第一设置模块,用于根据所述网络拓扑结构中从站设备的排列顺序,设置所述从站设备的标识信息;A first setting module, configured to set the identification information of the slave device according to the arrangement order of the slave devices in the network topology;
    建立模块,用于建立所述从站设备的标识信息与所述程序块之间的关联关系;The establishment module is used to establish the association relationship between the identification information of the slave device and the program block;
    第二设置模块,基于所述关联关系,将所述从站设备的参数信息设置为与所述从站设备相对应的程序块中变量参数的值。The second setting module, based on the association relationship, sets the parameter information of the slave device to the value of the variable parameter in the program block corresponding to the slave device.
  10. 根据权利要求6所述的装置,其特征在于,所述组态文件还包括主站设备与所述从站设备之间的通信协议和通信参数。The apparatus according to claim 6, wherein the configuration file further includes a communication protocol and communication parameters between the master station device and the slave station device.
  11. 一种组态装置,其特征在于,包括:A configuration device, characterized in that it includes:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory for storing processor executable instructions;
    其中,所述处理器被配置为执行权利要求1至5所述的方法。Wherein, the processor is configured to execute the method of claims 1 to 5.
  12. 一种非临时性计算机可读存储介质,当所述存储介质中的指令由处理器执行时,使得处理器能够执行根据权利要求1至5所述的方法。A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enable the processor to perform the method according to claims 1 to 5.
PCT/CN2019/115682 2018-12-24 2019-11-05 Configuration method and apparatus WO2020134607A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811583311.X 2018-12-24
CN201811583311.XA CN109669372B (en) 2018-12-24 2018-12-24 Configuration method and device

Publications (1)

Publication Number Publication Date
WO2020134607A1 true WO2020134607A1 (en) 2020-07-02

Family

ID=66147380

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115682 WO2020134607A1 (en) 2018-12-24 2019-11-05 Configuration method and apparatus

Country Status (2)

Country Link
CN (1) CN109669372B (en)
WO (1) WO2020134607A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669372B (en) * 2018-12-24 2021-01-19 苏州谷夫道自动化科技有限公司 Configuration method and device
CN110460473B (en) * 2019-08-16 2021-02-23 珠海格力电器股份有限公司 Communication configuration method and device of configuration software and computer readable storage medium
CN110928243B (en) * 2019-12-02 2020-12-15 珠海格力电器股份有限公司 Method for configuring EtherCAT bus configuration through demonstrator
CN112255980A (en) * 2020-10-21 2021-01-22 陕西大唐高科机电科技有限公司 Automatic control configuration platform system and method based on cloud server
CN112702247B (en) * 2020-12-18 2022-08-02 杭州和利时自动化有限公司 Hybrid control method and device for FF field bus system and storage medium
CN112565041B (en) * 2020-12-18 2022-06-14 杭州和利时自动化有限公司 Hardware information configuration method, device and medium of FF field bus system
CN112650175A (en) * 2020-12-21 2021-04-13 佳都新太科技股份有限公司 Self-configuration method and system of environment control equipment, computer equipment and storage medium
CN112947337A (en) * 2021-02-09 2021-06-11 南京南瑞继保电气有限公司 Configuration synchronization method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018115A (en) * 2007-02-13 2007-08-15 张承瑞 Real time synchronization network based on the standard Ethernet and its operating method
CN102053935A (en) * 2010-11-25 2011-05-11 广东雅达电子股份有限公司 MODBUS serial communication protocol-based communication method
US20110158224A1 (en) * 2009-12-25 2011-06-30 Yoshihiro Kawauchi Communication system and telephone exchange apparatus
CN103001839A (en) * 2011-09-19 2013-03-27 四零四科技股份有限公司 Automatic configuration setting system, automatic configuration setting gateway and automatic configuration setting method by means of command learning
CN105938360A (en) * 2016-07-14 2016-09-14 深圳市旗众智能自动化有限公司 Distributed automatic control system and control method thereof and configuration device
CN106789258A (en) * 2016-12-24 2017-05-31 上海新时达电气股份有限公司 The collocation method of EPA
CN109669372A (en) * 2018-12-24 2019-04-23 苏州谷夫道自动化科技有限公司 A kind of configuration method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018115A (en) * 2007-02-13 2007-08-15 张承瑞 Real time synchronization network based on the standard Ethernet and its operating method
US20110158224A1 (en) * 2009-12-25 2011-06-30 Yoshihiro Kawauchi Communication system and telephone exchange apparatus
CN102053935A (en) * 2010-11-25 2011-05-11 广东雅达电子股份有限公司 MODBUS serial communication protocol-based communication method
CN103001839A (en) * 2011-09-19 2013-03-27 四零四科技股份有限公司 Automatic configuration setting system, automatic configuration setting gateway and automatic configuration setting method by means of command learning
CN105938360A (en) * 2016-07-14 2016-09-14 深圳市旗众智能自动化有限公司 Distributed automatic control system and control method thereof and configuration device
CN106789258A (en) * 2016-12-24 2017-05-31 上海新时达电气股份有限公司 The collocation method of EPA
CN109669372A (en) * 2018-12-24 2019-04-23 苏州谷夫道自动化科技有限公司 A kind of configuration method and device

Also Published As

Publication number Publication date
CN109669372B (en) 2021-01-19
CN109669372A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
WO2020134607A1 (en) Configuration method and apparatus
US9819780B2 (en) Method and apparatus for bluetooth device management
US9811870B2 (en) Information processing method, apparatus and payment system
KR101777984B1 (en) Method and device for displaying wifi list
WO2017008396A1 (en) Method of controlling equipment and device using same
CN105163366B (en) Wireless network connecting method and device
CN105487389A (en) Method and device for controlling intelligent equipment
RU2636678C2 (en) Method and device for thread-specific multimedia data translation
KR101727249B1 (en) Method, device, program and recording medium for testing terminal
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
JP6140910B2 (en) Method, apparatus, program and recording medium for accessing network
CN104038536A (en) Plug-in communication method and device
EP3179749A1 (en) Device displaying method and apparatus, computer program and recording medium
CN105515831A (en) Network state information display method and device
CN112153123B (en) Method, device and system for controlling Internet of things device in Internet of things system
CN112019616A (en) Equipment management method and device in Internet of things
CN104935613A (en) Scene synchronization method, terminal, server and system
CN115915384A (en) Communication method, module, device, terminal equipment and medium of master station and slave station
TWI595427B (en) Device control method and device control system and storage medium thereof
CN103902688A (en) File operation synchronizing method and device
EP3823249A1 (en) Discovery of iot devices and subsequent capability information exchange for invoking functions corresponding to capabilities of said iot devices
KR102028944B1 (en) Methods, devices, systems, programs and storage media for accessing a plurality of servers of smart home appliances
CN101751351A (en) Computer and image sharing method
US20160050242A1 (en) Methods and devices for playing streaming media data
CN106531163A (en) Method and device for controlling terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19902241

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19902241

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19902241

Country of ref document: EP

Kind code of ref document: A1