Control device and control system
The control system addresses real-time processing issues by monitoring transmission intervals and executing safety operations when delays occur, ensuring timely control and preventing machine collisions.
Patent Information
- Application Number
- JP2023528861
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-16
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-06-16
AI Technical Summary
General-purpose OSs cannot guarantee real-time processing, leading to potential delays in processing results transmission from a PC to a control device, which may result in machine collisions due to disabled interference checking.
A control system that periodically monitors the transmission interval of information from a PC to a control device, determining delays, and executes pre-registered safety operations if the interval exceeds a threshold, ensuring timely control of industrial machines.
Reduces the impact of operation delays and hang-ups on machine operations by implementing safety measures when real-time processing is compromised, minimizing the risk of collisions.
Smart Images

Figure 0007568853000001 
Figure 0007568853000002 
Figure 0007568853000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device and a control system, and more particularly to a control device and a control system that cooperate with a cooperative application that runs on a general-purpose OS of a PC. [Background technology]
[0002] Since the hardware resources of a control device are limited, there are an increasing number of cases where advanced applications are implemented on general-purpose operating systems (OS) of personal computers (PCs). Examples of such advanced applications include machine collision prevention functions (interference checks) during machining, peripheral equipment monitoring (e.g., tool breakage detection), and machine learning applications. By executing these applications at high speed on the general-purpose OS so as to keep up with the real-time processing on the control device, control based on the processing results can be realized.
[0003] For example, when using the machine collision prevention function, the control device sends information about the leading position during machining to the PC. The PC then performs an interference check based on the leading position. If interference is detected, it sends a message to the control device. The control device stops the movement of the machining axis based on the results of the interference check sent from the PC. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2008-027376 A Summary of the Invention [Problem to be solved by the invention]
[0005] A general-purpose OS that does not guarantee real-time performance does not guarantee real-time processing by applications. As a result, the PC may not be able to send the processing results in time for a processing execution request from the control device. For example, if the PC cannot send an interference detection signal to the control device, the control device will have no choice but to continue machining with the interference check essentially disabled. In the worst case scenario, the moving parts of the machine may collide with interfering objects such as the workpiece or fixture. Therefore, there is a need for a mechanism to monitor the processing status of applications running on a general-purpose OS from a control device. [Means for solving the problem]
[0006] The control system according to the present disclosure periodically transmits information related to the processing of an application (hereinafter, referred to as a cooperative application) that cooperates with the control of an industrial machine running on a general-purpose OS of a PC to a control device. The control device monitors the time interval at which information is transmitted from the PC, and if the time interval exceeds a predetermined threshold, determines that the processing on the PC side is delayed relative to the control device. If a delay is detected, the control device performs control based on a control command for a safety operation registered in advance, such as an operation to stop the operation of the machine, an operation to suppress the movement speed, a retract standby operation, etc. To solve the above problems.
[0007] One aspect of the present disclosure is a control device that controls an industrial machine based on a control program, the control device controlling the industrial machine in cooperation with a cooperative application that is an application running on a general-purpose OS of a PC and is related to the control of the industrial machine, a control command selection unit that selects, based on a determination result by the reception interval determination unit, if the reception interval is equal to or less than the threshold, to use the command data created by the command analysis unit for controlling the industrial machine, and if the reception interval exceeds the threshold, to use the safe operation command data stored in the safe operation command storage unit for controlling the industrial machine.
[0008] Another aspect of the present disclosure is a control system configured in cooperation with a control device that controls an industrial machine based on a control program and a PC on which a cooperative application related to the control of the industrial machine, which is an application that runs on a general-purpose OS, is running. The control device includes a command analysis unit that analyzes a block of the control program and creates command data based on a command of the block, a safe operation command storage unit in which command data for a safe operation for transitioning an operating state of the industrial machine to a predetermined safe state is stored in advance, a reception interval monitoring unit that monitors the reception interval of periodically transmitted information created by processing related to the cooperative application transmitted from the PC, a reception interval determination unit that compares the reception interval of the periodically transmitted information with a predetermined threshold value and determines whether the reception interval exceeds the threshold value, and a reception interval determination unit that performs a determination on the reception interval based on a result of the determination by the reception interval determination unit. The control system includes a control command selection unit that selects, when the interval is equal to or less than the threshold, to use the command data created by the command analysis unit for controlling the industrial machine, and, when the reception interval exceeds the threshold, selects to use the safe operation command data stored in the safe operation command memory unit for controlling the industrial machine; and a control unit that controls the industrial machine based on the command data selected by the control command selection unit, wherein the PC transmits request information to the control device to read out at least one of a status related to the control device or a status related to the industrial machine in order to process the coordinated application, and comprises a status monitoring unit that monitors at least one of the status related to the control device or the status related to the industrial machine based on the result, and a processing result transmission unit that transmits the results of processing of the coordinated application to the control device. Effect of the Invention
[0009] According to one aspect of the present disclosure, when using a PC-side cooperative application running on a general-purpose OS, the impact of problems such as operational delays and hang-ups on the PC side on machine operation can be minimized. [Brief description of the drawings]
[0010] [Figure 1]FIG. 2 is a schematic hardware configuration diagram of a control system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing the general functions of a control system according to an embodiment of the present invention. [Diagram 3] 4 is a schematic flow chart showing the operation flow of a control system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a schematic hardware configuration diagram showing the main parts of a control device according to one embodiment of the present invention. The control device 1 of the present invention constitutes a control system 4 together with a PC2, which is a personal computer, provided alongside the control device 1. The control device 1 controls an industrial machine 3, such as a machine tool or a machining center. In the following, the control device 1 will be described as being linked to a linking application that provides a machine collision prevention function (interference check function) running on a general-purpose OS of the PC2.
[0012] The CPU 11 provided in the control device 1 according to this embodiment is a processor that controls the entire control device 1. The CPU 11 reads out a system program stored in the ROM 12 via the bus 22, and controls the entire control device 1 in accordance with the system program. The RAM 13 temporarily stores temporary calculation data, display data, various data input from outside, and the like.
[0013] The non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the control device 1 is turned off. The non-volatile memory 14 stores control programs and data read from the external device 72 via the interface 15, control programs and data input from the input device 71 via the interface 18, and control programs and data acquired from other devices such as the fog computer 6 and the cloud server 7 via the network 5. The data stored in the non-volatile memory 14 may include, for example, data related to the mechanical configuration of the industrial machine 3, data related to interfering objects such as a workpiece or a jig, data related to the movement of a moving part along each axis, and data related to each physical quantity detected by a sensor (not shown) attached to the other industrial machine 3. The control programs and data stored in the non-volatile memory 14 may be expanded in the RAM 13 when executed / used. In addition, various system programs such as a known analysis program are written in advance in the ROM 12.
[0014] The interface 15 is an interface for connecting the CPU 11 of the control device 1 to an external device 72 such as an external storage medium. For example, control programs and setting data used to control the industrial machine 3 are read from the external device 72. In addition, the control programs and setting data edited in the control device 1 can be stored in an external storage medium such as a CF card or USB memory (not shown) via the external device 72. The PLC (Programmable Logic Controller) 16 executes a ladder program to input and output signals to and from the industrial machine 3 and peripheral devices of the industrial machine 3 (for example, a tool changer, an actuator such as a robot, a sensor attached to the industrial machine 3, etc.) via an I / O unit 19 to control the industrial machine 3. In addition, the PLC 16 receives signals from various switches on an operation panel installed on the main body of the industrial machine 3 and peripheral devices, etc., performs necessary signal processing, and then passes the signals to the CPU 11.
[0015] The interface 20 is an interface for connecting the CPU of the control device 1 and the PC 2 by wire or wirelessly. The connection between the control device 1 and the PC 2 may be made by using a technology such as serial communication such as RS-485, Ethernet (registered trademark), optical communication, wireless LAN, Wi-Fi (registered trademark), Bluetooth (registered trademark), etc. The control device 1 exchanges data with the PC 2 via the interface 20.
[0016] The display device 70 displays various data loaded into the memory, data obtained as a result of executing programs, etc., outputted via the interface 17. An input device 71 consisting of a keyboard, pointing device, etc., transfers commands and data based on operations by an operator to the CPU 11 via the interface 18.
[0017] The axis control circuit 30 for moving the moving part of the industrial machine 3 receives a movement command amount from the CPU 11 and outputs a movement command to the servo amplifier 40. The servo amplifier 40 receives this command and drives the servo motor 50 of the industrial machine 3. The servo motor 50 has a built-in position and speed detector, and feeds back position and speed feedback signals from this position and speed detector to the axis control circuit 30, respectively, to perform feedback control of the position and speed. Note that while the hardware configuration diagram in Fig. 1 shows only one each of the axis control circuit 30, servo amplifier 40, and servo motor 50, in reality, there are provided as many as the number of moving parts of the industrial machine 3 to be controlled.
[0018] A spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to a spindle amplifier 61. The spindle amplifier 61 receives this spindle speed signal and rotates a spindle motor 62 of an industrial machine at the commanded rotation speed to drive a tool. A position coder 63 is connected to the spindle motor 62, and the position coder 63 outputs a feedback pulse in synchronization with the rotation of the spindle, and the feedback pulse is read by the CPU 11.
[0019] On the other hand, the PC2 according to this embodiment is provided in the control device 1. The CPU211 of the PC2 is a processor that controls the PC2 as a whole. The CPU211 reads out a system program stored in the ROM212 via the bus 222, and controls the PC2 as a whole in accordance with the system program. The RAM213 temporarily stores temporary calculation data, display data, various data input from outside, and the like.
[0020] The non-volatile memory 214 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the PC 2 is turned off. The non-volatile memory 214 stores data acquired from the control device 1 via the interface 219, data and programs read from the external device 272 via the interface 215, data and programs inputted via the input device 271, and the like. The data and programs stored in the non-volatile memory 214 may be expanded in the RAM 213 when executed / used. In addition, various system programs such as known processing programs, analysis programs, 3D simulation programs, and machine collision prevention application programs are written in advance in the ROM 212.
[0021] The interface 215 is an interface for connecting the CPU 211 of the PC 2 to an external device 272 such as a USB device. For example, a program and each parameter used for analysis can be read from the external device 272. In addition, the program and each parameter edited in the PC 2 can be stored in an external storage means via the external device 272.
[0022] The interface 219 is an interface for connecting, by wire or wirelessly, the CPU 211 of the PC 2 and the control device 1. The PC 2 exchanges data with the control device 1 via the interface 219.
[0023] The display device 270 displays various data loaded into the memory, data obtained as a result of executing a control program, a system program, etc., outputted via an interface 217. An input device 271 consisting of a keyboard, a pointing device, etc., transfers commands, data, etc. based on operations by an operator to the CPU 211 via an interface 218.
[0024] Fig. 2 is a schematic block diagram showing functions of the control device 1 and PC 2 according to the first embodiment of the present invention. Each function of the control device 1 according to this embodiment is realized by a CPU 11 included in the control device 1 shown in Fig. 1 executing a system program and controlling the operation of each part of the control device 1. Also, each function of the PC2 according to this embodiment is realized by a CPU 211 included in the PC2 shown in Fig. 1 executing a system program and controlling the operation of each part of the PC2.
[0025] The control device 1 of this embodiment includes a command analysis unit 110, a control command selection unit 115, a control unit 120, a reception interval monitoring unit 125, and a reception interval determination unit 130. The PC 2 also includes a status monitoring unit 210, an application execution unit 220, and a processing result transmission unit 230. Furthermore, on the RAM 13 to the non-volatile memory 14 of the control device 1, there are provided a safety operation command storage unit 170 which is an area for storing commands related to the safe operation of the industrial machine 3 in advance, and a status information storage unit 180 which is an area for storing information indicating the control status of the industrial machine 3 by the control device 1, and a control program 190 used for controlling the industrial machine 3 is stored in advance.
[0026] The command analysis unit 110 reads commands for each block from the control program 190, analyzes the commands, and creates executable data. The command analysis unit 110 outputs the executable command data to the control command selection unit 115.
[0027] The control command selection unit 115 outputs executable command data that the command analysis unit 110 has analyzed and created by the command, to the control unit 120, while the reception interval determination unit 130 has determined that the reception interval of information (hereinafter, referred to as periodic transmission information) that is periodically transmitted from the PC and created by the processing of an application that cooperates with the control of the industrial machine 3 is equal to or less than a predetermined threshold. When the reception interval determination unit 130 has determined that the reception interval of the periodic transmission information transmitted from the PC 2 exceeds a predetermined threshold, the control command selection unit 115 outputs command data relating to a safe operation command that has been read from the safe operation command storage unit 170 to the control unit 120. Note that the periodic transmission information, i.e., the information created by the processing of the cooperative application, includes a request command that the cooperative application has created to acquire information required for the processing, and information that the cooperative application creates and outputs.
[0028] The safety operation command storage unit 170 stores in advance command data related to safety operations for transitioning the operating state of the industrial machine 3 to a predetermined safe state. Examples of the safety operations include a stop operation for safely stopping the operation of the industrial machine 3, a speed suppression operation for reducing the moving speed of a moving part of the industrial machine 3, a retract standby operation for retracting a tool from a workpiece and waiting, and an operation for switching a function linked with the PC 2 to a function built into the control device 1. The command data related to these safety operations may be created in advance in accordance with the characteristics of the industrial machine 3 to be controlled and the contents of the control program 190, and stored in the safety operation command storage unit 170.
[0029] When it is determined that the reception interval is equal to or less than a predetermined threshold, the control command selection unit 115 may output to the control unit 120, in addition to the executable command data created by the command analysis unit 110, information related to the processing result of the cooperative application transmitted from the PC2. For example, assume that a cooperative application for machine collision prevention function is running on the PC2 and periodically transmits the result of an interference check between a moving part such as a spindle or a tool and an interfering object such as a workpiece, a jig, or a table. In this case, the control command selection unit 115 outputs to the control unit 120, in addition to the executable command data created by the command analysis unit 110, the result of the interference check.
[0030] The control unit 120 controls the industrial machine 3 based on data related to the command input from the control command selection unit 115. When command data for moving or stopping a moving part of the industrial machine 3 along an axis is input, the control unit 120 outputs movement command data for driving the servo motor 50 that drives the axis. When command data for rotating or stopping a main shaft of the industrial machine 3 is input, the control unit 120 outputs rotation command data for controlling the spindle motor 62. In addition, the control unit 120 has a general control function required for controlling the industrial machine 3 based on the input command data. The results of the processing related to the control of the industrial machine 3 by the control unit 120 are sequentially stored in the state information storage unit 180. For example, the position and speed of the moving part of the industrial machine 3, the rotation state of the main shaft, the type of tool, and the state of peripheral devices such as a cutting fluid supply device and a machine door are stored in the state information storage unit 180. In addition, when linked with a mechanical collision prevention function operating on the PC 2 side as in this embodiment, information on the preceding position of the moving part where the interference check is performed may also be stored in the state information storage unit 180.
[0031] When information related to the processing result of the cooperative application transmitted from PC2 is input from the control command selection unit 115, the control unit 120 may refer to the information and use it for controlling the industrial machine 3. For example, assume that a cooperative application for machine collision prevention function is running on PC2 and periodically transmits the results of an interference check between a moving part such as a spindle or tool and an interfering object such as a workpiece, a jig, or a table. In this case, the control unit 120 may control the industrial machine 3 to stop operation when the result of the interference check transmitted from PC2 indicates a collision between the moving part and the interfering object.
[0032] The reception interval monitor 125 monitors the reception interval of the periodic transmission information sent from the PC2. The reception interval monitor 125 stores the reception time of the periodic transmission information from the PC2 as a history. Then, the reception interval monitor 125 outputs the time that has elapsed since the time when the last transmitted information was received to the reception interval determination unit 130. There may be a plurality of pieces of periodic transmission information from the PC2. For example, as in this embodiment, when the control device 1 is linked to a mechanical collision prevention function operating on the PC2 side, the preceding position of the moving part to be subjected to the interference check is requested from the PC2. In addition, the result of the interference check regarding the preceding position previously requested is transmitted from the PC2. The reception interval monitor 125 may monitor the reception intervals of the request for the preceding position and the result of the interference check as periodic transmission information, respectively.
[0033] When the reception interval determination unit 130 determines that the reception interval of the periodic transmission information sent from the reception interval monitoring unit 125 has exceeded a predetermined threshold, it outputs the determination result to the control command selection unit 115. This threshold may be a multiple-stage value. In that case, the reception interval determination unit 130 outputs the result to the control command selection unit 115 so that it is possible to know which stage of the threshold has been exceeded. At this time, different safety operation command data corresponding to the stages of the threshold are stored in advance in the safety operation command storage unit 170. Then, the control command selection unit 115 may output different safety operation command data to the control unit 120 depending on which stage of the threshold has been exceeded.
[0034] Furthermore, when reception interval monitoring unit 125 monitors a plurality of pieces of periodically transmitted information, different thresholds may be set for each piece of periodically transmitted information. Even in this case, different safety operation command data corresponding to the type of periodically transmitted information may be stored in advance in safety operation command storage unit 170, and control command selection unit 115 may output different safety operation command data to control unit 120 depending on which piece of periodically transmitted information has exceeded the threshold.
[0035] The predetermined threshold value used by the reception interval determination unit 130 may be set as a fixed value in advance as described above, but may be dynamically set according to the situation. For example, when the control device 1 according to the present embodiment is linked to a cooperative application of a machine collision prevention function operating on the PC 2, the PC 2 acquires a leading position and transmits the result of an interference check at that position. Therefore, it is necessary to receive the result of the interference check before the time when the moving part of the industrial machine 3 reaches the leading position (hereinafter referred to as leading time) and before the moving part can stop before interference occurs. Therefore, the threshold value used by the reception interval determination unit 130 is dynamically calculated based on the leading time. More specifically, a value obtained by multiplying the leading time by a predetermined coefficient (<1.0) is used as the threshold value. By configuring in this way, an appropriate threshold value can be dynamically set for the leading position that changes according to the situation.
[0036] Meanwhile, the state monitoring unit 210 included in the PC 2 according to this embodiment periodically monitors the state of the control device 1. The state monitoring unit 210 requests, for example, predetermined information stored in the state information storage unit 180 included in the control device 1. Then, the state monitoring unit 210 outputs information related to the state of the control device 1 obtained as a response to the request to the application execution unit 220. For example, when the control device 1 is linked to a machine collision prevention function operating on the PC 2 side as in this embodiment, the state monitoring unit 210 requests the control device 1 for the preceding position of a moving part of the industrial machine 3 to be the subject of an interference check, and outputs the preceding position of the moving part obtained as a result to the application execution unit 220.
[0037] The application execution unit 220 runs various application programs on a general-purpose OS. The cooperative application executed in the application execution unit 220 may execute processing using information input from the state monitoring unit 210. The cooperative application may output the processing result to the processing result transmission unit 230. For example, the application execution unit 220 of this embodiment executes an application program that provides a machine collision prevention function. This machine collision prevention function checks for interference between the moving part of the industrial machine 3 and an interfering object such as a workpiece, a jig, or a table based on the preceding position of the moving part of the industrial machine 3 input from the state monitoring unit 210. Then, the result of the interference check is output to the processing result transmission unit 230.
[0038] The processing result transmission unit 230 transmits the result of processing of the cooperative application by the application execution unit 220 to the control device 1. For example, the processing result transmission unit 230 in this embodiment transmits the execution result of an interference check by the cooperative application of a mechanical collision prevention function to the control device 1.
[0039] FIG. 3 is a schematic flow chart showing the flow of operations in the control device 1 according to this embodiment having the above-mentioned configuration. When the control device 1 starts to operate in cooperation with the mechanical collision prevention function operating in PC2, the reception interval monitoring unit 125 monitors the request for the preceding position from the status monitoring unit 210 provided in PC2 and the transmission of the interference check result from the processing result transmission unit 230 as periodically transmitted information (step SA01).
[0040] The reception interval determination unit 130 compares the reception intervals of the respective periodically transmitted information monitored by the reception interval monitoring unit 125 with respective predetermined thresholds (step SA02). If both are equal to or less than the thresholds, the control command selection unit 115 outputs the executable command data created by the command analysis unit 110 and the processing result of the interference check transmitted from the PC 2 to the control unit 120. The control unit 120 controls the industrial machine 3 according to the input command data and the processing result of the interference check (step SA03).
[0041] On the other hand, if the reception interval of any of the enemy transmission information exceeds the threshold as a result of the judgment by the reception interval judgment unit 130, the control command selection unit 115 outputs safe operation command data stored in the safe operation command storage unit 170 to the control unit 120. The control unit 120 controls the industrial machine 3 to perform safe operation in accordance with the input command data (step SA04). After the safe operation is performed, the operation of the industrial machine 3 is continued or the operation of the industrial machine 3 is interrupted according to the content of the safe operation.
[0042] In the control device 1 having the above configuration, when the reception interval of the periodic transmission information periodically transmitted from the PC 2 becomes delayed, the control of the industrial machine 3 can be shifted to a safe operation. This makes it possible to reduce the impact of problems such as operation delays and hang-ups on the PC side on the machine operation when a PC-side cooperative application running on a general-purpose OS is used. By setting a threshold value used for determining the reception interval in stages, it becomes possible to respond flexibly, for example, by gradually reducing the moving speed of the moving part of the industrial machine 3 and finally stopping it when the reception interval of the periodic transmission information exceeds the threshold value. If the delay in processing on the PC 2 side is temporary, it is also possible to respond without suddenly stopping the operation of the industrial machine 3. By setting different safety operations for the types of periodic transmission information, it is possible to respond flexibly, for example, by switching to an internal function of the control device 1 for each function that cannot be received, or by setting different safety operations for information for which the inability to receive is fatal and information for which the inability to receive is not fatal and the operation of the industrial machine 3 can continue.
[0043] As a modified example of the control device 1 according to the present embodiment, the control command selection unit 115 may output to the control unit 120 command data relating to different safety operations depending on the state of the control device 1, the state of the industrial machine 3, the state of the peripheral devices, etc., when the reception interval determination unit 130 determines that the reception interval of the periodic transmission information transmitted from the PC 2 exceeds a predetermined threshold value in advance. In this case, the safety operation command storage unit 170 stores in advance a plurality of command data of safety operations corresponding to the control states of the control device 1. In this way, the control command selection unit 115 can select different safety operations depending on the position and speed of the moving part of the industrial machine 3, the rotation state of the spindle, the type of tool, the state of peripheral devices such as a cutting fluid supply device and a machine door, etc., read from the state information storage unit 180, the number of the execution block of the control program 190, the load state of the servo motor 50 and the spindle motor 62, etc., fed back from the industrial machine 3.
[0044] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described examples of the embodiments, and can be embodied in various forms by making appropriate modifications. For example, in the above embodiment, the control device 1 cooperates with a cooperative application for a machine collision prevention function that runs on the PC2 side. However, it is also possible to cooperate with other cooperative applications. For example, it is also possible to handle a case where a cooperative application for detecting tool breakage runs on the PC2, a peripheral device of the industrial machine 3 such as a sensor is connected to the PC2, and the broken state of the tool is detected on the PC2 side. In this case, the PC2 side periodically transmits the broken state of the tool to the control device 1, and this information is monitored by the reception interval monitoring unit 125 of the control device 1 as periodically transmitted information.
[0045] Also, a machine learning-related cooperative application may be executed on the PC 2, and may cooperate with the control device 1. For example, the inside and surroundings of the industrial machine 3 may be captured by a plurality of cameras or the like, and the captured video may be analyzed for its operating state and surrounding conditions by a machine learning cooperative application on the PC 2, and the analysis results may be transmitted to the control device 1. In such a case, the industrial machine 3 may be made to take a safe operation when there is a delay in transmitting the analysis results from the PC 2. [Explanation of symbols]
[0046] 1 Control device 2 PC 3. Industrial machinery 4. Control System 5. Network 6. Fog Computer 7. Cloud Server 11 CPU 12 ROM 13 RAM 14 Non-volatile memory 15,17,18,20 Interface 19 I / O Unit 22 Bus 30-axis control circuit 40 Servo Amplifier 50 Servo motor 60 Spindle control circuit 61 Spindle amplifier 62 Spindle motor 63 Position Coder 70 Display device 71 Input Devices 72 External equipment 110 Command analysis section 115 Control command selection section 120 Control section 125 Reception interval monitor 130 Reception interval determination unit 170 Safe operation command storage section 180 Status information storage unit 190 Control Program 211 CPU 212 ROM 213 RAM 214 Non-volatile memory 215,217,218,219 Interface 222 Bus 270 Display device 271 Input Device 272 External equipment 210 Status monitoring unit 220 Application Execution Unit 230 Processing result transmission unit
Claims
1. A control device that controls an industrial machine based on a control program, the control device controlling the industrial machine in cooperation with a cooperative application that is an application running on a general-purpose OS of a PC and is related to the control of the industrial machine, a command analysis unit that analyzes a block of the control program and creates command data based on a command in the block; a safety operation command storage unit in which safety operation command data for transitioning an operating state of the industrial machine to a predetermined safe state is stored in advance; a reception interval monitoring unit that monitors a reception interval of periodic transmission information generated by a process related to the cooperative application and transmitted from the PC; a reception interval determination unit that compares the reception interval of the periodically transmitted information with a predetermined threshold value and determines whether the reception interval exceeds the threshold value; a control command selection unit that selects, when the reception interval is equal to or less than the threshold based on a determination result by the reception interval determination unit, to use the command data created by the command analysis unit for controlling the industrial machine, and selects, when the reception interval exceeds the threshold, to use the safe operation command data stored in the safe operation command storage unit for controlling the industrial machine; a control unit that controls the industrial machine based on the command data selected by the control command selection unit; A control device comprising:
2. the cooperative application is an application for a machine collision prevention function that performs an interference check based on a preceding position, the periodically transmitted information includes at least result information of the interference check from the cooperative application. The control device according to claim 1 .
3. The safety operation is any one of a stop operation for safely stopping the industrial machine, a speed suppression operation for reducing the moving speed of a moving part of the industrial machine, a retract standby operation for retracting a tool of the industrial machine from a workpiece and waiting, or a switching operation to an internal monitoring function of the control device. The control device according to claim 2.
4. the safety operation command storage unit pre-stores a plurality of safety operation command data corresponding to the types of the periodic transmission information, the control command selection unit, when a reception interval of the periodically transmitted information exceeds the threshold value, selects a safety operation command data corresponding to a type of the periodically transmitted information from among a plurality of safety operation command data stored in the safety operation command storage unit. The control device according to claim 1 .
5. A plurality of stepwise values are prepared as the threshold value, The safe operation command storage unit stores in advance a plurality of safe operation command data respectively corresponding to the threshold levels, the control command selection unit, when a reception interval of the periodic transmission information exceeds the threshold value, selects a safety operation command data corresponding to a level of the threshold value from among a plurality of safety operation command data stored in the safety operation command storage unit. The control device according to claim 1 .
6. The threshold value is dynamically calculated based on a state of the control device or a state of the industrial machine. The control device according to claim 1 .
7. the safety operation command storage unit pre-stores a plurality of safety operation command data corresponding to a state of the control device or a state of the industrial machine, the control command selection unit, when a receiving interval of the periodically transmitted information exceeds the threshold value, selects, from a plurality of pieces of safety operation command data stored in the safety operation command storage unit, command data for safety operation corresponding to a state of the control device or a state of the industrial machine. The control device according to claim 1 .
8. A control system including a control device that controls an industrial machine based on a control program and a PC on which an application that runs on a general-purpose OS and is related to the control of the industrial machine is running, the control system comprising: The control device includes: a command analysis unit that analyzes a block of the control program and creates command data based on a command in the block; a safety operation command storage unit in which safety operation command data for transitioning an operating state of the industrial machine to a predetermined safe state is stored in advance; a reception interval monitoring unit that monitors a reception interval of periodic transmission information generated by a process related to the cooperative application and transmitted from the PC; a reception interval determination unit that compares the reception interval of the periodically transmitted information with a predetermined threshold value and determines whether the reception interval exceeds the threshold value; a control command selection unit that selects, when the reception interval is equal to or less than the threshold based on a determination result by the reception interval determination unit, to use the command data created by the command analysis unit for controlling the industrial machine, and selects, when the reception interval exceeds the threshold, to use the safe operation command data stored in the safe operation command storage unit for controlling the industrial machine; a control unit that controls the industrial machine based on the command data selected by the control command selection unit; Equipped with The PC is a status monitoring unit that transmits request information to the control device to read at least one of a status related to the control device and a status related to the industrial machine in order to process the cooperative application, and monitors at least one of a status related to the control device and a status related to the industrial machine based on the result of the request information; a processing result transmission unit that transmits a processing result of the cooperative application to the control device; Equipped with Control system.
Citation Information
Patent Citations
Motion control system
JP2006072399A
Numerical control device
JP2008027376A
Display terminal and display system
JP2014059607A
Input / output control device
JP2014191724A
