WO2023032077A1 - Control device and data communication system - Google Patents

Control device and data communication system 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
French (fr)
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 PCT/JP2021/032128 priority Critical patent/WO2023032077A1/en
Priority to JP2021572052A priority patent/JP7037001B1/en
Publication of WO2023032077A1 publication Critical patent/WO2023032077A1/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
    • 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).

Abstract

The present invention accurately acquires data with a high priority without increasing the CPU load on a control device even when a plurality of applications request acquisition of data. Provided is a control device for controlling an industrial machine and transmitting data of a data item requested to be acquired among sets of data of data items relating to control of the industrial machine in response to an acquisition request received from one or more application programs executed by at least one information processing device, the control device comprising a data acquisition processing unit that receives an acquisition request for the data item from an application program, a processing priority table unit that stores, for each data item, a priority and time information on an update interval of data transmission, and a regular update unit that determines the update interval for each data item requested to be acquired according to the time information, wherein the data acquisition processing unit transmits, to the information processing device, the data of the data item requested to be acquired on the basis of the priority of the processing priority table unit and the determined update interval.

Description

制御装置及びデータ通信システムController and data communication system
 本発明は、制御装置及びデータ通信システムに関する。 The present invention relates to control devices and data communication systems.
 昨今、1つの制御装置には、少なくとも1つのPC等の情報処理装置が接続され、当該制御装置に対して情報処理装置で実行される1つ以上のアプリケーションプログラム(以下、「アプリ」ともいう)がアクセスし、制御装置による工作機械やロボット等の産業機械の制御の際に得られたデータを取得する技術が知られている。例えば、特許文献1参照。 Recently, 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. is known to acquire data obtained when industrial machines such as machine tools and robots are controlled by a control device. See Patent Document 1, for example.
特開2017-134459号公報JP 2017-134459 A
 しかしながら、制御装置との通信はアプリ毎に行われており、アプリの数に比例して制御装置のCPU負荷は大きくなるという問題がある。
 さらに、制御装置の状態(例えば、加工実行中やEDITモード等)に応じて優先すべき情報が異なり、優先度の低い情報の取得要求が多い場合に、この取得にCPU負荷が増大すると、優先度の高い情報の取得が妨げられてしまう可能性がある。
However, 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.
 そこで、複数のアプリがデータを取得要求する場合でも制御装置のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することが望まれている。 Therefore, it is desired to acquire high-priority data with high accuracy without increasing the CPU load of the control device even when multiple applications request data acquisition.
 (1)本開示の制御装置の一態様は、産業機械を制御し、前記産業機械の制御に関するデータ項目のデータのうち少なくとも1つの情報処理装置が実行する1つ以上のアプリケーションプログラムからの取得要求に対して、取得要求されたデータ項目のデータを送信する制御装置であって、前記データ項目に対する前記アプリケーションプログラムからの取得要求を受け付けるデータ取得処理部と、前記データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とが格納される処理優先度テーブル部と、前記処理優先度テーブル部の前記時間情報に従って取得要求されたデータ項目毎の前記更新間隔を決定する定期更新部と、を備え、前記データ取得処理部は、前記処理優先度テーブル部の前記優先度と決定された前記更新間隔とに基づいて取得要求されたデータ項目のデータを前記情報処理装置に送信する。 (1) 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.
 (2)本開示のデータ通信システムの一態様は、産業機械を制御する制御装置と、前記制御装置と通信可能な少なくとも1つの情報処理装置と、前記制御装置と前記情報処理装置とにより共有され前記制御装置から送信された前記産業機械の制御に関するデータ項目のデータを格納する共有記憶装置と、を含むデータ通信システムであって、前記制御装置は、前記データ項目に対する前記情報処理装置が実行する1つ以上のアプリケーションプログラムからの取得要求を受け付けるデータ取得処理部と、前記データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とを記憶する処理優先度テーブル部と、前記処理優先度テーブル部の前記時間情報に従って取得要求されたデータ項目毎の前記更新間隔を決定する定期更新部と、を備え、前記データ取得処理部は、前記処理優先度テーブル部の前記優先度と決定された前記更新間隔とに基づいて取得要求されたデータ項目のデータを前記共有記憶装置に送信し、前記情報処理装置は、前記アプリケーションプログラムの前記取得要求を解析して、取得要求された前記データ項目のデータが前記共有記憶装置にある場合、前記取得要求の前記制御装置への送信を中止して前記共有記憶装置から前記データ項目のデータを取得し、取得要求された前記データ項目のデータが前記共有記憶装置にない場合、前記取得要求を前記制御装置に送信する指令監視部と、前記共有記憶装置に格納された前記データ項目毎のデータ使用率を監視し、前記データ使用率が予め設定された所定値以下のデータ項目のデータの前記共有記憶装置への送信を前記制御装置に対して停止させる共有データ使用率監視部と、を備える。 (2) 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.
 一態様によれば、複数のアプリがデータを取得要求する場合でも制御装置のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。 According to one aspect, even when a plurality of applications request data acquisition, high-priority data can be acquired with high accuracy without increasing the CPU load of the control device.
第1実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。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|stored in a command recording part. 指令記録部に記憶されるEDITモードのデータの一例を示す図である。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; 1つの情報処理装置が2つのアプリを実行し、数値制御装置との間で取得要求をやり取りする場合の一例を示す図である。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; 数値制御装置と4つの情報処理装置とを含む第1実施形態の変形例に係るデータ通信システムの一例を示す図である。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; 第2実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。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; 数値制御装置と4つの情報処理装置とを含む第2実施形態の変形例に係るデータ通信システムの一例を示す図である。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; 第3実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。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. 図7のデータ通信システム1におけるEDITモード(プログラム編集中)の場合の指令記録部に記録されるデータの一例を示す図である。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;
 以下、本開示の第1実施形態について、図面を用いて説明する。ここでは、産業機械として工作機械を、また制御装置として数値制御装置を例示する。なお、本発明は、工作機械に限定されず、例えば産業用ロボット、サービス用ロボット等にも適用可能である。
<第1実施形態>
 図1は、第1実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。図1に示すように、データ通信システム1は、数値制御装置10、情報処理装置20、及び工作機械30を有する。
A first embodiment of the present disclosure will be described below with reference to the drawings. Here, a machine tool is exemplified as an industrial machine, and a numerical controller is exemplified as a controller. The present invention is not limited to machine tools, and can be applied to industrial robots, service robots, and the like.
<First embodiment>
FIG. 1 is a functional block diagram showing a functional configuration example of the data communication system according to the first embodiment. As shown in FIG. 1, the data communication system 1 has a numerical control device 10, an information processing device 20, and a machine tool 30.
 数値制御装置10、情報処理装置20、及び工作機械30は、図示しない接続インタフェースを介して互いに直接接続されてもよい。また、数値制御装置10、情報処理装置20、及び工作機械30は、LAN(Local Area Network)やインターネット等の図示しないネットワークを介して相互に接続されていてもよい。この場合、数値制御装置10、情報処理装置20、及び工作機械30は、かかる接続によって相互に通信を行うための図示しない通信部を備えている。
 なお、数値制御装置10は、1つの情報処理装置20と接続されたが、後述するように、複数の情報処理装置20と接続されてもよい。
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. In this case, 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.
Although 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.
 工作機械30は、当業者にとって公知の工作機械であり、制御装置としての数値制御装置10の動作指令に基づいて動作する。 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.
<情報処理装置20>
 情報処理装置20は、例えば、PCやタブレット等である。
 図1に示すように、情報処理装置20は、制御部210、記憶部220、及び通信インタフェース(IF)部230を有する。さらに、制御部210は、アプリ実行部211、指令監視部212、及び共有データ使用率監視部213を有する。
<Information processing device 20>
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 .
<記憶部220>
 記憶部220は、RAM(Random Access Memory)やHDD(Hard Disk Drive)等であり、システムプログラム及び複数のアプリケーションプログラムが格納されてもよい。記憶部220は、共有データ記憶部221を含む。
 共有データ記憶部221は、後述するように、数値制御装置10が取得する工作機械30の制御に関するデータ項目のデータのうち、予め設定された所定数以上のアプリが取得要求することにより数値制御装置10から定期的に送信されるデータ項目のデータを格納する。なお、工作機械30の制御に関するデータ項目のデータについては後述する。
 そうすることで、情報処理装置20は、数値制御装置10との通信回数を削減するとともに、アプリは取得要求を数値制御装置10に送信して要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
<Storage unit 220>
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 .
As will be described later, 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.
By doing so, 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.
<制御部210>
 制御部210は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM、CMOS(Complementary Metal-Oxide-Semiconductor)メモリ等を有し、これらはバスを介して相互に通信可能に構成される、当業者にとって公知のものである。
 CPUは情報処理装置20を全体的に制御するプロセッサである。CPUは、ROMに格納されたシステムプログラム及びアプリケーションプログラムを、バスを介して読み出し、システムプログラム及びアプリケーションプログラムに従って情報処理装置20全体を制御する。これにより、図1に示すように、制御部210が、アプリ実行部211、指令監視部212、及び共有データ使用率監視部213の機能を実現するように構成される。RAMには一時的な計算データや表示データ等の各種データが格納される。また、CMOSメモリは図示しないバッテリでバックアップされ、情報処理装置20の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。
<Control unit 210>
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. Thereby, as shown in 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. FIG. Various data such as temporary calculation data and display data are stored in the RAM. Further, the 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.
 アプリ実行部211は、例えば、情報処理装置20に含まれるキーボードやタッチパネル等の入力装置(図示しない)を介してユーザからアプリ実行の指令を受け付けることで、1つ以上のアプリを実行する。アプリ実行部211は、例えば、数値制御装置10の状態が「加工実行中」の場合、数値制御装置10を操作する「CNC操作アプリ」、工作機械30の主軸等の座標値を取得する「座標値アプリ」、工作機械30の動作状況を管理する「データロギングアプリ」等の1つ以上のアプリを実行する。また、アプリ実行部211は、数値制御装置10の状態が「EDITモード(プログラム編集中)」の場合、工作機械30の主軸等の座標値を取得する「座標値アプリ」や工作機械30に設けられているデバイスの一覧を表示する「デバイス一覧アプリ」等の1つ以上のアプリを実行する。
 アプリ実行部211により実行されたアプリそれぞれは、後述する数値制御装置10に対して工作機械30の制御に関するデータ項目のデータの取得要求を送信し、後述する指令監視部212を介して取得要求したデータ項目のデータを取得する。
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 . For example, when the state of the numerical control device 10 is "executing machining", 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. In addition, when the state of the numerical control device 10 is the “EDIT mode (program editing)”, 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.
 指令監視部212は、アプリの取得要求を解析して、取得要求されたデータ項目のデータが共有データ記憶部221にある場合、取得要求の数値制御装置10への送信を中止して共有データ記憶部221からデータ項目のデータを取得し、取得要求したアプリに出力する。
 そうすることで、情報処理装置20は、数値制御装置10との通信回数を削減するとともに、アプリは取得要求を数値制御装置10に送信して要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
 一方、指令監視部212は、取得要求されたデータ項目のデータが共有データ記憶部221にない場合、後述する通信IF部230を介して取得要求を数値制御装置10に送信する。
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.
By doing so, 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.
On the other hand, when the shared data storage unit 221 does not contain the data of the data item for which acquisition is requested, 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.
 共有データ使用率監視部213は、例えば、共有データ記憶部221に格納されたデータ項目毎のデータ使用率を監視し、データ使用率が予め設定された所定値以下のデータ項目のデータの共有データ記憶部221への送信を数値制御装置10に対して停止させる。
 具体的には、共有データ使用率監視部213は、例えば、共有データ記憶部221に格納されている数値制御装置10から受信したデータ項目のデータそれぞれにおいて、アプリ実行部211により実行されている各アプリから取得要求される頻度(データ使用率)を監視する。共有データ使用率監視部213は、アプリから取得要求される頻度(データ使用率)が予め設定された所定値以下となったデータがある場合、数値制御装置10による更新間隔での当該データの定期的な更新を停止させる停止指令を数値制御装置10に送信する。
 そうすることで、データ使用率が低い、すなわち優先度の低いデータの取得回数(更新回数)が削減され、後述する数値制御装置10のCPUに余裕が生まれる。これにより、情報処理装置20は、数値制御装置のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
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). 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.
<通信IF部230>
 通信IF部230は、外部機器(例えば、数値制御装置10等)とデータの送受信を行う通信制御デバイスである。
 具体的には、通信IF部230は、例えば、数値制御装置10から定期的に送信されたデータを受信した場合、受信したデータを共有データ記憶部221にデータ項目毎に記憶する。
 また、通信IF部230は、指令監視部212がアプリから取得要求されたデータ項目のデータが共有データ記憶部221にない場合、当該取得要求を数値制御装置10に送信する。そして、通信IF部230は、当該取得要求されたデータを受信し、受信したデータを取得要求したアプリ(アプリ実行部211)に出力する。
<Communication IF unit 230>
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.
<数値制御装置10>
 数値制御装置10は、当業者にとって公知の数値制御装置であり、情報処理装置20やCAD/CAM装置等の外部装置(図示しない)から取得した加工プログラムに基づいて動作指令を生成し、生成した動作指令を工作機械30に送信する。これにより、数値制御装置10は、工作機械30の動作を制御する。なお、工作機械30がロボット等の場合、数値制御装置10は、ロボット制御装置等でもよい。
 また、数値制御装置10は、情報処理装置20が実行する1つ以上のアプリからのデータの取得要求を受信し、受信した取得要求に対するデータ項目のデータを情報処理装置20に送信する。
<Numerical control device 10>
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 .
 図1に示すように、数値制御装置10は、制御部110、及び記憶部120を有する。また、制御部110は、データ取得処理部111、及び定期更新部112を有する。 As shown in FIG. 1, 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 .
<記憶部120>
 記憶部120は、RAMやHDD等である。記憶部120は、指令記録部121、及び処理優先度テーブル部122を含む。
<Storage unit 120>
The storage unit 120 is a RAM, HDD, or the like. Storage unit 120 includes command recording unit 121 and processing priority table unit 122 .
 指令記録部121は、例えば、情報処理装置20が実行する1つ以上のアプリそれぞれからのデータの取得要求が、取得要求されるデータ項目毎のアプリの数として記憶される。
 図2Aは、指令記録部121に記憶される加工実行中のデータの一例を示す図である。図2Bは、指令記録部121に記憶されるEDITモードのデータの一例を示す図である。
 図2Aに示すように、加工実行中のデータは、「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目毎に、取得要求するアプリの数を含む。
 一方、図2Bに示すように、加工実行中のデータは、「座標値」、「主軸負荷」、「プログラムデータ」、「デバイス一覧」等のデータ項目毎に、取得要求するアプリの数を含む。
For example, 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. As shown in FIG. FIG. 2B is a diagram showing an example of EDIT mode data stored in the command recording unit 121. As shown in FIG.
As shown in FIG. 2A, 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".
On the other hand, as shown in FIG. 2B, 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". .
 処理優先度テーブル部122は、例えば、数値制御装置10の状態(例えば、加工実行中やEDITモード(プログラム編集中)等)毎に各データ項目の優先度とデータの送信の更新間隔に関する時間情報とが格納される。
 図3は、処理優先度テーブル部122に記憶される処理優先度テーブルの一例を示す図である。
 図3に示すように、処理優先度テーブルは、「数値制御装置10の状態(以下、「NCの状態」ともいう)」、「優先するデータ取得処理」、「優先順位」、及び「更新間隔」の格納領域を有する。
 処理優先度テーブル内の「NCの状態」の格納領域には、「加工実行中」や「EDITモード」等が格納される。
 処理優先度テーブル内の「優先するデータ取得処理」の格納領域には、例えば、「NCの状態」が「加工実行中」の場合に「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目が格納され、「NCの状態」が「EDITモード」の場合に「デバイス一覧」、「プログラムデータ」、「座標値」、「主軸負荷」等のデータ項目が格納される。
 処理優先度テーブル内の「優先順位」の格納領域には、例えば、「NCの状態」が「加工実行中」の場合に「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目順にアプリからの取得要求に対して優先的にデータが送信されるように優先順位が格納される。また、処理優先度テーブル内の「優先順位」の格納領域には、例えば、「NCの状態」が「EDITモード」の場合に「デバイス一覧」、「プログラムデータ」、「座標値」、「主軸負荷」等のデータ項目順にアプリからの取得要求に対して優先的にデータが送信されるように優先順位が格納される。
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. As shown in FIG.
As shown in FIG. 3, 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.
In the storage area of "priority data acquisition process" in the processing priority table, for example, when "NC state" is "executing machining", "coordinate value", "spindle load", "program execution line" , "macro variables" and other data items are stored, and when "NC state" is "EDIT mode", data items such as "device list", "program data", "coordinate values", and "spindle load" are stored. Stored.
In 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".
 処理優先度テーブル内の「更新間隔」の格納領域には、例えば、指令記録部121に記憶されたアプリの数が予め設定された所定数(例えば、「3」等)以上のデータ項目のデータを、数値制御装置10がアプリから取得要求を受ける度に情報処理装置20に送信することに替えて、定期的に情報処理装置20に送信するための時間間隔(時間情報)が格納される。具体的には、処理優先度テーブル内の「更新間隔」の格納領域には、例えば、「NCの状態」が「加工実行中」の場合に「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目毎に、「1msec」、「2msec」、「3msec」、「4msec」等の時間間隔が格納される。また、処理優先度テーブル内の「更新間隔」の格納領域には、例えば、「NCの状態」が「EDITモード」の場合に「デバイス一覧」、「プログラムデータ」、「座標値」、「主軸負荷」等のデータ項目毎に、「2msec」、「4msec」、「6msec」、「8msec」等の時間間隔が格納される。
 そうすることで、数値制御装置10は、データ取得処理回数と、情報処理装置20との間の通信回数が削減され、CPU負荷を軽減することができる。
In the "update interval" storage area in the processing priority table, for example, the number of applications stored in the command recording unit 121 is a predetermined number (for example, "3") or more data item data. to the information processing device 20 each time the numerical control device 10 receives an acquisition request from the application, a time interval (time information) for periodically transmitting to the information processing device 20 is stored. Specifically, in the storage area of "update interval" in the processing priority table, for example, when the "NC state" is "executing machining", "coordinate value", "spindle load", "program execution Time intervals such as "1 msec", "2 msec", "3 msec", and "4 msec" are stored for each data item such as "line" and "macro variable". In addition, in the "update interval" storage area in the processing priority table, for example, when the "NC state" is "EDIT mode", "device list", "program data", "coordinate values", "spindle Time intervals such as “2 msec”, “4 msec”, “6 msec”, and “8 msec” are stored for each data item such as “load”.
By doing so, 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.
<制御部110>
 制御部110は、CPU、ROM、RAM、CMOSメモリ等を有し、これらはバスを介して相互に通信可能に構成される、当業者にとって公知のものである。
 CPUは数値制御装置10を全体的に制御するプロセッサである。CPUは、ROMに格納されたシステムプログラム及びアプリケーションプログラムを、バスを介して読み出し、システムプログラム及びアプリケーションプログラムに従って数値制御装置10全体を制御する。これにより、図1に示すように、制御部110が、データ取得処理部111、及び定期更新部112の機能を実現するように構成される。RAMには一時的な計算データや表示データ等の各種データが格納される。また、CMOSメモリは図示しないバッテリでバックアップされ、数値制御装置10の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。
<Control unit 110>
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. Thereby, as shown in FIG. 1, 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.
 データ取得処理部111は、工作機械30の制御に関するデータ項目に対する情報処理装置20が実行する複数のアプリそれぞれからの取得要求を受け付け、受け付けた取得要求のデータ項目のデータを情報処理装置20に送信する。
 また、データ取得処理部111は、指令記録部121に記憶されたアプリの数が予め設定された所定数(例えば、「3」等)以上となったデータ項目がある場合、後述する定期更新部112からの指示に従って、処理優先度テーブル部122に格納された処理優先度テーブルの優先度と更新間隔とに基づいて当該データ項目のデータを定期的に情報処理装置20に対して送信する。
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 .
 定期更新部112は、処理優先度テーブル部122の時間情報としての更新間隔に従って取得要求されたデータ項目毎の更新間隔を決定する。
 具体的には、定期更新部112は、例えば、指令記録部121に記憶されたアプリ数が予め設定された所定数(例えば、「3」等)以上のデータ項目がある場合、データ取得処理部111に対してアプリから取得要求を受け付ける度に当該データ項目のデータを送信させることを停止させる。そして、定期更新部112は、処理優先度テーブル部122に格納された処理優先度テーブルの優先度と更新間隔とに基づいて、データ取得処理部111に対して当該データ項目のデータを定期的に情報処理装置20に送信させる。
 なお、定期更新部112は、定期的に送信しているデータ項目のデータの使用率が低下したことにより、データ取得処理部111が情報処理装置20から停止指示を受け付けた場合、データ取得処理部111に対して停止指示されたデータ項目のデータの定期的な送信を停止させるようにしてもよい。
 そうすることで、数値制御装置10は、優先度の低い情報(データ)の取得回線が削減されるため、CPUに余裕が生まれ、優先度の高い情報(データ)が情報処理装置20に届きやすくなる。
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.
Note that when the data acquisition processing unit 111 receives a stop instruction from the information processing device 20 due to a drop in the usage rate of the data of the data items that are periodically transmitted, 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.
By doing so, 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.
<データ通信システム1のデータ通信処理>
 次に、図4及び図5を参照しながら、データ通信システム1のデータ通信処理の流れを説明する。
 図4及び図5は、データ通信システム1のデータ通信処理について説明するフローチャートである。ここで示すフローは、情報処理装置20によりアプリが実行されている間、繰り返し実行される。
 なお、図4及び図5では、数値制御装置10の状態が加工実行中で、図6に示すように、情報処理装置20が2つのアプリを実行する場合におけるデータ通信システム1のデータ通信処理について説明する。しかしながら、数値制御装置10の状態がEDITモード等の場合に情報処理装置20が1つ以上のアプリを実行する場合のデータ通信システム1のデータ通信処理についても、図4及び図5と同様であり、詳細な説明は省略する。
<Data communication processing of data communication system 1>
Next, the flow of data communication processing of the data communication system 1 will be described with reference to FIGS. 4 and 5. 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. However, 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.
 ステップS21において、情報処理装置20の指令監視部212は、アプリ実行部211により実行されたアプリそれぞれの取得要求を受信する。 In 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 .
 ステップS22において、指令監視部212は、ステップS21で受信したアプリそれぞれの取得要求を解析して、アプリそれぞれが取得要求するデータ項目のデータが共有データ記憶部221にあるか否かを判定する。取得要求されたデータ項目のデータが共有データ記憶部221にある場合、処理はステップS23に進む。一方、取得要求されたデータ項目のデータが共有データ記憶部221にない場合、処理は図5のステップS27に進む。 In 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.
 ステップS23において、指令監視部212は、数値制御装置10へのアプリの取得要求の送信を中止し、共有データ記憶部221のデータ項目のデータを取得し当該アプリへ出力する。 In 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.
 ステップS11において、数値制御装置10のデータ取得処理部111は、情報処理装置20で実行されるアプリのうちステップS22で取得要求されたデータ項目のデータが共有データ記憶部221にないと判定され、後述するステップS27で送信されたアプリの取得要求を受け付ける。 In 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.
 ステップS12において、データ取得処理部111は、ステップS11で受け付けた取得要求に基づいて、データ項目毎に取得要求するアプリの数を指令記録部121に記憶する。 In 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.
 ステップS13において、定期更新部112は、指令記録部121に記憶されたアプリの数が予め設定された所定数(例えば、「3」等)以上のデータ項目があるか否かを判定する。アプリ数が所定数以上のデータ項目がある場合、処理はステップS14に進む。一方、アプリ数が所定数以上のデータ項目がない場合、処理はステップS15に進む。 In 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.
 ステップS14において、定期更新部112は、アプリの数が所定数以上のデータ項目について取得要求を情報処理装置20から受け付ける度に当該データ項目のデータを送信することをデータ取得処理部111に対して停止させる。そして、定期更新部112は、処理優先度テーブル部122に格納された処理優先度テーブルの優先度と更新間隔(時間情報)とに基づいて、データ取得処理部111に対して当該データ項目のデータを定期的に情報処理装置20に送信させる。 In 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. Based on the priority and the update interval (time information) of the processing priority table stored in the processing priority table unit 122, 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 .
 ステップS15において、データ取得処理部111は、ステップS11で受け付けた取得要求されたデータ項目のデータを情報処理装置20に送信する。 In 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.
 ステップS24において、情報処理装置20の通信IF部230は、数値制御装置10により定期的に送信されるデータ項目のデータを受信し、受信したデータ項目のデータを共有データ記憶部221に格納する。 In 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 .
 図5のステップS25において、共有データ使用率監視部213は、共有データ記憶部221に格納されたデータ項目毎のデータ使用率を監視し、データ使用率が予め設定された所定値以下のデータ項目のデータがあるか否かを判定する。データ使用率が所定値以下のデータ項目のデータがある場合、処理はステップS26に進む。一方、データ使用率が所定値以下のデータ項目のデータがない場合、処理はステップS21に戻る。 In 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.
 ステップS26において、共有データ使用率監視部213は、データ使用率が所定値以下のデータ項目のデータに対する定期的な送信の停止指示を数値制御装置10に送信し、処理はステップS21に戻る。 In 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.
 ステップS16において、数値制御装置10の定期更新部112は、データ取得処理部111が情報処理装置20から停止指示を受け付けたか否かを判定する。停止指示を受け付けた場合、処理はステップS17に進む。一方、停止指示を受け付けていない場合、処理はステップS11に戻る。 In 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.
 ステップS17において、定期更新部112は、データ取得処理部111に対して停止指示されたデータ項目のデータの定期的な送信を停止させる。そして、処理はステップS11に戻る。 In 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.
 ステップS27において、情報処理装置20の指令監視部212は、取得要求されたデータ項目のデータが共有データ記憶部221にないアプリの取得要求を数値制御装置10に送信する。 In 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 .
 ステップS28において、通信IF部230は、ステップS15で送信された取得要求に対するデータ項目のデータを数値制御装置10から受信し、受信したデータを取得要求したアプリに出力する。そして、処理はステップS21に戻る。 In step S28, the communication IF unit 230 receives the data item data for the acquisition request transmitted in step S15 from the numerical controller 10, and outputs the received data to the application that requested the acquisition. Then, the process returns to step S21.
 以上により、第1実施形態に係る数値制御装置10は、予め設定された所定数以上のアプリから取得要求されるデータ項目がある場合、当該データ項目のデータを処理優先度テーブル部122に格納された優先度と更新間隔(制御情報)とに基づいて定期的に情報処理装置20に送信する。これにより、数値制御装置10は、数値制御装置10のデータ取得処理回数と、情報処理装置20との間の通信回数を削減でき、複数のアプリがデータを取得要求する場合でも数値制御装置10のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
 また、数値制御装置10は、所定数以上のアプリが取得要求するデータ項目のデータを定期的に情報処理装置20に送信することで、当該アプリが取得要求を数値制御装置10に送信して取得要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
 また、数値制御装置10は、データ使用率が低い、すなわち優先度の低いデータの停止指示を情報処理装置20から受信し、優先度の低いデータを定期的に情報処理装置20に送信することを停止することで、優先度の低いデータの取得回数(更新回数)が削減され、数値制御装置10のCPUに余裕が生まれ、優先度の高いデータを情報処理装置20に届きやすくなる。
 以上、第1実施形態について説明した。
As described above, the numerical control device 10 according to the first embodiment 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.
In addition, 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.
<第1実施形態の変形例>
 第1実施形態では、数値制御装置10は、1つの情報処理装置20が接続されたが、2以上の複数の情報処理装置20が接続されてもよい。
 図7は、数値制御装置10と4つの情報処理装置20-1~20-4とを含む第1実施形態の変形例に係るデータ通信システム1の一例を示す図である。なお、図7では、EDITモード(プログラム編集中)の場合を説明するが、加工実行中の場合についても同様である。
 数値制御装置10は、第1実施形態における数値制御装置10と同等の構成を有する。
 情報処理装置20-1~20-4は、第1実施形態における情報処理装置20と同等の構成を有する。
 図7に示すように、情報処理装置20-1は、例えば、EDITモード(プログラム編集中)において、アプリ実行部211により座標値アプリ、デバイス一覧アプリ、及び主軸負荷アプリの3つのアプリが実行されている。また、情報処理装置20-2、20-3は、EDITモード(プログラム編集中)において、アプリ実行部211により座標値アプリ、及びデバイス一覧アプリの2つのアプリが実行されている。また、情報処理装置20-4は、EDITモード(プログラム編集中)において、アプリ実行部211によりデバイス一覧アプリ、及び5つのプログラムデータアプリが実行されている。
<Modified Example of First Embodiment>
Although one information processing device 20 is connected to the numerical control device 10 in the first embodiment, two or more information processing devices 20 may be connected to the numerical control device 10 .
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. Although the case of the EDIT mode (during program editing) will be described with reference to FIG. 7, the same applies to the case of processing being executed.
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. 7, 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. In the EDIT mode (during program editing) of the information processing apparatuses 20-2 and 20-3, the application execution unit 211 executes two applications, the coordinate value application and the device list application. In the EDIT mode (during program editing), the application execution unit 211 of the information processing apparatus 20-4 executes the device list application and the five program data applications.
 この場合、数値制御装置10の指令記録部121は、図2Bの場合と同様に、EDITモード(プログラム編集中)のデータとして、「座標値」、「主軸負荷」、「プログラムデータ」、「デバイス一覧」等のデータ項目毎の取得要求するアプリの数として「3」、「1」、「5」、「4」等が情報処理装置20-1~20-4を区別せずにまとめて記憶されてもよい。
 数値制御装置10の定期更新部112は、上述の第1実施形態の場合と同様に、指令記録部121に記憶されたアプリ数が予め設定された所定数(例えば、「3」等)以上のデータ項目、すなわち「座標値」、「プログラムデータ」、「デバイス一覧」等のデータ項目について、データ取得処理部111に対してアプリから取得要求を受け付ける度に当該データ項目のデータを送信させることを停止させてもよい。そして、定期更新部112は、処理優先度テーブル部122に格納された処理優先度テーブルの優先度と更新間隔とに基づいて、アプリの数が所定数以上のデータ項目のデータを取得要求するアプリが実行されているか否かにかかわらず、全ての情報処理装置20-1~20-4に定期的に送信するように、データ取得処理部111に対して指示してもよい。
In this case, as in the case of FIG. 2B, 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". may be
As in the case of the above-described first embodiment, 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. 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.
<第2実施形態>
 次に、第2実施形態について説明する。第2実施形態では、数値制御装置10Aは、1つ以上のアプリそれぞれの取得要求をデータ項目毎のアプリ数として記憶するとともに、データ項目毎のアプリ数に含まれるアプリのリード間隔うち最短のリード間隔、及び更新間隔を調整する倍率を記憶し、データ項目毎の最短のリード間隔と倍率とに基づいて更新間隔を算出する点で、第1実施形態と相違する。
 これにより、第2実施形態の数値制御装置10Aは、複数のアプリがデータを取得要求する場合でも制御装置のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
 以下に、第2実施形態について説明する。
<Second embodiment>
Next, a second embodiment will be described. In the second embodiment, 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.
As a result, 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.
 図8は、第2実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。なお、図1のデータ通信システム1の要素と同様の機能を有する要素については、同じ符号を付し、詳細な説明は省略する。
 図8に示すように、データ通信システム1は、数値制御装置10A、情報処理装置20、及び工作機械30を有する。
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.
<数値制御装置10A>
 第2実施形態に係る数値制御装置10Aは、第1実施形態における数値制御装置10と同等の構成を有する。
 すなわち、図8に示すように、数値制御装置10Aは、制御部110a、及び記憶部120aを有する。また、制御部110aは、データ取得処理部111、及び定期更新部112aを有する。また、記憶部120aは、指令記録部121a、及び処理優先度テーブル部122aを有する。
 データ取得処理部111は、第1実施形態におけるデータ取得処理部111と同等の機能を有する。
<Numerical control device 10A>
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.
 指令記録部121aは、例えば、情報処理装置20が実行する1以上のアプリからのデータの取得要求がデータ項目毎のアプリの数として記憶されるとともに、データ項目毎のアプリの数に含まれるアプリのリード間隔うち最短のリード間隔が記憶される。
 図9は、指令記録部121aに記録される加工実行中のデータの一例を示す図である。
 図9に示すように、加工実行中のデータでは、「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目毎に、取得要求するアプリの数及び最短のリード間隔が格納される。
 ここで、リード間隔とは、アプリがデータの取得要求するリード指令の時間間隔であり、複数のアプリのうち一番短いリード間隔に合わせることで、情報処理装置20との間の通信量を減らすことができる。
For example, 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.
Here, the read interval is the time interval between the read commands for which the application requests acquisition of data. be able to.
 処理優先度テーブル部122aは、例えば、数値制御装置10Aの状態(例えば、加工実行中等)毎に各データ項目の優先度とデータの送信の更新間隔に関する時間情報として倍率とが格納される。
 図10は、処理優先度テーブル部122aに記憶される処理優先度テーブルの一例を示す図である。なお、図10では、処理優先度テーブル部122aは、加工実行中の場合の処理優先度テーブルのみを示すが、EDITモード(プログラム編集中)等についても同様である。
 図10に示すように、処理優先度テーブルは、「NCの状態」、「優先するデータ取得処理」、「優先順位」、及び「更新間隔調整」の格納領域を有する。なお、「NCの状態」、「優先するデータ取得処理」、及び「優先順位」は、図4の第1実施形態における「NCの状態」、「優先するデータ取得処理」、及び「優先順位」と同じであり、説明は省略する。
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. In FIG. 10, 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.
As shown in FIG. 10, the process priority table has storage areas for "NC state", "preferred data acquisition process", "priority order", and "update interval adjustment". Note that the "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.
 処理優先度テーブル内の「更新間隔調整」の格納領域には、例えば、指令記録部121aに記憶されたアプリの数が予め設定された所定数(例えば、「3」等)以上のデータ項目のデータを、数値制御装置10Aがアプリから取得要求を受け付ける度に情報処理装置20に送信することに替えて、図9の指令記録部121aに記憶された「最短のリード間隔」の時間に基づいて調整された時間間隔で数値制御装置10Aが定期的に情報処理装置20に送信するための倍率(制御情報)が格納される。具体的には、処理優先度テーブル内の「更新間隔調整」の格納領域には、例えば、「NCの状態」が「加工実行中」の場合に「座標値」、「主軸負荷」、「プログラム実行行」、「マクロ変数」等のデータ項目毎に、「×1」、「×2」、「×3」、「×4」等の倍率が格納される。 In the storage area of "update interval adjustment" in the processing priority table, for example, data items whose number of applications stored in the command recording unit 121a is equal to or greater than a predetermined number (for example, "3") are stored. Instead of transmitting the data to the information processing device 20 each time the numerical control device 10A receives an acquisition request from the application, based on the time of the "shortest lead interval" stored in the command recording unit 121a of FIG. A magnification (control information) for the numerical control device 10A to periodically transmit to the information processing device 20 at adjusted time intervals is stored. Specifically, in the storage area of "update interval adjustment" in the processing priority table, for example, when the "NC state" is "executing machining", "coordinate value", "spindle load", "program Magnifications such as "x1", "x2", "x3", and "x4" are stored for each data item such as "execution line" and "macro variable".
 定期更新部112aは、指令記録部121aのデータ項目毎の最短のリード間隔と処理優先度テーブル部122の倍率とに基づいて取得要求されたデータ項目毎の更新間隔を算出し決定する。
 具体的には、定期更新部112aは、例えば、第1実施形態の定期更新部112と同様に、指令記録部121に記憶されたアプリの数が予め設定された所定数(例えば、「3」等)以上のデータ項目がある場合、データ取得処理部111に対してアプリから取得要求を受け付ける度に当該データ項目のデータを送信させることを停止させる。そして、定期更新部112aは、アプリの数が所定数以上のデータ項目の指令記録部121aに記憶された最短のリード間隔と、処理優先度テーブル部122aに記憶された処理優先度テーブルの更新間隔調整(制御情報)の倍率と、に基づいて当該データ項目のデータを定期的に情報処理装置20に送信させる更新間隔を算出する。定期更新部112aは、データ取得処理部111に対して算出した更新時間で当該データ項目のデータを定期的に情報処理装置20に送信させる。
 なお、定期更新部112aは、第1実施形態の定期更新部112と同様に、定期的に送信しているデータ項目のデータの使用率が低下したことにより、データ取得処理部111が情報処理装置20から停止指示を受け付けた場合、データ取得処理部111に対して停止指示されたデータ項目のデータの定期的な送信を停止させるようにしてもよい。
 そうすることで、数値制御装置10Aは、優先度の低い情報(データ)の取得回線が削減されるため、CPUに余裕が生まれ、優先度の高い情報(データ)が情報処理装置20に届きやすくなる。
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. Then, 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.
As with the periodic update unit 112 of the first embodiment, 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. When a stop instruction is received from 20, 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.
<データ通信システム1のデータ通信処理>
 次に、図11及び図12を参照しながら、データ通信システム1のデータ通信処理の流れを説明する。
 図11及び図12は、データ通信システム1のデータ通信処理について説明するフローチャートである。ここで示すフローは、情報処理装置20によりアプリが実行されている間、繰り返し実行される。
 なお、ステップS31からステップS33、及びステップS36からステップS38の処理は、図4及び図5の第1実施形態のステップS11からステップS13、及びステップS14からステップS17と同様であり、説明は省略する。また、図11及び図12における情報処理装置20の動作は、図4及び図5の第1実施形態と同様であり、説明は省略する。
 また、図11及び図12では、図4及び図5の場合と同様に、数値制御装置10Aの状態が加工中で、図6に示すように、情報処理装置20が複数のアプリを実行する場合におけるデータ通信システム1のデータ通信処理について説明する。しかしながら、数値制御装置10Aの状態がEDITモード(プログラム編集中)等の場合に情報処理装置20が1つ以上のアプリを実行する場合のデータ通信システム1のデータ通信処理についても、図11及び図12と同様であり、詳細な説明は省略する。
<Data communication processing of data communication system 1>
Next, the flow of data communication processing of the data communication system 1 will be described with reference to FIGS. 11 and 12. 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. . Also, 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. 4 and 5, when the state of the numerical control device 10A is processing and the information processing device 20 executes a plurality of applications as shown in FIG. , data communication processing of the data communication system 1 will be described. However, 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 10A is in the EDIT mode (program editing) or the like is also shown in FIGS. 12, detailed description is omitted.
 ステップS34において、定期更新部112aは、アプリの数が所定数以上のデータ項目の指令記録部121aの最短のリード間隔と、処理優先度テーブル部122の処理優先度テーブルの更新間隔調整(制御情報)の倍率と、に基づいて当該データ項目のデータを定期的に情報処理装置20に送信させる更新間隔を算出する。 In 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.
 ステップS35において、定期更新部112aは、アプリ数が所定数以上のデータ項目について取得要求を情報処理装置20から受け付ける度に当該データ項目のデータを送信することをデータ取得処理部111に対して停止させる。そして、定期更新部112aは、ステップS34で算出した更新間隔で、データ取得処理部111に対して当該データ項目のデータを定期的に情報処理装置20に送信させる。 In 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.
 以上により、第2実施形態に係る数値制御装置10Aは、予め設定された所定数以上のアプリから取得要求されるデータ項目がある場合、当該データ項目のデータを指令記録部121aに記憶された最短のリード間隔と処理優先度テーブル部122aに記憶された倍率(制御情報)とに基づいて更新間隔を算出し、算出した更新間隔で定期的に情報処理装置20に送信する。これにより、数値制御装置10Aは、数値制御装置10Aのデータ取得処理回数と、情報処理装置20との間の通信回数を削減でき、複数のアプリがデータを取得要求する場合でも数値制御装置10AのCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
 また、数値制御装置10Aは、所定数以上のアプリが取得要求するデータ項目のデータを定期的に情報処理装置20に送信することで、当該アプリが取得要求を数値制御装置10Aに送信して取得要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
 また、数値制御装置10Aは、データ使用率が低い、すなわち優先度の低いデータの停止指示を情報処理装置20から受信し、優先度の低いデータを定期的に情報処理装置20に送信することを停止することで、優先度の低いデータの取得回数(更新回数)が削減され、数値制御装置10AのCPUに余裕が生まれ、優先度の高いデータを情報処理装置20に届きやすくなる。
 以上、第2実施形態について説明した。
As described above, the numerical control device 10A according to the second embodiment 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. As a result, 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.
Further, 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. By stopping, 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.
<第2実施形態の変形例>
 第2実施形態では、数値制御装置10Aは、1つの情報処理装置20が接続されたが、2以上の複数の情報処理装置20が接続されてもよい。
 図13は、数値制御装置10Aと4つの情報処理装置20-1~20-4とを含む第2実施形態の変形例に係るデータ通信システム1の一例を示す図である。なお、図13では、EDITモード(プログラム編集中)の場合を説明するが、加工実行中の場合についても同様である。
 数値制御装置10Aは、第2実施形態における数値制御装置10Aと同等の構成を有する。
 情報処理装置20-1~20-4は、第2実施形態における情報処理装置20と同等の構成を有する。
 図13に示すように、図7の場合と同様に、情報処理装置20-1は、例えば、EDITモード(プログラム編集中)において、アプリ実行部211により座標値アプリ、デバイス一覧アプリ、及び主軸負荷アプリの3つのアプリが実行されている。また、情報処理装置20-2、20-3は、EDITモード(プログラム編集中)において、アプリ実行部211により座標値アプリ、及びデバイス一覧アプリの2つのアプリが実行されている。また、情報処理装置20-4は、EDITモード(プログラム編集中)において、アプリ実行部211によりデバイス一覧アプリ、及び5つのプログラムデータアプリが実行されている。
<Modification of Second Embodiment>
Although one information processing device 20 is connected to the numerical control device 10A in the second embodiment, two or more information processing devices 20 may be connected to the numerical control device 10A.
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. Although the case of the EDIT mode (during program editing) will be described with reference to FIG. 13, the same applies to the case of processing being executed.
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. 7, 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. In the EDIT mode (during program editing) of the information processing apparatuses 20-2 and 20-3, the application execution unit 211 executes two applications, the coordinate value application and the device list application. In the EDIT mode (during program editing), the application execution unit 211 of the information processing apparatus 20-4 executes the device list application and the five program data applications.
 この場合、数値制御装置10Aの指令記録部121は、図2Bの場合と同様に、EDITモード(プログラム編集中)のデータとして、「座標値」、「主軸負荷」、「プログラムデータ」、「デバイス一覧」等のデータ項目毎の取得要求するアプリの数として「3」、「1」、「5」、「4」等が情報処理装置20-1~20-4を区別せずにまとめて記憶されてもよい。
 数値制御装置10Aの定期更新部112は、上述の第2実施形態の場合と同様に、指令記録部121に記憶されたアプリ数が予め設定された所定数(例えば、「3」等)以上のデータ項目、すなわち「座標値」、「プログラムデータ」、「デバイス一覧」等のデータ項目について、データ取得処理部111に対してアプリから取得要求を受け付ける度に当該データ項目のデータを送信させることを停止させてもよい。そして、定期更新部112は、処理優先度テーブル部122に格納された処理優先度テーブルの優先度と更新間隔とに基づいて、アプリの数が所定数以上のデータ項目のデータを取得要求するアプリが実行されているか否かにかかわらず、全ての情報処理装置20-1~20-4に定期的に送信するように、データ取得処理部111に対して指示してもよい。
In this case, as in the case of FIG. 2B, 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". may be
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. 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.
<第3実施形態>
 次に、第3実施形態について説明する。第3実施形態では、データ通信システム1Aは、共有データ記憶部221を数値制御装置10及び情報処理装置20bと異なる記憶装置としての共有記憶装置40に設け、数値制御装置10は、所定数以上のアプリから取得要求されたデータ項目のデータを共有記憶装置40の共有データ記憶部221に記憶し、情報処理装置20bは、取得要求したデータ項目のデータが共有記憶装置40の共有データ記憶部221にある場合、当該取得要求の数値制御装置10への送信を中止して共有記憶装置40の共有データ記憶部221からデータ項目のデータを取得する点で、第1実施形態及び第2実施形態と相違する。
 これにより、第3実施形態の数値制御装置10は、複数のアプリがデータを取得要求する場合でも制御装置のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
 以下に、第3実施形態について説明する。
<Third embodiment>
Next, a third embodiment will be described. In the third embodiment, 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. In this case, 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.
As a result, 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.
 図14は、第3実施形態に係るデータ通信システムの機能的構成例を示す機能ブロック図である。なお、図1のデータ通信システム1の要素と同様の機能を有する要素については、同じ符号を付し、詳細な説明は省略する。
 図14に示すように、データ通信システム1Aは、数値制御装置10、情報処理装置20b-1~20b-M、工作機械30、及び記憶装置としての共有記憶装置40を有する(Mは1以上の整数)。
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).
 数値制御装置10、情報処理装置20b-1~20b-M、工作機械30、及び共有記憶装置40は、図示しない接続インタフェースを介して互いに直接接続されてもよい。また、数値制御装置10、情報処理装置20b-1~20b-M、工作機械30、及び共有記憶装置40は、LAN(Local Area Network)やインターネット等の図示しないネットワークを介して相互に接続されていてもよい。この場合、数値制御装置10、情報処理装置20b-1~20b-M、工作機械30、及び共有記憶装置40は、かかる接続によって相互に通信を行うための図示しない通信部を備えている。
 以下、情報処理装置20b-1~20b-Mのそれぞれを個々に区別する必要がない場合、これらをまとめて「情報処理装置20b」ともいう。
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. may In this case, 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.
Hereinafter, 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.
 数値制御装置10及び工作機械30は、第1実施形態における数値制御装置10及び工作機械30と同等の構成を有する。 The numerical control device 10 and the machine tool 30 have the same configurations as the numerical control device 10 and the machine tool 30 in the first embodiment.
<情報処理装置20b>
 図15は、情報処理装置20b-1の機能的構成例を示す機能ブロック図である。なお、情報処理装置20b-2~20b-Mについても、情報処理装置20b-1と同等の構成を有し、説明は省略する。
 図15に示すように、情報処理装置20bは、制御部210b、記憶部220b、及び通信IF部230を有する。さらに、制御部210bは、アプリ実行部211、指令監視部212b、及び共有データ使用率監視部213を有する。
 通信IF部230は、第1実施形態における通信IF部230と同等の機能を有する。
 また、アプリ実行部211、及び共有データ使用率監視部213は、第1実施形態におけるアプリ実行部211、及び共有データ使用率監視部213と同等の機能を有する。
<Information processing device 20b>
FIG. 15 is a functional block diagram showing a functional configuration example of the information processing device 20b-1. Note that the information processing apparatuses 20b-2 to 20b-M also have the same configuration as the information processing apparatus 20b-1, and the description thereof will be omitted.
As shown in FIG. 15, the information processing device 20b has a control section 210b, a storage section 220b, and a communication IF section 230. As shown in FIG. Furthermore, the control unit 210b has an application execution unit 211, a command monitoring unit 212b, and a shared data usage rate monitoring unit 213.
The communication IF section 230 has functions equivalent to those of the communication IF section 230 in the first embodiment.
Also, the application execution unit 211 and the shared data usage rate monitoring unit 213 have functions equivalent to those of the application execution unit 211 and the shared data usage rate monitoring unit 213 in the first embodiment.
 記憶部220bは、RAMやHDD等であり、システムプログラム及び複数のアプリケーションプログラムが格納されてもよい。 The storage unit 220b is a RAM, HDD, or the like, and may store a system program and a plurality of application programs.
 指令監視部212bは、アプリそれぞれの取得要求を解析して、取得要求されたデータ項目のデータが後述する共有記憶装置40の共有データ記憶部221にある場合、取得要求の数値制御装置10への送信を中止して共有記憶装置40の共有データ記憶部221からデータ項目のデータを取得し、取得要求したアプリに出力する。
 そうすることで、情報処理装置20bは、数値制御装置10との通信回数を削減するとともに、アプリは取得要求を数値制御装置10に送信して要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
 一方、指令監視部212bは、取得要求されたデータ項目のデータが共有記憶装置40の共有データ記憶部221にない場合、取得要求を数値制御装置10に送信する。
The command monitoring unit 212b analyzes the acquisition request of each application, and if the data of the data item requested to be acquired is in the shared data storage unit 221 of the shared storage device 40, which will be described later, sends the acquisition request to the numerical controller 10. The transmission is stopped, the data of the data item is acquired from the shared data storage unit 221 of the shared storage device 40, and the acquired data is output to the application requesting the acquisition.
By doing so, the information processing device 20b reduces the number of times of communication with the numerical control device 10, and the application reduces 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.
On the other hand, if the data of the data item for which acquisition is requested is not in the shared data storage unit 221 of the shared storage device 40, the command monitoring unit 212b transmits an acquisition request to the numerical controller 10. FIG.
<共有記憶装置40>
 共有記憶装置40は、例えば、共有記憶装置であり、数値制御装置10と複数の情報処理装置20bは、共通にアクセス可能である。また、共有記憶装置40は、共有データ記憶部221を有する。
 共有データ記憶部221は、第1実施形態における共有データ記憶部221と同等の機能を有する。
<Shared storage device 40>
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.
 なお、データ通信システム1Aのデータ通信処理は、共有データ記憶部221が共有記憶装置40に設けられる点を除き図4及び図5に示す処理と同様であり、詳細な説明は省略する。 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.
 以上により、第3実施形態に係る数値制御装置10は、予め設定された所定数以上のアプリから取得要求されるデータ項目がある場合、当該データ項目のデータを処理優先度テーブル部122に格納された優先度と更新間隔(時間情報)とに基づいて定期的に共有記憶装置40に送信する。情報処理装置20bは、取得要求されたデータ項目のデータが共有記憶装置40の共有データ記憶部221にある場合、共有記憶装置40の共有データ記憶部221からデータ項目のデータを取得する。これにより、数値制御装置10は、数値制御装置10のデータ取得処理回数と、情報処理装置20bとの間の通信回数を削減でき、複数のアプリがデータを取得要求する場合でも数値制御装置10のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
 また、数値制御装置10は、所定数以上のアプリが取得要求するデータ項目のデータを定期的に共有記憶装置40に記憶することで、当該アプリが取得要求を数値制御装置10に送信して要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
 また、数値制御装置10は、情報処理装置20bからデータ使用率が低い、すなわち優先度の低いデータの停止指示を受信し、優先度の低いデータを定期的に共有記憶装置40に記憶することを停止することで、優先度の低いデータの取得回数(更新回数)が削減され、数値制御装置10のCPUに余裕が生まれ、優先度の高いデータを情報処理装置20bに届きやすくなる。
 なお、変形例として、共有記憶装置40を例えば専用のサーバやWebサーバ等とする中継装置40に換えて、数値制御装置10と情報処理装置20bとの間のデータ通信を中継するようにしてもよい。この場合、指令監視部212bは、取得要求されたデータ項目のデータが中継装置40の共有データ記憶部221にない場合、中継装置40を介して取得要求を数値制御装置10に送信するようにしてもよい。
 以上、第3実施形態について説明した。
As described above, the numerical controller 10 according to the third embodiment 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 . As a result, 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.
In addition, 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.
In addition, 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.
As a modification, 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. In this case, if the data of the data item for which acquisition is requested is not in the shared data storage unit 221 of the relay device 40, the command monitoring unit 212b transmits the acquisition request to the numerical controller 10 via the relay device 40. good too.
The third embodiment has been described above.
 以上、第1実施形態、第1実施形態の変形例、第2実施形態、第2実施形態の変形例、第3実施形態、及び第3実施形態の変形例について説明したが、数値制御装置10、10Aは、上述の実施形態に限定されるものではなく、目的を達成できる範囲での変形、改良等を含む。 The first embodiment, the modification of the first embodiment, the second embodiment, the modification of the second embodiment, the third embodiment, and the modification of the third embodiment have been described above. , 10A are not limited to the above-described embodiments, and include modifications, improvements, etc. within the scope of achieving the purpose.
<変形例>
 第1実施形態の変形例、第2実施形態の変形例、第3実施形態、及び第3実施形態の変形例では、数値制御装置10、10Aは、複数のアプリそれぞれの取得要求をデータ項目毎のアプリの数として記憶したが、それに限定されない。例えば、数値制御装置10、10Aは、図7、図13及び図14に示すように、情報処理装置20-1~20-N、20b-1~20b-Mに接続されている場合、データ項目毎にアプリの数とともに、取得要求するアプリが実行されている情報処理装置20、20bの情報も記憶するようにしてもよい。
 図16は、図7のデータ通信システム1におけるEDITモード(プログラム編集中)の場合の指令記録部121に記録されるデータの一例を示す図である。なお、図13のデータ通信システム1、及び図14のデータ通信システム1Aの場合についても図16の場合と同様であり、説明は省略する。
 図16に示すように、EDITモード(プログラム編集中)のデータでは、「座標値」、「主軸負荷」、「プログラムデータ」、「デバイス一覧」等のデータ項目毎に、取得要求するアプリの数と、情報処理装置の数と、が格納される。なお、情報処理装置の数には、データ項目毎に取得要求しているアプリを実行している情報処理装置20に関する情報(例えば、「20-1」、「20-2」、「20-3」、「20-4」等の識別情報)も含まれてもよい。
 そうすることで、数値制御装置10は、情報処理装置20に関する情報に基づいて定期的に更新が必要な情報処理装置20のみ(例えば、「プログラムデータ」は情報処理装置20-4のみ要求しているので、情報処理装置20-4にだけ)に送信することができ、データ通信システム1全体の通信量を低減することができる。
<Modification>
In the modified example of the first embodiment, the modified example of the second embodiment, the third embodiment, and the modified example of the third embodiment, 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. For example, as shown in FIGS. 7, 13 and 14, 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 In addition to the number of applications, 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.
FIG. 16 is a diagram showing an example of data recorded in the command recording unit 121 in the EDIT mode (during program editing) in the data communication system 1 of FIG. The data communication system 1 of FIG. 13 and the data communication system 1A of FIG. 14 are the same as the case of FIG. 16, and description thereof will be omitted.
As shown in FIG. 16, in the data in the EDIT mode (during program editing), for each data item such as "coordinate value", "spindle load", "program data", and "device list", the number of applications requesting acquisition and the number of information processing apparatuses are stored. Note that the number of information processing apparatuses includes information (for example, "20-1", "20-2", "20-3 , “20-4”, etc.) may also be included.
By doing so, 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.
 なお、第1実施形態、第2実施形態、及び第3実施形態に係る数値制御装置10、10Aに含まれる各機能は、ハードウェア、ソフトウェア又はこれらの組み合わせによりそれぞれ実現することができる。ここで、ソフトウェアによって実現されるとは、コンピュータがプログラムを読み込んで実行することにより実現されることを意味する。 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. Here, "implemented by software" means implemented by a computer reading and executing a program.
 プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(Non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(Tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えば、フレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば、光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM)を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(Transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は、無線通信路を介して、プログラムをコンピュータに供給できる。 Programs can be stored and supplied to computers using various types of non-transitory computer readable media. 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.
 なお、記録媒体に記録されるプログラムを記述するステップは、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 It should be noted that the 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.
 以上を換言すると、本開示の数値制御装置及びデータ通信システムは、次のような構成を有する各種各様の実施形態を取ることができる。 In other words, the numerical controller and data communication system of the present disclosure can take various embodiments having the following configurations.
 (1)本開示の数値制御装置10は、工作機械30を制御し、工作機械30の制御に関するデータ項目のデータのうち少なくとも1つの情報処理装置20が実行する1つ以上のアプリケーションプログラムからの取得要求に対して、取得要求されたデータ項目のデータを送信する制御装置であって、データ項目に対するアプリケーションプログラムからの取得要求を受け付けるデータ取得処理部111と、データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とが格納される処理優先度テーブル部122と、処理優先度テーブル部122の時間情報に従って取得要求されたデータ項目毎の更新間隔を決定する定期更新部112と、を備え、データ取得処理部111は、処理優先度テーブル部122の優先度と決定された更新間隔とに基づいて取得要求されたデータ項目のデータを情報処理装置に送信する。
 この数値制御装置10によれば、複数のアプリがデータを取得要求する場合でも数値制御装置10のCPU負荷を増大させずに、優先度の高いデータを確度高く取得することができる。
(1) 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.
According to 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. FIG.
 (2) (1)に記載の数値制御装置10において、指令記録部121をさらに備え、データ取得処理部111は、取得要求する複数のアプリケーションプログラムそれぞれを識別し、指令記録部121は、データ項目毎に取得要求するアプリケーションプログラムの数を記憶し、定期更新部112は、データ項目毎のアプリケーションプログラムの数に基づいて取得要求されたデータ項目のデータを更新間隔で情報処理装置に送信するか否かを判定してもよい。
 そうすることで、数値制御装置10は、所定数以上のアプリが取得要求するデータ項目のデータを定期的に情報処理装置20に送信することで、当該アプリが取得要求を数値制御装置10Aに送信して取得要求したデータを受信するまでのデータ取得時間を削減することができ、アプリの実行時間を短縮することができる。
(2) 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.
 (3) (1)又は(2)に記載の数値制御装置10Aにおいて、指令記録部121aは、データ項目毎に取得要求する複数のアプリケーションプログラムそれぞれのリード間隔のうち最短のリード間隔を記憶し、定期更新部112aは、データ項目毎の最短のリード間隔と優先度とに基づいて更新間隔を算出してもよい。
 そうすることで、数値制御装置10Aは、(2)と同様の効果を奏することができる。
(3) In the numerical controller 10A described in (1) or (2), 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).
 (4) (3)に記載の数値制御装置10Aにおいて、処理優先度テーブル部122aに記憶される時間情報は、更新間隔を調整する倍率を含み、定期更新部112aは、データ項目毎の最短のリード間隔と倍率とに基づいて更新間隔を算出してもよい。
 そうすることで、数値制御装置10Aは、(2)と同様の効果を奏することができる。
(4) In the numerical control device 10A described in (3), 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.
By doing so, the numerical controller 10A can achieve the same effect as (2).
 (5) (1)から(4)のいずれかに記載の数値制御装置10、10Aにおいて、処理優先度テーブル部122、122aは、数値制御装置10、10Aの状態に応じてデータ項目毎に優先度と時間情報とを記憶してもよい。
 そうすることで、数値制御装置10、10Aは、数値制御装置10、10Aの状態に応じた最適な更新時間で取得要求されたデータ項目のデータを情報処理装置20に送信することができる。
(5) In the numerical controller 10, 10A according to any one of (1) to (4), 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.
By doing so, 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.
 (6)本開示のデータ通信システム1Aは、工作機械30を制御する数値制御装置10と、数値制御装置10と通信可能な少なくとも1つの情報処理装置20bと、数値制御装置10と情報処理装置20bとにより共有され数値制御装置10から送信された工作機械30の制御に関するデータ項目のデータを格納する共有記憶装置40と、を含むデータ通信システムであって、数値制御装置10は、データ項目に対する情報処理装置20bが実行する1つ以上のアプリケーションプログラムからの取得要求を受け付けるデータ取得処理部111と、データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とを記憶する処理優先度テーブル部122と、処理優先度テーブル部122の時間情報に従って取得要求されたデータ項目毎の更新間隔を決定する定期更新部112と、を備え、データ取得処理部111は、処理優先度テーブル部122の優先度と決定された更新間隔とに基づいて取得要求されたデータ項目のデータを共有記憶装置40に送信し、情報処理装置20bは、アプリケーションプログラムの取得要求を解析して、取得要求されたデータ項目のデータが共有記憶装置40にある場合、取得要求の数値制御装置10への送信を中止して共有記憶装置40からデータ項目のデータを取得し、取得要求されたデータ項目のデータが共有記憶装置40にない場合、取得要求を数値制御装置10に送信する指令監視部212bと、共有記憶装置40に格納されたデータ項目毎のデータ使用率を監視し、データ使用率が予め設定された所定値以下のデータ項目のデータの共有記憶装置40への送信を数値制御装置10に対して停止させる共有データ使用率監視部213と、を備える。
 このデータ通信システム1Aによれば、(1)と同様の効果を奏することができる。
(6) 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.
 (7) (6)に記載のデータ通信システム1において、記憶装置としての共有記憶装置40は、情報処理装置20に含まれてもよい。
 そうすることで、データ通信システム1は、(1)と同様の効果を奏することができる。
(7) In the data communication system 1 described in (6), 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).
 1、1A データ通信システム
 10、10A 数値制御装置
 110、110a 制御部
 111 データ取得処理部
 112、112a 定期更新部
 120、120a 記憶部
 121、121a 指令記録部
 122、122a 処理優先度テーブル部
 20-1~20-N、20b-1~20b-M 情報処理装置
 210、210b 制御部
 211 アプリ実行部
 212、212b 指令監視部
 213 データ使用率監視部
 220、220b 記憶部
 221 共有データ記憶部
 230 通信IF部
 30 工作機械
 40 共有記憶装置
1, 1A Data Communication System 10, 10A Numerical Controller 110, 110a Control Unit 111 Data Acquisition Processing Unit 112, 112a Periodic Update Unit 120, 120a Storage Unit 121, 121a Command Recording Unit 122, 122a Processing Priority Table Unit 20-1 20-N, 20b-1 to 20b-M Information processing device 210, 210b Control unit 211 Application execution unit 212, 212b Instruction monitoring unit 213 Data usage rate monitoring unit 220, 220b Storage unit 221 Shared data storage unit 230 Communication IF unit 30 machine tool 40 shared storage device

Claims (7)

  1.  産業機械を制御し、前記産業機械の制御に関するデータ項目のデータのうち少なくとも1つの情報処理装置が実行する1つ以上のアプリケーションプログラムからの取得要求に対して、取得要求されたデータ項目のデータを送信する制御装置であって、
     前記データ項目に対する前記アプリケーションプログラムからの取得要求を受け付けるデータ取得処理部と、
     前記データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とが格納される処理優先度テーブル部と、
     前記処理優先度テーブル部の前記時間情報に従って取得要求されたデータ項目毎の前記更新間隔を決定する定期更新部と、を備え、
     前記データ取得処理部は、前記処理優先度テーブル部の前記優先度と決定された前記更新間隔とに基づいて取得要求されたデータ項目のデータを前記情報処理装置に送信する
     制御装置。
    In response to an acquisition request from one or more application programs that control an industrial machine and that are executed by at least one information processing device among the data of data items related to the control of the industrial machine, the data of the requested data item is acquired. A controller for transmitting,
    a data acquisition processing unit that receives an acquisition request from the application program for the data item;
    a processing priority table unit that stores the priority and time information regarding the update interval of data transmission for each of the data items;
    a periodic update unit that determines the update interval for each data item requested for acquisition according to the time information in the processing priority table unit;
    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.
  2.  指令記録部をさらに備え、
     前記データ取得処理部は、取得要求する複数の前記アプリケーションプログラムそれぞれを識別し、
     前記指令記録部は、前記データ項目毎に取得要求するアプリケーションプログラムの数を記憶し、
     前記定期更新部は、前記データ項目毎の前記アプリケーションプログラムの数に基づいて取得要求された前記データ項目のデータを前記更新間隔で前記情報処理装置に送信するか否かを判定する、請求項1に記載の制御装置。
    further comprising a command recording unit,
    The data acquisition processing unit identifies each of the plurality of application programs requesting acquisition,
    The command recording unit stores the number of application programs requesting acquisition for each data item,
    2. The periodical update unit determines 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 the application programs for each data item. The control device according to .
  3.  前記指令記録部は、前記データ項目毎に取得要求する複数の前記アプリケーションプログラムそれぞれのリード間隔のうち最短のリード間隔を記憶し、
     前記定期更新部は、前記データ項目毎の前記最短のリード間隔と前記優先度とに基づいて前記更新間隔を算出する、請求項2に記載の制御装置。
    the command recording unit stores the shortest lead interval among the lead intervals of each of the plurality of application programs requesting acquisition of each data item;
    3. The control device according to claim 2, wherein said periodic update unit calculates said update interval based on said shortest read interval and said priority for each of said data items.
  4.  前記処理優先度テーブル部に記憶される前記時間情報は、前記更新間隔を調整する倍率を含み、
     前記定期更新部は、前記データ項目毎の前記最短のリード間隔と前記倍率とに基づいて前記更新間隔を算出する、請求項3に記載の制御装置。
    the time information stored in the processing priority table unit includes a scaling factor for adjusting the update interval;
    4. The control device according to claim 3, wherein said periodic update unit calculates said update interval based on said shortest read interval and said magnification for each of said data items.
  5.  前記処理優先度テーブル部は、前記制御装置の状態に応じて前記データ項目毎に優先度と前記時間情報とを記憶する、請求項1から請求項4のいずれか1項に記載の制御装置。 The control device according to any one of claims 1 to 4, wherein the processing priority table unit stores the priority and the time information for each data item according to the state of the control device.
  6.  産業機械を制御する制御装置と、前記制御装置と通信可能な少なくとも1つの情報処理装置と、前記制御装置と前記情報処理装置とにより共有され前記制御装置から送信された前記産業機械の制御に関するデータ項目のデータを格納する共有記憶装置と、を含むデータ通信システムであって、
     前記制御装置は、
     前記データ項目に対する前記情報処理装置が実行する1つ以上のアプリケーションプログラムからの取得要求を受け付けるデータ取得処理部と、
     前記データ項目毎に優先度とデータの送信の更新間隔に関する時間情報とを記憶する処理優先度テーブル部と、
     前記処理優先度テーブル部の前記時間情報に従って取得要求されたデータ項目毎の前記更新間隔を決定する定期更新部と、を備え、
     前記データ取得処理部は、前記処理優先度テーブル部の前記優先度と決定された前記更新間隔とに基づいて取得要求されたデータ項目のデータを前記共有記憶装置に送信し、
     前記情報処理装置は、
     前記アプリケーションプログラムの前記取得要求を解析して、取得要求された前記データ項目のデータが前記共有記憶装置にある場合、前記取得要求の前記制御装置への送信を中止して前記共有記憶装置から前記データ項目のデータを取得し、取得要求された前記データ項目のデータが前記共有記憶装置にない場合、前記取得要求を前記制御装置に送信する指令監視部と、
     前記共有記憶装置に格納された前記データ項目毎のデータ使用率を監視し、前記データ使用率が予め設定された所定値以下のデータ項目のデータの前記共有記憶装置への送信を前記制御装置に対して停止させる共有データ使用率監視部と、を備える
     データ通信システム。
    a control device that controls an industrial machine; at least one information processing device that can communicate with the control device; data related to control of the industrial machine that is shared by the control device and the information processing device and transmitted from the control device A data communication system comprising: a shared storage device for storing item data,
    The control device is
    a data acquisition processing unit that receives an acquisition request from one or more application programs executed by the information processing device for the data item;
    a processing priority table section for storing priority and time information regarding data transmission update intervals for each of the data items;
    a periodic update unit that determines the update interval for each data item requested for acquisition according to the time information in the processing priority table unit;
    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 shared storage device;
    The information processing device is
    When the acquisition request of the application program is analyzed and the data of the data item requested for acquisition exists in the shared storage device, transmission of the acquisition request to the control device is stopped and the a command monitoring unit that acquires data of a data item and transmits the acquisition request to the control device when the data of the data item requested for acquisition is not in the shared storage device;
    monitoring the data usage rate for each of the data items stored in the shared storage device, and instructing the control device to transmit data of data items whose data usage rate is equal to or less than a preset predetermined value to the shared storage device; and a shared data usage monitoring unit that stops the data communication system.
  7.  前記共有記憶装置は、前記情報処理装置に含まれる、請求項6に記載のデータ通信システム。 The data communication system according to claim 6, wherein said shared storage device is included in said information processing device.
PCT/JP2021/032128 2021-09-01 2021-09-01 Control device and data communication system WO2023032077A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2021/032128 WO2023032077A1 (en) 2021-09-01 2021-09-01 Control device and data communication system
JP2021572052A JP7037001B1 (en) 2021-09-01 2021-09-01 Control device and data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/032128 WO2023032077A1 (en) 2021-09-01 2021-09-01 Control device and data communication system

Publications (1)

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

Family

ID=81213532

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/032128 WO2023032077A1 (en) 2021-09-01 2021-09-01 Control device and data communication system

Country Status (2)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052649A (en) * 2006-08-28 2008-03-06 Hitachi Ltd Remote supervision system and method for providing data transfer set service
JP2018073394A (en) * 2016-09-22 2018-05-10 ゼネラル・エレクトリック・カンパニイ Parallel processing for monitoring and controlling plant facility
JP2020030725A (en) * 2018-08-24 2020-02-27 株式会社日立製作所 Equipment analysis support device, equipment analysis support method, and equipment analysis system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5734368B2 (en) * 2013-08-07 2015-06-17 三菱電機株式会社 Control device, control system, control method, and program
JP2018028766A (en) * 2016-08-16 2018-02-22 富士通株式会社 Control program, control device, and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052649A (en) * 2006-08-28 2008-03-06 Hitachi Ltd Remote supervision system and method for providing data transfer set service
JP2018073394A (en) * 2016-09-22 2018-05-10 ゼネラル・エレクトリック・カンパニイ Parallel processing for monitoring and controlling plant facility
JP2020030725A (en) * 2018-08-24 2020-02-27 株式会社日立製作所 Equipment analysis support device, equipment analysis support method, and equipment analysis system

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2015136960A1 (en) Controller
CN105637438A (en) Clusters of polynomials for data points
JP6406466B1 (en) Control device, control method, and control program
WO2018186358A1 (en) Control device, control method, and control program
US9921556B2 (en) Machine controller and power consumption control of machine tool peripherals
WO2023032077A1 (en) Control device and data communication system
JP2005190437A (en) Control device management system
US20200096955A1 (en) Motor control apparatus
JP6885296B2 (en) Slave equipment, master equipment, and industrial network systems
CN109388102B (en) Control system and upper server
JP2018151893A (en) Production control apparatus and production system
US20210187742A1 (en) Control device and control method
US20210181712A1 (en) Control device and control method
EP3521952B1 (en) Safety control unit, safety control method, and safety control program
JP2020198674A (en) Slave unit and servo drive system
WO2020202568A1 (en) Multiaxis control system, multiaxis control method, and multiaxis control program
WO2022264424A1 (en) Control device and control method
WO2018061537A1 (en) Control unit, data refreshing method, data refreshing program
WO2023037414A1 (en) Control device
JPWO2020084671A1 (en) Maintenance support system, numerical control device and maintenance support system control method
WO2022071056A1 (en) Network relay device
JP6838022B2 (en) Manufacturing equipment control and monitoring system
JP7477402B2 (en) CONTROL DEVICE AND METHOD
JP7455239B2 (en) Numerical control system, task assignment change device and numerical control method
JP7283875B2 (en) Numerical controller

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