WO2021161523A1 - 駆動制御装置および駆動制御システム - Google Patents

駆動制御装置および駆動制御システム Download PDF

Info

Publication number
WO2021161523A1
WO2021161523A1 PCT/JP2020/005857 JP2020005857W WO2021161523A1 WO 2021161523 A1 WO2021161523 A1 WO 2021161523A1 JP 2020005857 W JP2020005857 W JP 2020005857W WO 2021161523 A1 WO2021161523 A1 WO 2021161523A1
Authority
WO
WIPO (PCT)
Prior art keywords
add
ons
drive control
user program
function
Prior art date
Application number
PCT/JP2020/005857
Other languages
English (en)
French (fr)
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 CN202080096138.XA priority Critical patent/CN115087935B/zh
Priority to JP2020543952A priority patent/JP6779425B1/ja
Priority to DE112020006105.1T priority patent/DE112020006105T5/de
Priority to PCT/JP2020/005857 priority patent/WO2021161523A1/ja
Priority to TW110104650A priority patent/TWI769696B/zh
Publication of WO2021161523A1 publication Critical patent/WO2021161523A1/ja

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
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present disclosure relates to a drive control device and a drive control system in which an add-on is mounted.
  • the resource usage of the required functional module is determined by setting an option for enabling or disabling a specific functional module and parameters that affect the performance of the enabled function, and the functional module is used.
  • a numerical control device for attaching / detaching a device is disclosed.
  • the present disclosure has been made in view of the above, and obtains a drive control device capable of appropriately setting add-ons necessary for executing a user program in a drive control device in which a plurality of add-ons are implemented.
  • the purpose is to be described in detail below.
  • the drive control device is a drive control device that controls a controlled device by executing a plurality of add-ons in order to solve the above-mentioned problems and achieve the object.
  • the drive control device is based on a user program, which is a program executed to control the controlled device, a memory in which a plurality of add-ons are stored, and an add-on selection condition for selecting add-ons including the user program.
  • the add-on that uses the first function which is the function of the controlled device used to execute the function included in the user program, is regarded as the effective add-on used to execute the user program, and other than the effective add-on among multiple add-ons.
  • an invalid add-on As an invalid add-on that is not used for executing a user program, it has an add-on selection unit that selects a plurality of add-ons, and a control unit that executes a valid add-on according to the user program and controls a controlled device.
  • the drive control device has an effect that it is possible to appropriately set add-ons necessary for executing a user program in a drive control device in which a plurality of add-ons are implemented.
  • the figure which shows the functional structure of the drive control device of the drive control system which concerns on Embodiment 1. A flowchart showing a procedure for processing an engineering tool of the drive control system according to the first embodiment.
  • FIG. 1 is a diagram showing a configuration of a drive control system 100 according to a first embodiment.
  • the drive control system 100 is a factory automation (FA) system.
  • the drive control system 100 includes an engineering tool 1, a drive control device 2, a servo amplifier 3, and a servomotor 4.
  • the engineering tool 1 is connected to the drive control device 2 by a communication line 6, and can perform wired communication with the drive control device 2.
  • the communication between the engineering tool 1 and the drive control device 2 may be wireless communication.
  • the engineering tool 1 is connected to the drive control device 2 only when necessary.
  • the drive control device 2 is connected to the servo amplifier 3 by a communication line 7, and can perform wired communication with the servo amplifier 3.
  • the communication between the drive control device 2 and the servo amplifier 3 may be wireless communication.
  • the drive control device 2 controls the servo amplifier 3 to control the operation of the servo motor 4 by executing the firmware according to the user program. Further, the drive control device 2 controls the servo amplifier 3 to control the operation of the servo motor 4 by executing a plurality of add-ons according to a user program.
  • the add-on is software for executing the extended function other than the initial function executed by executing the firmware according to the user program in the drive control device 2.
  • the servo amplifier 3 is connected to the servomotor 4 by a communication line 8 and can perform wired communication with the servomotor 4.
  • the communication between the servo amplifier 3 and the servo motor 4 may be wireless communication.
  • FIG. 2 is a diagram showing a functional configuration of the engineering tool 1 of the drive control system 100 according to the first embodiment.
  • the engineering tool 1 includes an input unit 11 for inputting information, a communication unit 12 for communicating between the drive control device 2, a display unit 13 for displaying information, a processor 14 for executing various processes, and information. It has a memory 15 for storing the above.
  • the input unit 11 is exemplified by a device such as a keyboard, a mouse, or a touch panel, and information is input by an operation by a user.
  • the communication unit 12 performs bidirectional communication with the drive control device 2.
  • the display unit 13 displays information on the screen.
  • the processor 14 is a CPU (Central Processing Unit), a processing device, an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor).
  • the memory 15 includes RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory) or EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory), HDD (Hard Disk Drive). Or SSD (Solid State Drive) is included.
  • the processing program of the engineering tool 1 is stored in the memory 15.
  • the processor 14 executes a program stored in the memory 15.
  • FIG. 2 shows the functional configuration of the engineering tool 1 realized by using the processor 14.
  • the engineering tool 1 includes a user program creation unit 141, an add-on selection condition generation unit 142, and a display processing unit 143.
  • the user program creation unit 141 displays a user program creation screen for creating a user program on the display unit 13, and performs a process of creating or editing a user program in response to a user operation performed on the input unit 11. conduct.
  • the user program is a program executed by the drive control device 2 to control the servo amplifier 3 and control the operation of the servo motor 4.
  • the user program creation unit 141 stores the created or edited user program in the memory 15.
  • the function of creating and editing a program in the user program creation unit 141 is the same as the editor function of a general engineering tool.
  • the engineering tool 1 has a function as a support device that supports the creation of a user program, which is a program executed by the drive control device 2 to control the servo amplifier 3 and control the operation of the servo motor 4.
  • the user creates a user program using the engineering tool 1, stores the created user program in the engineering tool 1, and transmits the created user program to the drive control device 2.
  • the add-on selection condition generation unit 142 generates an add-on selection condition including a user program which is a program executed by the drive control device 2 to control the servomotor 4, stores it in the memory 15, and stores it in the drive control device 2. Send.
  • the add-on selection condition generation unit 142 performs a process of generating an add-on selection condition in response to a user operation performed on the input unit 11.
  • the add-on selection condition generation unit 142 transmits the generated add-on selection condition to the drive control device 2 via the communication unit 12 in response to the user's operation performed on the input unit 11.
  • the engineering tool 1 shortens the control cycle when the drive control device 2 controls the operation of the servomotor 4 according to the user program, and when the drive control device 2 controls the operation of the servomotor 4 according to the user program.
  • add-on selection conditions are generated in response to user operations.
  • the add-on selection condition is a condition that serves as a selection criterion for selecting an add-on that is activated and executed by the drive control device 2 as described later.
  • FIG. 3 is a diagram showing an example of a screen for creating an add-on selection condition according to the first embodiment.
  • the display unit 13 includes an add-on display unit 131 that displays the name of the add-on that the user refers to when setting the add-on selection condition and the add-on use function, and a setting file of the function that is the add-on selection condition.
  • the setting file display unit 132 in which is displayed and the user program setting display unit 133 in which the user program which is an add-on selection condition is displayed are displayed.
  • the function setting file is the used function setting information in which the used function used for executing the user program is specified.
  • the used function setting information among the functions that can be used in the drive control device 2, the used function used for executing the user program is specified. That is, it can be said that the used function setting information is information in which the used function used for executing the user program is specified among the functions that can be used in the drive control device 2.
  • the used function specified in the used function setting information is, more specifically, a function for which control conditions are set and used in the execution of the user program.
  • the add-on display unit 131 displays the names of add-ons that can be used in the drive control device 2 and the add-on use functions.
  • the add-on use function is a function that can be used in the drive control device 2 and is used in the drive control device 2 when the add-on is executed according to the user program.
  • the add-ons executed by the drive control device 2 are the "stop function add-on” which controls the stop of the operation of the controlled device and the "speed-related function add-on” which is the add-on which controls the operation speed of the controlled device.
  • an "external signal function add-on” which is an add-on for processing a signal input from the outside.
  • stop setting is a function for setting a condition for controlling the stop of the operation of the controlled device.
  • the "add-on use function" for the "speed-related function add-on” is exemplified by "motor rotation speed setting", “speed limit setting”, and “acceleration / deceleration setting”.
  • the "motor rotation speed setting” is a function of setting the condition of the motor rotation speed for controlling the operation speed of the controlled device.
  • the "speed limit setting” is a function for setting an operation speed limit condition for controlling the operation speed of the controlled device.
  • the “acceleration / deceleration setting” is a function for setting the conditions for acceleration / deceleration of the operation for controlling the operation speed of the controlled device.
  • the touch probe function is a function that latches arbitrary data at the timing when a trigger input signal is detected.
  • the FLS is an input signal indicating that the limit switch installed at the upper limit of the positioning controllable range has been operated.
  • the limit switch has a b-contact configuration and is normally energized.
  • the FLS setting is a function for setting the FLS.
  • the RLS is an input signal indicating that the limit switch installed at the lower limit of the positioning controllable range has been operated.
  • the limit switch has a b-contact configuration and is normally energized.
  • RLS is a function for setting RLS.
  • a "setting item” as a target candidate for specifying a function to be used for executing a user program, which is an add-on selection condition, and a "setting value” for the setting item are set.
  • the setting table 1321 is displayed.
  • the “setting items” list the functions that can be used in the drive control device 2. Examples of “setting items” include “stop setting”, “motor rotation speed setting”, “speed limit setting”, “acceleration / deceleration setting”, “FLS setting”, and “RLS setting”. Further, the setting file display unit 132 displays the "necessary add-on selection function" as a setting item.
  • the "necessary add-on selection function" is a function in which the add-on selection unit 241 described later of the drive control device 2 selects a plurality of add-ons stored in the memory 25 into valid add-ons and invalid add-ons based on the add-on selection conditions. ..
  • the "setting values” of "stop setting”, “motor speed setting”, “speed limit setting”, “acceleration / deceleration setting”, “FLS setting” and “RLS setting”, which are “setting items”, are “set”. Or “No setting”. "With setting” is a setting that specifies the function of the setting item as the function used in the execution of the user program. "No setting” is a setting that specifies the function of the setting item as a function that is not used in the execution of the user program.
  • the "setting value” of the "required add-on selection function” is set to “enabled” or “disabled”.
  • “Valid” is a setting to enable the "required add-on selection function”.
  • “Disable” is a setting that disables the "necessary add-on selection function”.
  • the user program used as an add-on selection condition is displayed on the user program setting display unit 133. That is, the user program selected by the user as the add-on selection condition is displayed on the user program setting display unit 133.
  • the user program is a user program created by the user and stored in the memory 15. The user selects a user program to be used as an add-on selection condition from the user programs created and stored in the memory 15.
  • the user program includes a function executed by the control unit 242 of the drive control device 2 described later for controlling the operation of the controlled device.
  • the function is a process or operation executed by the control unit 242 of the drive control device 2 described later for controlling the operation of the controlled device.
  • Specific examples of the function include control such as speed control and torque control.
  • the name of the function is described as a character string together with the specific description of the function. For example, in the user program, the character string "touch probe function" is described together with the specific description of the touch probe function.
  • the add-on selection condition generation unit 142 sets at least a user program as an add-on selection condition in response to a user operation performed on the input unit 11.
  • the add-on selection condition generation unit 142 When the add-on selection condition generation unit 142 generates the add-on selection condition in which the function setting file and the user program are set, the add-on selection condition generation unit 142 transmits the add-on selection condition including the function setting file and the user program to the drive control device 2. .. Further, when the add-on selection condition generation unit 142 generates the add-on selection condition in which only the user program is set, the add-on selection condition generation unit 142 transmits the add-on selection condition including only the user program to the drive control device 2. That is, the add-on selection condition generation unit 142 transmits at least a user program to the drive control device 2 as an add-on selection condition.
  • the display processing unit 143 performs processing for display on the display unit 13.
  • the display processing unit 143 displays the user program creation screen on the display unit 13, and displays information on the display unit 13 in response to the user's operation performed on the input unit 11. Let me. Further, when the display processing unit 143 sets the add-on selection condition, the display unit 13 displays the setting screen of the doon selection condition as shown in FIG. 3, and the user's input unit 11 is displayed. Information is displayed on the display unit 13 in response to the operation.
  • the display processing unit 143 causes the display unit 13 to display the information received from the drive control device 2. Specifically, the display processing unit 143 receives at least one of the reduction time of the control cycle, the reduced usage capacity of the execution memory area, and the name of the invalid add-on from the drive control device 2 and displays them on the display unit 13.
  • Each function of the user program creation unit 141, the add-on selection condition generation unit 142, and the display processing unit 143 is realized by a combination of the processor 14 and software.
  • Each function of the user program creation unit 141, the add-on selection condition generation unit 142, and the display processing unit 143 may be realized by a combination of the processor 14 and the firmware, or may be realized by the combination of the processor 14, the software, and the firmware. ..
  • the software or firmware is written as a program and stored in the memory 15.
  • Processor 14 reads software or firmware.
  • Processor 14 executes software or firmware.
  • the memory 15 stores the user program created by the user program creation unit 141 and the add-on selection condition. Further, the memory 15 holds the information received from the drive control device 2.
  • the drive control device 2 controls the controlled device by executing the firmware and add-ons stored in the memory 25 according to the user program. Further, the drive control device 2 acquires the add-on selection condition from the engineering tool 1. The drive control device 2 selects a plurality of add-ons stored in the memory 25 into valid add-ons and invalid add-ons based on the add-on selection condition. Then, the drive control device 2 executes only the valid add-on without executing the invalid add-on among the plurality of add-ons stored in the memory 25.
  • FIG. 4 is a diagram showing a functional configuration of the drive control device 2 of the drive control system 100 according to the first embodiment.
  • the drive control device 2 includes an input unit 21 for inputting information, a communication unit 22 for communicating with the engineering tool 1 and communication with the servo amplifier 3, a display unit 23 for displaying information, and various types. It has a processor 24 for executing processing and a memory 25 for storing information.
  • the input unit 21 is exemplified by a device such as a keyboard, a mouse, or a touch panel, and information is input by an operation by a user.
  • the communication unit 22 performs bidirectional communication with the engineering tool 1 and with the servo amplifier 3.
  • the display unit 23 displays information on the screen.
  • the processor 24 is a CPU, a processing device, an arithmetic unit, a microprocessor, a microcomputer, or a DSP.
  • the memory 25 includes RAM, ROM, flash memory, EPROM or EEPROM®, HDD or SSD.
  • the processing program of the drive control device 2 is stored in the memory 25.
  • the processor 24 executes a program stored in the memory 25.
  • the memory 25 stores the user program, the add-on selection condition, and the firmware. Further, the memory 15 holds the information received from the drive control device 2.
  • the firmware is firmware that is executed when the drive control device 2 controls the operation of the servomotor 4 by controlling the servo amplifier 3 according to a user program.
  • the memory 25 has an add-on memory area 251 that stores a plurality of add-ons.
  • the add-on memory area 251 includes an effective add-on memory area 2511 in which an effective add-on described later is stored, and an invalid add-on memory area 2512 in which an invalid add-on described later is stored.
  • the effective add-on memory area 2511 and the invalid add-on memory area 2512 are realized by, for example, a ROM.
  • the memory 25 has an execution memory area 252 which is a memory area for copying the effective add-on from the effective add-on memory area 2511 when the control unit 242 described later executes the effective add-on.
  • the execution memory area 252 is realized by, for example, RAM.
  • the effective add-on is an add-on used by the drive control device 2 to execute the user program, and is an add-on enabled when the drive control device 2 executes the user program.
  • the invalid add-on is an add-on that the drive control device 2 does not use to execute the user program, and is an add-on that is invalidated when the drive control device 2 executes the user program.
  • FIG. 4 shows the functional configuration of the drive control device 2 realized by using the processor 24.
  • the drive control device 2 includes an add-on selection unit 241 and a control unit 242.
  • the add-on selection unit 241 receives the add-on selection condition transmitted from the add-on selection condition generation unit 142 of the engineering tool 1, and enables and disables a plurality of add-ons stored in the memory 25 based on the add-on selection condition. And sort out.
  • the add-on selection unit 241 sets an add-on in which the first function, which is a function used for executing the user program, is used as an effective add-on based on the user program included in the add-on selection condition, and is effective among a plurality of add-ons.
  • a plurality of add-ons stored in the memory 25 are selected by using an add-on other than the add-on as an invalid add-on.
  • the first function is a function used to execute a function included in a user program.
  • the add-on selection unit 241 stores the add-on selected as the effective add-on in the effective add-on memory area 2511.
  • the add-on selection unit 241 sets an add-on in which the second function, which is a function used for executing the user program, is used as an effective add-on based on the function setting file included in the add-on selection condition, and sets a plurality of add-ons. Among them, add-ons other than valid add-ons are regarded as invalid add-ons, and multiple add-ons are selected.
  • the second function is a function used for executing a user program.
  • the second function is a function specified for the function to be used in the setting file of the function of the add-on selection condition, and the "setting value" is set to "enabled" in the setting file of the function of the add-on selection condition. It is a function that exists.
  • the add-on selection unit 241 stores the add-on selected as the invalid add-on in the invalid add-on memory area 2512.
  • the control unit 242 executes the firmware wear according to the user program and controls the operation of the servomotor 4 by controlling the servo amplifier 3. Further, the control unit 242 controls the operation of the servomotor 4 by executing the effective add-on according to the user program and controlling the servo amplifier 3.
  • FIG. 5 is a flowchart showing a processing procedure of the engineering tool 1 of the drive control system 100 according to the first embodiment.
  • step S10 the user program is created.
  • the user program creation unit 141 of the engineering tool 1 causes the display unit 13 to display the user program creation screen for creating the user program. Then, the user program creation unit 141 performs a process of creating a user program in response to the user's operation performed on the input unit 11.
  • the user program creation unit 141 creates a user program by controlling and displaying the information corresponding to the user's operation performed on the input unit 11 by controlling the display processing unit 143.
  • the add-on selection condition generation unit 142 of the engineering tool 1 causes the display unit 13 to display the add-on selection condition creation screen. Then, the add-on selection condition generation unit 142 sets and generates the add-on selection condition in response to the user's operation performed on the input unit 11.
  • the add-on selection condition generation unit 142 receives the activation setting information which is the setting information instructing the activation of the "necessary add-on selection function".
  • the activation setting information is input from the input unit 11 by the user's operation.
  • the "setting value" column corresponding to the "necessary add-on selection function" in the setting table 1321 displayed on the setting file display unit 132 is set as a pull-down menu, and "valid" or “disabled” selection items are selected as input items. Is displayed.
  • the user inputs the activation setting information by selecting either “enabled” or “disabled” selection item from the pull-down menu.
  • step S30 the add-on selection condition generation unit 142 sets the "setting value" of the "necessary add-on selection function" in the setting file display unit 132 to "valid" according to the activation setting information.
  • the add-on selection condition generation unit 142 receives the setting information of the add-on use function. Specifically, the add-on selection condition generation unit 142 uses the add-on "information with setting” instructing "enable” of the add-on use function or "information without setting” instructing "disable” of the add-on use function. Receives for each setting item for which the function is set. The "information with settings” and the “information without settings” are input from the input unit 11 by the user's operation. For example, the "setting value" column corresponding to each item of the function setting file in the setting table 1321 displayed on the setting file display unit 132 is set as a pull-down menu, and the input items are "with setting” or “without setting”. The selection items are displayed. The user inputs the setting information of the add-on use function by selecting either "with setting” or "without setting” from the pull-down menu.
  • step S50 the add-on selection condition generation unit 142 sets the "setting value” for each setting item in the setting table 1321 according to the received setting information of the add-on use function.
  • the add-on selection condition generation unit 142 sets the "setting value” to "with setting” for the setting item that has received "information with setting” as the setting information of the add-on use function.
  • the add-on selection condition generation unit 142 sets the "setting value” to "no setting” for the setting item that has received the "no setting information” as the setting information of the add-on use function.
  • the function setting file in the add-on selection condition is set.
  • step S60 the add-on selection condition generation unit 142 receives the specified information of the user program set in the add-on selection condition.
  • the designated information of the user program is input from the input unit 11 by the operation of the user.
  • step S70 the add-on selection condition generation unit 142 displays the user program specified in the user program designation information on the user program setting display unit 133 in the setting table 1321 and sets the add-on selection condition.
  • the user program in the add-on selection condition is set, and the add-on selection condition in which the function setting file and the user program are set is generated.
  • the add-on selection condition generation unit 142 stores the generated add-on selection condition in the memory 25.
  • the add-on selection condition generation unit 142 transmits the add-on selection condition stored in the memory 25 to the add-on selection unit 241 of the drive control device 2 in response to the user's operation performed on the input unit 11.
  • FIG. 6 is a flowchart showing a processing procedure of the drive control device 2 of the drive control system 100 according to the first embodiment.
  • step S110 the add-on selection unit 241 of the drive control device 2 acquires the add-on selection condition from the engineering tool 1.
  • step S120 the add-on selection unit 241 determines whether or not to enable the "necessary add-on selection function" based on the add-on selection conditions.
  • the add-on selection unit 241 determines that the "necessary add-on selection function" of the add-on selection unit 241 is enabled when the "setting value" of the "necessary add-on selection function" included in the add-on selection condition is "valid".
  • the add-on selection unit 241 determines that the "necessary add-on selection function" of the add-on selection unit 241 is not enabled when the "setting value” of the "necessary add-on selection function" included in the add-on selection condition is "invalid". ..
  • step S120 If it is determined that the "necessary add-on selection function" is enabled, the result is Yes in step S120, and the add-on selection unit 241 enables the "necessary add-on selection function" and proceeds to step S130. If it is determined that the "necessary add-on selection function" is not enabled, the result is No in step S120, and the add-on selection unit 241 disables the "necessary add-on selection function" and ends a series of processes. It is assumed that the "necessary add-on selection function" of the add-on selection unit 241 is basically disabled.
  • step S130 the add-on selection unit 241 starts executing the "necessary add-on selection function" and analyzes the setting conditions of the add-on selection conditions, that is, analyzes the setting file of the function included in the add-on selection conditions.
  • step S140 the add-on selection unit 241 determines whether or not there is an add-on that can be disabled among the add-ons stored in the add-on memory area 251 based on the analysis result of the function setting file included in the add-on selection condition. To judge. Here, at the start of execution of the "necessary add-on selection function", all the add-ons stored in the drive control device 2 are set as add-ons to be activated and stored in the effective add-on memory area 2511.
  • the add-on selection unit 241 selects the add-ons stored in the effective add-on memory area 2511 into valid add-ons and invalid add-ons.
  • An effective add-on is an add-on that uses an add-on use function whose "setting value” is set to "with setting” in the function setting file included in the add-on selection condition.
  • An invalid add-on is an add-on in which the add-on use function whose "setting value" is set to "with setting” is not used in the setting file of the function included in the add-on selection condition.
  • the add-on selection unit 241 determines that there is an add-on that can be invalidated when there is an add-on selected as an invalid add-on.
  • the add-on selection unit 241 determines that there is no add-on that can be invalidated when the selected add-on does not exist in the invalid add-on. If it is determined that there is an add-on that can be invalidated, the result is Yes in step S140, and the process proceeds to step S150. If it is determined that there is no add-on that can be invalidated, the result is No in step S140, and the add-on selection unit 241 ends a series of processes.
  • step S150 the add-on selection unit 241 performs an invalidation process for invalidating the add-on determined to be invalidated.
  • the add-on selection unit 241 moves the add-on determined to be invalid among the add-ons set as the add-on to be activated and stored in the effective add-on memory area 2511 to the invalid add-on memory area 2512, stores the add-on, and invalidates the add-on. To become.
  • step S160 the add-on selection unit 241 analyzes the user program of the add-on selection condition, that is, analyzes the user program included in the add-on selection condition. Specifically, the add-on selection unit 241 extracts a character string of the name of the function for the function described in the user program of the add-on selection condition.
  • step S170 the add-on selection unit 241 determines whether or not there is an add-on that can be activated among the add-ons stored in the invalid add-on memory area 2512 based on the analysis result of the user program included in the add-on selection condition. judge.
  • the add-on selection unit 241 selects the add-ons stored in the invalid add-on memory area 2512 into valid add-ons and invalid add-ons using the extracted function name character string as a search condition.
  • the valid add-on here is an add-on that includes the character string of the extracted function name.
  • the invalid add-on here is an add-on that does not include the character string of the extracted function name.
  • the add-on selection unit 241 determines that there is an add-on that can be activated when there is an add-on selected as an effective add-on.
  • the add-on selection unit 241 determines that there is no add-on that can be activated when the selected add-on does not exist as a valid add-on. If it is determined that there is an add-on that can be activated, the result is Yes in step S170, and the process proceeds to step S180. If it is determined that there is no add-on that can be activated, the result is No in step S170, and the process proceeds to step S190.
  • step S180 the add-on selection unit 241 performs an activation process for activating the add-on that can be activated among the invalid add-ons stored in the invalid add-on memory area 2512.
  • the add-on selection unit 241 is set as an add-on to be invalidated and is stored in the invalid add-on memory area 2512.
  • the add-on determined to be valid is moved to the effective add-on memory area 2511 and stored to be invalidated. To become.
  • the add-on selection unit 241 appropriately selects valid add-ons, which are add-ons used for executing the user program, and invalid add-ons, which are add-ons not used for executing the user program, and enables and disables the valid add-ons. Add-ons can be disabled to optimize the settings for enabled add-ons.
  • the drive control device 2 can set only the add-on used for executing the user program among all the add-ons stored in the drive control device 2 as an effective add-on, and the user program can be set. Add-ons that are not used to run are never set as valid add-ons. Further, by selecting the valid add-on and the invalid add-on in step S140 and step S170, the add-on determined as the invalid add-on in step S140 but used for executing the user program can be reset as the valid add-on. can.
  • the drive control device 2 is an add-on that uses the add-on use function in which the "setting value" is set to "with setting” in the setting file of the function included in the add-on selection condition by performing the above-mentioned processing.
  • an add-on that corresponds to at least one of the add-ons that includes the character string of the function name described in the user program of the add-on selection condition can be used as a valid add-on, so that the add-on required for executing the user program can be made highly accurate. Can be set as a valid add-on.
  • the add-on selection unit 241 only activates the effective add-ons from the control cycle of the controlled device by the drive control device 2 when all the add-ons stored in the add-on memory area 251 are enabled and the user program is executed.
  • the shortened control cycle which is the shortened time of the control cycle of the controlled device by the drive control device 2 when the user program is executed after enabling the user program, is calculated. That is, the shortened control cycle is a cycle in which the add-on selection unit 241 controls the controlled device when all add-ons of a plurality of add-ons are executed. From the first control cycle, the effective add-on is executed without executing the invalid add-on. This is the reduction time of the control cycle, which is the time obtained by subtracting the second control cycle, which is the cycle in which the add-on selection unit 241 controls the controlled device when executed.
  • the add-on selection unit 241 enables only the effective add-on from the used capacity of the execution memory area 252 when all the add-ons stored in the add-on memory area 251 are enabled and the user program is executed, and the user program is executed.
  • the reduced memory capacity which is the reduced capacity of the used capacity of the execution memory area 252 by the drive control device 2 when the above is executed, is calculated.
  • the drive control device 2 does not copy an invalid add-on, which is an add-on that is not used, onto the execution memory area 252 and make it resident. As a result, in the drive control device 2, unnecessary memory consumption of the execution memory area 252 does not occur due to an invalid add-on that is not used. Therefore, it is not necessary to increase the capacity of the execution memory area 252, and the execution memory area 252 is increased. It is possible to suppress the increase in cost due to. Further, the drive control device 2 can effectively utilize the execution memory area 252 by copying the unused add-on to the execution memory area 252 and not making it resident.
  • the drive control device 2 can reduce the time for copying the unused add-on to the execution memory area 252 by copying the invalid add-on which is an unused add-on on the execution memory area 252 and not making it resident. As a result, the drive control device 2 can reduce the processing time at the stage of preparation for executing the control of the controlled device, and shorten the rise time of the drive control device 2 until the control of the controlled device is executed. This makes it possible to quickly start the control of the controlled device.
  • the drive control device 2 shortens the control cycle caused by the execution of the invalid add-on by not executing the invalid add-on which is an unused add-on, and the control cycle in which the controlled device is controlled by the drive control device 2 is unnecessary. It is possible to prevent a long period of time and control the controlled device with an appropriate control time.
  • step S190 the add-on selection unit 241 transmits the processing result of the required add-on selection function to the display processing unit 143 of the engineering tool 1.
  • the processing result includes the status information of all add-ons stored in the add-on memory area 251, the shortened control cycle, and the reduced memory capacity.
  • the add-on status information is information on whether the add-on is in the enabled state or the disabled state.
  • FIG. 7 is a diagram showing an example of a display screen of the processing result of the required add-on selection function in the display unit 13 of the engineering tool 1 according to the first embodiment.
  • the display processing unit 143 of the engineering tool 1 receives the processing result of the required add-on selection function
  • the display processing unit 143 displays the processing result of the required add-on selection function on the display unit 13.
  • the display unit 13 has an add-on status display unit 134 that displays the status of each add-on, and a processing result display screen that displays the processing results of add-on optimization processing such as invalidation add-on, shortening control cycle, and reduced memory capacity. 135 and are displayed.
  • the add-on selection condition is created in the engineering tool 1.
  • the drive control device 2 automatically activates only the add-ons necessary for executing the user program among the plurality of add-ons stored in the drive control device 2 based on the add-on selection conditions, and executes the user program. do.
  • the drive control device 2 suppresses the lengthening of the control cycle caused by enabling an add-on that is unnecessary for executing the user program, and shortens the control cycle when the user program is executed. It is possible.
  • the drive control device 2 can reduce the used capacity of the memory 25 due to the activation of an add-on unnecessary for executing the user program, and can effectively utilize the capacity of the memory 25.
  • the user only needs to create an add-on selection condition, that is, a user program and a function setting file, and the drive control device 2 provides an add-on necessary for executing the user program. Determine automatically.
  • the user can appropriately enable or disable the add-ons required to execute the user program without having to be familiar with the functions of each add-on.
  • the user when setting the function to be used for executing the user program in the function setting file, the user may select and specify the function for which the control condition needs to be set in the execution of the user program. Therefore, the user can easily set the function to be used for executing the user program without being familiar with the relationship between the initial function provided in the drive control device 2 and the extension function realized by the add-on. be able to.
  • the drive control device 2 has valid add-ons and invalid add-ons based on the analysis result of the function setting file included in the add-on selection condition and the analysis result of the user program included in the add-on selection condition. It is sorted into. The drive control device 2 may select valid add-ons and invalid add-ons only based on the result of analysis of the function setting file. Further, the drive control device 2 may select valid add-ons and invalid add-ons based only on the analysis of the user program.
  • an add-on selection condition including only the function setting file is generated by the engineering tool 1 and the drive control is performed. It may be transmitted to the device 2. Further, when the drive control device 2 selects the valid add-on and the invalid add-on based only on the result of the analysis of the user program, the add-on selection condition including only the user program is generated by the engineering tool 1 and the drive control device 2 It should be sent to.
  • the drive control device 2 can appropriately set an add-on required for executing a user program among a plurality of add-ons mounted on the drive control device 2. It works.
  • the configuration shown in the above embodiments is an example, and can be combined with another known technique, can be combined with each other, and does not deviate from the gist. It is also possible to omit or change a part of the configuration.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

駆動制御装置(2)は、複数のアドオンを実行することにより被制御装置を制御する駆動制御装置(2)である。駆動制御装置(2)は、被制御装置を制御するために実行されるプログラムであるユーザプログラムと、被制御装置を制御するために実行される複数のアドオンが記憶されるメモリ(25)と、ユーザプログラムを含みアドオンを選別するためのアドオン選別条件に基づいて、ユーザプログラムに含まれている関数の実行に使用される被制御装置の機能である第1機能が使用されるアドオンをユーザプログラムの実行に使用される有効アドオンとし、複数のアドオンのうち有効アドオン以外のアドオンをユーザプログラムの実行に使用されない無効アドオンとして、複数のアドオンを選別するアドオン選別部(241)と、ユーザプログラムに従って有効アドオンを実行して被制御装置を制御する制御部(242)と、を有する。

Description

駆動制御装置および駆動制御システム
 本開示は、アドオンが実装された駆動制御装置および駆動制御システムに関する。
 特許文献1には、特定の機能モジュールを有効化または無効化するオプションと、有効化した機能のパフォーマンスを左右するパラメータを設定することにより、必要な機能モジュールのリソース使用量を決定し、機能モジュールの着脱を行う数値制御装置が開示されている。
特開2018-185734号公報
 しかしながら、昨今の駆動制御装置では、アドオンのインストールにより拡張できる機能が多様化されている。このため、駆動制御装置に備わっている初期機能と、アドオンによって実現される拡張機能との関連を、マニュアル等のメーカから提供される資料から確認しなければならない。このため、アドオンによって実現される拡張機能と初期機能との関連付けに工数がかかり、またアドオンによって実現される拡張機能と初期機能との理解不足によって、有効化するアドオンを適切に設定できず、有効化するアドオンの構成の適正化が困難となる場合がある。
 このため、特許文献1に記載されたように、ユーザがパラメータおよびオプションを用いてアドオンの有効化または無効化を選択し、またリソースの使用量を設定しても、ユーザプログラムの実行に必要なアドオンを適切に有効化することは難しい。そして、駆動制御装置において、有効化するアドオンが適切に設定されず、駆動制御装置による制御対象装置の制御に不要なアドオンも有効化されている場合には、駆動制御装置の制御周期が長くなる、という問題があった。
 本開示は、上記に鑑みてなされたものであって、複数のアドオンが実装された駆動制御装置においてユーザプログラムの実行に必要なアドオンを適切に設定することが可能な駆動制御装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本開示にかかる駆動制御装置は、複数のアドオンを実行することにより被制御装置を制御する駆動制御装置である。駆動制御装置は、被制御装置を制御するために実行されるプログラムであるユーザプログラムと、複数のアドオンが記憶されるメモリと、ユーザプログラムを含みアドオンを選別するためのアドオン選別条件に基づいて、ユーザプログラムに含まれている関数の実行に使用される被制御装置の機能である第1機能が使用されるアドオンをユーザプログラムの実行に使用される有効アドオンとし、複数のアドオンのうち有効アドオン以外のアドオンをユーザプログラムの実行に使用されない無効アドオンとして、複数のアドオンを選別するアドオン選別部と、ユーザプログラムに従って有効アドオンを実行して被制御装置を制御する制御部と、を有する。
 本開示にかかる駆動制御装置は、複数のアドオンが実装された駆動制御装置においてユーザプログラムの実行に必要なアドオンを適切に設定することが可能である、という効果を奏する。
実施の形態1にかかる駆動制御システムの構成を示す図 実施の形態1にかかる駆動制御システムのエンジニアリングツールの機能構成を示す図 実施の形態1にかかるアドオン選別条件の作成画面の一例を示す図 実施の形態1にかかる駆動制御システムの駆動制御装置の機能構成を示す図 実施の形態1にかかる駆動制御システムのエンジニアリングツールの処理の手順を示すフローチャート 実施の形態1にかかる駆動制御システムの駆動制御装置の処理の手順を示すフローチャート 実施の形態1にかかるエンジニアリングツールの表示部における必要アドオン選別機能の処理結果の表示画面の一例を示す図
 以下に、実施の形態にかかる駆動制御装置および駆動制御システムを図面に基づいて詳細に説明する。なお、この実施の形態により本開示が限定されるものではない。
実施の形態1.
 図1は、実施の形態1にかかる駆動制御システム100の構成を示す図である。駆動制御システム100は、ファクトリーオートメーション(Factory Automation:FA)システムである。駆動制御システム100は、エンジニアリングツール1と、駆動制御装置2と、サーボアンプ3と、サーボモータ4と、を備える。
 エンジニアリングツール1は、通信線6によって駆動制御装置2と接続されており、駆動制御装置2と有線通信可能である。なお、エンジニアリングツール1と駆動制御装置2との通信は、無線通信であってもよい。なお、エンジニアリングツール1は、必要時にのみ駆動制御装置2と接続される。
 駆動制御装置2は、通信線7によってサーボアンプ3と接続されており、サーボアンプ3と有線通信可能である。なお、駆動制御装置2とサーボアンプ3との通信は、無線通信であってもよい。駆動制御装置2は、ユーザプログラムに従ってファームウェアを実行することにより、サーボアンプ3を制御してサーボモータ4の動作を制御する。また、駆動制御装置2は、ユーザプログラムに従って複数のアドオンを実行することにより、サーボアンプ3を制御してサーボモータ4の動作を制御する。アドオンは、ユーザプログラムに従ってファームウェアを実行することにより実行される初期機能以外の拡張機能を駆動制御装置2において実行するためソフトウェアである。
 サーボアンプ3は、通信線8によってサーボモータ4と接続されており、サーボモータ4と有線通信可能である。なお、サーボアンプ3とサーボモータ4との通信は、無線通信であってもよい。
 図2は、実施の形態1にかかる駆動制御システム100のエンジニアリングツール1の機能構成を示す図である。エンジニアリングツール1は、情報が入力される入力部11と、駆動制御装置2との間の通信を行う通信部12と、情報を表示する表示部13と、各種処理を実行するプロセッサ14と、情報を記憶するメモリ15と、を有する。
 入力部11は、エンジニアリングツール1の外部から各種の情報が入力される。入力部11は、たとえばキーボード、マウスあるいはタッチパネルといった装置が例示され、ユーザによる操作によって情報が入力される。通信部12は、駆動制御装置2との間で双方向の通信を行う。表示部13は、画面にて情報を表示する。
 プロセッサ14は、CPU(Central Processing Unit)、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、又はDSP(Digital Signal Processor)である。メモリ15は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)またはEEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)、HDD(Hard Disk Drive)またはSSD(Solid State Drive)を含む。エンジニアリングツール1の処理プログラムは、メモリ15に格納される。プロセッサ14は、メモリ15に格納されているプログラムを実行する。
 図2には、プロセッサ14を使用することによって実現されるエンジニアリングツール1の機能構成を示している。エンジニアリングツール1は、ユーザプログラム作成部141と、アドオン選別条件生成部142と、表示処理部143と、を備える。
 ユーザプログラム作成部141は、ユーザプログラムを作成するユーザプログラム作成画面を表示部13に表示させ、入力部11に対して行われたユーザの操作に対応して、ユーザプログラムを作成または編集する処理を行う。ユーザプログラムは、駆動制御装置2がサーボアンプ3を制御してサーボモータ4の動作を制御するために実行するプログラムである。ユーザプログラム作成部141は、作成または編集したユーザプログラムをメモリ15に記憶させる。ユーザプログラム作成部141におけるプログラムを作成および編集する機能は、一般的なエンジニアリングツールのエディタ機能と同様である。
 すなわち、エンジニアリングツール1は、駆動制御装置2がサーボアンプ3を制御してサーボモータ4の動作を制御するために実行するプログラムであるユーザプログラムの作成を支援する支援装置としての機能を有する。ユーザは、エンジニアリングツール1を用いてユーザプログラムを作成し、作成したユーザプログラムをエンジニアリングツール1に記憶させ、また駆動制御装置2に送信する。
 アドオン選別条件生成部142は、駆動制御装置2がサーボモータ4を制御するために実行するプログラムであるユーザプログラムを含むアドオン選別条件を生成して、メモリ15に記憶させ、また駆動制御装置2に送信する。アドオン選別条件生成部142は、入力部11に対して行われたユーザの操作に対応して、アドオン選別条件を生成する処理を行う。アドオン選別条件生成部142は、生成したアドオン選別条件を、入力部11に対して行われたユーザの操作に対応して、通信部12を介して駆動制御装置2に送信する。
 すなわち、エンジニアリングツール1は、駆動制御装置2がユーザプログラムに従ってサーボモータ4の動作を制御する際の制御周期を短縮するため、および駆動制御装置2がユーザプログラムに従ってサーボモータ4の動作を制御する際の実行メモリの使用領域を削減するために、ユーザの操作に対応してアドオン選別条件を生成する。アドオン選別条件は、後述するように駆動制御装置2が有効化して実行するアドオンを選別するための選別基準となる条件である。
 図3は、実施の形態1にかかるアドオン選別条件の作成画面の一例を示す図である。図3に示すように、表示部13には、ユーザがアドオン選別条件の設定時に参照するアドオンの名称とアドオン使用機能とが表示されるアドオン表示部131と、アドオン選別条件である機能の設定ファイルが表示される設定ファイル表示部132と、アドオン選別条件であるユーザプログラムが表示されるユーザプログラム設定表示部133と、が表示される。
 ここで、機能の設定ファイルとは、ユーザプログラムの実行に使用される使用機能が指定される使用機能設定情報である。使用機能設定情報においては、駆動制御装置2において使用可能な機能のうち、ユーザプログラムの実行に使用される使用機能が指定される。すなわち、使用機能設定情報は、駆動制御装置2において使用可能な機能のうち、ユーザプログラムの実行に使用される使用機能が指定された情報といえる。また、使用機能設定情報において指定される使用機能は、より詳細には、ユーザプログラムの実行において制御条件が設定されて使用される機能である。
 アドオン表示部131には、駆動制御装置2において使用可能なアドオンの名称とアドオン使用機能とが表示される。アドオン使用機能は、ユーザプログラムに従ってアドオンを実行する場合に駆動制御装置2において使用される、駆動制御装置2において使用可能な機能である。たとえば、駆動制御装置2が実行するアドオンは、被制御装置の動作の停止を制御するアドオンである「停止機能アドオン」と、被制御装置の動作の速度を制御するアドオンである「速度関連機能アドオン」と、外部から入力される信号を処理するアドオンである「外部信号機能アドオン」と、が例示される。
 また、「停止機能アドオン」についての「アドオン使用機能」は、「停止設定」が例示される。「停止設定」は、被制御装置の動作の停止を制御するための条件を設定する機能である。
 「速度関連機能アドオン」についての「アドオン使用機能」は、「モータ回転数設定」と「速度制限設定」と「加減速設定」とが例示される。「モータ回転数設定」は、被制御装置の動作の速度を制御するためのモータ回転数の条件を設定する機能である。「速度制限設定」は、被制御装置の動作の速度を制御するための動作の速度制限の条件を設定する機能である。「加減速設定」は、被制御装置の動作の速度を制御するための動作の加減速度の条件を設定する機能である。
 「外部信号機能アドオン」についての「アドオン使用機能」は、「タッチプローブ機能」と「Forward Limit Signal(FLS)設定」と、「Reverse Limit Signal(RLS)設定」と「タッチプローブ」とが例示される。タッチプローブ機能は、トリガ入力信号を検出したタイミングで任意のデータをラッチする機能である。FLSは、位置決め制御可能範囲の上限に設置したリミットスイッチが動作したことを知らせる入力信号である。リミットスイッチは、b接点構成であり通常は通電状態である。FLS設定は、FLSを設定する機能である。RLSは、位置決め制御可能範囲の下限に設置したリミットスイッチが動作したことを知らせる入力信号である。リミットスイッチは、b接点構成であり通常は通電状態である。RLSは、RLSを設定する機能である。
 設定ファイル表示部132には、アドオン選別条件である、ユーザプログラムの実行に使用される使用機能の指定を行う対象候補となる「設定項目」と、設定項目についての「設定値」が設定される設定テーブル1321が表示される。「設定項目」には、駆動制御装置2において使用可能な機能が列挙される。「設定項目」は、「停止設定」、「モータ回転数設定」、「速度制限設定」、「加減速設定」、「FLS設定」および「RLS設定」が例示される。また、設定ファイル表示部132には、設定項目として、「必要アドオン選別機能」が表示される。「必要アドオン選別機能」は、駆動制御装置2の後述するアドオン選別部241が、メモリ25に記憶している複数のアドオンをアドオン選別条件に基づいて有効アドオンと無効アドオンとに選別する機能である。
 「設定項目」である、「停止設定」、「モータ回転数設定」、「速度制限設定」、「加減速設定」、「FLS設定」および「RLS設定」の「設定値」は、「設定あり」または「設定なし」に設定される。「設定あり」は、設定項目の機能をユーザプログラムの実行において使用する機能に指定する設定である。「設定なし」は、設定項目の機能をユーザプログラムの実行において使用しない機能に指定する設定である。「必要アドオン選別機能」の「設定値」は、「有効」または「無効」に設定される。「有効」は、「必要アドオン選別機能」を有効化する設定である。「無効」は、「必要アドオン選別機能」を無効化する設定である。
 ユーザプログラム設定表示部133には、アドオン選別条件として使用するユーザプログラムが表示される。すなわち、ユーザがアドオン選別条件として選択したユーザプログラムがユーザプログラム設定表示部133に表示される。ユーザプログラムは、ユーザが作成してメモリ15に記憶させたユーザプログラムである。ユーザは、作成してメモリ15に記憶させたユーザプログラムの中から、アドオン選別条件として使用するユーザプログラムを選択する。
 ユーザプログラムには、被制御装置の動作の制御のために後述する駆動制御装置2の制御部242が実行する関数が含まれている。関数は、被制御装置の動作の制御のために後述する駆動制御装置2の制御部242が実行する処理または演算である。関数は、具体的に、速度制御およびトルク制御などの制御が例示される。また、ユーザプログラムには、関数の具体的な記述とともに関数の名称が文字列で記述されている。たとえば、ユーザプログラムには、タッチプローブ用関数の具体的な記述とともに「タッチプローブ用関数」という文字列が記述されている。
 アドオン選別条件生成部142は、入力部11に対して行われたユーザの操作に対応して、アドオン選別条件として少なくともユーザプログラムを設定する。
 アドオン選別条件生成部142は、機能の設定ファイルとユーザプログラムとが設定されたアドオン選別条件を生成した場合に、機能の設定ファイルとユーザプログラムとを含むアドオン選別条件を駆動制御装置2に送信する。また、アドオン選別条件生成部142は、ユーザプログラムのみが設定されたアドオン選別条件を生成した場合には、ユーザプログラムのみ含むアドオン選別条件を駆動制御装置2に送信する。すなわち、アドオン選別条件生成部142は、アドオン選別条件として少なくともユーザプログラムを駆動制御装置2に送信する。
 表示処理部143は、表示部13における表示のための処理を行う。表示処理部143は、ユーザプログラムを作成する場合にはユーザプログラムの作成画面を表示部13に表示させ、入力部11に対して行われたユーザの操作に対応して情報を表示部13に表示させる。また、表示処理部143は、アドオン選別条件の設定を行う場合には、図3に示すようなドオン選別条件の設定画面を表示部13に表示させ、入力部11に対して行われたユーザの操作に対応して情報を表示部13に表示させる。
 また、表示処理部143は、駆動制御装置2から受け取った情報を、表示部13に表示させる。具体的に、表示処理部143は、制御周期の減少時間、実行メモリ領域の減少使用容量および無効アドオンの名称のうち少なくとも1つを駆動制御装置2から受信して、表示部13に表示させる。
 ユーザプログラム作成部141とアドオン選別条件生成部142と表示処理部143との各機能は、プロセッサ14およびソフトウェアの組み合わせによって実現される。ユーザプログラム作成部141とアドオン選別条件生成部142と表示処理部143との各機能は、プロセッサ14およびファームウェアの組み合わせによって実現されてもよく、プロセッサ14、ソフトウェアおよびファームウェアの組み合わせによって実現されてもよい。ソフトウェアまたはファームウェアは、プログラムとして記述され、メモリ15に格納される。プロセッサ14は、ソフトウェアまたはファームウェアを読み出す。プロセッサ14は、ソフトウェアまたはファームウェアを実行する。
 メモリ15は、ユーザプログラム作成部141によって作成されたユーザプログラムと、アドオン選別条件と、を記憶する。また、メモリ15は、駆動制御装置2から受け取った情報を保持する。
 つぎに、駆動制御装置2について説明する。駆動制御装置2は、ユーザプログラムに従って、メモリ25に記憶されているファームウェアおよびアドオンを実行することにより、被制御装置を制御する。また、駆動制御装置2は、アドオン選別条件をエンジニアリングツール1から取得する。駆動制御装置2は、アドオン選別条件に基づいて、メモリ25に記憶している複数のアドオンを有効アドオンと無効アドオンとに選別する。そして、駆動制御装置2は、メモリ25に記憶している複数のアドオンのうち、無効アドオンを実行せずに、有効アドオンのみを実行する。
 図4は、実施の形態1にかかる駆動制御システム100の駆動制御装置2の機能構成を示す図である。駆動制御装置2は、情報が入力される入力部21と、エンジニアリングツール1との間の通信およびサーボアンプ3との間の通信を行う通信部22と、情報を表示する表示部23と、各種処理を実行するプロセッサ24と、情報を記憶するメモリ25と、を有する。
 入力部21は、駆動制御装置2の外部から各種の情報が入力される。入力部21は、たとえばキーボード、マウスあるいはタッチパネルといった装置が例示され、ユーザによる操作によって情報が入力される。通信部22は、エンジニアリングツール1との間およびサーボアンプ3との間で双方向の通信を行う。表示部23は、画面にて情報を表示する。
 プロセッサ24は、CPU、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、又はDSPである。メモリ25は、RAM、ROM、フラッシュメモリ、EPROMまたはEEPROM(登録商標)、HDDまたはSSDを含む。駆動制御装置2の処理プログラムは、メモリ25に格納される。プロセッサ24は、メモリ25に格納されているプログラムを実行する。
 メモリ25は、ユーザプログラムと、アドオン選別条件と、ファームウェアと、を記憶する。また、メモリ15は、駆動制御装置2から受け取った情報を保持する。ファームウェアは、駆動制御装置2がユーザプログラムに従ってサーボアンプ3を制御することによりサーボモータ4の動作を制御する際に実行するプログラムであるファームウェアである。
 メモリ25は、複数のアドオンを記憶するアドオンメモリ領域251を有する。アドオンメモリ領域251は、後述する有効アドオンが記憶される有効アドオンメモリ領域2511と、後述する無効アドオンが記憶される無効アドオンメモリ領域2512と、を有する。有効アドオンメモリ領域2511と無効アドオンメモリ領域2512とは、たとえばROMによって実現される。
 また、メモリ25は、後述する制御部242が有効アドオンを実行する際に有効アドオンを有効アドオンメモリ領域2511からコピーするメモリ領域である実行メモリ領域252を有する。実行メモリ領域252は、たとえばRAMによって実現される。
 有効アドオンは、駆動制御装置2がユーザプログラムの実行に使用するアドオンであり、駆動制御装置2がユーザプログラムを実行する際に有効化されるアドオンである。無効アドオンは、駆動制御装置2がユーザプログラムの実行に使用しないアドオンであり、駆動制御装置2がユーザプログラムを実行する際に無効化されるアドオンである。
 図4には、プロセッサ24を使用することによって実現される駆動制御装置2の機能構成を示している。駆動制御装置2は、アドオン選別部241と、制御部242と、を備える。
 アドオン選別部241は、エンジニアリングツール1のアドオン選別条件生成部142から送信されたアドオン選別条件を受信し、アドオン選別条件に基づいて、メモリ25に記憶されている複数のアドオンを有効アドオンと無効アドオンとに選別する。
 すなわち、アドオン選別部241は、アドオン選別条件に含まれるユーザプログラムに基づいて、ユーザプログラムの実行に使用される機能である第1機能が使用されるアドオンを有効アドオンとし、複数のアドオンのうち有効アドオン以外のアドオンを無効アドオンとして、メモリ25に記憶されている複数のアドオンを選別する。第1機能は、ユーザプログラムに含まれている関数の実行に使用される機能である。アドオン選別部241は、有効アドオンに選別したアドオンを有効アドオンメモリ領域2511に記憶させる。
 また、アドオン選別部241は、アドオン選別条件に含まれる機能の設定ファイルに基づいて、ユーザプログラムの実行に使用される機能である第2機能が使用されるアドオンを有効アドオンとし、複数のアドオンのうち有効アドオン以外のアドオンを無効アドオンとして、複数のアドオンを選別する。第2機能は、ユーザプログラムの実行に使用される使用機能である。また、第2機能は、アドオン選別条件の機能の設定ファイルにおいて、使用する機能に指定されている機能であり、アドオン選別条件の機能の設定ファイルにおいて「設定値」が「有効」に設定されている機能である。アドオン選別部241は、無効アドオンに選別したアドオンを無効アドオンメモリ領域2512に記憶させる。
 制御部242は、ユーザプログラムに従ってファームウェアウェアを実行して、サーボアンプ3を制御することによりサーボモータ4の動作を制御する。また、制御部242は、ユーザプログラムに従って有効アドオンを実行して、サーボアンプ3を制御することによりサーボモータ4の動作を制御する。
 つぎに、駆動制御システム100の動作について説明する。まず、エンジニアリングツール1の動作について説明する。エンジニアリングツール1では、駆動制御装置2で実行されるユーザプログラムの作成およびアドオン選別条件の設定が行われる。図5は、実施の形態1にかかる駆動制御システム100のエンジニアリングツール1の処理の手順を示すフローチャートである。
(ユーザプログラムの作成)
 ステップS10において、ユーザプログラムの作成が行われる。エンジニアリングツール1のユーザプログラム作成部141は、ユーザプログラムを作成するユーザプログラム作成画面を、表示部13に表示させる。そして、ユーザプログラム作成部141は、入力部11に対して行われたユーザの操作に対応して、ユーザプログラムを作成する処理を行う。ユーザプログラム作成部141は、入力部11に対して行われたユーザの操作に対応する情報を、表示処理部143を制御して表示させて、ユーザプログラムの作成を行う。
(アドオン選別条件の設定)
 つぎに、エンジニアリングツール1のアドオン選別条件生成部142は、アドオン選別条件の作成画面を表示部13に表示させる。そして、アドオン選別条件生成部142は、入力部11に対して行われたユーザの操作に対応して、アドオン選別条件を設定し、生成する。
 具体的に、ステップS20において、アドオン選別条件生成部142が、「必要アドオン選別機能」の有効化を指示する設定情報である有効化設定情報を受信する。有効化設定情報は、ユーザの操作により入力部11から入力される。たとえば、設定ファイル表示部132に表示された設定テーブル1321における「必要アドオン選別機能」に対応する「設定値」の欄がプルダウンメニューとされ、入力項目として「有効」または「無効」の選択項目が表示される。ユーザは、プルダウンメニューから「有効」または「無効」のいずれか一方の選択項目を選択することで有効化設定情報を入力する。
 ステップS30において、アドオン選別条件生成部142は、有効化設定情報に従って、設定ファイル表示部132における「必要アドオン選別機能」の「設定値」を「有効」に設定する。
 ステップS40において、アドオン選別条件生成部142は、アドオン使用機能の設定情報を受信する。具体的に、アドオン選別条件生成部142が、アドオン使用機能の「有効化」を指示する「設定あり情報」、またはアドオン使用機能の「無効化」を指示する「設定なし情報」を、アドオン使用機能の設定を行う対象となる各設定項目について受信する。「設定あり情報」および「設定なし情報」は、ユーザの操作により入力部11から入力される。たとえば、設定ファイル表示部132に表示された設定テーブル1321における機能の設定ファイルの各項目に対応する「設定値」の欄がプルダウンメニューとされ、入力項目として「設定あり」または「設定なし」の選択項目が表示される。ユーザは、プルダウンメニューから「設定あり」または「設定なし」のいずれか一方の選択項目を選択することでアドオン使用機能の設定情報を入力する。
 ステップS50において、アドオン選別条件生成部142は、受信したアドオン使用機能の設定情報に従って、設定テーブル1321における各設定項目についての「設定値」を設定する。アドオン選別条件生成部142は、アドオン使用機能の設定情報として「設定あり情報」を受け取った設定項目については、「設定値」を「設定あり」に設定する。アドオン選別条件生成部142は、アドオン使用機能の設定情報として「設定なし情報」を受け取った設定項目については、「設定値」を「設定なし」に設定する。これにより、アドオン選別条件における機能の設定ファイルが設定される。
 ステップS60において、アドオン選別条件生成部142が、アドオン選別条件に設定するユーザプログラムの指定情報を受信する。ユーザプログラムの指定情報は、ユーザの操作により入力部11から入力される。
 ステップS70において、アドオン選別条件生成部142は、ユーザプログラムの指定情報において指定されたユーザプログラムを、設定テーブル1321におけるユーザプログラム設定表示部133に表示し、アドオン選別条件に設定する。これにより、アドオン選別条件におけるユーザプログラムが設定され、機能の設定ファイルとユーザプログラムとが設定されたアドオン選別条件を生成される。そして、アドオン選別条件生成部142は、生成したアドオン選別条件をメモリ25に記憶させる。
 その後、アドオン選別条件生成部142は、入力部11に対して行われたユーザの操作に対応して、メモリ25に記憶されたアドオン選別条件を駆動制御装置2のアドオン選別部241に送信する。
 つぎに、駆動制御装置2の動作について説明する。駆動制御装置2では、エンジニアリングツール1で生成されたアドオン選別条件に基づいて、有効化するアドオンを選別して被制御装置の動作の制御を行う。図6は、実施の形態1にかかる駆動制御システム100の駆動制御装置2の処理の手順を示すフローチャートである。
 ステップS110において、駆動制御装置2のアドオン選別部241は、アドオン選別条件をエンジニアリングツール1から取得する。
 ステップS120において、アドオン選別部241は、アドオン選別条件に基づいて、「必要アドオン選別機能」を有効にするか否かを判定する。アドオン選別部241は、アドオン選別条件に含まれる「必要アドオン選別機能」の「設定値」が「有効」である場合に、アドオン選別部241の「必要アドオン選別機能」を有効にすると判定する。アドオン選別部241は、アドオン選別条件に含まれる「必要アドオン選別機能」の「設定値」が「無効」である場合に、アドオン選別部241の「必要アドオン選別機能」を有効にしないと判定する。
 「必要アドオン選別機能」を有効にすると判定された場合は、ステップS120においてYesとなり、アドオン選別部241は、「必要アドオン選別機能」を有効にしてステップS130に進む。「必要アドオン選別機能」を有効にしないと判定された場合は、ステップS120においてNoとなり、アドオン選別部241は、「必要アドオン選別機能」を無効にして一連の処理を終了する。なお、アドオン選別部241の「必要アドオン選別機能」は、基本的に無効化されているものとする。
 ステップS130において、アドオン選別部241は、「必要アドオン選別機能」の実行を開始し、アドオン選別条件の設定条件の解析、すなわちアドオン選別条件に含まれる機能の設定ファイルの解析を行う。
 ステップS140において、アドオン選別部241は、アドオン選別条件に含まれる機能の設定ファイルの解析の結果に基づいて、アドオンメモリ領域251に記憶されているアドオンのうち、無効化できるアドオンがあるか否かを判定する。ここで、「必要アドオン選別機能」の実行開始時において、駆動制御装置2に記憶されている全てのアドオンは、有効化するアドオンとして設定されて有効アドオンメモリ領域2511に記憶されている。
 アドオン選別部241は、有効アドオンメモリ領域2511に記憶されているアドオンを有効アドオンと無効アドオンとに選別する。有効アドオンは、アドオン選別条件に含まれる機能の設定ファイルにおいて、「設定値」が「設定あり」に設定されているアドオン使用機能が使用されるアドオンである。無効アドオンは、アドオン選別条件に含まれる機能の設定ファイルにおいて、「設定値」が「設定あり」に設定されているアドオン使用機能が使用されないアドオンである。
 アドオン選別部241は、無効アドオンに選別されたアドオンが存在する場合に、無効化できるアドオンがあると判定する。アドオン選別部241は、無効アドオンに選別されたアドオンが存在しない場合に、無効化できるアドオンがないと判定する。無効化できるアドオンがあると判定された場合は、ステップS140においてYesとなり、ステップS150に進む。無効化できるアドオンがないと判定された場合は、ステップS140においてNoとなり、アドオン選別部241は、一連の処理を終了する。
 ステップS150において、アドオン選別部241は、無効化できると判定されたアドオンを無効化する無効化処理を行う。アドオン選別部241は、有効化するアドオンとして設定されて有効アドオンメモリ領域2511に記憶されているアドオンのうち、無効化できると判定されたアドオンを無効アドオンメモリ領域2512に移動して記憶させて無効化する。
 ステップS160において、アドオン選別部241は、アドオン選別条件のユーザプログラムの解析、すなわちアドオン選別条件に含まれるユーザプログラムの解析を行う。具体的に、アドオン選別部241は、アドオン選別条件のユーザプログラムに記述されている関数について、関数の名称の文字列を抽出する。
 ステップS170において、アドオン選別部241は、アドオン選別条件に含まれるユーザプログラムの解析の結果に基づいて、無効アドオンメモリ領域2512に記憶されているアドオンのうち、有効化できるアドオンがあるか否かを判定する。
 アドオン選別部241は、抽出した関数の名称の文字列を検索条件として、無効アドオンメモリ領域2512に記憶されているアドオンを有効アドオンと無効アドオンとに選別する。ここでの有効アドオンは、抽出した関数の名称の文字列を含むアドオンである。また、ここでの無効アドオンは、抽出した関数の名称の文字列を含まないアドオンである。
 アドオン選別部241は、有効アドオンに選別されたアドオンが存在する場合に、有効化できるアドオンがあると判定する。アドオン選別部241は、有効アドオンに選別されたアドオンが存在しない場合に、有効化できるアドオンがないと判定する。有効化できるアドオンがあると判定された場合は、ステップS170においてYesとなり、ステップS180に進む。有効化できるアドオンがないと判定された場合は、ステップS170においてNoとなり、ステップS190に進む。
 ステップS180において、アドオン選別部241は、無効アドオンメモリ領域2512に記憶されている無効アドオンのうち、有効化できるアドオンを有効化する有効化処理を行う。アドオン選別部241は、無効化するアドオンとして設定されて無効アドオンメモリ領域2512に記憶されて無効アドオンのうち、有効化できると判定されたアドオンを有効アドオンメモリ領域2511に移動して記憶させて無効化する。
 これにより、アドオン選別部241は、ユーザプログラムの実行に使用するアドオンである有効アドオンと、ユーザプログラムの実行に使用しないアドオンである無効アドオンとを適切に選別して、有効アドオンを有効化し、無効アドオンを無効化して、有効アドオンの設定の適正化を行うことができる。
 すなわち、駆動制御装置2は、上述した処理を行うことにより、駆動制御装置2に記憶されている全てのアドオンのうち、ユーザプログラムの実行に使用されるアドオンのみを有効アドオンとして設定でき、ユーザプログラムの実行に使用されないアドオンが有効アドオンとして設定されることがない。また、ステップS140とステップS170とにおいて有効アドオンと無効アドオンとに選別を行うことで、ステップS140において無効アドオンに判別されたがユーザプログラムの実行に使用されるアドオンを有効アドオンとして設定し直すことができる。
 すなわち、駆動制御装置2は、上述した処理を行うことにより、アドオン選別条件に含まれる機能の設定ファイルにおいて「設定値」が「設定あり」に設定されているアドオン使用機能が使用されるアドオン、またはアドオン選別条件のユーザプログラムに記述されている関数の名称の文字列を含むアドオンの少なくとも一方に該当するアドオンを有効アドオンとすることができるため、ユーザプログラムの実行に必要なアドオンを高精度に有効アドオンに設定することができる。
 ここで、アドオン選別部241は、アドオンメモリ領域251に記憶されている全てのアドオンを有効化してユーザプログラムを実行した場合の駆動制御装置2による被制御装置の制御周期からの、有効アドオンのみを有効化してユーザプログラムを実行した場合の駆動制御装置2による被制御装置の制御周期の短縮時間である短縮制御周期を算出する。すなわち、短縮制御周期は、複数のアドオンの全てのアドオンが実行される場合にアドオン選別部241が被制御装置を制御する周期である第1制御周期から、無効アドオンを実行せずに有効アドオンが実行される場合にアドオン選別部241が被制御装置を制御する周期である第2制御周期を減算した時間である、制御周期の減少時間である。
 また、アドオン選別部241は、アドオンメモリ領域251に記憶されている全てのアドオンが有効化してユーザプログラムを実行した場合の実行メモリ領域252の使用容量からの、有効アドオンのみを有効化してユーザプログラムを実行した場合の駆動制御装置2による実行メモリ領域252の使用容量の削減容量である削減メモリ容量を算出する。
 駆動制御装置2は、使用しないアドオンである無効アドオンを実行メモリ領域252上にコピーして常駐させることがない。これにより、駆動制御装置2では、使用しない無効アドオンに起因して実行メモリ領域252の不要なメモリ消費が発生しないため、実行メモリ領域252の容量を大きくする必要がなく、実行メモリ領域252の増大によるコストの増加を抑制できる。また、駆動制御装置2は、使用しない無効アドオンを実行メモリ領域252にコピーして常駐させないことにより、実行メモリ領域252を有効活用できる。
 また、駆動制御装置2は、使用しないアドオンである無効アドオンを実行メモリ領域252上にコピーして常駐させないことにより、使用しない無効アドオンを実行メモリ領域252にコピーする時間を削減することができる。これにより、駆動制御装置2は、被制御装置の制御を実行する準備の段階の処理時間を削減することができ、被制御装置の制御を実行するまでの駆動制御装置2の立ち上がり時間を短縮することでき、被制御装置の制御の迅速な起動が可能となる。
 また、駆動制御装置2は、使用しないアドオンである無効アドオンを実行しないことにより、無効アドオンを実行に起因した制御周期を短縮して、駆動制御装置2により被制御装置を制御する制御周期の不要な長時間化を防止し、適切な制御時間で被制御装置を制御することが可能である。
 ステップS190において、アドオン選別部241は、必要アドオン選別機能の処理結果をエンジニアリングツール1の表示処理部143に送信する。処理結果には、アドオンメモリ領域251に記憶されている全てのアドオンの状態情報、短縮制御周期、削減メモリ容量が含まれる。アドオンの状態情報は、アドオンが有効状態であるか無効状態であるかの情報である。
 図7は、実施の形態1にかかるエンジニアリングツール1の表示部13における必要アドオン選別機能の処理結果の表示画面の一例を示す図である。エンジニアリングツール1の表示処理部143は、必要アドオン選別機能の処理結果を受信すると、必要アドオン選別機能の処理結果を表示部13に表示させる。表示部13には、各アドオンの状態が表示されるアドオン状態表示部134と、無効化アドオン、短縮制御周期、削減メモリ容量などのアドオンの適正化処理の処理結果が表示される処理結果表示画面135と、が表示される。これにより、ユーザは、必要アドオン選別機能を有効にした場合に、エンジニアリングツール1において、アドオンメモリ領域251に記憶されている全てのアドオンの状態情報、無効化されるアドオンである無効化アドオン、短縮制御周期、削減メモリ容量を確認することができる。
 上述したように、本実施の形態1にかかる駆動制御システム100では、エンジニアリングツール1においてアドオン選別条件が作成される。そして、駆動制御装置2が、駆動制御装置2に記憶されている複数のアドオンのうちユーザプログラムを実行するために必要なアドオンのみをアドオン選別条件に基づいて自動で有効化して、ユーザプログラムを実行する。これにより、駆動制御装置2は、ユーザプログラムを実行するために不要なアドオンを有効化していることに起因した制御周期の長時間化を抑制して、ユーザプログラムの実行時の制御周期の短縮が可能である。また、駆動制御装置2は、ユーザプログラムを実行するために不要なアドオンを有効化していることに起因したメモリ25の使用容量を低減でき、メモリ25の容量を有効活用できる。
 また、駆動制御システム100では、ユーザは、アドオン選別条件を作成するだけで、すなわちユーザプログラムおよび機能の設定ファイルを作成するだけで、ユーザプログラムを実行するために必要なアドオンを駆動制御装置2が自動で判別する。これにより、ユーザは各アドオンの機能を熟知していなくても、ユーザプログラムを実行するために必要なアドオンを手間なく適切に有効化または無効化することができる。
 また、ユーザは、機能の設定ファイルにおいてユーザプログラムの実行に使用される使用機能を設定する際には、ユーザプログラムの実行において制御条件の設定が必要な機能を選択して指定すればよい。したがって、ユーザは、駆動制御装置2に備わっている初期機能と、アドオンによって実現される拡張機能との関連を熟知していなくても、ユーザプログラムの実行に使用される使用機能を容易に設定することができる。
 また、上記においては、駆動制御装置2は、アドオン選別条件に含まれる機能の設定ファイルの解析の結果と、アドオン選別条件に含まれるユーザプログラムの解析の結果と、に基づいて有効アドオンと無効アドオンとに選別している。駆動制御装置2は、機能の設定ファイルの解析の結果のみに基づいて有効アドオンと無効アドオンとを選別してもよい。また、駆動制御装置2は、ユーザプログラムの解析のみに基づいて有効アドオンと無効アドオンとを選別してもよい。
 駆動制御装置2が機能の設定ファイルの解析の結果のみに基づいて有効アドオンと無効アドオンとを選別する場合には、機能の設定ファイルのみを含むアドオン選別条件がエンジニアリングツール1で生成されて駆動制御装置2に送信されればよい。また、駆動制御装置2がユーザプログラムの解析の結果のみに基づいて有効アドオンと無効アドオンとを選別する場合には、ユーザプログラムのみを含むアドオン選別条件がエンジニアリングツール1で生成されて駆動制御装置2に送信されればよい。
 上述したように、実施の形態1にかかる駆動制御装置2は、駆動制御装置2に実装された複数のアドオンのうちユーザプログラムの実行に必要なアドオンを適切に設定することが可能である、という効果を奏する。
 以上の実施の形態に示した構成は、一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、実施の形態同士を組み合わせることも可能であるし、要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 1 エンジニアリングツール、2 駆動制御装置、3 サーボアンプ、4 サーボモータ、6,7,8 通信線、11,21 入力部、12,22 通信部、13,23 表示部、14,24 プロセッサ、15,25 メモリ、100 駆動制御システム、131 アドオン表示部、132 設定ファイル表示部、133 ユーザプログラム設定表示部、134 アドオン状態表示部、135 処理結果表示画面、141 ユーザプログラム作成部、142 アドオン選別条件生成部、143 表示処理部、241 アドオン選別部、242 制御部、251 アドオンメモリ領域、252 実行メモリ領域、1321 設定テーブル、2511 有効アドオンメモリ領域、2512 無効アドオンメモリ領域。

Claims (11)

  1.  複数のアドオンを実行することにより被制御装置を制御する駆動制御装置であって、
     前記被制御装置を制御するために実行されるプログラムであるユーザプログラムと、複数の前記アドオンが記憶されるメモリと、
     前記ユーザプログラムを含み前記アドオンを選別するためのアドオン選別条件に基づいて、前記ユーザプログラムに含まれている関数の実行に使用される前記被制御装置の機能である第1機能が使用される前記アドオンを前記ユーザプログラムの実行に使用される有効アドオンとし、複数の前記アドオンのうち前記有効アドオン以外の前記アドオンを前記ユーザプログラムの実行に使用されない無効アドオンとして、複数の前記アドオンを選別するアドオン選別部と、
     前記ユーザプログラムに従って前記有効アドオンを実行して被制御装置を制御する制御部と、
     を有することを特徴とする駆動制御装置。
  2.  前記アドオン選別条件が、前記ユーザプログラムの実行に使用される使用機能である第2機能が指定された使用機能設定情報を含み、
     前記アドオン選別部は、前記アドオン選別条件に基づいて、前記第1機能が使用される前記アドオンと、前記第2機能が使用される前記アドオンと、を前記有効アドオンとし、複数の前記アドオンのうち前記有効アドオン以外の前記アドオンを前記無効アドオンとして、複数の前記アドオンを選別すること、
     を特徴とする請求項1に記載の駆動制御装置。
  3.  前記有効アドオンが記憶される有効アドオンメモリ領域と、
     前記無効アドオンが記憶される無効アドオンメモリ領域と、
     前記アドオンを実行するために使用される実行メモリ領域と、
     を備え、
     前記制御部は、前記有効アドオンを前記有効アドオンメモリ領域から前記実行メモリ領域にコピーし、前記実行メモリ領域にコピーした前記有効アドオンを実行すること、
     を特徴とする請求項1または2に記載の駆動制御装置。
  4.  前記アドオン選別部は、複数の前記アドオンの全ての前記アドオンが実行される場合の前記実行メモリ領域の使用容量から、前記無効アドオンを実行せずに前記アドオン選別部によって選別された前記有効アドオンが実行される場合の前記実行メモリ領域の使用容量を減算した容量である前記実行メモリ領域の減少使用容量を算出すること、
     を特徴とする請求項3に記載の駆動制御装置。
  5.  前記アドオン選別部は、複数の前記アドオンの全ての前記アドオンが実行される場合に前記制御部が前記被制御装置を制御する周期である第1制御周期から、前記無効アドオンを実行せずに前記有効アドオンが実行される場合に前記制御部が前記被制御装置を制御する周期である第2制御周期を減算した時間である、制御周期の減少時間を算出すること、
     を特徴とする請求項3または4に記載の駆動制御装置。
  6.  複数のアドオンを実行することにより被制御装置を制御する駆動制御装置と、前記駆動制御装置に接続されるエンジニアリングツールと、を備えた駆動制御システムであって、
     前記エンジニアリングツールは、
     前記被制御装置を制御するために前記駆動制御装置において実行されるプログラムであるユーザプログラムを生成するユーザプログラム作成部と、
     前記ユーザプログラムを含み前記アドオンを選別するためのアドオン選別条件を生成するアドオン選別条件生成部と、
     を備え、
     前記駆動制御装置は、
     前記ユーザプログラムと、複数の前記アドオンと、が記憶されるメモリと、
     前記アドオン選別条件に基づいて、前記ユーザプログラムに含まれている関数の実行に使用される前記被制御装置の機能である第1機能が使用される前記アドオンを前記ユーザプログラムの実行に使用される有効アドオンとし、複数の前記アドオンのうち前記有効アドオン以外の前記アドオンを前記ユーザプログラムの実行に使用されない無効アドオンとして、複数の前記アドオンを選別するアドオン選別部と、
     前記ユーザプログラムに従って前記有効アドオンを実行して被制御装置を制御する制御部と、
     を備えること、
     を特徴とする駆動制御システム。
  7.  前記アドオン選別条件が、前記ユーザプログラムの実行に使用される使用機能である第2機能が指定された使用機能設定情報を含み、
     前記アドオン選別部は、前記アドオン選別条件に基づいて、前記第1機能が使用される前記アドオンと、前記第2機能が使用される前記アドオンと、を前記有効アドオンとし、複数の前記アドオンのうち前記有効アドオン以外の前記アドオンを前記無効アドオンとして、複数の前記アドオンを選別すること、
     を特徴とする請求項6に記載の駆動制御システム。
  8.  前記有効アドオンが記憶される有効アドオンメモリ領域と、
     前記無効アドオンが記憶される無効アドオンメモリ領域と、
     前記アドオンを実行するために使用される実行メモリ領域と、
     を備え、
     前記制御部は、前記有効アドオンを前記有効アドオンメモリ領域から前記実行メモリ領域にコピーし、前記実行メモリ領域にコピーした前記有効アドオンを実行すること、
     を特徴とする請求項6または7に記載の駆動制御システム。
  9.  前記アドオン選別部は、複数の前記アドオンの全ての前記アドオンが実行される場合の前記実行メモリ領域の使用容量から、前記無効アドオンを実行せずに前記アドオン選別部によって選別された前記有効アドオンが実行される場合の前記実行メモリ領域の使用容量を減算した容量である前記実行メモリ領域の減少使用容量を算出すること、
     を特徴とする請求項8に記載の駆動制御システム。
  10.  前記アドオン選別部は、複数の前記アドオンの全ての前記アドオンが実行される場合に前記制御部が前記被制御装置を制御する周期である第1制御周期から、前記無効アドオンを実行せずに前記有効アドオンが実行される場合に前記制御部が前記被制御装置を制御する周期である第2制御周期を減算した時間である、制御周期の減少時間を算出すること、
     を特徴とする請求項8または9に記載の駆動制御システム。
  11.  前記エンジニアリングツールは、前記制御周期の減少時間、前記実行メモリ領域の減少使用容量および前記無効アドオンの名称のうち少なくとも1つを表示する表示部を備えること、
     を特徴とする請求項10に記載の駆動制御システム。
PCT/JP2020/005857 2020-02-14 2020-02-14 駆動制御装置および駆動制御システム WO2021161523A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202080096138.XA CN115087935B (zh) 2020-02-14 2020-02-14 驱动控制装置及驱动控制系统
JP2020543952A JP6779425B1 (ja) 2020-02-14 2020-02-14 駆動制御装置および駆動制御システム
DE112020006105.1T DE112020006105T5 (de) 2020-02-14 2020-02-14 Betriebssteuerungsgerät und Betriebssteuerungssystem
PCT/JP2020/005857 WO2021161523A1 (ja) 2020-02-14 2020-02-14 駆動制御装置および駆動制御システム
TW110104650A TWI769696B (zh) 2020-02-14 2021-02-08 驅動控制裝置及驅動控制系統

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/005857 WO2021161523A1 (ja) 2020-02-14 2020-02-14 駆動制御装置および駆動制御システム

Publications (1)

Publication Number Publication Date
WO2021161523A1 true WO2021161523A1 (ja) 2021-08-19

Family

ID=73022488

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/005857 WO2021161523A1 (ja) 2020-02-14 2020-02-14 駆動制御装置および駆動制御システム

Country Status (5)

Country Link
JP (1) JP6779425B1 (ja)
CN (1) CN115087935B (ja)
DE (1) DE112020006105T5 (ja)
TW (1) TWI769696B (ja)
WO (1) WO2021161523A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229104A1 (en) * 2004-04-09 2005-10-13 Microsoft Corporation Add-on management
JP6625303B1 (ja) * 2019-04-02 2019-12-25 三菱電機株式会社 駆動制御装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI328164B (en) * 2002-05-29 2010-08-01 Tokyo Electron Ltd Method and apparatus for monitoring tool performance
CN1211735C (zh) * 2002-06-26 2005-07-20 联想(北京)有限公司 硬件设备驱动程序的安装方法
WO2005045656A1 (en) * 2003-11-04 2005-05-19 Think2020, Inc. Systems, methods, and computer program products for developing enterprise software applications
ZA200506089B (en) * 2004-09-01 2007-04-25 Microsoft Corp Reader application markup language schema
CN100367253C (zh) * 2005-09-08 2008-02-06 中国工商银行股份有限公司 一种扩展外设的方法及系统
US9514065B2 (en) * 2010-11-29 2016-12-06 Mce-Sys Ltd. Host device coupled to a USB peripheral and method of operating the same
CN102955749A (zh) * 2011-08-26 2013-03-06 练新 外部设备扩展方法及外部设备
CN103049331B (zh) * 2012-12-06 2015-09-23 华中科技大学 一种虚拟功能的动态调度方法
US9760470B2 (en) * 2013-05-15 2017-09-12 Mitsubishi Electric Corporation Device, method, and program analysis of new source code to be added to execution program to check for bug
CA2923041A1 (en) * 2013-09-26 2015-04-02 Mark W. Publicover Providing targeted content based on a user's values
CN104636076B (zh) * 2013-11-15 2017-12-05 中国电信股份有限公司 一种用于云存储的分布式块设备驱动方法和系统
JP2015232755A (ja) * 2014-06-09 2015-12-24 キヤノン株式会社 情報処理装置、印刷装置、情報処理装置のドライバ処理方法、印刷装置のドライバ処理方法、及びプログラム
JP2016035713A (ja) * 2014-08-04 2016-03-17 キヤノン株式会社 情報処理装置、情報処理装置における機能拡張方法、プログラム、およびシステム
CN105824616A (zh) * 2016-03-07 2016-08-03 林友哲 一种用于设备控制系统程序的开发方法及框架
CN106528153A (zh) * 2016-11-10 2017-03-22 成都中嵌自动化工程有限公司 一种嵌入式软件模块化的构建方法及装置
JP6408060B1 (ja) 2017-04-27 2018-10-17 ファナック株式会社 数値制御装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229104A1 (en) * 2004-04-09 2005-10-13 Microsoft Corporation Add-on management
JP6625303B1 (ja) * 2019-04-02 2019-12-25 三菱電機株式会社 駆動制御装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ONO HIROYUKI ET AL.: "MELSEC iQ-R Series Servo System Controller. Mitsubishi Denki Giho", MELSEC IQ-R, vol. 89, no. 4, 20 April 2015 (2015-04-20), pages 219 - 222, ISSN: 0369-2302 *

Also Published As

Publication number Publication date
TWI769696B (zh) 2022-07-01
JPWO2021161523A1 (ja) 2021-08-19
DE112020006105T5 (de) 2022-10-13
CN115087935B (zh) 2024-02-02
TW202131123A (zh) 2021-08-16
CN115087935A (zh) 2022-09-20
JP6779425B1 (ja) 2020-11-04

Similar Documents

Publication Publication Date Title
KR101087431B1 (ko) 반도체 저장 장치를 이용한 자동실행 방법
WO2021161523A1 (ja) 駆動制御装置および駆動制御システム
JP6984565B2 (ja) 情報処理装置およびプログラム
JP2022022451A5 (ja) プログラム、制御方法および情報処理装置
JPH08190456A (ja) タッチパネル装置における入力方法
JP4941674B2 (ja) シミュレーション・システム
JP6878367B2 (ja) 数値制御装置
JPH09297609A (ja) グラフィックパネル式操作装置
JP6939662B2 (ja) プログラミング支援装置、プログラミング支援方法及びプログラム
KR20020001853A (ko) 모션컨트롤러의 프로그래밍 방법
KR100330504B1 (ko) 위치 지시자 자동 이동 제어 방법
WO2024096011A1 (ja) シーケンスプログラムの編集プログラム
WO2023105723A1 (ja) ロボットまたは工作機械の拡張機能を制御する制御装置及びユーザインタフェース装置
JP2009098949A (ja) マルチタッチパネル装置及びその制御方法
JP7409852B2 (ja) ロボット制御装置
JP2023123815A5 (ja)
JP7188988B2 (ja) 数値制御装置および数値制御装置の制御方法
WO2024062548A1 (ja) 設定支援装置、制御システム、設定支援方法及びプログラム
JP6591116B1 (ja) プログラマブルロジックコントローラのcpuユニット、プログラマブルロジックコントローラ、方法、及びコンピュータ
JP2002333946A (ja) プログラマブル表示器
JPH02220145A (ja) プログラムトレース方式
JPS6120900B2 (ja)
JP2020173785A5 (ja)
KR20030004612A (ko) 컴퓨터에서의 터치패드 잠금방법
KR100396725B1 (ko) 피엘씨 제어명령 단축 입력용 키보드 장치

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020543952

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: 20919052

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20919052

Country of ref document: EP

Kind code of ref document: A1