Control device and computer-readable recording medium
By introducing equipment detection, control status monitoring and input and output determination functions into industrial machinery control devices, the problem of errors in data input and output is solved, and safe and convenient data exchange is realized, which conforms to user rights and control status.
Patent Information
- Application Number
- CN202280102561.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the data input and output of industrial machinery are prone to errors due to incorrect operation or equipment failure, and the user rights cannot be effectively considered, resulting in inconvenient data input and output operation.
By setting up an equipment detection unit, a control status monitoring unit, an input and output data determination unit and a data input and output unit in the control device, the external device is automatically detected and the legality of the data input and output operation is determined based on user information and control status, thereby realizing safe and convenient data exchange.
Effectively prevent incorrect operations, ensure the accuracy and safety of data input and output, especially in the event of equipment failure, the input and output of data can still be started normally and investigated, and comply with user permissions.
Smart Images

Figure CN120476357A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a control device and a computer-readable recording medium. Background Art
[0002] Input and output of data to and from a control device for controlling industrial machinery is mainly performed by screen operation and key input (for example, Patent Document 1).
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Laid-Open No. 2015-114821 Summary of the Invention
[0006] Problems to be solved by the invention
[0007] When inputting data at machine startup or outputting data for fault investigation, there are cases where incorrect data is input or output due to incorrect operations. In addition, the input and output operations themselves are very troublesome. If data input and output operations cannot be performed due to a malfunction of the display screen or key input device, a network disconnection, etc., it is impossible to input startup data (or backup data for recovery) or output investigation data. There are also technologies such as Windows AutoRun that automatically execute a specified program if an external device is recognized, but there are technologies that do not require the operation itself and are executed regardless of user permissions.
[0008] Therefore, a function that can easily input and output data while taking user authority into consideration is desired.
[0009] Means for solving problems
[0010] The industrial machine control device disclosed herein solves the above-mentioned problems by providing a function that automatically performs data input and output to the control device according to various information in the external device when an external device containing user information and data input and output information is attached to the control device.
[0011] Furthermore, one embodiment of the present disclosure is a control device comprising: a device detection unit, which detects the installation of an external device that stores user information for authenticating a user and data input / output information specifying at least one input / output operation for specified data, and reads out the user information and the data input / output information; a control state monitoring unit, which monitors the control state of the industrial machinery that is the control object; an input / output data determination unit, which compares the read user information and the data input / output information with the data access information related to each user's access rights to the specified data and the access rights to each of the control states, and determines whether the input / output operation of the specified data can be performed; and a data input / output unit, which executes the input / output operation of the specified data based on the determination result of the input / output data determination unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a schematic hardware configuration diagram of the control device according to the first embodiment.
[0013] Figure 2 This is a block diagram schematically showing the functions of the control device according to the first embodiment.
[0014] Figure 3 This is a data diagram showing an example of data input and output information.
[0015] Figure 4 This is a flowchart showing a schematic process flow of the device detection unit.
[0016] Figure 5 This is a table diagram showing an example of data access information stored in the data access information storage unit.
[0017] Figure 6 This is a flowchart showing a schematic process flow of the input / output data determination unit.
[0018] Figure 7 This is a block diagram schematically showing the functions of the control device according to the second embodiment.
[0019] Figure 8 This is a table diagram showing an example of data access information stored in the data access information storage unit.
[0020] Figure 9 This is a table diagram showing an example of data access information for each control state.
[0021] Figure 10 This is a block diagram schematically showing the functions of the control device according to the third embodiment.
[0022] Figure 11 This is a data graph showing an example of information on input and output results.
[0023] Figure 12 This is a data diagram showing an example of data input and output information. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0025] [First embodiment]
[0026] Figure 1 This is a schematic hardware configuration diagram showing the main components of a control device according to one embodiment of the present invention. The control device 1 of the present invention can be implemented as a control device for controlling industrial machinery such as machine tools and robots that have a moving object driven by a motor. The following description uses the control device 1 for a machine tool that controls the relative position of a tool and a workpiece to control the machining of the workpiece as an example.
[0027] The CPU 11 included in the control device 1 of the present invention is a processor that controls the control device 1 as a whole. The CPU 11 reads a system program stored in the ROM 12 via the bus 22 and controls the control device 1 as a whole according to the system program. The RAM 13 temporarily stores temporary calculation data, display data, and various data input from the outside.
[0028] The non-volatile memory 14 is comprised of, for example, a battery-backed memory (not shown) or an SSD (Solid State Drive), and maintains stored data even when the control device 1 is powered off. The non-volatile memory 14 stores control programs and data read from the external device 72 via the interface 15, data input via the input device 71, control programs, and various data acquired from the industrial machine 3. The control programs and data stored in the non-volatile memory 14 can also be expanded into the RAM 13 during execution or utilization. Furthermore, various system programs, such as well-known analysis programs, are pre-written in the ROM 12.
[0029] The interface 15 is an interface for connecting the CPU 11 of the control device 1 to an external device 72 such as a USB memory, Compact Flash (registered trademark), or an SD card. For example, control programs and various data used in controlling the industrial machine 3 can be read from the external device 72. In addition, control programs and various data edited in the control device 1 can be stored in the external device 72. The PLC (Programmable Logic Controller) 16 outputs signals to the industrial machine 3 and peripheral devices of the industrial machine 3 (for example, tool changers, actuators such as robots, sensors installed on the industrial machine 3, etc.) via the I / O unit 17 through the sequence program built into the control device 1 and controls them. In addition, the PLC 16 receives signals from various switches and peripheral devices on the operating panel of the main body of the industrial machine 3, and transmits them to the CPU 11 after performing necessary signal processing.
[0030] Data read into the memory, data obtained as a result of executing the control program, system program, etc., are output to and displayed on the display device 70 via the interface 18. Furthermore, the input device 71 composed of a keyboard, pointing device, etc. transmits commands and data based on operator operations to the CPU 11 via the interface 19.
[0031] The axis control circuit 30 for controlling the axis of the industrial machine 3 receives the axis movement instruction from the CPU 11 and outputs the axis instruction to the servo amplifier 40. The servo amplifier 40 receives the instruction and drives the servo motor 50 that moves each moving object of the industrial machine 3 along the axis. The servo motor 50 of the axis has a built-in position speed detector, and the position speed feedback signal from the position speed detector is fed back to the axis control circuit 30. The axis control circuit 30 performs feedback control of the position speed of the servo motor 50. In addition, Figure 1 In the hardware configuration diagram, the axis control circuit 30, servo amplifier 40, and servo motor 50 are shown as one each. However, in reality, these circuits are prepared as many as the number of axes possessed by the industrial machine 3 being controlled. For example, when controlling a typical machine tool having three linear axes, three sets of axis control circuits 30, servo amplifiers 40, and servo motors 50 are prepared to relatively move the spindle with the tool attached and the workpiece along the three linear axes (X-axis, Y-axis, and Z-axis).
[0032] The spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to the spindle amplifier 61. The spindle amplifier 61 receives this spindle speed signal and rotates the spindle motor 62 of the industrial machine 3 at the commanded speed, thereby driving the spindle. The spindle motor 62 is coupled to a position encoder 63. The position encoder 63 outputs a return pulse in synchronization with the spindle's rotation, which is read by the CPU 11.
[0033] Figure 2 This is a diagram showing the functions of the control device 1 according to the first embodiment of the present disclosure as a schematic block diagram. Figure 1 This is achieved by the CPU 11 included in the control device 1 executing a system program to control the operation of each unit of the control device 1 .
[0034] The control device 1 of this embodiment includes a control unit 100, a device detection unit 120, an input / output data determination unit 130, and a data input / output unit 140. A control program 200 for controlling the industrial machine 3 is stored in the RAM 13 or non-volatile memory 14 of the control device 1. Furthermore, the RAM 13 or non-volatile memory 14 of the control device 1 also includes a data access information storage unit 210, which is an area for storing data access information related to access rights to data stored in the control device 1; a parameter storage unit 220, which is an area for storing parameters set for the control device 1; a tool data storage unit 230, which is an area for storing data related to tools used in the industrial machine 3 controlled by the control device 1; and a log information storage unit 240, which is an area for storing log information related to the operation of the control device 1.
[0035] The control unit 100 has general functions required for controlling the industrial machine 3. Furthermore, the control unit 100 controls the industrial machine 3 according to the provided instructions. For example, the control unit 100 analyzes the provided movement instructions and, based on the analysis results, controls the servo motor 50 that moves the moving axis of the industrial machine 3. Furthermore, the control unit 100 analyzes the provided spindle rotation instructions and, based on the analysis results, controls the spindle motor 62 that moves the spindle of the industrial machine 3. Instructions for controlling the industrial machine 3 may be, for example, instructions read from the control program 200. In addition, instructions for controlling the industrial machine 3 may be instructions input via the input device 71. When controlling the industrial machine 3, the control unit 100 refers to the parameters set in the parameter storage unit 220 and the tool data stored in the tool data storage unit 230. Furthermore, information, alarms, etc. obtained during the control of the industrial machine 3 are stored in the log information storage unit 240 together with time information.
[0036] The device detection unit 120 detects whether the external device 72 is attached to the control device 1. When the attachment of the external device 72 is detected, the device detection unit 120 checks whether user information and data input / output information are stored in the external device 72. If so, the device detection unit 120 reads this information and notifies the input / output data determination unit 130.
[0037] The user information stored in the external device 72 includes at least information required for user authentication. For example, the information required for user authentication may include a password associated with the control device 1 or the industrial machine 3. Alternatively, it may include account information that uniquely identifies the user and a password. Furthermore, it may include information such as a license issued to a specific user.
[0038] The data input and output information stored in the external device 72 includes at least the designation of the data stored in the control device 1 and the input and output operations on the data. The input and output operations are input operations or output operations from the external device 72 on the data stored in the control device 1. The data that becomes the input and output object can be set to be specified according to the type of data stored in the control device 1. The type of data can be, for example, a machining program, a parameter, a tool data, a log information containing an alarm, etc. The data that becomes the input and output object can be set to be able to specify individual data stored in the control device 1. For example, it can be set to be able to specify a specific parameter of the control device 1, or a machining program with a specified name. In addition, it can be set to be able to specify a specified range of data. For example, it can be set to be able to specify log information of a specified time period.
[0039] Figure 3 This is a data diagram illustrating data input and output information. Figure 3 The data input and output information of the control device 1 shows an example of input and output according to the type of data stored in the control device 1. Figure 3 In , information related to data input and output is recorded between "AUTODATAIO" and "END", which are reserved words. The line starting from "INPUT" contains information related to data input operations. In addition, the line starting from "OUTPUT" contains information related to data output operations. Figure 3 In the example, "PROGRAM_DATA" specifies the type of data for the machining program. "PARAMETER_DATA" specifies the type of data for the parameter. "TOOL_DATA" specifies the type of data for the tool. "LOG_DATA" specifies the type of data for the log information. In addition, lines starting with "#" are comments. Figure 3In the example, a line such as “INPUT PROGRAM_DATA” “ProgramFile” indicates that a file such as “ProgramFile” stored in the external device 72 is input as a machining program of the control device 1. In addition, a line such as “INPUT PARAMETER_DATA” ParameterFile” indicates that a file such as “ParameterFile” stored in the external device 72 is input as a parameter of the control device 1. A line such as “INPUTTOOL_DATA” ToolDataFile” indicates that a file such as “ToolDataFile” stored in the external device 72 is input as data related to the tool of the control device 1. Furthermore, a line such as “OUTPUT LOG_DATA” LogDataFileOut” indicates that the log information stored in the control device 1 is output to the external device 72 with a file name such as “LogDataFileOut”. The format of each data file can be appropriately determined according to the specifications of the control device 1, etc. Figure 3 The data input / output information shown is an example and does not necessarily need to be in this format. As long as it can specify which data of the control device 1 is to be input or output, it can be specified in any format.
[0040] Figure 4 : This is a flowchart showing a general processing flow of the device detection unit 120. The device detection unit 120 monitors the interface 15 to see if the external device 72 changes from a non-assembled state to an assembled state (step SA01). When the non-assembled state is maintained (no in step SA02), the monitoring of the interface 15 continues (returning to step SA01). When the external device 72 changes to an assembled state (yes in step SA02), the device detection unit 120 confirms whether user information and data input / output information are stored in the assembled external device 72 (step SA03). If not stored (no in step SA03), it is set as not for data input / output, and the monitoring of the interface 15 continues (returning to step SA01). When the user information and data input / output information are stored (yes in step SA03), the device detection unit 120 reads the user information and data input / output information from the external device 72 (step SA04), and notifies the input / output data determination unit 130 of the read user information and data input / output information (step SA05).
[0041] The input / output data determination unit 130 authenticates the user based on the information notified from the device detection unit 120. User authentication is performed by comparing the user information notified from the device detection unit 120 with the data access information stored in the data access information storage unit 210. For example, when user authentication uses information that uniquely identifies the user and a password, it is determined whether the set of information that uniquely identifies the user and the password contained in the user information notified from the device detection unit 120 is stored in the data access information stored in the data access information storage unit 210. If the set of information that uniquely identifies the user and the password is stored, it is determined that the user is authenticated. The user authentication method is not limited to this, and a known authentication method can be used as appropriate.
[0042] Next, the input / output data determination unit 130 analyzes the data input / output information notified by the device detection unit 120 to determine the content of the designated input / output operation and the target data. It then refers to the data access information storage unit 210 to determine whether the designated input / output operation is permitted for the target data. If the designated input / output operation for the data is permitted by the user, the input / output data determination unit 130 notifies the data input / output unit 140 of the permitted input / output operation. Information about unpermitted input / output operations is not notified to the data input / output unit 140 and is discarded.
[0043] Figure 5 : is a table showing an example of data access information stored in the data access information storage unit 210. Figure 5 In the example, the data access information defines access rights for data input and output operations for each authenticated user. For example, authenticated user "aaaaa" is permitted to output parameters of control device 1. Furthermore, input operations on these parameters are prohibited. The input / output data determination unit 130 refers to this data access information to determine whether the data input / output operations specified by the data input / output information are permitted.
[0044] Figure 6Flowchart showing a schematic process flow of the input / output data determination unit 130. When the input / output data determination unit 130 receives user information and data input / output information from the device detection unit 120, the input / output data determination unit 130 compares the user information with the data access information storage unit 210 (step SB01). If the data access information storage unit 210 does not store data access information consistent with the user information (no in step SB02), the input / output data determination unit 130 ends the process. On the other hand, if the data access information storage unit 210 stores data access information consistent with the user information (yes in step SB02), the input / output data determination unit 130 reads a subsequent input / output operation from the data input / output information and analyzes it (step SB03). At this time, if there is no remaining input / output operation in the data input / output information (no in step SB04), the input / output data determination unit 130 ends the process. If the input / output operation can be read and analyzed (Yes in step SB04), the input / output data determination unit 130 determines whether the analyzed input / output operation on the data is permitted by the user (step SB05). If not permitted (No in step SB05), the process proceeds to step SB03. If permitted (Yes in step SB05), the data input / output unit 140 is notified to execute the input / output operation on the data (step SB06). The process then proceeds to step SB03.
[0045] The data input / output unit 140 inputs and outputs data between the RAM 13 and the nonvolatile memory 14 and the external device 72 in response to the data input / output operation notified by the input / output data determination unit 130. When an input operation is specified, the data input / output unit 140 reads the specified data from the external device 72 and stores it in the corresponding areas of the RAM 13 and the nonvolatile memory 14 of the control device 1. Furthermore, when an output operation is specified, the data input / output unit 140 reads the specified data from the corresponding areas of the RAM 13 and the nonvolatile memory 14 of the control device 1 and stores it in the external device 72.
[0046] The control device 1 of this embodiment, having the above-described structure, can prevent erroneous operations during data input during startup of the industrial machine 3 and data output for fault investigation. Furthermore, time-consuming input and output operations can be omitted. In particular, even when data input and output operations are disabled due to a display screen or key input device failure, network disconnection, or the like, startup data input and output of data for investigation can still be performed. Furthermore, data input and output based on user information can be performed, thereby enabling data input and output corresponding to the user's authority.
[0047] [Second embodiment]
[0048] Figure 7 This is a diagram showing the functions of the control device 1 of the second embodiment of the present disclosure as a schematic block diagram. The functions of the control device 1 of this embodiment are the same as those of the control device 1 of the first embodiment. Figure 1 This is achieved by the CPU 11 included in the control device 1 executing a system program to control the operation of each unit of the control device 1 .
[0049] The control device 1 of this embodiment includes a control state monitoring unit 110 in addition to a control unit 100, a device detection unit 120, an input / output data determination unit 130, and a data input / output unit 140. A control program 200 for controlling the industrial machine 3 is stored in the RAM 13 or non-volatile memory 14 of the control device 1. Furthermore, the RAM 13 or non-volatile memory 14 of the control device 1 also includes a data access information storage unit 210, which stores data access information regarding accessibility to data stored in the control device 1; a parameter storage unit 220, which stores parameters set for the control device 1; a tool data storage unit 230, which stores data regarding tools used in the industrial machine 3 controlled by the control device 1; and a log information storage unit 240, which stores log information regarding the operation of the control device 1.
[0050] The control unit 100 , device detection unit 120 , and data input / output unit 140 included in the control device 1 of this embodiment have the same functions as those of the control unit 100 , device detection unit 120 , and data input / output unit 140 included in the control device 1 of the first embodiment.
[0051] The control state monitoring unit 110 monitors the control state of the industrial machine 3 and notifies the input / output data determination unit 130 of the control state. The control state of the industrial machine 3 includes, for example, states related to the operation of the industrial machine 3, such as standby and operation. Furthermore, the control state of the industrial machine 3 includes, for example, states related to access to various data such as machining programs and parameters.
[0052] The input / output data determination unit 130 of this embodiment is similar to the input / output data determination unit 130 of the first embodiment, and performs user authentication based on the user information notified from the device detection unit 120 and analyzes the data input / output information. It then determines whether the input / output operation specified by the data input / output information is permitted. When making this determination, the input / output data determination unit 130 of this embodiment determines whether the input / output operation is permitted based on the control state of the industrial machine 3. The control state of the industrial machine 3 is notified from the control state monitoring unit 110. If the specified input / output operation for the data is permitted by the user under the current operating state of the industrial machine 3, the input / output data determination unit 130 notifies the data input / output unit 140 of the details of the permitted input / output operation. The details of the unpermitted input / output operation are not notified to the data input / output unit 140 and are discarded.
[0053] Figure 8 : is a table showing an example of data access information stored in the data access information storage unit 210. Figure 8 In the example, data access information defines whether the input and output operations for data can be performed according to the authenticated user. Figure 8 In the example, for each data, whether input and output operations on the data can be performed is defined according to the control state of the industrial machine 3. For example, the authenticated user "aaaaa" is allowed to perform output operations on the parameters of the control device 1 when the control state of the industrial machine 3 is "standby" and "operating", but is not allowed to perform output operations when the parameter data is "editing". In addition, it is set that input operations on the parameters cannot be performed. The input and output data determination unit 130 refers to such data access information to determine whether input and output operations on the data determined according to the data input and output information can be performed. In addition, whether input and output operations on the data in each control state can be performed is common to all users. Therefore, if Figure 9 As shown in the example, whether or not the input and output operations for data can be performed in each control state can also be set as common data access information. Figure 5 The data access information for each user and the data access information for each control state exemplified may only permit access to data when both parties have access.
[0054] The control device 1 of the present embodiment having the above-described configuration can input and output data based on user information and the control state of the industrial machine 3 , thereby enabling input and output of data with consideration of security corresponding to user authority and the control state.
[0055] As a variation of the control device 1 of this embodiment, the input / output data determination unit 130 may be configured to wait for notification of the content of the input / output operation to the data input / output unit 140 until the control state in which input / output is possible exists when data is determined to be incapable of input / output operation based on the control state of the industrial machine 3. Furthermore, when the control state of the industrial machine 3 notified from the control state monitoring unit 110 becomes a state in which the input / output operation of the data can be performed, the content of the input / output operation of the data is notified to the data input / output unit. For example, if the setting Figure 5 The data access information of each user is shown, and the settings Figure 9 Data access information for each control state shown. At this time, it is assumed that the user "aaaaa" inputs the processing program during the operation of the industrial machine 3. In this case, it can be seen that according to the user's data access information, the user "aaaaa" can input the processing program, but according to the data access information of the control state, the processing program cannot be input in "operation". In such a case, access is not immediately denied as it is impossible to input the processing program, but the input of data is waited until the control state of the industrial machine 3 becomes a control state (standby state) in which the processing program can be input, and the processing program is input at the time point when the control state becomes the control state in which the processing program can be input. In addition, it can also be set to specify whether to make the input and output operations standby according to the control state through data input and output information. Figure 12 This is a data diagram showing an example of data input and output information. Figure 12 The data input / output information shown includes the "-w" option for the command to output log information. For input / output operations assigned this option, the system waits until the control state of industrial machine 3 allows the data input / output operation. For other input / output operations, the system determines that the input / output operation is not possible without waiting. This configuration allows data input / output operations to be performed at the appropriate time, even if the control state of industrial machine 3 makes the input / output operation impossible.
[0056] [Third embodiment]
[0057] Figure 10 This is a diagram showing the functions of the control device 1 according to the third embodiment of the present disclosure as a schematic block diagram. The functions of the control device 1 according to this embodiment are the same as those of the control device 1 according to the first embodiment. Figure 1 This is achieved by the CPU 11 included in the control device 1 executing a system program to control the operation of each unit of the control device 1 .
[0058] The control device 1 of this embodiment includes an input / output result generation unit 150 in addition to a control unit 100, a device detection unit 120, an input / output data determination unit 130, and a data input / output unit 140. Furthermore, a control program 200 for controlling the industrial machine 3 is stored in the RAM 13 or non-volatile memory 14 of the control device 1. Furthermore, the RAM 13 or non-volatile memory 14 of the control device 1 also includes a data access information storage unit 210, which is an area for storing data access information regarding whether data stored in the control device 1 can be accessed; a parameter storage unit 220, which is an area for storing parameters set in the control device 1; a tool data storage unit 230, which is an area for storing data related to tools used in the industrial machine 3 controlled by the control device 1; and a log information storage unit 240, which is an area for storing log information related to the operation of the control device 1.
[0059] The control unit 100 and the device detection unit 120 included in the control device 1 of the present embodiment have the same functions as those of the control unit 100 and the device detection unit 120 included in the control device 1 of the first embodiment.
[0060] The input / output data determination unit 130 of this embodiment, similar to the input / output data determination unit 130 of the first embodiment, authenticates the user based on the user information notified from the device detection unit 120 and analyzes the data input / output information. It then determines whether the input / output operation specified in the data input / output information is permitted and notifies the data input / output unit 140 of the details of the input operation permitted by the user. Furthermore, the input / output data determination unit 130 notifies the input / output result generation unit 150 of the result of the determination of the input / output operation.
[0061] The input / output result generation unit 150 generates information related to the input / output results based on the determination results of whether each input / output operation can be performed, as notified by the input / output data determination unit 130. The generated information related to the input / output results is then notified to the data input / output unit 140. The information related to the input / output results may also include the results of the input / output of each data by the data input / output unit 140. For example, if a data output operation fails due to insufficient capacity in the external device 72, this information may be included in the information related to the input / output results.
[0062] In this embodiment, the data input / output unit 140 controls the control device 1 to input / output data between the RAM 13 and the nonvolatile memory 14 and the external device 72 based on the data input / output operation notified by the input / output data determination unit 130. Furthermore, the data input / output unit 140 stores information related to the input / output results notified by the input / output result generation unit 150 in the external device 72.
[0063] Figure 11 This is a data diagram showing an example of information related to input / output results. The information related to the input / output results includes at least the content of the input / output operation, the type of data that is the object, and information indicating the success / failure of the input / output operation. In addition, the information related to the input / output results may also include the results of the input and output of each data based on the data input / output unit 140. The information related to the input / output results may also include information related to the control state of the industrial machinery 3 at the time of execution of the input / output operation, the reasons for the failure of each input / output operation, etc. The information related to the input / output results may also be stored in the external device 72 with a predetermined file name. In addition, the file name of the information related to the input / output results may also be set in the specified parameters of the control device 1 and the data input / output information.
[0064] The control device 1 of the present embodiment having the above-described configuration can store the processing results of data input and output as information related to the input and output results in the external device 72. This allows the success or failure of the input and output operation to be understood.
[0065] The control device 1 of each of the aforementioned embodiments can prevent erroneous operations during data input and output for fault investigation during startup of the industrial machine 3. Furthermore, time-consuming input and output operations can be omitted. In particular, even when data input and output operations are disabled due to a display screen or key input device failure, network disconnection, or the like, startup data can still be input and output for investigation. Furthermore, data input and output based on user information can be performed, thereby enabling data input and output according to the user's authority.
[0066] The embodiments of the present disclosure have been described in detail above, but the present disclosure is not limited to the above-mentioned embodiments. These embodiments can be added, replaced, changed, partially deleted, etc. in a variety of ways without departing from the scope of the invention, or without departing from the ideas and the main purpose of the present disclosure derived from the contents recorded in the claims and their equivalents. For example, in the above-mentioned embodiments, the order of each action and the order of each process are shown as an example and are not limited to this. In addition, the same applies to the case where numerical values or mathematical formulas are used in the description of the above-mentioned embodiments.
[0067] Hereinafter, supplementary notes on the embodiments of the present disclosure will be shown.
[0068] (Note 1)
[0069] A control device (1) in one embodiment of the present disclosure comprises: a device detection unit (120) for detecting the installation of an external device storing user information for authenticating a user and data input / output information for specifying at least one input / output operation for specified data, and reading out the user information and the data input / output information; a control state monitoring unit (110) for monitoring the control state of an industrial machine that is a control object; an input / output data determination unit (130) for comparing the read user information and the data input / output information with the data access information related to each user's access rights to the specified data and the access rights to each control state, and determining whether the input / output operation for the specified data can be performed; and a data input / output unit (140) for executing the input / output operation for the specified data based on the determination result of the input / output data determination unit (130).
[0070] (Note 2)
[0071] Regarding the control device (1) of another embodiment of the present invention, when the input / output data determination unit (130) determines that an input / output operation cannot be performed based on the control state, the unit waits until a control state in which the input / output operation can be performed is achieved, and notifies the data input / output unit (140) of the determination result of the input / output operation at the time when the control state in which the input / output operation can be performed is achieved.
[0072] (Note 3)
[0073] Regarding other aspects of the control device (1) disclosed herein, the device further comprises an input / output result generating unit (150) for generating information related to input / output results including the determination result of the input / output data determination unit (130) and the execution result of the data input / output unit (140), and the data input / output unit (140) outputs the information related to the input / output results to the external device.
[0074] (Note 4)
[0075] A computer-readable recording medium recording a program in one embodiment of the present invention records a program that causes a computer to execute the following steps: a device detection step, detecting the assembly of an external device that stores user information for authenticating a user and data input / output information specifying at least one input / output operation for specified data, and reading out the user information and the data input / output information; a control status monitoring step, monitoring the control status of the industrial machinery being controlled; an input / output data determination step, comparing the read user information and the data input / output information with the data access information related to each user's access rights to the specified data and the access rights to each control status, to determine whether the input / output operation of the specified data can be performed; a data input / output step, executing the input / output operation of the specified data based on the determination result in the input / output data determination step.
[0076] Description of Reference Numerals
[0077] 1 Control device
[0078] 3 Industrial machinery
[0079] 11 CPU
[0080] 12 ROM
[0081] 13 RAM
[0082] 14 Non-volatile memory
[0083] Interfaces 15, 18, and 19
[0084] 16 PLC
[0085] 17 I / O units
[0086] 22 bus
[0087] 30-axis control circuit
[0088] 40 Servo amplifier
[0089] 50 servo motor
[0090] 60 Spindle control circuit
[0091] 61 Spindle amplifier
[0092] 62 spindle motor
[0093] 63 Position encoder
[0094] 70 Display device
[0095] 71 Input Device
[0096] 72 External Devices
[0097] 100 Control Department
[0098] 110 Control status monitoring unit
[0099] 120 Equipment Testing Department
[0100] 130 Input / output data determination unit
[0101] 140 Data input and output unit
[0102] 150 Input and output result generation unit
[0103] 200 Control Program
[0104] 210 Data Access Information Storage Department
[0105] 220 Parameter storage unit
[0106] 230 Tool data storage unit
[0107] 240 Log information storage unit.
Claims
1. A control device, characterized in that: have: a device detection unit that detects the installation of an external device storing user information for authenticating a user and data input / output information specifying at least one input / output operation for prescribed data, and reads the user information and the data input / output information; a control state monitoring unit that monitors the control state of the industrial machine to be controlled; an input / output data determination unit for comparing the read user information and the data input / output information with data access information related to each user's access rights to the prescribed data and each control state's access rights, and determining whether the prescribed data input / output operation can be performed; The data input / output unit executes the input / output operation of the prescribed data according to the determination result of the input / output data determination unit.
2. The control device according to claim 1, characterized in that When the input / output data determination unit determines that the input / output operation cannot be performed based on the control state, the unit waits until the control state becomes one in which the input / output operation can be performed, and notifies the data input / output unit of the determination result of the input / output operation at the time point when the control state becomes one in which the input / output operation can be performed.
3. The control device according to claim 1, characterized in that The control device further includes an input / output result generating unit that generates information related to the input / output result including a determination result of the input / output data determining unit and an execution result of the data input / output unit. The data input / output unit outputs information related to the input / output result to the external device.
4. A computer-readable recording medium, characterized in that A program is recorded that causes the computer to perform the following steps: a device detection step of detecting the installation of an external device storing user information for authenticating a user and data input / output information specifying at least one input / output operation for specified data, and reading the user information and the data input / output information; A control state monitoring step of monitoring the control state of the industrial machinery to be controlled; an input / output data determination step of comparing the read user information and the data input / output information with the data access information related to each user's access rights to the specified data and each control state's access rights, to determine whether the specified data input / output operation can be performed; The data input / output step executes the input / output operation of the prescribed data according to the determination result in the input / output data determination step.
Citation Information
Patent Citations
Parameter adjustment support device having function of supporting parameter adjustment
JP2015114821A