WO2023032077A1 - Dispositif de commande et système de communication de données - Google Patents

Dispositif de commande et système de communication de données Download PDF

Info

Publication number
WO2023032077A1
WO2023032077A1 PCT/JP2021/032128 JP2021032128W WO2023032077A1 WO 2023032077 A1 WO2023032077 A1 WO 2023032077A1 JP 2021032128 W JP2021032128 W JP 2021032128W WO 2023032077 A1 WO2023032077 A1 WO 2023032077A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
unit
acquisition
control device
information processing
Prior art date
Application number
PCT/JP2021/032128
Other languages
English (en)
Japanese (ja)
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 ファナック株式会社
Priority to JP2021572052A priority Critical patent/JP7037001B1/ja
Priority to PCT/JP2021/032128 priority patent/WO2023032077A1/fr
Publication of WO2023032077A1 publication Critical patent/WO2023032077A1/fr

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
    • 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

Definitions

  • the present invention relates to control devices and data communication systems.
  • At least one information processing device such as a PC is connected to one control device, and one or more application programs (hereinafter also referred to as "applications") executed by the information processing device for the control device.
  • applications executed by the information processing device for the control device.
  • control device communication with the control device is performed for each application, and there is a problem that the CPU load of the control device increases in proportion to the number of applications. Furthermore, the information to be prioritized differs depending on the state of the control device (for example, during processing or in the EDIT mode). Acquisition of high-level information may be hindered.
  • One aspect of the control device of the present disclosure is an acquisition request from one or more application programs that control an industrial machine and that at least one information processing device executes data of data items related to control of the industrial machine.
  • a control device for transmitting data of a data item requested to be acquired, the data acquisition processing unit accepting an acquisition request from the application program for the data item; a processing priority table section for storing time information relating to transmission update intervals; and a regular update section for determining the update interval for each data item requested for acquisition according to the time information in the processing priority table section.
  • the data acquisition processing unit transmits data of a data item requested to be acquired based on the priority of the processing priority table unit and the determined update interval to the information processing device.
  • One aspect of the data communication system of the present disclosure is a control device that controls an industrial machine, at least one information processing device that can communicate with the control device, and a data communication system that is shared by the control device and the information processing device. and a shared storage device that stores data of data items related to control of the industrial machine that are transmitted from the control device, wherein the control device causes the information processing device to execute the data items.
  • a data acquisition processing unit that accepts acquisition requests from one or more application programs; a processing priority table unit that stores a priority level for each of the data items and time information regarding a data transmission update interval; and the processing priority level.
  • a periodic update unit that determines the update interval for each data item requested for acquisition according to the time information in the table unit, wherein the data acquisition processing unit determines the priority of the processing priority table unit. data of the data item requested to be acquired based on the update interval, and the information processing device analyzes the acquisition request of the application program to obtain the data item requested to be acquired. If the data is in the shared storage device, the transmission of the acquisition request to the control device is stopped to acquire the data item data from the shared storage device, a command monitoring unit for transmitting the acquisition request to the control device when the storage device does not have the data usage rate for each of the data items stored in the shared storage device; a shared data usage rate monitoring unit that causes the control device to stop transmission of data of data items below a predetermined value to the shared storage device.
  • high-priority data can be acquired with high accuracy without increasing the CPU load of the control device.
  • FIG. 1 is a functional block diagram showing a functional configuration example of a data communication system according to a first embodiment
  • FIG. It is a figure which shows an example of the data in process of processing memorize
  • FIG. 4 is a diagram showing an example of EDIT mode data stored in a command recording unit;
  • FIG. 10 is a diagram showing an example of a processing priority table stored in a processing priority table section; 4 is a flowchart describing data communication processing of the data communication system; 4 is a flowchart describing data communication processing of the data communication system;
  • FIG. 10 is a diagram illustrating an example of a case where one information processing device executes two applications and exchanges acquisition requests with a numerical control device;
  • FIG. 5 is a diagram showing an example of a data communication system according to a modification of the first embodiment including a numerical control device and four information processing devices
  • FIG. 9 is a functional block diagram showing a functional configuration example of a data communication system according to a second embodiment; It is a figure which shows an example of the data in process of processing recorded on a command recording part.
  • FIG. 10 is a diagram showing an example of a processing priority table stored in a processing priority table section; 4 is a flowchart describing data communication processing of the data communication system; 4 is a flowchart describing data communication processing of the data communication system;
  • FIG. 12 is a diagram showing an example of a data communication system according to a modification of the second embodiment including a numerical control device and four information processing devices;
  • FIG. 11 is a functional block diagram showing a functional configuration example of a data communication system according to a third embodiment
  • 2 is a functional block diagram showing a functional configuration example of an information processing device
  • FIG. FIG. 8 is a diagram showing an example of data recorded in a command recording unit in an EDIT mode (during program editing) in the data communication system 1 of FIG. 7;
  • FIG. 1 is a functional block diagram showing a functional configuration example of the data communication system according to the first embodiment.
  • the data communication system 1 has a numerical control device 10, an information processing device 20, and a machine tool 30.
  • the numerical control device 10, the information processing device 20, and the machine tool 30 may be directly connected to each other via a connection interface (not shown).
  • the numerical control device 10, the information processing device 20, and the machine tool 30 may be interconnected via a network (not shown) such as a LAN (Local Area Network) or the Internet.
  • the numerical control device 10, the information processing device 20, and the machine tool 30 are provided with a communication section (not shown) for mutual communication through such connection.
  • the numerical control device 10 is connected to one information processing device 20, it may be connected to a plurality of information processing devices 20 as described later.
  • the machine tool 30 is a machine tool known to those skilled in the art, and operates based on operation commands from a numerical control device 10 as a control device.
  • the information processing device 20 is, for example, a PC, a tablet, or the like. As shown in FIG. 1 , the information processing device 20 has a control section 210 , a storage section 220 and a communication interface (IF) section 230 . Further, control unit 210 has application execution unit 211 , command monitoring unit 212 , and shared data usage rate monitoring unit 213 .
  • the storage unit 220 is a RAM (Random Access Memory), a HDD (Hard Disk Drive), or the like, and may store a system program and a plurality of application programs.
  • Storage unit 220 includes shared data storage unit 221 .
  • the shared data storage unit 221 is stored in the numerical control apparatus 10 when a predetermined number or more of applications request acquisition of data items related to the control of the machine tool 30 acquired by the numerical control apparatus 10. Stores the data of the data items periodically transmitted from 10. Data of data items related to the control of the machine tool 30 will be described later.
  • the information processing device 20 can reduce the number of times of communication with the numerical control device 10, and the application can reduce the data acquisition time from sending an acquisition request to the numerical control device 10 to receiving the requested data. can be used to shorten the execution time of the application.
  • the control unit 210 has a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM, a CMOS (Complementary Metal-Oxide-Semiconductor) memory, etc., which are configured to communicate with each other via a bus. , are known to those skilled in the art.
  • the CPU is a processor that controls the information processing device 20 as a whole.
  • the CPU reads the system program and the application program stored in the ROM through the bus, and controls the entire information processing apparatus 20 according to the system program and the application program.
  • the control unit 210 is configured to realize the functions of the application execution unit 211, the command monitoring unit 212, and the shared data usage rate monitoring unit 213.
  • FIG. 1 The control unit 210 is configured to realize the functions of the application execution unit 211, the command monitoring unit 212, and the shared data usage rate monitoring unit 213.
  • CMOS memory is backed up by a battery (not shown) and configured as a non-volatile memory that retains the memory state even when the information processing apparatus 20 is powered off.
  • the application execution unit 211 executes one or more applications by accepting an application execution command from a user via an input device (not shown) such as a keyboard or touch panel included in the information processing apparatus 20 .
  • an input device such as a keyboard or touch panel included in the information processing apparatus 20 .
  • the application execution unit 211 includes a "CNC operation application” to operate the numerical control device 10, a "coordinate One or more applications such as a "value application” and a "data logging application” that manages the operational status of the machine tool 30 are executed.
  • the application execution unit 211 can be provided with a “coordinate value application” that acquires the coordinate values of the spindle of the machine tool 30 or the like provided in the machine tool 30 .
  • Run one or more apps such as the Device List App, which displays a list of devices
  • Each of the applications executed by the application execution unit 211 transmits a request for acquiring data of data items related to the control of the machine tool 30 to the numerical control device 10, which will be described later, and requests the acquisition via the command monitoring unit 212, which will be described later. Get the data of a data item.
  • the command monitoring unit 212 analyzes the acquisition request of the application, and if the data of the data item requested for acquisition exists in the shared data storage unit 221, stops transmission of the acquisition request to the numerical controller 10 and stores the shared data.
  • the data item data is acquired from the unit 221 and output to the application requesting the acquisition.
  • the information processing device 20 can reduce the number of times of communication with the numerical control device 10, and the application can reduce the data acquisition time from sending an acquisition request to the numerical control device 10 to receiving the requested data. can be used to shorten the execution time of the app.
  • the command monitoring unit 212 transmits an acquisition request to the numerical controller 10 via the communication IF unit 230, which will be described later.
  • the shared data usage rate monitoring unit 213 monitors, for example, the data usage rate for each data item stored in the shared data storage unit 221, and monitors the data usage rate of the data item whose data usage rate is equal to or lower than a preset predetermined value. It causes the numerical controller 10 to stop transmission to the storage unit 221 . Specifically, for example, the shared data usage rate monitoring unit 213 monitors each data item received from the numerical control device 10 stored in the shared data storage unit 221 and each data item being executed by the application execution unit 211. Monitor the frequency of acquisition requests from apps (data usage rate).
  • the shared data usage rate monitoring unit 213 When there is data whose acquisition request frequency (data usage rate) from the application is equal to or less than a predetermined value, the shared data usage rate monitoring unit 213 periodically monitors the data at an update interval by the numerical control device 10. A stop command is sent to the numerical controller 10 to stop the updating. By doing so, the number of acquisitions (updates) of data with a low data usage rate, ie, low priority, is reduced, and the CPU of the numerical controller 10, which will be described later, has a margin. As a result, the information processing device 20 can acquire high-priority data with high accuracy without increasing the CPU load of the numerical control device.
  • the communication IF unit 230 is a communication control device that transmits and receives data to and from an external device (for example, the numerical controller 10, etc.). Specifically, for example, when receiving data periodically transmitted from the numerical controller 10, the communication IF unit 230 stores the received data in the shared data storage unit 221 for each data item. Further, when the command monitoring unit 212 does not have the data of the data item requested by the application to acquire in the shared data storage unit 221 , the communication IF unit 230 transmits the acquisition request to the numerical controller 10 . Then, communication IF section 230 receives the data requested for acquisition, and outputs the received data to the application (application executing section 211) that requested the acquisition.
  • an external device for example, the numerical controller 10, etc.
  • the numerical control device 10 is a numerical control device known to those skilled in the art, and generates an operation command based on a machining program acquired from an external device (not shown) such as an information processing device 20 or a CAD/CAM device. A motion command is transmitted to the machine tool 30 . Thereby, the numerical controller 10 controls the operation of the machine tool 30 . If the machine tool 30 is a robot or the like, the numerical controller 10 may be a robot controller or the like. In addition, the numerical control device 10 receives data acquisition requests from one or more applications executed by the information processing device 20 and transmits data of data items corresponding to the received acquisition requests to the information processing device 20 .
  • the numerical controller 10 has a control unit 110 and a storage unit 120. Also, the control unit 110 has a data acquisition processing unit 111 and a regular update unit 112 .
  • Storage unit 120 is a RAM, HDD, or the like.
  • Storage unit 120 includes command recording unit 121 and processing priority table unit 122 .
  • the command recording unit 121 stores data acquisition requests from each of one or more applications executed by the information processing apparatus 20 as the number of applications for each data item requested for acquisition.
  • FIG. 2A is a diagram showing an example of data during processing stored in the command recording unit 121.
  • FIG. 2B is a diagram showing an example of EDIT mode data stored in the command recording unit 121.
  • the data during machining includes the number of applications requesting acquisition for each data item such as "coordinate value”, “spindle load”, “program execution line”, and "macro variable”.
  • the data during machining includes the number of applications requesting acquisition for each data item such as "coordinate values", "spindle load”, “program data”, and "device list”. .
  • the processing priority table unit 122 stores, for example, time information regarding the priority of each data item and the update interval of data transmission for each state of the numerical control device 10 (for example, processing being executed, EDIT mode (program being edited), etc.). and are stored.
  • FIG. 3 is a diagram showing an example of the processing priority table stored in the processing priority table unit 122.
  • the processing priority table includes "status of numerical controller 10 (hereinafter also referred to as "status of NC")", “prioritized data acquisition process”, “priority”, and “update interval”. ” storage area. In the storage area of "NC state" in the processing priority table, "processing in progress", "EDIT mode", etc. are stored.
  • the "priority order" storage area in the processing priority table for example, when the "NC state” is "executing machining", “coordinate value”, “spindle load”, “program execution line”, “macro The order of priority is stored so that data is preferentially transmitted in response to an acquisition request from an application in the order of data items such as "Variables". Further, in the "priority order” storage area in the processing priority table, for example, when the "NC state” is "EDIT mode", “device list”, “program data”, “coordinate values”, "spindle A priority order is stored so that data is preferentially transmitted in response to an acquisition request from an application in the order of data items such as "Load".
  • the numerical control device 10 can reduce the number of times of data acquisition processing and the number of times of communication with the information processing device 20, thereby reducing the CPU load.
  • the control unit 110 has a CPU, a ROM, a RAM, a CMOS memory, etc., which are known to those skilled in the art and are configured to communicate with each other via a bus.
  • the CPU is a processor that controls the numerical controller 10 as a whole.
  • the CPU reads the system program and application program stored in the ROM through the bus and controls the entire numerical controller 10 according to the system program and application program.
  • the control unit 110 is configured to implement the functions of the data acquisition processing unit 111 and the periodic updating unit 112 .
  • Various data such as temporary calculation data and display data are stored in the RAM.
  • the CMOS memory is backed up by a battery (not shown), and configured as a non-volatile memory that retains the stored state even when the power of the numerical controller 10 is turned off.
  • the data acquisition processing unit 111 receives acquisition requests for data items related to the control of the machine tool 30 from each of a plurality of applications executed by the information processing device 20 and transmits data of data items of the received acquisition requests to the information processing device 20 . do. If there is a data item in which the number of applications stored in the command recording unit 121 is equal to or greater than a predetermined number (for example, “3”), the data acquisition processing unit 111 112 , periodically transmits the data of the data item to the information processing apparatus 20 based on the priority and update interval of the processing priority table stored in the processing priority table unit 122 .
  • a predetermined number for example, “3”
  • the periodic update unit 112 determines an update interval for each data item requested for acquisition according to the update interval as time information in the processing priority table unit 122 . Specifically, for example, if the number of applications stored in the command recording unit 121 is equal to or greater than a predetermined number (for example, “3”) of data items, the regular update unit 112 updates the data acquisition processing unit 111 to stop sending the data of the data item each time an acquisition request is received from the application. Based on the priority and update interval of the processing priority table stored in the processing priority table unit 122, the regular update unit 112 periodically updates the data of the data item to the data acquisition processing unit 111. The information processing device 20 is made to transmit.
  • a predetermined number for example, “3”
  • the regular update unit 112 updates the data acquisition processing unit 111 may stop the periodic transmission of the data of the data item instructed to stop.
  • the numerical control device 10 reduces the number of acquisition lines for information (data) with low priority, so that there is room in the CPU, and information (data) with high priority easily reaches the information processing device 20. Become.
  • FIG. 4 and 5 are flowcharts for explaining data communication processing of the data communication system 1.
  • FIG. The flow shown here is repeatedly executed while the information processing device 20 is executing the application.
  • 4 and 5 show data communication processing of the data communication system 1 when the state of the numerical control device 10 is processing and the information processing device 20 executes two applications as shown in FIG. explain.
  • the data communication processing of the data communication system 1 when the information processing device 20 executes one or more applications when the state of the numerical control device 10 is the EDIT mode or the like is the same as that of FIGS. , detailed description is omitted.
  • step S ⁇ b>21 the command monitoring unit 212 of the information processing device 20 receives an acquisition request for each application executed by the application execution unit 211 .
  • step S22 the command monitoring unit 212 analyzes the acquisition request of each application received in step S21, and determines whether the shared data storage unit 221 contains the data item data requested by each application. If the data of the data item requested to be obtained exists in the shared data storage unit 221, the process proceeds to step S23. On the other hand, if the data of the requested data item is not in the shared data storage unit 221, the process proceeds to step S27 in FIG.
  • step S23 the command monitoring unit 212 stops sending the application acquisition request to the numerical controller 10, acquires the data item data of the shared data storage unit 221, and outputs it to the application.
  • step S11 the data acquisition processing unit 111 of the numerical control device 10 determines that the shared data storage unit 221 does not have the data of the data item requested in step S22 among the applications executed by the information processing device 20.
  • the application acquisition request transmitted in step S27, which will be described later, is accepted.
  • step S12 the data acquisition processing unit 111 stores the number of applications requesting acquisition for each data item in the command recording unit 121 based on the acquisition request received in step S11.
  • step S13 the periodic update unit 112 determines whether or not there are data items in which the number of applications stored in the command recording unit 121 is equal to or greater than a predetermined number (for example, "3"). If there are data items with the number of applications equal to or greater than the predetermined number, the process proceeds to step S14. On the other hand, if there is no data item with the number of applications equal to or greater than the predetermined number, the process proceeds to step S15.
  • a predetermined number for example, "3"
  • step S14 the periodic updating unit 112 instructs the data acquisition processing unit 111 to transmit the data of the data item for which the number of applications is greater than or equal to a predetermined number every time an acquisition request is received from the information processing apparatus 20. stop.
  • the regular update unit 112 updates the data of the data item to the data acquisition processing unit 111. is periodically transmitted to the information processing apparatus 20 .
  • step S15 the data acquisition processing unit 111 transmits to the information processing apparatus 20 the data of the data item for which acquisition was requested and received in step S11.
  • step S ⁇ b>24 the communication IF unit 230 of the information processing device 20 receives the data item data periodically transmitted by the numerical control device 10 and stores the received data item data in the shared data storage unit 221 .
  • step S25 of FIG. 5 the shared data usage rate monitoring unit 213 monitors the data usage rate for each data item stored in the shared data storage unit 221, and selects data items whose data usage rate is equal to or less than a preset predetermined value. data is present. If there is data of a data item whose data usage rate is equal to or less than the predetermined value, the process proceeds to step S26. On the other hand, if there is no data item data whose data usage rate is less than or equal to the predetermined value, the process returns to step S21.
  • step S26 the shared data usage rate monitoring unit 213 transmits to the numerical controller 10 an instruction to stop periodic transmission of data items whose data usage rate is equal to or less than a predetermined value, and the process returns to step S21.
  • step S ⁇ b>16 the periodic updating unit 112 of the numerical control device 10 determines whether the data acquisition processing unit 111 has received a stop instruction from the information processing device 20 . If a stop instruction has been received, the process proceeds to step S17. On the other hand, if no stop instruction has been received, the process returns to step S11.
  • step S17 the periodic update unit 112 stops periodic transmission of the data of the data item for which the data acquisition processing unit 111 has been instructed to stop. Then, the process returns to step S11.
  • step S ⁇ b>27 the command monitoring unit 212 of the information processing device 20 transmits to the numerical control device 10 a request to acquire an application for which data of the requested data item is not in the shared data storage unit 221 .
  • the numerical control device 10 stores the data of the data item in the processing priority table unit 122 when there are data items requested to be obtained from a predetermined number of applications or more. It periodically transmits to the information processing device 20 based on the priority and the update interval (control information). As a result, the numerical control device 10 can reduce the number of data acquisition processes of the numerical control device 10 and the number of communications with the information processing device 20. Even when a plurality of applications request data acquisition, the numerical control device 10 High-priority data can be obtained with high accuracy without increasing the CPU load.
  • the numerical control device 10 periodically transmits to the information processing device 20 the data of the data item requested by a predetermined number or more of applications, so that the application transmits an acquisition request to the numerical control device 10 and acquires the data item. Data acquisition time until the requested data is received can be reduced, and application execution time can be shortened. Further, the numerical control device 10 receives a stop instruction for data with a low data usage rate, that is, a low priority data from the information processing device 20, and periodically transmits low priority data to the information processing device 20. By stopping, the acquisition frequency (update frequency) of low-priority data is reduced, the CPU of the numerical control device 10 has a margin, and high-priority data can be easily delivered to the information processing device 20 .
  • the first embodiment has been described above.
  • FIG. 7 is a diagram showing an example of a data communication system 1 according to a modification of the first embodiment including a numerical control device 10 and four information processing devices 20-1 to 20-4.
  • the numerical controller 10 has the same configuration as the numerical controller 10 in the first embodiment.
  • the information processing apparatuses 20-1 to 20-4 have the same configuration as the information processing apparatus 20 in the first embodiment. As shown in FIG.
  • the information processing apparatus 20-1 for example, in the EDIT mode (during program editing), the application execution unit 211 executes three applications, ie, the coordinate value application, the device list application, and the spindle load application. ing.
  • the application execution unit 211 executes two applications, the coordinate value application and the device list application.
  • the application execution unit 211 of the information processing apparatus 20-4 executes the device list application and the five program data applications.
  • the command recording unit 121 of the numerical controller 10 stores "coordinate values", “spindle load”, “program data”, “device “3", “1", “5", “4", etc. are collectively stored without distinguishing between the information processing apparatuses 20-1 to 20-4 as the number of applications requesting acquisition for each data item such as "list".
  • the regular update unit 112 of the numerical control device 10 updates the number of applications stored in the command recording unit 121 to a predetermined number (for example, "3") or more.
  • the data acquisition processing unit 111 For data items such as "coordinate values”, "program data”, and “device list", the data acquisition processing unit 111 is caused to transmit the data of the data items each time an acquisition request is received from the application. You can stop it. Based on the priority and the update interval of the processing priority table stored in the processing priority table unit 122, the regular update unit 112 requests the data items of which the number of applications is equal to or greater than a predetermined number. The data acquisition processing unit 111 may be instructed to periodically transmit to all of the information processing apparatuses 20-1 to 20-4 regardless of whether or not is being executed.
  • the numerical controller 10A stores acquisition requests for each of one or more applications as the number of applications for each data item, and stores the shortest read interval among the read intervals of the applications included in the number of applications for each data item.
  • This differs from the first embodiment in that the interval and the magnification for adjusting the update interval are stored, and the update interval is calculated based on the shortest read interval for each data item and the magnification.
  • the numerical control device 10A of the second embodiment can acquire high-priority data with high accuracy without increasing the CPU load of the control device even when a plurality of applications request data acquisition.
  • a second embodiment will be described below.
  • FIG. 8 is a functional block diagram showing a functional configuration example of the data communication system according to the second embodiment. Elements having functions similar to those of the data communication system 1 shown in FIG. As shown in FIG. 8, the data communication system 1 has a numerical control device 10A, an information processing device 20, and a machine tool 30. As shown in FIG. 8, the data communication system 1 has a numerical control device 10A, an information processing device 20, and a machine tool 30. As shown in FIG.
  • a numerical control device 10A according to the second embodiment has the same configuration as the numerical control device 10 according to the first embodiment. That is, as shown in FIG. 8, the numerical controller 10A has a control section 110a and a storage section 120a. Further, the control unit 110a has a data acquisition processing unit 111 and a regular updating unit 112a. The storage unit 120a also has a command recording unit 121a and a processing priority table unit 122a. The data acquisition processing unit 111 has functions equivalent to those of the data acquisition processing unit 111 in the first embodiment.
  • the command recording unit 121a stores data acquisition requests from one or more applications executed by the information processing apparatus 20 as the number of applications for each data item, and stores the number of applications included in the number of applications for each data item. , the shortest lead interval is stored.
  • FIG. 9 is a diagram showing an example of data during processing recorded in the command recording unit 121a. As shown in FIG. 9, in the data during machining, for each data item such as "coordinate value”, “spindle load”, “program execution line” and “macro variable” The lead interval is stored.
  • the read interval is the time interval between the read commands for which the application requests acquisition of data. be able to.
  • the processing priority table section 122a stores, for example, the priority of each data item for each state of the numerical control device 10A (for example, processing is in progress) and the magnification as time information regarding the data transmission update interval.
  • FIG. 10 is a diagram showing an example of the processing priority table stored in the processing priority table section 122a.
  • the processing priority table section 122a shows only the processing priority table during execution of processing, but the same applies to the EDIT mode (during program editing) and the like.
  • the process priority table has storage areas for "NC state", "preferred data acquisition process", "priority order", and "update interval adjustment".
  • NC state “preferred data acquisition process”, and “priority order” are the same as the “NC state”, “preferred data acquisition process”, and “priority order” in the first embodiment in FIG. is the same as , and the description is omitted.
  • the periodic updating unit 112a calculates and determines an update interval for each data item requested for acquisition based on the shortest read interval for each data item in the command recording unit 121a and the scaling factor in the processing priority table unit 122.
  • FIG. Specifically, the regular updating unit 112a for example, similarly to the regular updating unit 112 of the first embodiment, sets the number of applications stored in the command recording unit 121 to a predetermined number (for example, "3"). etc.) If there are any of the above data items, the data acquisition processing unit 111 is stopped from transmitting the data of the data items each time an acquisition request is received from the application.
  • the regular updating unit 112a calculates the shortest read interval stored in the command recording unit 121a for the data item with the number of applications equal to or greater than the predetermined number and the update interval of the processing priority table stored in the processing priority table unit 122a.
  • An update interval for periodically transmitting the data of the data item to the information processing apparatus 20 is calculated based on the magnification of the adjustment (control information).
  • the periodic update unit 112a causes the data acquisition processing unit 111 to periodically transmit the data of the data item to the information processing apparatus 20 at the calculated update time.
  • the periodical update unit 112a is operated by the data acquisition processing unit 111 when the data acquisition processing unit 111 is restored to the information processing apparatus due to a decrease in the usage rate of the data items of the data items that are periodically transmitted.
  • the data acquisition processing unit 111 may stop periodic transmission of the data of the data item for which the stop instruction is given. By doing so, the number of acquisition lines for information (data) with low priority is reduced in the numerical control device 10A, so there is room in the CPU, and information (data) with high priority easily reaches the information processing device 20. Become.
  • FIG. 11 and 12 are flowcharts for explaining data communication processing of the data communication system 1.
  • FIG. The flow shown here is repeatedly executed while the information processing device 20 is executing the application.
  • the processes from step S31 to step S33 and from step S36 to step S38 are the same as steps S11 to S13 and steps S14 to S17 of the first embodiment shown in FIGS. 4 and 5, and the description thereof is omitted.
  • the operation of the information processing apparatus 20 in FIGS. 11 and 12 is the same as that in the first embodiment shown in FIGS. 4 and 5, and the description thereof is omitted. 11 and 12, as in the case of FIGS.
  • step S34 the periodic updating unit 112a adjusts the shortest read interval of the command recording unit 121a for the data items with the number of applications equal to or greater than the predetermined number and the update interval of the processing priority table of the processing priority table unit 122 (control information ) and the update interval for periodically transmitting the data of the data item to the information processing apparatus 20 is calculated.
  • step S35 the periodic updating unit 112a stops the data acquisition processing unit 111 from transmitting the data of the data item for which the number of applications is equal to or greater than the predetermined number every time an acquisition request is received from the information processing apparatus 20. Let Then, the periodic update unit 112a causes the data acquisition processing unit 111 to periodically transmit the data of the data item to the information processing apparatus 20 at the update interval calculated in step S34.
  • the numerical control device 10A stores the data of the data item in the shortest time stored in the command recording unit 121a when there is a data item requested to be acquired from a predetermined number of applications or more. and the scaling factor (control information) stored in the processing priority table unit 122a, and periodically transmits to the information processing apparatus 20 at the calculated update interval.
  • the numerical control device 10A can reduce the number of data acquisition processes of the numerical control device 10A and the number of communications with the information processing device 20. Even when a plurality of applications request data acquisition, the numerical control device 10A High-priority data can be obtained with high accuracy without increasing the CPU load.
  • the numerical control device 10A periodically transmits to the information processing device 20 the data of the data item requested by a predetermined number or more of applications, so that the application transmits an acquisition request to the numerical control device 10A and acquires the data item. Data acquisition time until the requested data is received can be reduced, and application execution time can be shortened. Further, the numerical control device 10A receives a stop instruction for data with a low data usage rate, ie, a low priority, from the information processing device 20, and periodically transmits the data with a low priority to the information processing device 20.
  • a stop instruction for data with a low data usage rate ie, a low priority
  • the acquisition frequency (update frequency) of low-priority data is reduced, the CPU of the numerical controller 10 ⁇ /b>A has a margin, and high-priority data can be easily delivered to the information processing device 20 .
  • the second embodiment has been described above.
  • FIG. 13 is a diagram showing an example of a data communication system 1 according to a modification of the second embodiment including a numerical control device 10A and four information processing devices 20-1 to 20-4.
  • the numerical controller 10A has the same configuration as the numerical controller 10A in the second embodiment.
  • the information processing apparatuses 20-1 to 20-4 have the same configuration as the information processing apparatus 20 in the second embodiment. As shown in FIG. 13, as in the case of FIG.
  • the information processing apparatus 20-1 causes the application execution unit 211 to execute the coordinate value application, the device list application, and the spindle load application, for example, in the EDIT mode (during program editing). Three apps of apps are running.
  • the application execution unit 211 executes two applications, the coordinate value application and the device list application.
  • the application execution unit 211 of the information processing apparatus 20-4 executes the device list application and the five program data applications.
  • the command recording unit 121 of the numerical controller 10A stores "coordinate values", “spindle load”, “program data”, “device “3", “1", “5", “4", etc. are collectively stored without distinguishing between the information processing apparatuses 20-1 to 20-4 as the number of applications requesting acquisition for each data item such as "list".
  • the regular updating unit 112 of the numerical control device 10A similarly to the above-described second embodiment, updates the number of applications stored in the command recording unit 121 to a predetermined number (for example, "3") or more.
  • the data acquisition processing unit 111 For data items such as "coordinate values”, "program data”, and “device list", the data acquisition processing unit 111 is caused to transmit the data of the data items each time an acquisition request is received from the application. You can stop it. Based on the priority and the update interval of the processing priority table stored in the processing priority table unit 122, the regular update unit 112 requests the data items of which the number of applications is equal to or greater than a predetermined number. The data acquisition processing unit 111 may be instructed to periodically transmit to all of the information processing apparatuses 20-1 to 20-4 regardless of whether or not is being executed.
  • the data communication system 1A provides the shared data storage unit 221 in the shared storage device 40 as a storage device different from the numerical control device 10 and the information processing device 20b.
  • the data of the data item requested by the application is stored in the shared data storage unit 221 of the shared storage device 40, and the information processing device 20b stores the data of the data item requested to be acquired in the shared data storage unit 221 of the shared storage device 40.
  • the transmission of the acquisition request to the numerical controller 10 is stopped and the data of the data item is acquired from the shared data storage unit 221 of the shared storage device 40, which is the difference from the first and second embodiments. do.
  • the numerical control device 10 of the third embodiment can acquire high-priority data with high accuracy without increasing the CPU load of the control device even when a plurality of applications request data acquisition.
  • a third embodiment will be described below.
  • FIG. 14 is a functional block diagram showing a functional configuration example of the data communication system according to the third embodiment. Elements having functions similar to those of the data communication system 1 shown in FIG. As shown in FIG. 14, the data communication system 1A has a numerical control device 10, information processing devices 20b-1 to 20b-M, a machine tool 30, and a shared storage device 40 as a storage device (M is 1 or more). integer).
  • Numerical control device 10, information processing devices 20b-1 to 20b-M, machine tool 30, and shared storage device 40 may be directly connected to each other via a connection interface (not shown).
  • Numerical control device 10, information processing devices 20b-1 to 20b-M, machine tool 30, and shared storage device 40 are interconnected via a network (not shown) such as a LAN (Local Area Network) or the Internet.
  • the numerical control device 10, the information processing devices 20b-1 to 20b-M, the machine tool 30, and the shared storage device 40 are provided with communication units (not shown) for mutual communication through such connections.
  • the information processing apparatuses 20b-1 to 20b-M are collectively referred to as the "information processing apparatus 20b" when there is no need to distinguish them individually.
  • the storage unit 220b is a RAM, HDD, or the like, and may store a system program and a plurality of application programs.
  • the shared storage device 40 is, for example, a shared storage device, and can be accessed in common by the numerical control device 10 and the plurality of information processing devices 20b.
  • the shared storage device 40 also has a shared data storage unit 221 .
  • the shared data storage unit 221 has functions equivalent to those of the shared data storage unit 221 in the first embodiment.
  • the data communication processing of the data communication system 1A is the same as the processing shown in FIGS. 4 and 5 except that the shared data storage unit 221 is provided in the shared storage device 40, and detailed description thereof will be omitted.
  • the numerical controller 10 stores the data of the data item in the processing priority table unit 122 when there are data items requested to be obtained from applications of a predetermined number or more. It periodically transmits to the shared storage device 40 based on the priority and update interval (time information).
  • the information processing device 20 b acquires the data item data from the shared data storage unit 221 of the shared storage device 40 when the data item requested to be acquired is in the shared data storage unit 221 of the shared storage device 40 .
  • the numerical controller 10 can reduce the number of data acquisition processes of the numerical controller 10 and the number of communications with the information processing device 20b. High-priority data can be obtained with high accuracy without increasing the CPU load.
  • the numerical control device 10 periodically stores in the shared storage device 40 the data of the data items requested by a predetermined number or more of applications, so that the applications transmit acquisition requests to the numerical control device 10 and make requests. It is possible to reduce the data acquisition time until the received data is received, and the application execution time can be shortened.
  • the numerical control device 10 receives a stop instruction for data with a low data usage rate, that is, data with a low priority from the information processing device 20b, and periodically stores the data with a low priority in the shared storage device 40. By stopping, the acquisition frequency (update frequency) of low-priority data is reduced, the CPU of the numerical control device 10 has a margin, and high-priority data can be easily delivered to the information processing device 20b.
  • data communication between the numerical control device 10 and the information processing device 20b may be relayed instead of the relay device 40 using the shared storage device 40 as a dedicated server, Web server, or the like. good.
  • the command monitoring unit 212b transmits the acquisition request to the numerical controller 10 via the relay device 40. good too.
  • the numerical controllers 10 and 10A send acquisition requests for each of a plurality of applications for each data item.
  • number of apps but is not limited to that.
  • the numerical controllers 10 and 10A when the numerical controllers 10 and 10A are connected to the information processing devices 20-1 to 20-N and 20b-1 to 20b-M, the data item
  • information on the information processing apparatuses 20 and 20b in which the application requesting acquisition is being executed may be stored for each acquisition request.
  • the numerical control device 10 requests only the information processing device 20 that needs to be periodically updated based on the information about the information processing device 20 (for example, requests only the information processing device 20-4 for “program data”). Therefore, the data can be transmitted only to the information processing device 20-4, and the communication traffic of the entire data communication system 1 can be reduced.
  • Each function included in the numerical controllers 10 and 10A according to the first, second, and third embodiments can be implemented by hardware, software, or a combination thereof.
  • “implemented by software” means implemented by a computer reading and executing a program.
  • Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (eg, flexible discs, magnetic tapes, hard disk drives), magneto-optical recording media (eg, magneto-optical discs), CD-ROMs (Read Only Memory), CD- R, CD-R/W, semiconductor memory (eg mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM).
  • the program may also be supplied to the computer on various types of transitory computer readable medium. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable media can deliver the program to the computer via wired communication channels, such as wires and optical fibers, or wireless communication channels.
  • steps of writing a program recorded on a recording medium include not only processes that are executed chronologically in order, but also processes that are executed in parallel or individually, even if they are not necessarily processed chronologically. is also included.
  • the numerical controller and data communication system of the present disclosure can take various embodiments having the following configurations.
  • the numerical control device 10 of the present disclosure controls the machine tool 30, and acquires from one or more application programs executed by at least one information processing device 20 of data items related to the control of the machine tool 30.
  • a data acquisition processing unit 111 that is a control device that transmits data of a data item requested to be acquired in response to a request, and that receives an acquisition request from an application program for the data item, and transmission of priority and data for each data item.
  • a processing priority table unit 122 that stores time information about the update interval of the processing priority table unit 122; , the data acquisition processing unit 111 transmits the data of the data item requested to be acquired based on the priority of the processing priority table unit 122 and the determined update interval to the information processing apparatus.
  • this numerical controller 10 even when a plurality of applications request data, high-priority data can be obtained with high accuracy without increasing the CPU load of the numerical controller 10.
  • the numerical controller 10 described in (1) further includes a command recording unit 121, the data acquisition processing unit 111 identifies each of a plurality of application programs requesting acquisition, and the command recording unit 121 stores data items.
  • the periodic update unit 112 stores the number of application programs whose acquisition is requested each time, and whether or not to transmit the data of the data item requested to be acquired to the information processing apparatus at the update interval based on the number of application programs for each data item. It may be determined whether By doing so, the numerical control device 10 periodically transmits to the information processing device 20 the data of the data item requested by the predetermined number or more of the applications, whereby the application transmits the acquisition request to the numerical control device 10A. It is possible to reduce the data acquisition time until the requested data is received, thereby shortening the execution time of the application.
  • the command recording unit 121a stores the shortest lead interval among the lead intervals of each of the plurality of application programs requesting acquisition for each data item
  • the periodic update unit 112a may calculate the update interval based on the shortest read interval and priority for each data item. By doing so, the numerical controller 10A can achieve the same effect as (2).
  • the time information stored in the processing priority table section 122a includes a magnification for adjusting the update interval, and the regular update section 112a sets the shortest time for each data item.
  • the update interval may be calculated based on the read interval and the magnification.
  • the processing priority table section 122, 122a prioritizes each data item according to the state of the numerical controller 10, 10A.
  • the degree and time information may be stored.
  • the numerical controllers 10 and 10A can transmit data of the requested data item to the information processing device 20 at an optimum update time according to the state of the numerical controllers 10 and 10A.
  • the data communication system 1A of the present disclosure includes a numerical control device 10 that controls the machine tool 30, at least one information processing device 20b that can communicate with the numerical control device 10, and the numerical control device 10 and the information processing device 20b. and a shared storage device 40 for storing data of data items related to control of the machine tool 30 shared by and transmitted from the numerical controller 10, wherein the numerical controller 10 stores information on the data items
  • a data acquisition processing unit 111 that receives an acquisition request from one or more application programs executed by the processing device 20b, and a processing priority table unit that stores priority for each data item and time information regarding the update interval of data transmission.
  • 122 and a regular updating unit 112 that determines an update interval for each data item whose acquisition is requested according to the time information in the processing priority table unit 122.
  • the information processing device 20b analyzes the acquisition request of the application program to obtain the requested data item. is in the shared storage device 40, the transmission of the acquisition request to the numerical control device 10 is stopped, the data item data is acquired from the shared storage device 40, and the data item data requested for acquisition is stored in the shared storage device. 40, the command monitoring unit 212b that transmits an acquisition request to the numerical controller 10 and the data usage rate for each data item stored in the shared storage device 40 are monitored, and the data usage rate is set to a predetermined value. and a shared data usage rate monitoring unit 213 that causes the numerical controller 10 to stop transmission of data of the following data items to the shared storage device 40 . According to this data communication system 1A, the same effect as (1) can be obtained.
  • the shared storage device 40 as a storage device may be included in the information processing device 20 . By doing so, the data communication system 1 can achieve the same effect as (1).

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Numerical Control (AREA)

Abstract

La présente invention acquiert précisément des données avec une priorité élevée sans augmenter la charge de la CPU sur un dispositif de commande même lorsqu'une pluralité d'applications demandent l'acquisition de données. Est prévu un dispositif de commande pour commander une machine industrielle et transmettre des données d'un élément de données dont l'acquisition est demandée parmi des ensembles de données d'éléments de données se rapportant à la commande de la machine industrielle en réponse à une demande d'acquisition reçue depuis un ou plusieurs programmes d'application exécutés par au moins un dispositif de traitement d'informations, le dispositif de commande comprenant une unité de traitement d'acquisition de données qui reçoit une demande d'acquisition de l'élément de données depuis un programme d'application, une unité de table de priorité de traitement qui stocke, pour chaque élément de données, une priorité et des informations temporelles sur un intervalle de mise à jour de la transmission de données, et une unité de mise à jour régulière qui détermine l'intervalle de mise à jour pour chaque élément de données dont l'acquisition est demandée en fonction des informations temporelles, l'unité de traitement d'acquisition de données transmettant, au dispositif de traitement d'informations, les données de l'élément de données dont l'acquisition est demandée sur la base de la priorité de l'unité de table de priorité de traitement et de l'intervalle de mise à jour déterminé.
PCT/JP2021/032128 2021-09-01 2021-09-01 Dispositif de commande et système de communication de données WO2023032077A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021572052A JP7037001B1 (ja) 2021-09-01 2021-09-01 制御装置及びデータ通信システム
PCT/JP2021/032128 WO2023032077A1 (fr) 2021-09-01 2021-09-01 Dispositif de commande et système de communication de données

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/032128 WO2023032077A1 (fr) 2021-09-01 2021-09-01 Dispositif de commande et système de communication de données

Publications (1)

Publication Number Publication Date
WO2023032077A1 true WO2023032077A1 (fr) 2023-03-09

Family

ID=81213532

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/032128 WO2023032077A1 (fr) 2021-09-01 2021-09-01 Dispositif de commande et système de communication de données

Country Status (2)

Country Link
JP (1) JP7037001B1 (fr)
WO (1) WO2023032077A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052649A (ja) * 2006-08-28 2008-03-06 Hitachi Ltd 遠隔監視システム及びデータ転送設定サービス提供方法
JP2018073394A (ja) * 2016-09-22 2018-05-10 ゼネラル・エレクトリック・カンパニイ プラント設備の監視および制御のための並列処理
JP2020030725A (ja) * 2018-08-24 2020-02-27 株式会社日立製作所 設備分析支援装置、設備分析支援方法、及び設備分析システム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5734368B2 (ja) * 2013-08-07 2015-06-17 三菱電機株式会社 制御装置、制御システム、制御方法、及び、プログラム
JP2018028766A (ja) * 2016-08-16 2018-02-22 富士通株式会社 制御プログラム、制御装置、及び制御方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052649A (ja) * 2006-08-28 2008-03-06 Hitachi Ltd 遠隔監視システム及びデータ転送設定サービス提供方法
JP2018073394A (ja) * 2016-09-22 2018-05-10 ゼネラル・エレクトリック・カンパニイ プラント設備の監視および制御のための並列処理
JP2020030725A (ja) * 2018-08-24 2020-02-27 株式会社日立製作所 設備分析支援装置、設備分析支援方法、及び設備分析システム

Also Published As

Publication number Publication date
JPWO2023032077A1 (fr) 2023-03-09
JP7037001B1 (ja) 2022-03-15

Similar Documents

Publication Publication Date Title
WO2015136960A1 (fr) Dispositif de commande
CN105637438A (zh) 多轴控制系统设定及调整功能辅助装置
JP6406466B1 (ja) 制御装置、制御方法および制御プログラム
WO2018186358A1 (fr) Dispositif de commande, procédé de commande et programme de commande
US9921556B2 (en) Machine controller and power consumption control of machine tool peripherals
WO2023032077A1 (fr) Dispositif de commande et système de communication de données
US20200096955A1 (en) Motor control apparatus
CN108572630B (zh) 生产管理装置以及生产系统
JP6885296B2 (ja) スレーブ装置、マスター装置、および産業用ネットワークシステム
CN109388102B (zh) 控制系统和上级服务器
US20210187742A1 (en) Control device and control method
US20210181712A1 (en) Control device and control method
EP3521952B1 (fr) Unité, procédé et programme de commande de sécurité
JP2020198674A (ja) スレーブユニット、及びサーボ駆動システム
WO2020202568A1 (fr) Système, procédé et programme de commande à axes multiples
WO2022264424A1 (fr) Dispositif de commande et procédé de commande
JP2010198380A (ja) 処理装置、処理方法、及び、プログラム
WO2018061537A1 (fr) Unité de commande, procédé de rafraîchissement de données, programme de rafraîchissement de données
WO2023037414A1 (fr) Dispositif de commande
JPWO2020084671A1 (ja) 保守支援システム、数値制御装置および保守支援システムの制御方法
WO2022071056A1 (fr) Dispositif de relais de réseau
JP6838022B2 (ja) 製造装置の制御装置及び監視システム
JP7477402B2 (ja) 制御装置および方法
JP7455239B2 (ja) 数値制御システム、タスク割り当て変更装置及び数値制御方法
JP7283875B2 (ja) 数値制御装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021572052

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 21955967

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE