WO2021181798A1 - ロボット制御システムおよび制御方法 - Google Patents

ロボット制御システムおよび制御方法 Download PDF

Info

Publication number
WO2021181798A1
WO2021181798A1 PCT/JP2020/047234 JP2020047234W WO2021181798A1 WO 2021181798 A1 WO2021181798 A1 WO 2021181798A1 JP 2020047234 W JP2020047234 W JP 2020047234W WO 2021181798 A1 WO2021181798 A1 WO 2021181798A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
control device
setting information
control
command
Prior art date
Application number
PCT/JP2020/047234
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 オムロン株式会社
Publication of WO2021181798A1 publication Critical patent/WO2021181798A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Definitions

  • This technology relates to robot control systems and control methods.
  • Patent Document 1 discloses a configuration for constructing an automation facility using a robot at low cost without learning a robot language. do.
  • the purpose of this technology is to provide a robot control system suitable for production equipment including one or more robots.
  • the robot control system includes a first control device and a second control device that is network-connected to the first control device and controls the robot.
  • the first control device includes a storage unit that stores setting information about the robot controlled by the second control device, and a command generation unit that sequentially generates commands to be given to the second control device by executing a robot program.
  • a communication unit that transmits setting information and sequentially generated commands to a second control device.
  • the second control device refers to the setting information transmitted in advance from the first control device according to the command from the first control device, and sequentially generates a command value for driving each axis of the robot. Includes value generator.
  • the first control device may transmit the setting information to the second control device when a predetermined condition is satisfied.
  • the setting information can be transmitted when the setting information needs to be transmitted.
  • the predetermined condition may include that the first control device has been activated. According to this configuration, when the first control device is activated, the setting information can be reliably transmitted to the second control device.
  • the predetermined conditions may include that the second control device is network-connected to the first control device. According to this configuration, when the second control device is network-connected to the first control device, the setting information can be reliably transmitted to the second control device.
  • the first control device may transmit the setting information to the second control device according to a command from an external device connected to the first control device. According to this configuration, when a command from an external device is received, setting information can be reliably transmitted to the second control device.
  • the first control device transmits the setting information stored in the storage unit of the first control device to the second control device even if the setting information is stored in advance in the second control device. May be good. According to this configuration, appropriate setting information can be provided to the second control device without evaluating the suitability of the setting information stored in advance in the second control device.
  • the first control device transmits the difference between the setting information stored in advance in the second control device and the setting information to be stored in the second control device to the second control device. good. According to this configuration, the amount of data of information transmitted from the first control device to the second control device can be reduced.
  • the robot control system may include a plurality of second control devices.
  • the storage unit of the first control device may store setting information for each of the plurality of second control devices. According to this configuration, even if a plurality of second control devices are connected to the network, appropriate setting information can be provided to each of the second control devices.
  • a control method is directed to a robot control system including a first control device and a second control device networked with the first control device to control the robot. ..
  • the control method is a step in which the first control device transmits setting information about the robot controlled by the second control device to the second control device, and the first control device executes a robot program.
  • a robot control system suitable for production equipment including one or more robots can be realized.
  • FIG. 1 is a schematic diagram showing an outline of the robot control system 1 according to the present embodiment.
  • the robot control system 1 is network-connected to the control device 100 (first control device) via the control device 100 and the field network 20, and the robot controller 250 (for controlling the robot 200). Second control device) and included. A plurality of robot controllers 250 may be connected to the control device 100.
  • the control target of the robot control system 1 is not limited to the robot 200.
  • the control device 100 can control various devices and machines constituting the production equipment including the robot 200 in addition to the robot 200.
  • the control device 100 may be linked with a safety controller that monitors the operation of the robot 200. That is, in the present specification, the term "robot control system" is used to mean a system having a function of controlling a robot, and does not exclude controlling other than the robot.
  • the control device 100 has a storage 110 (storage unit) that stores setting information 2704 regarding the robot 200 controlled by the robot controller 250.
  • the robot program 1108 may also be stored in the storage 110.
  • the robot program 1108 is given to the robot program execution engine 152 (command generation unit).
  • the robot program execution engine 152 sequentially generates commands 158 to be given to the robot controller 250 by executing the robot program 1108.
  • the control device 100 has a communication unit 50 (consisting of a field network controller 108, a communication control module 160, a communication driver 162, etc., which will be described later) for transmitting setting information 2704 and sequentially generated commands 158 to the robot controller 250. There is.
  • the robot controller 250 refers to the setting information 2704 previously transmitted from the control device 100 according to the command 158 from the control device 100, and sequentially generates a command value for driving each axis of the robot.
  • Command value generation module 290 It has a (command value generator).
  • the axis of the robot 200 may form a joint, it is also referred to as the "axis or joint" of the robot 200 in the following description. That is, in the present specification, the term “axis” of the robot 200 is used to include an axis and a joint.
  • the control device 100 and the robot controller 250 cooperate to control the behavior of the robot 200.
  • the setting information 2704 regarding the robot 200 controlled by the robot controller 250 is transmitted to the robot controller 250 to which the command 158 is transmitted. ..
  • the processing load can be distributed.
  • the behavior of the plurality of robots 200 can be controlled even if the processing capacity of the control device 100 is not high.
  • the control device 100 can execute not only the process related to the behavior of the robot 200 but also another process. It is possible to increase the expandability of the system.
  • FIG. 2 is a schematic diagram showing a configuration example of the robot control system 1 according to the present embodiment.
  • the robot control system 1 according to the present embodiment includes a control device 100 and one or more robots 200 connected to the control device 100 via a field network 20.
  • the behavior of each of the robots 200 is controlled by the robot controller 250.
  • the robot controller 250 is connected to the control device 100 via a network to control the robot 200. More specifically, the robot controller 250 outputs a command value for controlling the robot 200 in accordance with a command from the control device 100 (command 158 described later).
  • a custom robot 200A having one or a plurality of axes or joints arbitrarily created according to an application may be used.
  • any general-purpose robot 200B such as a horizontal articulated (scalar) robot, a vertical articulated robot, a parallel link robot, and a Cartesian robot may be used.
  • Any device such as an I / O unit, a safety I / O unit, and a safety controller may be connected to the field network 20.
  • an operation pendant 300 for operating the robot 200 is connected to the field network 20.
  • EtherCAT registered trademark
  • EtherNet / IP protocols for industrial networks
  • the control device 100 may be connected to the support device 400, the display device 500, and the server device 600 via the host network 12.
  • a protocol for an industrial network EtherNet / IP, or the like can be used.
  • FIG. 3 is a schematic diagram showing a hardware configuration example of the control device 100 constituting the robot control system 1 according to the present embodiment.
  • the control device 100 includes a processor 102, a main memory 104, a storage 110, a memory card interface 112, an upper network controller 106, a field network controller 108, a local bus controller 116, and a USB. Includes a USB controller 120 that provides a (Universal Serial Bus) interface. These components are connected via the processor bus 118.
  • a USB controller 120 that provides a (Universal Serial Bus) interface.
  • the processor 102 corresponds to an arithmetic processing unit that executes control operations, and is composed of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and the like. Specifically, the processor 102 reads a program stored in the storage 110, expands it in the main memory 104, and executes it to realize a control operation for a controlled object.
  • a CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the main memory 104 is composed of a volatile storage device such as a DRAM (Dynamic Random Access Memory) or a SRAM (Static Random Access Memory).
  • the storage 110 is composed of, for example, a non-volatile storage device such as an SSD (Solid State Drive) or an HDD (Hard Disk Drive).
  • the storage 110 stores a system program 1102 for realizing basic functions, an IEC program 1104 created according to a control target, and the like.
  • the IEC program 1104 may include sequence instructions and / or motion instructions.
  • the "IEC program” is used to mean a program that defines the processing executed by a general PLC (programmable logic controller).
  • the IEC program means a program written in any language defined by IEC 61131-3 defined by the International Electrotechnical Commission (IEC).
  • the IEC program may include a program written in a manufacturer's own language other than the language specified in IEC61131-3.
  • the storage 110 may further store the robot program 1108 and the setting information 1106 for controlling the behavior of the robot 200.
  • the robot program 1108 may be written in a predetermined programming language (for example, a programming language for robot control such as V + language or a programming language related to NC control such as G code).
  • the setting information 1106 includes various setting values related to the execution of the IEC program 1104 and the robot program 1108.
  • the storage 110 may further store a setting information group 2701 which is a set of setting information used by the robot controller 250.
  • the setting information constituting the setting information group 2701 relates to the robot 200 controlled by the robot controller 250, and includes various parameters for the robot 200. As will be described later, when the predetermined condition is satisfied, the control device 100 transmits the corresponding setting information in the setting information group 2701 to the robot controller 250.
  • the memory card interface 112 accepts a memory card 114, which is an example of a removable storage medium.
  • the memory card interface 112 can read and write arbitrary data to and from the memory card 114.
  • the upper network controller 106 exchanges data with an arbitrary information processing device (support device 400, display device 500, server device 600, etc. shown in FIG. 2) via the upper network.
  • an arbitrary information processing device support device 400, display device 500, server device 600, etc. shown in FIG. 2
  • the field network controller 108 exchanges data with an arbitrary device such as a robot 200 via the field network 20.
  • the field network controller 108 may function as a communication master of the field network 20.
  • the local bus controller 116 exchanges data with and from an arbitrary functional unit 130 constituting the control device 100 via the local bus 122.
  • the functional unit 130 is, for example, an analog I / O unit that is in charge of input and / or output of an analog signal, a digital I / O unit that is in charge of input and / or output of a digital signal, a counter unit that receives pulses from an encoder, and the like. And so on.
  • the USB controller 120 exchanges data with an arbitrary information processing device via a USB connection.
  • FIG. 4 is a schematic diagram showing a hardware configuration example of the robot 200 constituting the robot control system 1 according to the present embodiment.
  • FIG. 4 shows a configuration example when a custom robot 200A is adopted as the robot 200.
  • the custom robot 200A is connected to the robot controller 250.
  • the custom robot 200A and the robot controller 250 may be integrally configured or may be configured as separate bodies.
  • the custom robot 200A includes a drive circuit 220 according to the number of shafts or joints, and a motor 230 driven by the drive circuit 220.
  • Each of the drive circuits 220 includes a converter circuit, an inverter circuit, and the like, generates electric power having a voltage, current, and phase specified according to a command value from the robot controller 250, and supplies the electric power to the motor 230.
  • Each of the motors 230 is an actuator that is mechanically coupled to any shaft or joint of the arm portion 210 constituting the custom robot 200A and drives the corresponding shaft or joint by the rotation of the motor 230.
  • the motor 230 a motor having characteristics according to the arm portion 210 to be driven can be adopted.
  • the motor 230 any of an inductive motor, a synchronous motor, a permanent magnet type motor, and a reluctance motor may be adopted, and not only a rotary type but also a linear motor may be adopted.
  • a drive circuit 220 corresponding to the motor 230 to be driven is adopted.
  • the robot controller 250 includes a field network controller 252 and a control processing circuit 260.
  • the field network controller 252 mainly exchanges data with the control device 100 via the field network 20.
  • the control processing circuit 260 executes arithmetic processing necessary for driving the custom robot 200A.
  • the control processing circuit 260 includes a processor 262, a main memory 266, a storage 270, and an interface circuit 268.
  • the processor 262 executes a control operation for driving the custom robot 200A.
  • the main memory 266 is composed of, for example, a volatile storage device such as a DRAM or SRAM.
  • the storage 270 is composed of, for example, a non-volatile storage device such as an SSD or an HDD.
  • the storage 270 stores a robot system program 2702 for realizing control for driving the robot 200, and setting information 2704 including a group of setting parameters required for processing by the robot controller 250.
  • the interface circuit 268 gives a command value to each drive circuit 220.
  • the interface circuit 268 and the drive circuit 220 may be electrically connected by a hard wire or may be connected by a data link.
  • FIG. 5 is a schematic diagram showing another hardware configuration example of the robot 200 constituting the robot control system 1 according to the present embodiment.
  • FIG. 5 shows a configuration example when a general-purpose robot 200B is adopted as the robot 200.
  • the general-purpose robot 200B incorporates one or more motors and drive circuits (not shown), and when the target trajectory of the general-purpose robot 200B is instructed, it corresponds to the instructed target trajectory. Drive one or more motors.
  • FIG. 6 is a schematic view showing a hardware configuration example of the operation pendant 300 constituting the robot control system 1 according to the present embodiment.
  • the operation pendant 300 includes a field network controller 352, a control processing circuit 360, and an operation key group 380.
  • the field network controller 352 mainly exchanges data with the control device 100 via the field network 20.
  • the control processing circuit 360 includes a processor 362, a main memory 366, firmware 370, and an interface circuit 368.
  • the processor 362 realizes the processing required for the operation pendant 300 by executing the firmware 370.
  • the main memory 366 is composed of, for example, a volatile storage device such as a DRAM or SRAM.
  • the interface circuit 368 exchanges signals with the operation key group 380.
  • the operation key group 380 is an input device that accepts user operations.
  • the operation key group 380 may include an indicator or the like indicating an input state.
  • FIG. 7 is a schematic view showing a hardware configuration example of the support device 400 constituting the robot control system 1 according to the present embodiment.
  • the support device 400 may be realized by using a general-purpose personal computer as an example.
  • the support device 400 includes a processor 402, a main memory 404, an input unit 406, a display unit 408, a storage 410, an optical drive 412, a USB controller 420, and a communication controller 422. include. These components are connected via the processor bus 418.
  • the processor 402 is required for the support device 400 by reading a program (OS 4102 and development program 4104, for example) stored in the storage 410, which is composed of a CPU, a GPU, or the like, and deploying and executing the program in the main memory 404. Various functions are realized.
  • a program OS 4102 and development program 4104, for example
  • the main memory 404 is composed of, for example, a volatile storage device such as a DRAM or SRAM.
  • the storage 410 is composed of, for example, a non-volatile storage device such as an HDD or SSD.
  • the storage 410 stores an OS 4102 for realizing basic functions, a development program 4104 for realizing a development environment, and the like.
  • an OS 4102 for realizing basic functions e.g., a development program 4104 for realizing a development environment, and the like.
  • the development environment it is possible to create a program executed by the control device 100, debug the program, set the operation of the control device 100, set the operation of the device connected to the control device 100, and set the field network 20. It has become.
  • the input unit 406 is composed of a keyboard, a mouse, etc., and accepts user operations.
  • the display unit 408 is composed of a display, various indicators, and the like, and displays processing results and the like by the processor 402.
  • the USB controller 420 exchanges data with the control device 100 and the like via the USB connection.
  • the communication controller 422 exchanges data with an arbitrary information processing device via the host network 12.
  • the support device 400 has an optical drive 412, and is stored in a storage medium 414 (for example, an optical storage medium such as a DVD (Digital Versatile Disc)) that temporarily stores a computer-readable program.
  • a storage medium 414 for example, an optical storage medium such as a DVD (Digital Versatile Disc)
  • the stored program is read and installed in the storage 410 or the like.
  • the development program 4104 or the like executed by the support device 400 may be installed via a computer-readable storage medium 414, or may be installed by downloading from a server device or the like on the network. Further, the function provided by the support device 400 according to the present embodiment may be realized by using a part of the modules provided by the OS 4102.
  • support device 400 may be removed from the control device 100 while the robot control system 1 is in operation.
  • the display device 500 constituting the robot control system 1 according to the present embodiment may be realized by using a general-purpose personal computer as an example. Since the basic hardware configuration example of the display device 500 is the same as the hardware configuration example of the support device 400 shown in FIG. 7, detailed description is not given here.
  • the server device 600 constituting the robot control system 1 according to the present embodiment may be realized by using a general-purpose personal computer as an example. Since the basic hardware configuration example of the server device 600 is the same as the hardware configuration example of the support device 400 shown in FIG. 7, detailed description is not given here.
  • FIGS. 3 to 7 show configuration examples in which necessary functions are provided by executing a program by one or more processors, and some or all of these provided functions are provided by dedicated hardware. It may be implemented using a hardware circuit (for example, ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array)).
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the main part of the control device 100 may be realized by using hardware that follows a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer).
  • a general-purpose architecture for example, an industrial personal computer based on a general-purpose personal computer.
  • virtualization technology may be used to execute a plurality of OSs having different uses in parallel, and to execute necessary applications on each OS.
  • a configuration in which functions such as a support device 400 and a display device 500 are integrated with the control device 100 may be adopted.
  • FIG. 8 is a schematic diagram showing an example of a functional configuration for controlling the behavior of the robot 200 in the robot control system 1 according to the present embodiment.
  • a command 158 or the like for controlling the robot 200 is exchanged between the control device 100 and one or a plurality of robot controllers 250.
  • the control device 100 includes an IEC program execution engine 150, a robot program execution engine 152, a communication control module 160, a communication driver 162, and an external communication interface 164. These elements may typically be realized by the processor 102 of the control device 100 executing the system program 1102.
  • the IEC program execution engine 150 periodically generates an output value given to the robot controller 250 by executing the IEC program 1104. More specifically, the IEC program execution engine 150 cyclically executes the IEC program 1104 at predetermined control cycles. The control cycle of the control device 100 is typically assumed to be about several hundred ⁇ sec to several hundred msec.
  • the IEC program execution engine 150 outputs an internal command (for example, transmission start and transmission stop of the command 158) to the robot program execution engine 152 according to the execution of the IEC program 1104, and / or the state from the robot program execution engine 152.
  • the value (for example, the state of the robot program 1108 being executed by the robot program execution engine 152) is acquired.
  • the robot program execution engine 152 sequentially generates commands 158 to be given to the robot controller 250 by executing the robot program 1108.
  • the sequentially generated commands 158 indicate the behavior of the robot 200.
  • the robot program execution engine 152 sequentially executes the robot program 1108, and transmits a command 158 for controlling the robot 200 to one or a plurality of robot controllers 250.
  • the robot program execution engine 152 includes a robot program interpretation module 154 and a command generation module 156.
  • the robot program interpretation module 154 sequentially reads and parses the robot program 1108, and outputs the internal command obtained by the parse to the command generation module 156.
  • the robot program interpretation module 154 can interpret instructions related to signal input / output, file access, and communication in addition to instructions related to the behavior of the robot 200 described in the programming language included in the robot program 1108.
  • the start and stop of reading the robot program 1108 by the robot program interpretation module 154 may be controlled by the command generation module 156.
  • the command generation module 156 generates commands 158 for each of the robot controllers 250 according to internal commands from the robot program interpretation module 154.
  • the command generation module 156 functions as a host for one or more connected robot controllers 250. More specifically, the command generation module 156 is an internal command exchanged with the IEC program execution engine 150 and / or an internal command exchanged with the support device 400 via the external communication interface 164. In response to this, the robot program interpretation module 154 controls the start and stop of execution of the robot program 1108, and also controls the start and stop of the generation of the command 158 for the robot controller 250.
  • the command generation module 156 may collect information such as state values and errors from the robot controller 250.
  • the communication control module 160 and the communication driver 162 correspond to a communication unit that transmits setting information 2704 and sequentially generated commands 158 to the robot controller 250.
  • the communication control module 160 and the communication driver 162 transmit the output value from the IEC program execution engine 150 and the command 158 from the robot program execution engine 152 to the robot controller 250.
  • the communication control module 160 manages the exchange of data with one or a plurality of connected robot controllers 250.
  • the communication control module 160 may generate a communication instance that manages data communication for each connected robot controller 250, and may manage data communication using the generated communication instance.
  • the communication driver 162 is an internal interface that uses the field network controller 108 (see FIG. 3) to perform data communication with one or a plurality of connected robot controllers 250.
  • Each of the robot controllers 250 includes a communication control module 280, a communication driver 282, a robot drive engine 284, and a signal output driver 292. These elements may typically be realized by the processor 262 (control processing circuit 260) of the robot controller 250 executing the robot system program 2702.
  • the communication control module 280 manages the exchange of data with the connected control device 100.
  • the communication control module 280 may generate a communication instance that manages data communication with the connected control device 100, and may manage data communication using the generated communication instance.
  • the communication driver 282 is an internal interface that performs data communication with the connected control device 100 by using the field network controller 252 (see FIG. 4).
  • the robot drive engine 284 sets each axis of the robot 200 (including: custom robot 200A and / or general-purpose robot 200B) with reference to the setting information 2704 previously transmitted from the control device 100 according to the command 158 from the control device 100. Command values for driving are sequentially generated. More specifically, the robot drive engine 284 includes a management module 286, a target trajectory generation module 288, and a command value generation module 290.
  • the management module 286 corresponds to a processing execution unit that executes processing according to an output value from the control device 100. More specifically, the management module 286 manages the control mode, the start / end of the generation of the target trajectory from the command 158, and the like according to the output value from the control device 100. The management module 286 may hold the setting information 2704 provided by the control device 100.
  • the target trajectory generation module 288 (target trajectory generation unit) is a target of the robot 200 to be controlled (including: custom robot 200A and / or general-purpose robot 200B) while referring to the setting information 2704 according to the command 158 from the control device 100. Generate an orbit.
  • the generated target trajectory is typically the hourly position of the tip of the robot 200 (change in position with respect to time) and / or the hourly velocity of the tip of the robot 200 (change in velocity with respect to time). ) Etc. are included.
  • the target trajectory generation module 288 may output the generated target trajectory to the command value generation module 290 (typically when driving the custom robot 200A shown in FIG. 4), or via the signal output driver 292. It may be output directly to the robot 200 (typically, when driving the general-purpose robot 200B shown in FIG. 5).
  • the command value generation module 290 sequentially generates command values for driving each axis of the robot 200 so as to realize the behavior instructed by the command 158 from the control device 100. More specifically, the command value generation module 290 sets a command value for each motor 230 constituting the robot 200 to be controlled while referring to the setting information 2704 according to the target trajectory generated by the target trajectory generation module 288. Generate sequentially. The command value generation module 290 may update the command value at a predetermined control cycle or at a predetermined event.
  • the command value generation module 290 calculates each command value given to the motor 230 for driving the robot 200 along the target trajectory based on the kinematics of the robot 200 to be controlled.
  • the command value generation module 290 sets the target position (change in position / angle with respect to time), target speed (change in speed / angular velocity with respect to time), and target acceleration (change in acceleration / angular acceleration with respect to time) as command values given to the motor 230. ) And / or the target acceleration (change in jerk / angular jerk with time) and so on.
  • the control cycle of the target trajectory generation module 288 of the robot controller 250 is typically assumed to be about several hundred ⁇ sec to several hundred msec, which is about the same as the control cycle of the control device 100. On the other hand, it is assumed that the control cycle of the command value generation module 290 of the robot controller 250 is faster than the control cycle of the target trajectory generation module 288 (for example, about several to ten and several times).
  • the signal output driver 292 utilizes an interface circuit 268 (see FIG. 4) to output a command value and / or a target trajectory to one or more connected drive circuits 220 and / or a robot 200 internally. It is an interface.
  • the robot program 1108 is a program for controlling the behavior of the robot 200.
  • the behavior of the robot 200 for example, the timing for starting / stopping the operation of the robot 200, the conditions for operating the robot 200 (for example, the linkage with the equipment in the pre-process or the post-process), and so on. It is also necessary to control the safety conditions and the like related to the robot 200.
  • the IEC program 1104 may include logic for collecting state values related to the operation of the robot 200 and determining the timing for starting / stopping the operation of the robot 200.
  • FIG. 9 is a diagram showing an example of the IEC program 1104 and the robot program 1108 executed by the control device 100 constituting the robot control system 1 according to the present embodiment.
  • FIG. 9A shows an example of the IEC program 1104 described in a ladder diagram (LD language).
  • the example of the IEC program 1104 shown in FIG. 9A includes instructions relating to a process of turning on the power of the robot 200 to be controlled and a process of executing calibration of the robot 200 to be controlled.
  • the IEC program 1104 may include a function block as an element.
  • the IEC program 1104 may include code written in structured text (ST language).
  • FIG. 9B shows an example of a robot program 1108 written in V + language.
  • the V + language is a kind of high-level language for controlling the behavior of the robot 200.
  • FIG. 10 is a time chart showing an execution example of a program in the control device 100 constituting the robot control system 1 according to the present embodiment.
  • the IEC program execution engine 150 and the robot program execution engine 152 execute the processes independently.
  • the IEC program execution engine 150 cyclically executes (repeatedly executes) the IEC program 1104 every predetermined control cycle T1.
  • the cyclic execution of the IEC program 1104 includes an output update process 1502 and an input update process 1504.
  • the output update process 1502 includes a process of reflecting the output value determined by the execution of the IEC program 1104 on the internal variables and / or the target device.
  • the output value for the device connected via the field network 20 is stored in the communication frame and transmitted on the field network 20.
  • the input update process 1504 includes a process of acquiring an input value (state value) necessary for executing the IEC program 1104 from an internal variable and / or a target device.
  • the input value from the device connected via the field network 20 is acquired from the communication frame propagating on the field network 20.
  • the communication control module 160 sends out a communication frame on the field network 20 in synchronization with the control cycle T1 and receives the communication frame that circulates on the field network 20 and returns.
  • the communication control module 160 stores the output value generated by the IEC program execution engine 150 and / or the command 158 generated by the command generation module 156 in the communication frame and is included in the returned communication frame.
  • the input value (state value) is held so that the IEC program execution engine 150 and the command generation module 156 can refer to it.
  • the command generation module 156 generates a command 158 according to an internal command from the robot program interpretation module 154. Typically, the timing at which the command generation module 156 generates the command 158 is determined by the output value from the IEC program execution engine 150. In the example shown in FIG. 10, an example is shown in which the IEC program execution engine 150 generates a command 158 in response to an output value from the IEC program execution engine 150. The generation of the command 158 by the IEC program execution engine 150 may be synchronized with the timing of the output update process 1502 of the IEC program execution engine 150.
  • the robot program interpretation module 154 typically executes the robot program 1108 independently of the control cycle T1.
  • the start / stop of execution of the robot program 1108 by the robot program interpretation module 154 may be controlled by the command generation module 156.
  • the robot program execution engine 152 sequentially executes the robot program 1108.
  • the IEC program execution engine 150 cyclically executes the IEC program 1104 independently of the execution of the robot program 1108 by the robot program execution engine 152.
  • FIG. 11 is a schematic diagram illustrating data processing in the initial state in the robot control system 1 according to the present embodiment.
  • the setting information 2704 prepared in advance for each robot 200 is input to the robot program execution engine 152 of the control device 100.
  • the command generation module 156 of the robot program execution engine 152 transmits the corresponding setting information 2704 to each of the robot controllers 250.
  • the robot drive engine 284 of the robot controller 250 stores the setting information 2704 transmitted from the control device 100.
  • the robot controller 250 can control the robot 200.
  • a command 158 is transmitted from the control device 100 to the robot controller 250.
  • FIG. 12 is a schematic diagram illustrating data processing in an operating state in the robot control system 1 according to the present embodiment.
  • the robot program 1108 written in a predetermined programming language is input to the robot program execution engine 152 of the control device 100.
  • the robot program execution engine 152 has a different robot program 1108 for each robot 200. Entered. Further, in a production facility in which a plurality of the same production lines are arranged in parallel and a robot 200 that performs the same work is arranged in each production line, the robot program execution engine 152 is common. Robot program 1108 may be input. However, the generated commands 158 may be independently transmitted to the robot controller 250.
  • a plurality of robot programs 1108 described in different programming languages may be input to the robot program execution engine 152.
  • the robot program execution engine 152 can generate a command 158 written according to a common command system even when a robot program 1108 written in a different programming language is input.
  • the robot program execution engine 152 may be configured to be able to interpret a plurality of programming languages.
  • the robot program execution engine 152 may generate a command 158 according to a predetermined command system without depending on a programming language.
  • the robot program execution engine 152 (robot program interpretation module 154) interprets the input robot program 1108 and generates an internal command. Further, the robot program execution engine 152 (command generation module 156) generates a command 158 for controlling the behavior of the robot 200 according to the generated internal command.
  • Command 158 may be generated for one or more connected robot controllers 250, respectively.
  • the generated command 158 is transmitted to the corresponding robot controller 250 via the field network 20 (see FIG. 2).
  • the communication unit 50 (composed of a field network controller 108, a communication control module 160, a communication driver 162, etc.) of the control device 100 is a plurality of robot controllers.
  • Command 158 is sent to 250 respectively.
  • the target trajectory generation module 288 of the robot controller 250 generates a target trajectory according to the command 158 from the control device 100.
  • the generated target trajectory may be output to the general-purpose robot 200B as it is.
  • the command value generation module 290 of the robot controller 250 generates command values for each of the motors 230 constituting the robot 200 to be controlled according to the generated target trajectory.
  • Any command system can be adopted as the command system for defining the command 158. From the viewpoint of reducing the processing related to the generation of the command 158, it is preferable to adopt a command group that can be easily generated from the instructions described in the robot program 1108.
  • FIG. 13 is a diagram showing an example of setting information 2704 used in the robot control system 1 according to the present embodiment.
  • the setting information 2704 referenced by the robot controller 250 includes parameters relating to the robot 200 controlled by the robot controller 250.
  • the setting information 2704 includes a robot type indicating the robot type and robot type, the number of axes possessed by each robot, parameters of each axis, and parameters of the server that drives each axis (including the rotation speed and reduction ratio). And so on. Further, the setting information 2704 may include a limit value of the robot 200 (for example, a speed limit value, an acceleration limit value, a jerk limit value, etc.).
  • the setting information group 2701 stored in the control device 100 is composed of one or a plurality of setting information 2704.
  • the control device 100 transmits the corresponding setting information 2704 of the setting information group 2701 to the target robot controller 250.
  • the storage 110 of the control device 100 stores the setting information group 2701 including the setting information 2704 for each of the plurality of robot controllers 250. Has been done.
  • the robot controller 250 refers to the setting information 2704 to generate a target trajectory and / or generate a command value.
  • setting information 2704 corresponding to each of the robot controllers 250 connected to the control device 100 may be predetermined and prepared, but the contents of the setting information 2704 are similar to each other. In that case, after preparing the default setting information, only the difference with respect to the default setting information may be transmitted.
  • FIG. 14 is a diagram showing another example of setting information used in the robot control system 1 according to the present embodiment.
  • default setting information 2704A is stored in advance for each robot controller 250. Then, the difference information 2704B from the default setting information 2704A may be transmitted so that the setting information corresponds to each robot controller 250.
  • the robot controller 250 can generate and refer to the setting information corresponding to the robot 200 to be controlled by applying the difference information 2704B to the default setting information 2704A.
  • the control device 100 transmits the difference information 2704B, which is the difference between the default setting information 2704A stored in advance in the robot controller 250 and the setting information 2704 to be stored in the robot controller 250, to the robot controller 250. It may be. If the default setting information 2704A is not stored in the robot controller 250, the control device 100 may transmit the default setting information 2704A to the robot controller 250.
  • Setting information transmission conditions As described above, the control device 100 transmits the setting information 2704 to the robot controller 250 when the predetermined conditions (hereinafter, also referred to as “transmission conditions”) are satisfied. An example of transmission conditions when the control device 100 transmits the setting information 2704 will be described.
  • the transmission condition can be that the control device 100 is activated. That is, the transmission condition may include that the control device 100 has been activated. In this case, the control device 100 transmits the setting information 2704 to the robot controller 250 in the initial state immediately after the system is started.
  • FIG. 15 is a diagram showing an example of transmission conditions in the robot control system 1 according to the present embodiment. With reference to FIG. 15, it is assumed that the power of the control device 100 is turned on and the system is started. At the same time, the system of the robot controller 250 is also started. Immediately after the robot controller 250 starts the system, it is assumed to be in the ready state.
  • the control device 100 transmits the setting information 2704 to the robot controller 250.
  • the robot controller 250 stores the received setting information 2704 and transitions from the ready state to the operating state.
  • the robot controller 250 can control the robot 200 by transitioning to the operating state.
  • the transmission condition can be that the robot 200 (robot controller 250) is connected to the network. That is, the transmission condition may include that the robot controller 250 is network-connected to the control device 100. More specifically, when any of the robot controllers 250 is newly connected or reconnected to the field network 20, the control device 100 transmits the setting information 2704 to the robot controller 250.
  • FIG. 16 is a diagram showing another example of transmission conditions in the robot control system 1 according to the present embodiment.
  • the robot 200 robot controller 250
  • the robot controller 250 starts the system.
  • the robot controller 250 starts the system, it is assumed to be in the ready state.
  • the control device 100 transmits the setting information 2704 to the robot controller 250.
  • the robot controller 250 stores the received setting information 2704 and transitions from the ready state to the operating state.
  • the robot controller 250 can control the robot 200 by transitioning to the operating state.
  • control device 100 may transmit the setting information 2704 to the robot controller 250 in accordance with a command from the external device connected to the control device 100.
  • the control device 100 transmits the setting information 2704 to the robot controller 250 according to the instruction.
  • FIG. 17 is a diagram showing still another example of transmission conditions in the robot control system 1 according to the present embodiment.
  • a transmission instruction of the setting information 2704 is given to the control device 100.
  • the robot controller 250 starts the system, it is assumed to be in the ready state.
  • the control device 100 transmits the setting information 2704 to the robot controller 250 in response to the transmission instruction from the support device 400.
  • the robot controller 250 stores the received setting information 2704 and transitions from the ready state to the operating state.
  • the robot controller 250 can control the robot 200 by transitioning to the operating state.
  • the trigger for which the transmission instruction is given from the support device 400 to the control device 100 may be a user operation, an application executed by the support device 400, or the like.
  • a transmission instruction of the setting information 2704 may also be given to the control device 100.
  • the IEC program 1104 or the like executed by the control device 100 may satisfy the transmission condition. That is, the application executed by the control device 100 may generate a trigger for transmitting the setting information 2704.
  • the logic corresponding to the transmission condition of the setting information 2704 may be incorporated in the IEC program 1104, and when the incorporated transmission condition is satisfied, the setting information 2704 may be transmitted.
  • the setting information 2704 may be transmitted.
  • arbitrary transmission conditions can be specified.
  • the setting information 2704 may be transmitted regardless of whether or not the setting information 2704 is already stored in the transmission destination robot controller 250. That is, even if the setting information 2704 is stored in the robot controller 250 in advance, the control device 100 may transmit the setting information 2704 stored in the storage 110 of the control device 100 to the robot controller 250.
  • the control device 100 acquires the information of the setting information 2704 stored in the robot controller 250 from the robot controller 250 to which the setting information 2704 should be transmitted, and the setting information 2704 is not stored or is stored. If the set setting information 2704 is different from the setting information 2704 scheduled to be transmitted, the setting information 2704 is transmitted to the robot controller 250.
  • the transmission condition may include that the correct setting information 2704 is not stored in the destination robot controller 250.
  • any transmission conditions can be adopted. Further, a plurality of the above-mentioned transmission conditions may be arbitrarily combined and adopted. Further, the transmission conditions may be different for each robot controller 250.
  • FIG. 18 is a sequence diagram showing a transmission process of setting information 2704 in the robot control system 1 according to the present embodiment.
  • the processing of the control device 100 shown in FIG. 18 is typically realized by the processor 102 of the control device 100 executing the system program 1102. Further, the processing of the robot controller 250 shown in FIG. 18 is typically realized by the processor 262 executing the robot system program 2702.
  • the control device 100 determines whether or not a predetermined condition (transmission condition) for transmitting the setting information 2704 is satisfied (sequence SQ100). In determining whether or not the transmission condition is satisfied, the control device 100 may acquire necessary information from the robot controller 250. If the transmission condition is not satisfied (NO in sequence SQ100), the following processing is skipped.
  • the control device 100 specifies the robot controller 250 to be transmitted (sequence SQ102), and transmits the setting information 2704 corresponding to the specified robot controller 250 (sequence). SQ104). Then, it waits for the reception completion notification from the robot controller 250 (sequence SQ106).
  • the robot controller 250 When the robot controller 250 receives the setting information 2704 from the control device 100 (sequence SQ202), the robot controller 250 stores the received setting information 2704 (sequence SQ204). Then, the robot controller 250 notifies the control device 100 that the reception of the setting information 2704 is completed (sequence SQ206). Then, the robot controller 250 transitions from the ready state to the operating state (sequence SQ208).
  • control device 100 When the control device 100 receives the reception completion notification from the robot controller 250 (YES in the sequence SQ106), the control device 100 ends the transmission process of the setting information 2704.
  • FIG. 19 is a flowchart showing a processing procedure during operation in the control device 100 constituting the robot control system 1 according to the present embodiment. Each step shown in FIG. 19 may typically be realized by the processor 102 of the control device 100 executing the system program 1102. As shown in FIG. 19, in the control device 100, the processing by the IEC program execution engine 150 and the processing by the robot program execution engine 152 (robot program interpretation module 154 and command generation module 156) are executed in parallel.
  • the control device 100 determines whether or not the next control cycle has arrived (step S100). If the next control cycle has not arrived (NO in step S100), the control device 100 waits for processing until the next control cycle arrives.
  • control device 100 If the next control cycle has arrived (YES in step S100), the control device 100 outputs the output value determined by the execution of the IEC program 1104 in the previous control cycle (step S102).
  • the process of outputting the output value includes the process of outputting the output value to the robot program execution engine 152.
  • control device 100 acquires the latest input value (step S104), and determines the output value by executing the IEC program 1104 using the acquired latest input value (step S106). Then, the process of step S100 or less is repeated.
  • the control device 100 determines whether or not the reading start condition of the robot program 1108 is satisfied (step S150).
  • the reading start condition of the robot program 1108 is an output value from the IEC program execution engine 150, an input value from the robot controller 250 (for example, the robot controller 250 is in the operating state), an instruction from the support device 400, or any other option. Information may be appropriately combined and specified.
  • step S150 If the reading start condition of the robot program 1108 is not satisfied (NO in step S150), the control device 100 skips the processes of steps S152 and S154.
  • step S150 If the reading start condition of the robot program 1108 is satisfied (YES in step S150), the control device 100 executes the robot program 1108 to instruct the robot behavior given to the robot controller 250. Is generated, and the generated command 158 is transmitted to the robot controller 250 (steps S152 to S160).
  • control device 100 sequentially reads the target robot program 1108 (step S152), parses the read robot program 1108, and generates an internal command (step S154).
  • the control device 100 determines whether or not the output start condition of the command 158 is satisfied (step S156).
  • the output start condition of the command 158 may be specified by appropriately combining an output value from the IEC program execution engine 150, an input value from the robot controller 250, an instruction from the support device 400, and any other information.
  • step S156 the control device 100 determines whether or not the next control cycle has arrived. If the next control cycle has not arrived (NO in step S158), the control device 100 waits for processing until the next control cycle arrives.
  • step S158 the control device 100 generates and outputs a command 158 according to an internal command generated in advance (step S160).
  • step S156 If the output start condition of the command 158 is not satisfied (NO in step S156), the control device 100 skips the processes of steps S158 and S160.
  • FIG. 20 is a flowchart showing a processing procedure during operation of the robot controller 250 constituting the robot control system 1 according to the present embodiment. Each step shown in FIG. 20 may be realized by the processor 262 (control processing circuit 260) of the robot controller 250 executing the robot system program 2702.
  • the processing by the target trajectory generation module 288 and the processing by the command value generation module 290 are executed in parallel.
  • the process shown in FIG. 20 is executed when the robot controller 250 is in the operating state. That is, it is executed only when the setting information 2704 from the control device 100 is stored.
  • the robot controller 250 determines whether or not a command 158 has been received from the control device 100 (step S200). If the command 158 has not been received from the control device 100 (NO in step S200), the robot controller 250 repeats the process of step S200.
  • step S200 If the command 158 is received from the control device 100 (YES in step S200), the robot controller 250 determines whether or not all of the commands 158 have been received (step S202). If only a part of the command 158 is received (NO in step S202), the robot controller 250 repeats the processes of step S200 and the following.
  • step S202 If all of the commands 158 have been received (YES in step S202), the robot controller 250 generates a target trajectory according to the received command 158 while referring to the setting information 2704 (step S204). Then, the process of step S200 or less is repeated.
  • the robot controller 250 determines whether or not the next control cycle has arrived (step S250). If the next control cycle has not arrived (NO in step S250), the robot controller 250 waits for processing until the next control cycle arrives.
  • the robot controller 250 stores the latest predetermined input value in the communication frame 40 and transmits it to the control device 100 (step S252). Then, the robot controller 250 refers to the communication frame 40 and acquires the latest output value transmitted from the control device 100 (step S254). Then, the robot controller 250 determines whether or not the output condition of the command value for the robot 200 is satisfied (step S256).
  • the output condition of the command value for the robot 200 is an appropriate combination of the latest output value transmitted from the control device 100, the state value held by the management module 286, the state value acquired by the robot controller 250, and any other information. It may be specified.
  • step S256 If the output condition of the command value for the robot 200 is not satisfied (NO in step S256), the robot controller 250 skips the processes of steps S258 and S260.
  • step S256 the robot controller 250 will realize the behavior instructed by the command 158 from the control device 100.
  • Command values for driving the shaft are sequentially generated (steps S258 to S260). More specifically, the robot controller 250 generates a command value for each of the motors 230 constituting the robot 200 to be controlled while referring to the setting information 2704 according to the target trajectory generated in advance (step S258). .. Then, the robot controller 250 outputs each generated command value (step S260).
  • Robot control system (1) The first control device (100) and A second control device (250) for controlling the robot, which is network-connected to the first control device, is provided.
  • the first control device is A storage unit (110) that stores setting information (2704) related to the robot (200) controlled by the second control device, and a storage unit (110).
  • a command generator (152) that sequentially generates commands (158) to be given to the second control device by executing the robot program (1108), and
  • a communication unit (50) for transmitting the setting information and the sequentially generated commands to the second control device is provided.
  • the second control device is A command value generator (command value generator) that sequentially generates command values for driving each axis of the robot by referring to the setting information transmitted in advance from the first control device according to a command from the first control device. 290), a robot control system.
  • the first control device transmits the setting information to the second control device in accordance with a command from an external device (400) connected to the first control device, any one of configurations 1 to 4.
  • the first control device sets a difference (2704B) between the setting information (2704A) stored in advance in the second control device and the setting information to be stored in the second control device (2704B).
  • the robot control system according to any one of the configurations 1 to 5, which is transmitted to the control device of the above.
  • the robot control system includes a plurality of the second control devices.
  • the robot control system according to any one of configurations 1 to 7, wherein the storage unit of the first control device stores setting information for each of the plurality of second control devices.
  • Control in a robot control system (1) including a first control device (100) and a second control device (250) connected to the first control device via a network and for controlling the robot (200). It ’s a method, A step (SQ104) in which the first control device transmits setting information (2704) regarding the robot controlled by the second control device to the second control device. A step (S160) in which the first control device sequentially generates a command (158) to be given to the second control device by executing a robot program (1108). A step (S160) in which the first control device transmits the setting information and the sequentially generated commands to the second control device. With reference to the setting information, the second control device sequentially generates command values for driving each axis of the robot according to a command from the first control device (S258, S260). A control method that comprises.
  • the control device 100 and the robot controller 250 cooperate to control the behavior of the robot 200.
  • the setting information 2704 regarding the robot 200 controlled by the robot controller 250 is transmitted to the robot controller 250 to which the command 158 is transmitted. ..
  • 1 robot control system 12 upper network, 20 field network, 40 communication frame, 50 communication unit, 100 control device, 102,262,362,402 processor, 104,266,366,404 main memory, 106 upper network controller, 108 , 252,352 field network controller, 110,270,410 storage, 112 memory card interface, 114 memory card, 116 local bus controller, 118,418 processor bus, 120,420 USB controller, 122 local bus, 130 functional unit, 150 IEC program execution engine, 152 robot program execution engine, 154 robot program interpretation module, 156 command generation module, 158 commands, 160,280 communication control module, 162,282 communication driver, 164 external communication interface, 200 robot, 200A custom robot, 200B general-purpose robot, 210 arm, 220 drive circuit, 230 motor, 250 robot controller, 260, 360 control processing circuit, 268, 368 interface circuit, 284 robot drive engine, 286 management program, 288 target trajectory generation module, 290 command value Generation module, 292 signal output driver, 300 operation pendant, 370 firmware, 380 operation key group,

Abstract

ロボット制御システムは、第1の制御装置と、第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置とを含む。第1の制御装置は、第2の制御装置が制御するロボットに関する設定情報を格納する記憶部と、ロボットプログラムを実行することで、第2の制御装置に与えるコマンドを順次生成するコマンド生成部と、設定情報および順次生成されるコマンドを第2の制御装置へ送信する通信部とを含む。第2の制御装置は、第1の制御装置からのコマンドに従って、第1の制御装置から予め送信された設定情報を参照して、ロボットの各軸を駆動するための指令値を順次生成する指令値生成部を含む。

Description

ロボット制御システムおよび制御方法
 本技術は、ロボット制御システムおよび制御方法に関する。
 従来より、FA(Factory Automation)分野においては、ロボットが様々なアプリケーションに用いられている。
 一般的に、ロボットの制御には、所定のプログラミング言語で記述されたプログラムが用いられる。ロボットの制御をより簡素化する観点として、例えば、特開2018-196908号公報(特許文献1)は、ロボット言語を習得することなく、ロボットを使用した自動化設備を低コストで構築する構成を開示する。
特開2018-196908号公報
 上述の先行技術文献に示される構成は、単に、ロボット言語により記述されたプログラムを作成するのではなく、ロボットコントローラに対するパラメータを入力することで、ロボットの動作を制御することで、構築コストを低減するものである。
 しかしながら、実際の生産設備においては、複数のロボットが配置されることも多い。上述の先行技術文献に示される構成は、複数のロボットが配置される場合については、何ら想定していない。さらに、実際の生産設備は、ロボットだけではなく、様々な装置や機械が組み合わせられる。
 本技術は、1または複数のロボットを含む生産設備に適したロボット制御システムを提供することを目的とする。
 本技術のある実施の形態に係るロボット制御システムは、第1の制御装置と、第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置とを含む。第1の制御装置は、第2の制御装置が制御するロボットに関する設定情報を格納する記憶部と、ロボットプログラムを実行することで、第2の制御装置に与えるコマンドを順次生成するコマンド生成部と、設定情報および順次生成されるコマンドを第2の制御装置へ送信する通信部とを含む。第2の制御装置は、第1の制御装置からのコマンドに従って、第1の制御装置から予め送信された設定情報を参照して、ロボットの各軸を駆動するための指令値を順次生成する指令値生成部を含む。
 この構成によれば、第2の制御装置が指令値を生成するのに必要な設定情報が第1の制御装置から提供されるので、第1の制御装置と第2の制御装置との連係したロボットの制御を確実に実現できる。
 第1の制御装置は、予め定められた条件が満たされると、設定情報を第2の制御装置へ送信するようにしてもよい。この構成によれば、設定情報の送信が必要な場合に、設定情報を送信できる。
 予め定められた条件は、第1の制御装置が起動したことを含んでいてもよい。この構成によれば、第1の制御装置が起動すると、設定情報を第2の制御装置へ確実に送信できる。
 予め定められた条件は、第2の制御装置が第1の制御装置とネットワーク接続されることを含んでいてもよい。この構成によれば、第2の制御装置が第1の制御装置とネットワーク接続されると、設定情報を第2の制御装置へ確実に送信できる。
 第1の制御装置は、第1の制御装置に接続された外部装置からの指令に従って、設定情報を第2の制御装置へ送信するようにしてもよい。この構成によれば、外部装置からの指令を受けると、設定情報を第2の制御装置へ確実に送信できる。
 第1の制御装置は、第2の制御装置に予め設定情報が格納されていても、第1の制御装置の記憶部に格納されている設定情報を第2の制御装置へ送信するようにしてもよい。この構成によれば、第2の制御装置に予め格納されている設定情報の適否を評価することなく、適切な設定情報を第2の制御装置に提供できる。
 第1の制御装置は、第2の制御装置に予め格納されている設定情報と第2の制御装置に格納されるべき設定情報との差分を、第2の制御装置へ送信するようにしてもよい。この構成によれば、第1の制御装置から第2の制御装置へ送信する情報のデータ量を低減できる。
 ロボット制御システムは、第2の制御装置を複数含んでいてもよい。第1の制御装置の記憶部は、複数の第2の制御装置毎に設定情報を格納していてもよい。この構成によれば、複数の第2の制御装置がネットワーク接続されていても、第2の制御装置の各々に対して、適切な設定情報を提供できる。
 本技術のある実施の形態に係る制御方法は、第1の制御装置と、第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置とを含むロボット制御システムに向けられる。制御方法は、第1の制御装置が、第2の制御装置が制御するロボットに関する設定情報を第2の制御装置へ送信するステップと、第1の制御装置が、ロボットプログラムを実行することで、第2の制御装置に与えるコマンドを順次生成するステップと、第1の制御装置が、設定情報および順次生成されるコマンドを第2の制御装置へ送信するステップと、第2の制御装置が、第1の制御装置からのコマンドに従って、設定情報を参照して、ロボットの各軸を駆動するための指令値を順次生成するステップとを含む。
 本技術によれば、1または複数のロボットを含む生産設備に適したロボット制御システムを実現できる。
本実施の形態に係るロボット制御システムの概略を示す模式図である。 本実施の形態に係るロボット制御システムの構成例を示す模式図である。 本実施の形態に係るロボット制御システムを構成する制御装置のハードウェア構成例を示す模式図である。 本実施の形態に係るロボット制御システムを構成するロボットのハードウェア構成例を示す模式図である。 本実施の形態に係るロボット制御システムを構成するロボットの別のハードウェア構成例を示す模式図である。 本実施の形態に係るロボット制御システムを構成する操作ペンダントのハードウェア構成例を示す模式図である。 本実施の形態に係るロボット制御システムを構成するサポート装置のハードウェア構成例を示す模式図である。 本実施の形態に係るロボット制御システムにおけるロボットの挙動を制御するための機能構成の一例を示す模式図である。 本実施の形態に係るロボット制御システムを構成する制御装置で実行されるIECプログラムおよびロボットプログラムの一例を示す図である。 本実施の形態に係るロボット制御システムを構成する制御装置におけるプログラムの実行例を示すタイムチャートである。 本実施の形態に係るロボット制御システムにおける初期状態でのデータ処理を概略する模式図である。 本実施の形態に係るロボット制御システムにおける運転状態でのデータ処理を概略する模式図である。 本実施の形態に係るロボット制御システムにおいて利用される設定情報の一例を示す図である。 本実施の形態に係るロボット制御システムにおいて利用される設定情報の別の一例を示す図である。 本実施の形態に係るロボット制御システムにおける送信条件の一例を示す図である。 本実施の形態に係るロボット制御システムにおける送信条件の別の一例を示す図である。 本実施の形態に係るロボット制御システムにおける送信条件のさらに別の一例を示す図である。 本実施の形態に係るロボット制御システムにおける設定情報の送信処理を示すシーケンス図である。 本実施の形態に係るロボット制御システムを構成する制御装置における動作中の処理手順を示すフローチャートである。 本実施の形態に係るロボット制御システムを構成するロボットコントローラにおける動作中の処理手順を示すフローチャートである。
 本技術の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰り返さない。
 <A.適用例>
 まず、本技術が適用される場面の一例について説明する。図1は、本実施の形態に係るロボット制御システム1の概略を示す模式図である。
 図1を参照して、ロボット制御システム1は、制御装置100(第1の制御装置)と、制御装置100とフィールドネットワーク20を介してネットワーク接続され、ロボット200を制御するためのロボットコントローラ250(第2の制御装置)とを含む。なお、制御装置100には、複数のロボットコントローラ250が接続されてもよい。
 以下の説明では、主としてロボット200を制御するロボット制御システム1の構成例を示すが、ロボット制御システム1の制御対象はロボット200に限られるものではない。例えば、制御装置100は、ロボット200に加えて、ロボット200を含む生産設備を構成する様々な装置や機械を制御することができる。さらに、制御装置100は、ロボット200の動作を監視するセーフティコントローラと連係してもよい。すなわち、本明細書において、「ロボット制御システム」との用語は、ロボットを制御する機能を有しているシステムという意味で用いられ、ロボット以外を制御することを排除するものではない。
 制御装置100は、ロボットコントローラ250が制御するロボット200に関する設定情報2704を格納するストレージ110(記憶部)を有している。ストレージ110には、ロボットプログラム1108も格納されていてもよい。ロボットプログラム1108は、ロボットプログラム実行エンジン152(コマンド生成部)に与えられる。ロボットプログラム実行エンジン152は、ロボットプログラム1108を実行することで、ロボットコントローラ250に与えるコマンド158を順次生成する。
 制御装置100は、設定情報2704および順次生成されるコマンド158をロボットコントローラ250へ送信する通信部50(後述する、フィールドネットワークコントローラ108、通信制御モジュール160、通信ドライバ162などで構成)を有している。
 ロボットコントローラ250は、制御装置100からのコマンド158に従って、制御装置100から予め送信された設定情報2704を参照して、ロボットの各軸を駆動するための指令値を順次生成する指令値生成モジュール290(指令値生成部)を有している。
 なお、ロボット200の軸は、関節(ジョイント)を構成することもあるので、以下の説明では、ロボット200の「軸または関節」とも称す。すなわち、本明細書において、ロボット200の「軸」との用語は、軸および関節を含む意味で用いられる。
 本実施の形態に係るロボット制御システム1においては、制御装置100とロボットコントローラ250とが連係してロボット200の挙動を制御する。このような構成を採用するにあたって、制御装置100からコマンド158を送信する前に、コマンド158の送信先であるロボットコントローラ250に対して、ロボットコントローラ250が制御するロボット200に関する設定情報2704を送信する。これによって、制御装置100とロボットコントローラ250とが連係したロボット200の制御を確実に実現できる。
 また、本実施の形態に係るロボット制御システム1に係る構成を採用することで、処理負荷を分散させることができる。その結果、制御装置100の処理能力が高くなくても、複数のロボット200の挙動を制御できる。また、ロボット200の挙動を制御するために要求される制御装置100のリソースを相対的に小さくできるので、制御装置100において、ロボット200の挙動に係る処理だけではなく、別の処理を実行させることができ、システムの拡張性を高めることができる。
 <B.システム構成例>
 次に、本実施の形態に係るロボット制御システム1の構成例について説明する。
 図2は、本実施の形態に係るロボット制御システム1の構成例を示す模式図である。図2を参照して、本実施の形態に係るロボット制御システム1は、制御装置100と、フィールドネットワーク20を介して制御装置100と接続された、1または複数のロボット200を含む。
 ロボット200の各々は、ロボットコントローラ250により挙動が制御される。ロボットコントローラ250は、制御装置100とネットワーク接続され、ロボット200を制御する。より具体的には、ロボットコントローラ250は、制御装置100からの指令(後述するコマンド158)に従って、ロボット200を制御するための指令値を出力する。ロボット200としては、アプリケーションに応じて任意に作成される1または複数の軸または関節を有するカスタムロボット200Aが用いられてもよい。さらに、ロボット200としては、水平多関節(スカラ)ロボット、垂直多関節ロボット、パラレルリンクロボット、直交ロボットなどの任意の汎用ロボット200Bが用いられてもよい。
 フィールドネットワーク20には、I/Oユニット、セーフティI/Oユニット、セーフティコントローラなどの任意のデバイスが接続されてもよい。図2に示す構成例においては、フィールドネットワーク20には、ロボット200を操作するための操作ペンダント300が接続されている。
 フィールドネットワーク20には、産業用ネットワーク用のプロトコルである、EtherCAT(登録商標)やEtherNet/IPなどを用いることができる。
 制御装置100は、上位ネットワーク12を介して、サポート装置400と、表示装置500と、サーバ装置600とに接続されてもよい。上位ネットワーク12には、産業用ネットワーク用のプロトコルであるやEtherNet/IPなどを用いることができる。
 <C.ハードウェア構成例>
 次に、図2に示すロボット制御システム1を構成する主要装置のハードウェア構成例について説明する。
 (c1:制御装置100)
 図3は、本実施の形態に係るロボット制御システム1を構成する制御装置100のハードウェア構成例を示す模式図である。図3を参照して、制御装置100は、プロセッサ102と、メインメモリ104と、ストレージ110と、メモリカードインターフェイス112と、上位ネットワークコントローラ106と、フィールドネットワークコントローラ108と、ローカルバスコントローラ116と、USB(Universal Serial Bus)インターフェイスを提供するUSBコントローラ120とを含む。これらのコンポーネントは、プロセッサバス118を介して接続されている。
 プロセッサ102は、制御演算を実行する演算処理部に相当し、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)などで構成される。具体的には、プロセッサ102は、ストレージ110に格納されたプログラムを読み出して、メインメモリ104に展開して実行することで、制御対象に対する制御演算を実現する。
 メインメモリ104は、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)などの揮発性記憶装置などで構成される。ストレージ110は、例えば、SSD(Solid State Drive)やHDD(Hard Disk Drive)などの不揮発性記憶装置などで構成される。
 ストレージ110には、基本的な機能を実現するためのシステムプログラム1102、および、制御対象に応じて作成されたIECプログラム1104などが格納される。IECプログラム1104は、シーケンス命令および/またはモーション命令を含み得る。
 本明細書において、「IECプログラム」は、一般的なPLC(プログラマブルロジックコントローラ)で実行される処理を規定するプログラムという意味で用いられる。典型的には、IECプログラムは、国際電気標準会議(IEC:International Electrotechnical Commission)が定めるIEC61131-3で規定されるいずれかの言語で記述されるプログラムを意味する。但し、IECプログラムは、IEC61131-3で規定される言語以外のメーカ独自言語で記述されるプログラムを包含し得る。
 ストレージ110には、ロボット200の挙動を制御するためのロボットプログラム1108および設定情報1106がさらに格納されてもよい。ロボットプログラム1108は、後述するように、所定のプログラミング言語(例えば、V+言語などのロボット制御用プログラミング言語やGコードなどのNC制御に係るプログラミング言語)で記述されてもよい。設定情報1106は、IECプログラム1104およびロボットプログラム1108の実行に係る各種設定値を含む。
 ストレージ110には、ロボットコントローラ250で利用される設定情報の集合である設定情報群2701がさらに格納されていてもよい。設定情報群2701を構成する設定情報は、ロボットコントローラ250が制御するロボット200に関するものであり、ロボット200についての各種パラメータを含む。後述するように、制御装置100は、予め定められた条件が成立すると、設定情報群2701のうち対応する設定情報をロボットコントローラ250へ送信する。
 メモリカードインターフェイス112は、着脱可能な記憶媒体の一例であるメモリカード114を受け付ける。メモリカードインターフェイス112は、メモリカード114に対して任意のデータの読み書きが可能になっている。
 上位ネットワークコントローラ106は、上位ネットワークを介して、任意の情報処理装置(図2に示されるサポート装置400、表示装置500、サーバ装置600など)との間でデータを遣り取りする。
 フィールドネットワークコントローラ108は、フィールドネットワーク20を介して、ロボット200などの任意のデバイスとの間でデータを遣り取りする。図2に示すシステム構成例において、フィールドネットワークコントローラ108は、フィールドネットワーク20の通信マスタとして機能してもよい。
 ローカルバスコントローラ116は、ローカルバス122を介して、制御装置100を構成する任意の機能ユニット130との間でデータを遣り取りする。機能ユニット130は、例えば、アナログ信号の入力および/または出力を担当するアナログI/Oユニット、デジタル信号の入力および/または出力を担当するデジタルI/Oユニット、エンコーダなどからのパルスを受け付けるカウンタユニットなどからなる。
 USBコントローラ120は、USB接続を介して、任意の情報処理装置との間でデータを遣り取りする。
 制御装置100が提供するロボット200の制御に係る機能については、後述する。
 (c2:ロボット200およびロボットコントローラ250)
 図4は、本実施の形態に係るロボット制御システム1を構成するロボット200のハードウェア構成例を示す模式図である。図4には、ロボット200としてカスタムロボット200Aを採用した場合の構成例を示す。
 図4を参照して、カスタムロボット200Aは、ロボットコントローラ250に接続されている。なお、カスタムロボット200Aとロボットコントローラ250とは、一体的に構成されてもよいし、別体として構成されてもよい。
 カスタムロボット200Aは、軸または関節の数に応じたドライブ回路220と、ドライブ回路220により駆動されるモータ230とを含む。ドライブ回路220の各々は、コンバータ回路およびインバータ回路などを含み、ロボットコントローラ250からの指令値に従って指定された電圧・電流・位相の電力を生成して、モータ230へ供給する。
 モータ230の各々は、カスタムロボット200Aを構成するアーム部210のいずれかの軸または関節と機械的に結合されており、モータ230の回転によって対応する軸または関節を駆動するアクチュエータである。
 モータ230としては、駆動するアーム部210に応じた特性のモータを採用できる。例えば、モータ230として、誘導型モータ、同期型モータ、永久磁石型モータ、リラクタンスモータのいずれを採用してもよいし、回転型だけではなく、リニアモータを採用してもよい。駆動対象のモータ230に応じたドライブ回路220が採用される。
 ロボットコントローラ250は、フィールドネットワークコントローラ252と、制御処理回路260とを含む。
 フィールドネットワークコントローラ252は、フィールドネットワーク20を介して、主として、制御装置100との間でデータを遣り取りする。
 制御処理回路260は、カスタムロボット200Aを駆動するために必要な演算処理を実行する。一例として、制御処理回路260は、プロセッサ262と、メインメモリ266と、ストレージ270と、インターフェイス回路268とを含む。
 プロセッサ262は、カスタムロボット200Aを駆動するための制御演算を実行する。メインメモリ266は、例えば、DRAMやSRAMなどの揮発性記憶装置などで構成される。ストレージ270は、例えば、SSDやHDDなどの不揮発性記憶装置などで構成される。
 ストレージ270には、ロボット200を駆動するための制御を実現するためのロボットシステムプログラム2702、および、ロボットコントローラ250での処理に必要な設定パラメータ群を含む設定情報2704が格納される。
 インターフェイス回路268は、それぞれのドライブ回路220に対して、それぞれ指令値を与える。インターフェイス回路268とドライブ回路220との間は、ハードワイヤーで電気的に接続されていてもよいし、データリンクで接続されていてもよい。
 図5は、本実施の形態に係るロボット制御システム1を構成するロボット200の別のハードウェア構成例を示す模式図である。図5には、ロボット200として汎用ロボット200Bを採用した場合の構成例を示す。
 図5を参照して、汎用ロボット200Bは、1または複数のモータおよびドライブ回路(図示しない)が組み込まれており、汎用ロボット200Bの目標軌道が指示されると、指示された目標軌道に応じて1または複数のモータを駆動する。
 図4に示すカスタムロボット200Aを駆動する場合には、軸または関節に対応するドライブ回路220に対してそれぞれ指令値を与える必要があるのに対して、図5に示す汎用ロボット200Bを駆動する場合には、汎用ロボット200Bの目標軌道を指示するだけでよい。
 ロボットコントローラ250が提供するロボット200の制御に係る機能については、後述する。
 (c3:操作ペンダント300)
 図6は、本実施の形態に係るロボット制御システム1を構成する操作ペンダント300のハードウェア構成例を示す模式図である。図6を参照して、操作ペンダント300は、フィールドネットワークコントローラ352と、制御処理回路360と、操作キー群380とを含む。
 フィールドネットワークコントローラ352は、フィールドネットワーク20を介して、主として、制御装置100との間でデータを遣り取りする。
 制御処理回路360は、プロセッサ362と、メインメモリ366と、ファームウェア370と、インターフェイス回路368とを含む。
 プロセッサ362は、ファームウェア370を実行することで、操作ペンダント300に必要な処理を実現する。メインメモリ366は、例えば、DRAMやSRAMなどの揮発性記憶装置などで構成される。
 インターフェイス回路368は、操作キー群380との間で信号を遣り取りする。
 操作キー群380は、ユーザ操作を受け付ける入力装置である。操作キー群380は、入力状態を示すインジケータなどを含んでいてもよい。
 (c4:サポート装置400)
 図7は、本実施の形態に係るロボット制御システム1を構成するサポート装置400のハードウェア構成例を示す模式図である。サポート装置400は、一例として、汎用パソコンを用いて実現されてもよい。
 図7を参照して、サポート装置400は、プロセッサ402と、メインメモリ404と、入力部406と、表示部408と、ストレージ410と、光学ドライブ412と、USBコントローラ420と、通信コントローラ422とを含む。これらのコンポーネントは、プロセッサバス418を介して接続されている。
 プロセッサ402は、CPUやGPUなどで構成され、ストレージ410に格納されたプログラム(一例として、OS4102および開発プログラム4104)を読み出して、メインメモリ404に展開して実行することで、サポート装置400に必要な各種機能を実現する。
 メインメモリ404は、例えば、DRAMやSRAMなどの揮発性記憶装置などで構成される。ストレージ410は、例えば、HDDやSSDなどの不揮発性記憶装置などで構成される。
 ストレージ410には、基本的な機能を実現するためのOS4102、および、開発環境を実現するための開発プログラム4104などが格納される。開発環境においては、制御装置100で実行されるプログラムの作成、プログラムのデバッグ、制御装置100の動作に係る設定、制御装置100に接続されるデバイスの動作に対する設定、フィールドネットワーク20に関する設定などが可能になっている。
 入力部406は、キーボードやマウスなどで構成され、ユーザ操作を受け付ける。表示部408は、ディスプレイや各種インジケータなどで構成され、プロセッサ402による処理結果などを表示する。
 USBコントローラ420は、USB接続を介して、制御装置100などとの間のデータを遣り取りする。通信コントローラ422は、上位ネットワーク12を介して、任意の情報処理装置との間でデータを遣り取りする。
 サポート装置400は、光学ドライブ412を有しており、コンピュータ読み取り可能なプログラムを非一過的に格納する記憶媒体414(例えば、DVD(Digital Versatile Disc)などの光学記憶媒体)から、その中に格納されたプログラムが読み取られてストレージ410などにインストールされる。
 サポート装置400で実行される開発プログラム4104などは、コンピュータ読み取り可能な記憶媒体414を介してインストールされてもよいが、ネットワーク上のサーバ装置などからダウンロードする形でインストールするようにしてもよい。また、本実施の形態に係るサポート装置400が提供する機能は、OS4102が提供するモジュールの一部を利用する形で実現される場合もある。
 なお、ロボット制御システム1の稼動中において、サポート装置400は、制御装置100から取り外されていてもよい。
 (c5:表示装置500)
 本実施の形態に係るロボット制御システム1を構成する表示装置500は、一例として、汎用パソコンを用いて実現されてもよい。表示装置500の基本的なハードウェア構成例は、図7に示すサポート装置400のハードウェア構成例と同様であるので、ここでは詳細な説明は行わない。
 (c6:サーバ装置600)
 本実施の形態に係るロボット制御システム1を構成するサーバ装置600は、一例として汎用パソコンを用いて実現されてもよい。サーバ装置600の基本的なハードウェア構成例は、図7に示すサポート装置400のハードウェア構成例と同様であるので、ここでは詳細な説明は行わない。
 (c7:その他の形態)
 図3~図7には、1または複数のプロセッサがプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASIC(Application Specific Integrated Circuit)またはFPGA(Field-Programmable Gate Array)など)を用いて実装してもよい。
 制御装置100の主要部を、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。この場合には、仮想化技術を用いて、用途の異なる複数のOSを並列的に実行させるとともに、各OS上で必要なアプリケーションを実行させるようにしてもよい。さらに、制御装置100にサポート装置400や表示装置500などの機能を統合した構成を採用してもよい。
 <D.機能構成例>
 ロボット200を制御するための機能構成の一例について説明する。
 図8は、本実施の形態に係るロボット制御システム1におけるロボット200の挙動を制御するための機能構成の一例を示す模式図である。図8を参照して、制御装置100と1または複数のロボットコントローラ250との間で、ロボット200を制御するためのコマンド158などが遣り取りされる。
 制御装置100は、IECプログラム実行エンジン150と、ロボットプログラム実行エンジン152と、通信制御モジュール160と、通信ドライバ162と、外部通信インターフェイス164とを含む。これらのエレメントは、典型的には、制御装置100のプロセッサ102がシステムプログラム1102を実行することで実現してもよい。
 IECプログラム実行エンジン150は、IECプログラム1104を実行することで、ロボットコントローラ250に与える出力値を周期的に生成する。より具体的には、IECプログラム実行エンジン150は、IECプログラム1104を所定の制御周期毎にサイクリック実行する。制御装置100の制御周期としては、典型的には、数百μsec~数100msec程度が想定される。IECプログラム実行エンジン150は、IECプログラム1104の実行に従って、内部コマンド(例えば、コマンド158の送信開始および送信停止など)をロボットプログラム実行エンジン152へ出力し、および/または、ロボットプログラム実行エンジン152から状態値(例えば、ロボットプログラム実行エンジン152が実行しているロボットプログラム1108の状態など)を取得する。
 ロボットプログラム実行エンジン152は、ロボットプログラム1108を実行することで、ロボットコントローラ250に与えるコマンド158を順次生成する。順次生成されるコマンド158は、ロボット200の挙動を指示する。このように、ロボットプログラム実行エンジン152は、ロボットプログラム1108を逐次実行して、1または複数のロボットコントローラ250に対して、ロボット200を制御するためのコマンド158を送信する。より具体的には、ロボットプログラム実行エンジン152は、ロボットプログラム解釈モジュール154と、コマンド生成モジュール156とを含む。
 ロボットプログラム解釈モジュール154は、ロボットプログラム1108を順次読み込んでパースし、パースにより得られた内部コマンドをコマンド生成モジュール156へ出力する。ロボットプログラム解釈モジュール154は、ロボットプログラム1108に含まれるプログラミング言語により記述されたロボット200の挙動に係る命令に加えて、信号の入出力、ファイルアクセスおよび通信に係る命令も解釈できる。
 ロボットプログラム解釈モジュール154によるロボットプログラム1108の読み込み開始や停止などは、コマンド生成モジュール156により制御されてもよい。
 コマンド生成モジュール156は、ロボットプログラム解釈モジュール154からの内部コマンドに従って、ロボットコントローラ250の各々に対するコマンド158を生成する。
 コマンド生成モジュール156は、接続されている1または複数のロボットコントローラ250のホストとして機能する。より具体的には、コマンド生成モジュール156は、IECプログラム実行エンジン150との間で遣り取りされる内部コマンド、および/または、外部通信インターフェイス164を介してサポート装置400との間で遣り取りされる内部コマンドに応じて、ロボットプログラム解釈モジュール154でのロボットプログラム1108の実行の開始および停止を制御するとともに、ロボットコントローラ250に対するコマンド158の生成の開始および停止を制御する。
 コマンド生成モジュール156は、ロボットコントローラ250から状態値およびエラーなどの情報を収集するようにしてもよい。
 説明の便宜上、ロボットプログラム解釈モジュール154と、コマンド生成モジュール156とを分離した構成例を示すが、これらのモジュールを分離することなく、一体的に実装してもよい。
 通信制御モジュール160および通信ドライバ162は、設定情報2704および順次生成されるコマンド158をロボットコントローラ250へ送信する通信部に相当する。通信制御モジュール160および通信ドライバ162は、IECプログラム実行エンジン150からの出力値およびロボットプログラム実行エンジン152からのコマンド158をロボットコントローラ250へ送信する。
 通信制御モジュール160は、接続されている1または複数のロボットコントローラ250との間のデータの遣り取りを管理する。通信制御モジュール160は、接続されているロボットコントローラ250毎にデータ通信を管理する通信インスタンスを生成し、生成した通信インスタンスを用いてデータ通信を管理するようにしてもよい。
 通信ドライバ162は、フィールドネットワークコントローラ108(図3参照)を利用して、接続されている1または複数のロボットコントローラ250との間でデータ通信を行う内部インターフェイスである。
 ロボットコントローラ250の各々は、通信制御モジュール280と、通信ドライバ282と、ロボット駆動エンジン284と、信号出力ドライバ292とを含む。これらのエレメントは、典型的には、ロボットコントローラ250のプロセッサ262(制御処理回路260)がロボットシステムプログラム2702を実行することで実現してもよい。
 通信制御モジュール280は、接続されている制御装置100との間のデータの遣り取りを管理する。通信制御モジュール280は、接続されている制御装置100との間でデータ通信を管理する通信インスタンスを生成し、生成した通信インスタンスを用いてデータ通信を管理するようにしてもよい。
 通信ドライバ282は、フィールドネットワークコントローラ252(図4参照)を利用して、接続されている制御装置100との間でデータ通信を行う内部インターフェイスである。
 ロボット駆動エンジン284は、制御装置100からのコマンド158に従って、制御装置100から予め送信された設定情報2704を参照して、ロボット200(含:カスタムロボット200Aおよび/または汎用ロボット200B)の各軸を駆動するための指令値を順次生成する。より具体的には、ロボット駆動エンジン284は、管理モジュール286と、目標軌道生成モジュール288と、指令値生成モジュール290とを含む。
 管理モジュール286は、制御装置100からの出力値に従って処理を実行する処理実行部に相当する。より具体的には、管理モジュール286は、制御装置100からの出力値に従って、制御モードや、コマンド158から目標軌道の生成の開始/終了などを管理する。管理モジュール286は、制御装置100から提供される設定情報2704を保持していてもよい。
 目標軌道生成モジュール288(目標軌道生成部)は、制御装置100からのコマンド158に従って、設定情報2704を参照しつつ、制御対象のロボット200(含:カスタムロボット200Aおよび/または汎用ロボット200B)の目標軌道を生成する。生成される目標軌道は、典型的には、ロボット200の先端部の時間毎の位置(時間に対する位置の変化)、および/または、ロボット200の先端部の時間毎の速度(時間に対する速度の変化)などを含む。
 目標軌道生成モジュール288は、生成する目標軌道を指令値生成モジュール290へ出力してもよいし(典型的には、図4に示すカスタムロボット200Aを駆動する場合)、信号出力ドライバ292を介してロボット200へ直接出力してもよい(典型的には、図5に示す汎用ロボット200Bを駆動する場合)。
 指令値生成モジュール290は、制御装置100からのコマンド158によって指示された挙動を実現するように、ロボット200の各軸を駆動するための指令値を順次生成する。より具体的には、指令値生成モジュール290は、目標軌道生成モジュール288により生成される目標軌道に従って、設定情報2704を参照しつつ、制御対象のロボット200を構成するそれぞれのモータ230に対する指令値を順次生成する。指令値生成モジュール290は、指令値を所定の制御周期毎または所定のイベント毎に更新してもよい。
 指令値生成モジュール290は、制御対象のロボット200のキネマティクスに基づいて、目標軌道に沿ってロボット200を駆動するためのモータ230に与えるそれぞれの指令値を算出する。指令値生成モジュール290は、モータ230に与える指令値として、目標位置(時間に対する位置/角度の変化)、目標速度(時間に対する速度/角速度の変化)、目標加速度(時間に対する加速度/角加速度の変化)、および/または、目標加速度(時間に対する加加速度/角加加速度の変化)などを算出する。
 ロボットコントローラ250の目標軌道生成モジュール288の制御周期としては、典型的には、制御装置100の制御周期と同程度の数百μsec~数100msec程度が想定される。一方、ロボットコントローラ250の指令値生成モジュール290の制御周期は、目標軌道生成モジュール288の制御周期より高速である(例えば、数~10数倍程度)ことが想定される。
 説明の便宜上、目標軌道生成モジュール288と、指令値生成モジュール290とを分離した構成例を示すが、これらのモジュールを分離することなく、一体的に実装してもよい。
 信号出力ドライバ292は、インターフェイス回路268(図4参照)を利用して、指令値および/または目標軌道を、接続されている1または複数のドライブ回路220および/またはロボット200へ出力するための内部インターフェイスである。
 <E.制御装置100で実行される処理>
 上述したように、ロボットプログラム1108は、ロボット200の挙動を制御するためのプログラムである。但し、ロボット200の挙動を制御するためには、例えば、ロボット200の動作を開始/停止するタイミング、ロボット200を動作させるための条件(例えば、前工程あるいは後工程にある設備との連係)、ロボット200に係るセーフティ条件などを制御する必要もある。
 そこで、制御装置100においては、ロボットプログラム1108だけではなく、IECプログラム1104も並列的に実行できるようにしてもよい。IECプログラム1104は、ロボット200の動作に係る状態値を収集して、ロボット200の動作を開始/停止するタイミングを決定するロジックなどを含んでいてもよい。
 図9は、本実施の形態に係るロボット制御システム1を構成する制御装置100で実行されるIECプログラム1104およびロボットプログラム1108の一例を示す図である。
 図9(A)には、ラダー・ダイアグラム(LD言語)で記述されたIECプログラム1104の例を示す。図9(A)に示すIECプログラム1104の例は、制御対象のロボット200の電源を投入する処理、および、制御対象のロボット200のキャリブレーションを実行する処理に関する命令を含む。
 なお、図9(A)に示すように、IECプログラム1104は、ファンクションブロックを要素として含んでいてもよい。さらに、IECプログラム1104は、ストラクチャード・テキスト(ST言語)で記述されたコードを含んでいてもよい。
 図9(B)には、V+言語で記述されたロボットプログラム1108の例を示す。図9(B)に示すように、V+言語は、ロボット200の挙動を制御するための一種の高級言語である。
 次に、制御装置100におけるIECプログラム1104およびロボットプログラム1108の並列実行について説明する。
 図10は、本実施の形態に係るロボット制御システム1を構成する制御装置100におけるプログラムの実行例を示すタイムチャートである。図10に示すように、制御装置100においては、IECプログラム実行エンジン150ならびにロボットプログラム実行エンジン152(ロボットプログラム解釈モジュール154およびコマンド生成モジュール156)がそれぞれ処理を独立して実行する。
 IECプログラム実行エンジン150は、IECプログラム1104を予め定められた制御周期T1毎にサイクリック実行(繰り返し実行)する。IECプログラム1104のサイクリック実行は、出力更新処理1502および入力更新処理1504を含む。
 出力更新処理1502は、IECプログラム1104の実行により決定された出力値を、内部変数および/または対象のデバイスに反映する処理を含む。特に、フィールドネットワーク20を介して接続されているデバイスに対する出力値は、通信フレームに格納されてフィールドネットワーク20上に送出される。
 入力更新処理1504は、IECプログラム1104の実行に必要な入力値(状態値)を、内部変数および/または対象のデバイスから取得する処理を含む。特に、フィールドネットワーク20を介して接続されているデバイスからの入力値は、フィールドネットワーク20上を伝搬する通信フレームから取得される。
 通信制御モジュール160は、制御周期T1に同期して、フィールドネットワーク20上に通信フレームを送出するとともに、フィールドネットワーク20上を巡回して戻ってきた通信フレームを受信する。通信制御モジュール160は、IECプログラム実行エンジン150により生成された出力値、および/または、およびコマンド生成モジュール156により生成されたコマンド158を、通信フレームに格納するとともに、戻ってきた通信フレームに含まれる入力値(状態値)をIECプログラム実行エンジン150およびコマンド生成モジュール156が参照できるように保持する。
 コマンド生成モジュール156は、ロボットプログラム解釈モジュール154からの内部コマンドに従ってコマンド158を生成する。典型的には、コマンド生成モジュール156がコマンド158を生成するタイミングは、IECプログラム実行エンジン150からの出力値によって決定される。図10に示す例では、IECプログラム実行エンジン150からの出力値に応答して、IECプログラム実行エンジン150がコマンド158を生成する例を示す。IECプログラム実行エンジン150によるコマンド158の生成は、IECプログラム実行エンジン150の出力更新処理1502のタイミングと同期させてもよい。
 ロボットプログラム解釈モジュール154は、典型的には、制御周期T1とは独立して、ロボットプログラム1108を実行する。ロボットプログラム解釈モジュール154によるロボットプログラム1108の実行の開始/停止は、コマンド生成モジュール156により制御されてもよい。
 図10に示すように、ロボットプログラム実行エンジン152は、ロボットプログラム1108を逐次実行する。IECプログラム実行エンジン150は、ロボットプログラム実行エンジン152によるロボットプログラム1108の実行とは独立して、IECプログラム1104をサイクリック実行する。
 <F.制御装置100とロボットコントローラ250との間のデータの遣り取り>
 次に、制御装置100とロボットコントローラ250との間のデータの遣り取りについて説明する。
 図11は、本実施の形態に係るロボット制御システム1における初期状態でのデータ処理を概略する模式図である。
 図11を参照して、制御装置100のロボットプログラム実行エンジン152には、ロボット200(ロボットコントローラ250)毎に予め用意された設定情報2704が入力される。ロボットプログラム実行エンジン152のコマンド生成モジュール156は、予め定められた条件が成立すると、ロボットコントローラ250の各々に対して、対応する設定情報2704を送信する。ロボットコントローラ250のロボット駆動エンジン284は、制御装置100から送信された設定情報2704を格納する。
 ロボットコントローラ250に設定情報2704が格納されることで、ロボットコントローラ250はロボット200の制御が可能となる。ロボットコントローラ250がロボット200を制御する運転状態においては、制御装置100からロボットコントローラ250へコマンド158が送信される。
 図12は、本実施の形態に係るロボット制御システム1における運転状態でのデータ処理を概略する模式図である。図12を参照して、制御装置100のロボットプログラム実行エンジン152には、所定のプログラミング言語で記述されたロボットプログラム1108が入力される。
 例えば、同一の生産ラインに複数のロボット200が配置されており、それぞれのロボット200が異なる作業を行うような生産設備においては、ロボットプログラム実行エンジン152には、ロボット200毎に異なるロボットプログラム1108が入力される。また、複数の同一の生産ラインが並列して配置されるとともに、それぞれの生産ラインに同一の作業を行うロボット200が配置されているような生産設備においては、ロボットプログラム実行エンジン152には、共通のロボットプログラム1108が入力されてもよい。但し、生成されるコマンド158は、ロボットコントローラ250へそれぞれ独立して送信されてもよい。
 また、ロボットプログラム実行エンジン152には、異なるプログラミング言語(例えば、V+言語およびGコード)で記述された複数のロボットプログラム1108が入力されてもよい。ロボットプログラム実行エンジン152は、異なるプログラミング言語で記述されたロボットプログラム1108が入力された場合であっても、共通のコマンド体系に従って記述されたコマンド158を生成できる。
 このように、ロボットプログラム実行エンジン152は、複数のプログラミング言語を解釈可能に構成されてもよい。この場合、ロボットプログラム実行エンジン152は、プログラミング言語に依存することなく、予め定められたコマンド体系に従うコマンド158を生成するようにしてもよい。
 ロボットプログラム実行エンジン152(ロボットプログラム解釈モジュール154)は、入力されたロボットプログラム1108を解釈して内部コマンドを生成する。さらに、ロボットプログラム実行エンジン152(コマンド生成モジュール156)は、生成した内部コマンドに従って、ロボット200の挙動を制御するためのコマンド158を生成する。
 コマンド158は、接続されている1または複数のロボットコントローラ250に対してそれぞれ生成されてもよい。
 生成されたコマンド158は、フィールドネットワーク20(図2参照)を介して、対応するロボットコントローラ250へ送信される。制御装置100が複数のロボットコントローラ250とネットワーク接続されている場合には、制御装置100の通信部50(フィールドネットワークコントローラ108、通信制御モジュール160、通信ドライバ162などで構成)は、複数のロボットコントローラ250へそれぞれコマンド158を送信する。
 ロボットコントローラ250の目標軌道生成モジュール288は、制御装置100からのコマンド158に従って、目標軌道を生成する。生成される目標軌道は、そのまま汎用ロボット200Bへ出力されてもよい。
 一方、ロボットコントローラ250の指令値生成モジュール290は、生成される目標軌道に従って、制御対象のロボット200を構成するそれぞれのモータ230に対する指令値を生成する。
 なお、コマンド158を規定するコマンド体系としては、任意のものを採用できる。コマンド158の生成に係る処理を低減する観点からは、ロボットプログラム1108に記述される命令から容易に生成できるコマンド群を採用することが好ましい。
 <G.設定情報の具体例>
 次に、ロボットコントローラ250で参照される設定情報2704の具体例について説明する。
 図13は、本実施の形態に係るロボット制御システム1において利用される設定情報2704の一例を示す図である。図13を参照して、ロボットコントローラ250で参照される設定情報2704は、そのロボットコントローラ250が制御するロボット200に関するパラメータを含む。
 例えば、設定情報2704は、ロボット種別やロボット形式を示すロボットタイプ、各ロボットが有している軸数、各軸のパラメータ、各軸を駆動するサーバのパラメータ(回転数や減速比なども含む)などを含む。さらに、設定情報2704は、ロボット200の制限値((例えば、速度制限値、加速度制限値、ジャーク制限値など)を含んでいてもよい。
 制御装置100に格納される設定情報群2701は、1または複数の設定情報2704からなる。制御装置100は、予め定められた条件が成立すると、対象のロボットコントローラ250に対して、設定情報群2701のうち対応する設定情報2704を送信する。このように、ロボット制御システム1が複数のロボットコントローラ250を有している場合には、制御装置100のストレージ110には、複数のロボットコントローラ250毎の設定情報2704からなる設定情報群2701が格納されている。
 ロボットコントローラ250は、設定情報2704を参照して、目標軌道の生成、および/または、指令値の生成などを行う。
 なお、図13に示すように、制御装置100に接続されるロボットコントローラ250のそれぞれに対応する設定情報2704を予め定め用意してもよいが、設定情報2704の内容が互いに類似しているような場合には、デフォルトの設定情報を用意した上で、そのデフォルトの設定情報に対する差分のみを送信するようにしてもよい。
 図14は、本実施の形態に係るロボット制御システム1において利用される設定情報の別の一例を示す図である。図14に示すように、それぞれのロボットコントローラ250に対して、予めデフォルトの設定情報2704Aを格納しておく。その上で、各ロボットコントローラ250に応じた設定情報となるように、デフォルトの設定情報2704Aからの差分情報2704Bを送信するようにしてもよい。
 ロボットコントローラ250は、デフォルトの設定情報2704Aに対して、差分情報2704Bを適用することで、制御対象のロボット200に応じた設定情報を生成および参照できる。
 このように、制御装置100からロボットコントローラ250に対して、差分情報2704Bのみを送信するようにしてもよい。すなわち、制御装置100は、ロボットコントローラ250に予め格納されているデフォルトの設定情報2704Aとロボットコントローラ250に格納されるべき設定情報2704との差分である差分情報2704Bを、ロボットコントローラ250へ送信するようにしてもよい。なお、デフォルトの設定情報2704Aがロボットコントローラ250に格納されていないような場合には、制御装置100がデフォルトの設定情報2704Aをロボットコントローラ250へ送信するようにしてもよい。
 <H.設定情報の送信条件>
 上述したように、制御装置100は、予め定められた条件(以下、「送信条件」とも称す。)が満たされると、設定情報2704をロボットコントローラ250へ送信する。この制御装置100が設定情報2704を送信する際の送信条件の一例について説明する。
 (h1:制御装置100の起動)
 例えば、制御装置100が起動したことを送信条件とすることができる。すなわち、送信条件は、制御装置100が起動したことを含んでいてもよい。この場合、制御装置100は、システム起動直後の初期状態において、設定情報2704をロボットコントローラ250へ送信する。
 図15は、本実施の形態に係るロボット制御システム1における送信条件の一例を示す図である。図15を参照して、制御装置100の電源が投入されてシステム起動したとする。併せて、ロボットコントローラ250についてもシステム起動する。なお、ロボットコントローラ250がシステム起動した直後は、レディ状態であるとする。
 すると、制御装置100は、設定情報2704をロボットコントローラ250へ送信する。ロボットコントローラ250は、受信した設定情報2704を格納して、レディ状態から運転状態に遷移する。ロボットコントローラ250は、運転状態への遷移によって、ロボット200の制御が可能となる。
 (h2:ネットワーク接続)
 また、ロボット200(ロボットコントローラ250)がネットワーク接続されたことを送信条件とすることができる。すなわち、送信条件は、ロボットコントローラ250が制御装置100とネットワーク接続されることを含んでいてもよい。より具体的には、いずれかのロボットコントローラ250がフィールドネットワーク20に新たに接続あるいは再接続されると、それを契機として、制御装置100からロボットコントローラ250へ設定情報2704が送信される。
 図16は、本実施の形態に係るロボット制御システム1における送信条件の別の一例を示す図である。図16を参照して、ロボット200(ロボットコントローラ250)がフィールドネットワーク20に接続され、ロボットコントローラ250がシステム起動したとする。なお、ロボットコントローラ250がシステム起動した直後は、レディ状態であるとする。
 すると、制御装置100は、設定情報2704をロボットコントローラ250へ送信する。ロボットコントローラ250は、受信した設定情報2704を格納して、レディ状態から運転状態に遷移する。ロボットコントローラ250は、運転状態への遷移によって、ロボット200の制御が可能となる。
 (h3:外部装置からの指示)
 また、外部装置から制御装置100に対して指示が与えられたことを送信条件とすることができる。すなわち、制御装置100は、制御装置100に接続された外部装置からの指令に従って、設定情報2704をロボットコントローラ250へ送信してもよい。例えば、サポート装置400から制御装置100に対して明示的に指示が与えられると、その指示に従って、制御装置100は、ロボットコントローラ250へ設定情報2704を送信する。
 図17は、本実施の形態に係るロボット制御システム1における送信条件のさらに別の一例を示す図である。図17を参照して、サポート装置400に対してユーザが操作を行うと、設定情報2704の送信指示が制御装置100に与えられる。なお、ロボットコントローラ250がシステム起動した直後は、レディ状態であるとする。
 制御装置100は、サポート装置400からの送信指示に応答して、設定情報2704をロボットコントローラ250へ送信する。ロボットコントローラ250は、受信した設定情報2704を格納して、レディ状態から運転状態に遷移する。ロボットコントローラ250は、運転状態への遷移によって、ロボット200の制御が可能となる。
 なお、サポート装置400から制御装置100へ送信指示が与えられるトリガーとしては、ユーザ操作であってもよいし、サポート装置400で実行されるアプリケーションなどであってもよい。例えば、サポート装置400からIECプログラム1104およびロボットプログラム1108が制御装置100へ転送された後、設定情報2704の送信指示も制御装置100に与えられてもよい。
 (h4:制御装置100で実行されるアプリケーション)
 また、制御装置100で実行されるIECプログラム1104などが送信条件を成立させるようにしてもよい。すなわち、制御装置100で実行されるアプリケーションが設定情報2704を送信するトリガーを発生させてもよい。
 例えば、IECプログラム1104に設定情報2704の送信条件に相当するロジックを組み込んでおき、この組み込まれた送信条件が成立すると、設定情報2704を送信するようにしてもよい。この場合、任意の送信条件を規定できる。
 (h5:既存の設定情報)
 上述の設定情報2704を送信する処理においては、送信先のロボットコントローラ250に設定情報2704が既に格納されているか否かにかかわらず、設定情報2704を送信するようにしてもよい。すなわち、制御装置100は、ロボットコントローラ250に予め設定情報2704が格納されていても、制御装置100のストレージ110に格納されている設定情報2704をロボットコントローラ250へ送信するようにしてもよい。
 一方で、送信先のロボットコントローラ250に正しい設定情報2704が格納されているか否かを判断し、正しい設定情報2704が格納されていない場合に限って、制御装置100からロボットコントローラ250へ設定情報2704を送信するようにしてもよい。この場合、制御装置100は、設定情報2704を送信すべきロボットコントローラ250から当該ロボットコントローラ250に格納されている設定情報2704の情報を取得し、設定情報2704が格納されていない場合、あるいは、格納されている設定情報2704が送信予定の設定情報2704とは異なっている場合には、設定情報2704を当該ロボットコントローラ250へ送信する。
 このように、送信条件として、送信先のロボットコントローラ250に正しい設定情報2704が格納されていないことを含めてもよい。
 (h6:その他)
 上述した送信条件に限らず、任意の送信条件を採用できる。また、上述した送信条件のうち複数を任意に組み合わせて採用してもよい。さらに、ロボットコントローラ250毎に送信条件を異ならせてもよい。
 <I.処理手順>
 次に、本実施の形態に係るロボット制御システム1における処理手順について説明する。
 (i1:設定情報2704の送信)
 まず、設定情報2704の送信に係る処理について説明する。
 図18は、本実施の形態に係るロボット制御システム1における設定情報2704の送信処理を示すシーケンス図である。図18に示す制御装置100の処理は、典型的には、制御装置100のプロセッサ102がシステムプログラム1102を実行することで実現される。また、図18に示すロボットコントローラ250の処理は、典型的には、プロセッサ262がロボットシステムプログラム2702を実行することで実現される。
 図18を参照して、ロボットコントローラ250は、システム起動してレディ状態であるとする(シーケンスSQ200)。
 制御装置100は、設定情報2704を送信する予め定められた条件(送信条件)が成立しているか否かを判断する(シーケンスSQ100)。送信条件が成立するか否かを判断するにあたって、制御装置100は、ロボットコントローラ250から必要な情報を取得してもよい。送信条件が成立していなければ(シーケンスSQ100においてNO)、以下の処理はスキップされる。
 送信条件が成立していれば(シーケンスSQ100においてYES)、制御装置100は、送信対象のロボットコントローラ250を特定し(シーケンスSQ102)、特定したロボットコントローラ250に対応する設定情報2704を送信する(シーケンスSQ104)。そして、ロボットコントローラ250からの受信完了通知を待つ(シーケンスSQ106)。
 ロボットコントローラ250は、制御装置100から設定情報2704を受信すると(シーケンスSQ202)、受信した設定情報2704を格納する(シーケンスSQ204)。そして、ロボットコントローラ250は、設定情報2704の受信が完了したことを制御装置100へ通知する(シーケンスSQ206)。そして、ロボットコントローラ250は、レディ状態から運転状態に遷移する(シーケンスSQ208)。
 制御装置100は、ロボットコントローラ250からの受信完了通知を受信すると(シーケンスSQ106においてYES)、設定情報2704の送信処理を終了する。
 (i2:動作中)
 次に、上述したような設定情報2704の送信に係る処理が完了した後の動作中の処理について説明する。
 図19は、本実施の形態に係るロボット制御システム1を構成する制御装置100における動作中の処理手順を示すフローチャートである。図19に示す各ステップは、典型的には、制御装置100のプロセッサ102がシステムプログラム1102を実行することで実現してもよい。図19に示すように、制御装置100においては、IECプログラム実行エンジン150による処理と、ロボットプログラム実行エンジン152(ロボットプログラム解釈モジュール154およびコマンド生成モジュール156)による処理とが並列して実行される。
 IECプログラム実行エンジン150に係る処理として、制御装置100は、次の制御周期が到来したか否かを判断する(ステップS100)。次の制御周期が到来していなければ(ステップS100においてNO)、制御装置100は、次の制御周期の到来まで処理を待つ。
 次の制御周期が到来していれば(ステップS100においてYES)、制御装置100は、前の制御周期におけるIECプログラム1104の実行により決定された出力値を出力する(ステップS102)。なお、出力値を出力する処理は、ロボットプログラム実行エンジン152へ出力値を出力する処理を含む。
 続いて、制御装置100は、最新の入力値を取得し(ステップS104)、取得した最新の入力値を利用して、IECプログラム1104を実行することで、出力値を決定する(ステップS106)。そして、ステップS100以下の処理が繰り返される。
 一方、ロボットプログラム実行エンジン152に係る処理として、制御装置100は、ロボットプログラム1108の読み込み開始条件が成立しているか否かを判断する(ステップS150)。ロボットプログラム1108の読み込み開始条件は、IECプログラム実行エンジン150からの出力値、ロボットコントローラ250からの入力値(例えば、ロボットコントローラ250が運転状態であること)、サポート装置400からの指示、その他の任意の情報を適宜組み合わせて規定されてもよい。
 ロボットプログラム1108の読み込み開始条件が成立していなければ(ステップS150においてのNOの場合)、制御装置100は、ステップS152およびS154の処理をスキップする。
 ロボットプログラム1108の読み込み開始条件が成立していれば(ステップS150においてのYESの場合)、制御装置100は、ロボットプログラム1108を実行することで、ロボットコントローラ250に与えるロボットの挙動を指示するコマンド158を生成するとともに、生成したコマンド158をロボットコントローラ250へ送信するステップ(ステップS152~S160)。
 より具体的には、制御装置100は、対象のロボットプログラム1108を順次読み込み(ステップS152)、読み込んだロボットプログラム1108をパースして、内部コマンドを生成する(ステップS154)。
 制御装置100は、コマンド158の出力開始条件が成立しているか否かを判断する(ステップS156)。コマンド158の出力開始条件は、IECプログラム実行エンジン150からの出力値、ロボットコントローラ250からの入力値、サポート装置400からの指示、その他の任意の情報を適宜組み合わせて規定されてもよい。
 制御装置100は、コマンド158の出力開始条件が成立していれば(ステップS156においてYESの場合)、制御装置100は、次の制御周期が到来したか否かを判断する(ステップS158)。次の制御周期が到来していなければ(ステップS158においてNO)、制御装置100は、次の制御周期の到来まで処理を待つ。
 次の制御周期が到来していれば(ステップS158においてYES)、制御装置100は、予め生成されている内部コマンドに従ってコマンド158を生成して出力する(ステップS160)。
 コマンド158の出力開始条件が成立していなければ(ステップS156においてNOの場合)、制御装置100は、ステップS158およびS160の処理をスキップする。
 そして、ステップS150以下の処理が繰り返される。
 図20は、本実施の形態に係るロボット制御システム1を構成するロボットコントローラ250における動作中の処理手順を示すフローチャートである。図20に示す各ステップは、ロボットコントローラ250のプロセッサ262(制御処理回路260)がロボットシステムプログラム2702を実行することで実現してもよい。
 図20に示すように、ロボットコントローラ250においては、目標軌道生成モジュール288による処理と、指令値生成モジュール290による処理とが並列して実行される。図20に示す処理は、ロボットコントローラ250が運転状態である場合に実行される。すなわち、制御装置100からの設定情報2704が格納されている場合に限って実行される。
 目標軌道生成モジュール288に係る処理として、ロボットコントローラ250は、制御装置100からコマンド158を受信したか否かを判断する(ステップS200)。制御装置100からコマンド158を受信していなければ(ステップS200においてNOの場合)、ロボットコントローラ250は、ステップS200の処理を繰り返す。
 制御装置100からコマンド158を受信していれば(ステップS200においてYESの場合)、ロボットコントローラ250は、コマンド158のすべてを受信しているか否かを判断する(ステップS202)。コマンド158の一部のみを受信していれば(ステップS202においてNOの場合)、ロボットコントローラ250は、ステップS200以下の処理を繰り返す。
 コマンド158のすべてを受信していれば(ステップS202においてYESの場合)、ロボットコントローラ250は、受信したコマンド158に従って、設定情報2704を参照しつつ、目標軌道を生成する(ステップS204)。そして、ステップS200以下の処理が繰り返される。
 一方、指令値生成モジュール290に係る処理として、ロボットコントローラ250は、次の制御周期が到来したか否かを判断する(ステップS250)。次の制御周期が到来していなければ(ステップS250においてNO)、ロボットコントローラ250は、次の制御周期の到来まで処理を待つ。
 次の制御周期が到来していれば(ステップS250においてYES)、ロボットコントローラ250は、予め定められた最新の入力値を通信フレーム40に格納して、制御装置100へ送信する(ステップS252)。そして、ロボットコントローラ250は、通信フレーム40を参照して、制御装置100から送信された最新の出力値を取得する(ステップS254)。そして、ロボットコントローラ250は、ロボット200に対する指令値の出力条件が成立しているか否かを判断する(ステップS256)。ロボット200に対する指令値の出力条件は、制御装置100から送信された最新の出力値、管理モジュール286が保持する状態値、ロボットコントローラ250で取得される状態値、その他の任意の情報を適宜組み合わせて規定されてもよい。
 ロボット200に対する指令値の出力条件が成立していなければ(ステップS256においてNOの場合)、ロボットコントローラ250は、ステップS258およびS260の処理をスキップする。
 ロボット200に対する指令値の出力条件が成立していれば(ステップS256においてYESの場合)、ロボットコントローラ250は、制御装置100からのコマンド158によって指示された挙動を実現するように、ロボット200の各軸を駆動するための指令値を順次生成する(ステップS258~S260)。より具体的には、ロボットコントローラ250は、予め生成されている目標軌道に従って、設定情報2704を参照しつつ、制御対象のロボット200を構成するそれぞれのモータ230に対する指令値を生成する(ステップS258)。そして、ロボットコントローラ250は、生成したそれぞれの指令値を出力する(ステップS260)。
 そして、ステップS250以下の処理が繰り返される。
 <J.付記>
 上述したような本実施の形態は、以下のような技術思想を含む。
 [構成1]
 ロボット制御システム(1)であって、
 第1の制御装置(100)と、
 前記第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置(250)とを備え、
 前記第1の制御装置は、
  前記第2の制御装置が制御するロボット(200)に関する設定情報(2704)を格納する記憶部(110)と、
  ロボットプログラム(1108)を実行することで、前記第2の制御装置に与えるコマンド(158)を順次生成するコマンド生成部(152)と、
  前記設定情報および前記順次生成されるコマンドを前記第2の制御装置へ送信する通信部(50)とを備え、
 前記第2の制御装置は、
  前記第1の制御装置からのコマンドに従って、前記第1の制御装置から予め送信された設定情報を参照して、前記ロボットの各軸を駆動するための指令値を順次生成する指令値生成部(290)を備える、ロボット制御システム。
 [構成2]
 前記第1の制御装置は、予め定められた条件が満たされると、前記設定情報を前記第2の制御装置へ送信する、構成1に記載のロボット制御システム。
 [構成3]
 前記予め定められた条件は、前記第1の制御装置が起動したことを含む、構成2に記載のロボット制御システム。
 [構成4]
 前記予め定められた条件は、前記第2の制御装置が前記第1の制御装置とネットワーク接続されることを含む、構成2または3に記載のロボット制御システム。
 [構成5]
 前記第1の制御装置は、前記第1の制御装置に接続された外部装置(400)からの指令に従って、前記設定情報を前記第2の制御装置へ送信する、構成1~4のいずれか1項に記載のロボット制御システム。
 [構成6]
 前記第1の制御装置は、前記第2の制御装置に予め設定情報が格納されていても、前記第1の制御装置の前記記憶部に格納されている設定情報を前記第2の制御装置へ送信する、構成1~5のいずれか1項に記載のロボット制御システム。
 [構成7]
 前記第1の制御装置は、前記第2の制御装置に予め格納されている設定情報(2704A)と前記第2の制御装置に格納されるべき設定情報との差分(2704B)を、前記第2の制御装置へ送信する、構成1~5のいずれか1項に記載のロボット制御システム。
 [構成8]
 前記ロボット制御システムは、前記第2の制御装置を複数備え、
 前記第1の制御装置の前記記憶部は、複数の前記第2の制御装置毎に設定情報を格納している、構成1~7のいずれか1項に記載のロボット制御システム。
 [構成9]
 第1の制御装置(100)と、前記第1の制御装置とネットワーク接続され、ロボット(200)を制御するための第2の制御装置(250)とを備えたロボット制御システム(1)における制御方法であって、
 前記第1の制御装置が、前記第2の制御装置が制御するロボットに関する設定情報(2704)を前記第2の制御装置へ送信するステップ(SQ104)と、
 前記第1の制御装置が、ロボットプログラム(1108)を実行することで、前記第2の制御装置に与えるコマンド(158)を順次生成するステップ(S160)と、
 前記第1の制御装置が、前記設定情報および前記順次生成されるコマンドを前記第2の制御装置へ送信するステップ(S160)と、
 前記第2の制御装置が、前記第1の制御装置からのコマンドに従って、前記設定情報を参照して、前記ロボットの各軸を駆動するための指令値を順次生成するステップ(S258,S260)とを備える、制御方法。
 <K.利点>
 本実施の形態に係るロボット制御システム1においては、制御装置100とロボットコントローラ250とが連係してロボット200の挙動を制御する。このような構成を採用するにあたって、制御装置100からコマンド158を送信する前に、コマンド158の送信先であるロボットコントローラ250に対して、ロボットコントローラ250が制御するロボット200に関する設定情報2704を送信する。これによって、制御装置100とロボットコントローラ250とが連係したロボット200の制御を確実に実現できる。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 1 ロボット制御システム、12 上位ネットワーク、20 フィールドネットワーク、40 通信フレーム、50 通信部、100 制御装置、102,262,362,402 プロセッサ、104,266,366,404 メインメモリ、106 上位ネットワークコントローラ、108,252,352 フィールドネットワークコントローラ、110,270,410 ストレージ、112 メモリカードインターフェイス、114 メモリカード、116 ローカルバスコントローラ、118,418 プロセッサバス、120,420 USBコントローラ、122 ローカルバス、130 機能ユニット、150 IECプログラム実行エンジン、152 ロボットプログラム実行エンジン、154 ロボットプログラム解釈モジュール、156 コマンド生成モジュール、158 コマンド、160,280 通信制御モジュール、162,282 通信ドライバ、164 外部通信インターフェイス、200 ロボット、200A カスタムロボット、200B 汎用ロボット、210 アーム部、220 ドライブ回路、230 モータ、250 ロボットコントローラ、260,360 制御処理回路、268,368 インターフェイス回路、284 ロボット駆動エンジン、286 管理モジュール、288 目標軌道生成モジュール、290 指令値生成モジュール、292 信号出力ドライバ、300 操作ペンダント、370 ファームウェア、380 操作キー群、400 サポート装置、406 入力部、408 表示部、412 光学ドライブ、414 記憶媒体、422 通信コントローラ、500 表示装置、600 サーバ装置、1102 システムプログラム、1104 IECプログラム、1106,2704,2704A 設定情報、1108 ロボットプログラム、1502 出力更新処理、1504 入力更新処理、2701 設定情報群、2702 ロボットシステムプログラム、2704B 差分情報、4104 開発プログラム、T1 制御周期。

Claims (9)

  1.  ロボット制御システムであって、
     第1の制御装置と、
     前記第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置とを備え、
     前記第1の制御装置は、
      前記第2の制御装置が制御するロボットに関する設定情報を格納する記憶部と、
      ロボットプログラムを実行することで、前記第2の制御装置に与えるコマンドを順次生成するコマンド生成部と、
      前記設定情報および前記順次生成されるコマンドを前記第2の制御装置へ送信する通信部とを備え、
     前記第2の制御装置は、
      前記第1の制御装置からのコマンドに従って、前記第1の制御装置から予め送信された設定情報を参照して、前記ロボットの各軸を駆動するための指令値を順次生成する指令値生成部を備える、ロボット制御システム。
  2.  前記第1の制御装置は、予め定められた条件が満たされると、前記設定情報を前記第2の制御装置へ送信する、請求項1に記載のロボット制御システム。
  3.  前記予め定められた条件は、前記第1の制御装置が起動したことを含む、請求項2に記載のロボット制御システム。
  4.  前記予め定められた条件は、前記第2の制御装置が前記第1の制御装置とネットワーク接続されることを含む、請求項2または3に記載のロボット制御システム。
  5.  前記第1の制御装置は、前記第1の制御装置に接続された外部装置からの指令に従って、前記設定情報を前記第2の制御装置へ送信する、請求項1~4のいずれか1項に記載のロボット制御システム。
  6.  前記第1の制御装置は、前記第2の制御装置に予め設定情報が格納されていても、前記第1の制御装置の前記記憶部に格納されている設定情報を前記第2の制御装置へ送信する、請求項1~5のいずれか1項に記載のロボット制御システム。
  7.  前記第1の制御装置は、前記第2の制御装置に予め格納されている設定情報と前記第2の制御装置に格納されるべき設定情報との差分を、前記第2の制御装置へ送信する、請求項1~5のいずれか1項に記載のロボット制御システム。
  8.  前記ロボット制御システムは、前記第2の制御装置を複数備え、
     前記第1の制御装置の前記記憶部は、複数の前記第2の制御装置毎に設定情報を格納している、請求項1~7のいずれか1項に記載のロボット制御システム。
  9.  第1の制御装置と、前記第1の制御装置とネットワーク接続され、ロボットを制御するための第2の制御装置とを備えたロボット制御システムにおける制御方法であって、
     前記第1の制御装置が、前記第2の制御装置が制御するロボットに関する設定情報を前記第2の制御装置へ送信するステップと、
     前記第1の制御装置が、ロボットプログラムを実行することで、前記第2の制御装置に与えるコマンドを順次生成するステップと、
     前記第1の制御装置が、前記設定情報および前記順次生成されるコマンドを前記第2の制御装置へ送信するステップと、
     前記第2の制御装置が、前記第1の制御装置からのコマンドに従って、前記設定情報を参照して、前記ロボットの各軸を駆動するための指令値を順次生成するステップとを備える、制御方法。
PCT/JP2020/047234 2020-03-13 2020-12-17 ロボット制御システムおよび制御方法 WO2021181798A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020044122A JP2021144586A (ja) 2020-03-13 2020-03-13 ロボット制御システムおよび制御方法
JP2020-044122 2020-03-13

Publications (1)

Publication Number Publication Date
WO2021181798A1 true WO2021181798A1 (ja) 2021-09-16

Family

ID=77671574

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/047234 WO2021181798A1 (ja) 2020-03-13 2020-12-17 ロボット制御システムおよび制御方法

Country Status (2)

Country Link
JP (1) JP2021144586A (ja)
WO (1) WO2021181798A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04279901A (ja) * 1991-03-07 1992-10-06 Hitachi Ltd 産業用ロボットの制御装置
JPH05204439A (ja) * 1992-01-24 1993-08-13 Nissan Motor Co Ltd ロボットの制御方法
JP2015186834A (ja) * 2014-03-27 2015-10-29 セイコーエプソン株式会社 ロボット制御装置、把持部制御装置、ロボット、把持部、ロボット制御方法、及びプログラム
JP2019036043A (ja) * 2017-08-10 2019-03-07 オムロン株式会社 制御装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04279901A (ja) * 1991-03-07 1992-10-06 Hitachi Ltd 産業用ロボットの制御装置
JPH05204439A (ja) * 1992-01-24 1993-08-13 Nissan Motor Co Ltd ロボットの制御方法
JP2015186834A (ja) * 2014-03-27 2015-10-29 セイコーエプソン株式会社 ロボット制御装置、把持部制御装置、ロボット、把持部、ロボット制御方法、及びプログラム
JP2019036043A (ja) * 2017-08-10 2019-03-07 オムロン株式会社 制御装置

Also Published As

Publication number Publication date
JP2021144586A (ja) 2021-09-24

Similar Documents

Publication Publication Date Title
US10761515B2 (en) Control system for controlling control object and control device for linking control applications in control system
US10606246B2 (en) Control device and control method with various command values in a shared memory providing access to various program execution and command value operation parts in each control cycle
WO2021181801A1 (ja) ロボット制御システムおよび制御方法
US20190094831A1 (en) Control apparatus, control method, and support apparatus
US20190095246A1 (en) Support device and non-transitory storage medium
US10761513B2 (en) Information processing device, information processing method, and non-transitory computer-readable recording medium
WO2021181799A1 (ja) ロボット制御システムおよび制御方法
WO2021106467A1 (ja) 制御システム、制御装置および制御方法
WO2021181798A1 (ja) ロボット制御システムおよび制御方法
US20090150705A1 (en) Method and apparatus for operating cooperating, differing devices
WO2021181800A1 (ja) ロボット制御システムおよび制御方法
US11269313B2 (en) Controller and control system that stores data in current control cycle for output in next control cycle
WO2012124145A1 (ja) 演算ユニット、支援装置、支援プログラム、支援プログラムを格納した記憶媒体、および、支援装置における動作方法
JP7294078B2 (ja) 制御装置
JP2019053397A (ja) 制御装置および制御方法
WO2022162959A1 (ja) 制御システム、ロボットコントローラおよび制御方法
JP7375632B2 (ja) 制御システムおよびサポート装置
WO2021145124A1 (ja) 制御装置
WO2022162958A1 (ja) 制御装置、プログラム実行方法およびプログラム
JP7231073B2 (ja) 制御装置および制御システム
WO2022162960A1 (ja) プログラム生成装置、プログラム生成プログラムおよびプログラム生成方法
JP2021114019A (ja) データ処理方法

Legal Events

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

Ref document number: 20924364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20924364

Country of ref document: EP

Kind code of ref document: A1