JP6729746B2 - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP6729746B2
JP6729746B2 JP2019073572A JP2019073572A JP6729746B2 JP 6729746 B2 JP6729746 B2 JP 6729746B2 JP 2019073572 A JP2019073572 A JP 2019073572A JP 2019073572 A JP2019073572 A JP 2019073572A JP 6729746 B2 JP6729746 B2 JP 6729746B2
Authority
JP
Japan
Prior art keywords
program
control
control program
execution
cycle
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2019073572A
Other languages
Japanese (ja)
Other versions
JP2019106225A (en
Inventor
知行 島村
知行 島村
哲司 若年
哲司 若年
矢尾板 宏心
宏心 矢尾板
達矢 小島
達矢 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2019073572A priority Critical patent/JP6729746B2/en
Publication of JP2019106225A publication Critical patent/JP2019106225A/en
Application granted granted Critical
Publication of JP6729746B2 publication Critical patent/JP6729746B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

本発明は、機械や設備の動作を制御するために用いられる制御装置において、マルチコアプロセッサを用いて複数のモータの制御を制御プログラムで並列に実行することで実現する場合の複数の制御プログラム間のデータの同期に関する。 The present invention relates to a control device used for controlling the operation of a machine or a facility, among a plurality of control programs in the case of being realized by executing control of a plurality of motors in parallel by a control program using a multi-core processor. Regarding data synchronization.

機械、設備などの動作の制御としては、モータの運動を制御するためのモーション制御が含まれる場合がある。このようなモーション制御、典型的には、モータを駆動するモータドライバに対して周期的に指令値を出力するモーション演算プログラムの実行と、シーケンス演算とを1つのCPUで実行するプログラマブルコントローラが知られている。 Motion control for controlling the motion of a motor may be included as control of the operation of machines, equipment, and the like. There is known a programmable controller that performs such motion control, typically, a motion calculation program that periodically outputs a command value to a motor driver that drives a motor and a sequence calculation by one CPU. ing.

例えば特許文献1には、モータを駆動するモータドライバに対して周期的に指令値を出力するモーション演算プログラムを実行するプログラマブルコントローラを開示する。 For example, Patent Document 1 discloses a programmable controller that executes a motion calculation program that periodically outputs a command value to a motor driver that drives a motor.

特許文献1では、第1のモーション演算プログラムを含み第1の制御サイクルで動作する制御プログラム1(短周期モーションプログラム)と、第2のモーション演算プログラム(長周期モーションプログラム)とを含む。第1の制御サイクルの整数倍の周期でモータに対して指令値を出力する制御プログラム2との実行にあたり、第1の制御プログラムの実行が終了した後に第2の制御プログラムの実行を開始させる。 Patent Document 1 includes a control program 1 (short-cycle motion program) that includes a first motion calculation program and operates in a first control cycle, and a second motion calculation program (long-cycle motion program). Upon execution with the control program 2 that outputs a command value to the motor in a cycle that is an integral multiple of the first control cycle, the execution of the second control program is started after the execution of the first control program is completed.

第2の制御プログラムが所定の制御周期内で終了しなかった場合には、第1の制御プログラムの次の制御サイクルにおいて、第1の制御プログラムの実行が終了した後に第2の制御プログラムの未処理部分を実行させる。 If the second control program is not completed within the predetermined control cycle, the second control program is not completed after the execution of the first control program is completed in the control cycle next to the first control program. Execute the processing part.

特許4752984公報Japanese Patent No. 4752984

これらの制御装置が用いられるモータを制御する機械においては、制御対象機器である機器から入力される入力データの演算、演算結果としてモータに対する指令値を出力するまでの時間の短縮が求められている。 In a machine for controlling a motor in which these control devices are used, it is required to reduce the time required to calculate input data input from a device that is a control target device and output a command value to the motor as a calculation result. ..

引用文献に記載の発明は、複数のモータの制御を含む制御プログラムを、短周期モーションプログラムと長周期モーションプログラムに分割することにより、より短い周期で制御プログラムを実行できる可能性を示唆する。 The invention described in the cited document suggests the possibility of executing the control program in a shorter cycle by dividing the control program including control of a plurality of motors into a short-cycle motion program and a long-cycle motion program.

しかしながら、制御指令値を出力する周期が比較的長くても良いモータを制御する制御プログラムであっても、短周期で制御指令値を出力する必要があるモータに対する制御と同期した制御プログラムを作成したい場合がある。 However, even if the control program that controls the motor, in which the control command value output cycle may be relatively long, wants to create a control program that is synchronized with the control for the motor that needs to output the control command value in a short cycle. There are cases.

引用文献の記載の発明は、短周期モーションプログラムと長周期モーションプログラムで指令値を演算するモータについては、互いに独立していることが前提とされている。すなわち、短周期モーション制御プログラムと長周期モーション制御プログラムとを実行するにあたって、モータへの制御指令値、モータの現在状態の制御データの受け渡しが行われないことを前提としている。 The invention described in the cited document is premised on that the motors that calculate the command values by the short cycle motion program and the long cycle motion program are independent of each other. That is, when executing the short cycle motion control program and the long cycle motion control program, it is premised that the control command value to the motor and the control data of the current state of the motor are not passed.

複数の制御プログラムにおいて実行が開始されるタイミング、制御プログラムにおいて参照する値が更新されるタイミングを把握し、その中でデータの受け渡しを記述することとなると、ユーザの負担となる。 It becomes a user's burden to grasp the timing at which execution is started in a plurality of control programs and the timing at which a value referred to in the control program is updated, and to describe the data transfer among them.

本発明は、複数のモータの制御を複数の制御プログラムで並列に実行することで実現する場合に、容易に制御プログラム間の同期を図ることが可能な制御装置を提供することを目的とする。 It is an object of the present invention to provide a control device that can easily achieve synchronization between control programs when the control of a plurality of motors is realized by executing a plurality of control programs in parallel.

上記の課題を解決するために、本発明の制御装置は、複数の制御プログラムを所定の周期で繰り返し実行することによって制御対象を制御する、制御装置であって、マルチコアプロセッサと、前記制御プログラム、システムプログラム、スケジューラプログラムの格納に用いられるメモリと、を備える。複数の制御プログラムは、実行周期1で周期的に実行させる、モータに対する制御指令値を演算するモーション演算プログラム1を含む、制御プログラム1と実行周期2で周期的に実行される、モータに対する制御指令値を演算するモーション演算プログラム2を含む制御プログラム2とを含む。スケジューラプログラムは、制御プログラム1および制御プログラム2とを並行して、マルチコアプロセッサに実行を開始させる命令を含む。システムプログラムは、制御プログラム1の実行が完了した時点で、制御プログラム1が演算に用いたモータの制御に関する変数を、制御プログラム2のバッファメモリに格納させる命令と、制御プログラム2が実行を開始するタイミングで、制御プログラム2のバッファメモリから読み出し、制御プログラムの作業領域へコピーさせる命令とを含む。制御プログラムの実行の周期に対して、予め定められたタイミングで前記制御プログラム間のデータの受け渡しを実行させる。 In order to solve the above problems, a control device of the present invention controls a control target by repeatedly executing a plurality of control programs at a predetermined cycle, which is a control device, wherein the control program is a multi-core processor. And a memory used for storing a system program and a scheduler program. The plurality of control programs include a motion calculation program 1 for calculating a control command value for the motor, which is periodically executed in the execution cycle 1, and a control command for the motor, which is periodically executed in the control program 1 and the execution cycle 2. And a control program 2 including a motion calculation program 2 for calculating a value. The scheduler program includes an instruction for causing the multi-core processor to start execution in parallel with the control program 1 and the control program 2. When the execution of the control program 1 is completed, the system program has an instruction to store the variable relating to the control of the motor used for the calculation by the control program 1 in the buffer memory of the control program 2 and the control program 2 starts the execution. And a command to read from the buffer memory of the control program 2 and to copy it to the work area of the control program at a timing. Data transfer between the control programs is executed at a predetermined timing with respect to the execution cycle of the control program.

本発明は、複数のモータの制御を複数の制御プログラムで並列に実行することで実現する場合に、容易に制御プログラム間の同期を図ることができるといった効果を奏する。 INDUSTRIAL APPLICABILITY The present invention has an effect that the control programs can be easily synchronized when the control of a plurality of motors is realized by executing a plurality of control programs in parallel.

本発明の実施の形態に係る制御装置システムの概略構成を示す模式図である。It is a schematic diagram which shows schematic structure of the control apparatus system which concerns on embodiment of this invention. CPUユニットのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a CPU unit. 本発明の実施の形態に係るCPUユニットで実行されるソフトウェア構成を示す模式図である。It is a schematic diagram which shows the software structure performed by the CPU unit which concerns on embodiment of this invention. 本発明の実施の形態に係る制御装置のハードウェア構成を示す模式図である。It is a schematic diagram which shows the hardware constitutions of the control apparatus which concerns on embodiment of this invention. 制御装置における制御装置の設定手順の一例を示す図である。It is a figure which shows an example of the setting procedure of the control apparatus in a control apparatus. 制御プログラムの設定を行う画面例を示す図である。It is a figure which shows the example of a screen which sets a control program. プログラムの割り当て設定の画面例を示す図である。It is a figure which shows the example of a screen of a program allocation setting. 制御プログラムへの割り当てのイメージを示す図である。It is a figure which shows the image of allocation to a control program. 制御プログラム1と制御プログラム2を定周期で複数のコアで実行される例を示す。An example in which the control program 1 and the control program 2 are executed by a plurality of cores at regular intervals is shown. 軸変数の受け渡しのタイミングを示した例である。It is an example showing the timing of passing the axis variable.

<システム構成>
本実施の形態に係る制御装置は、機械や設備などの制御対象を制御する。本実施の形態に係る制御装置は、その構成要素としてCPUユニットを含む。CPUユニットは、マイクロプロセッサと、マイクロプロセッサのメインメモリを含む記憶手段と、通信回路とを含む。本実施の形態に係る制御装置のCPUユニットは、出力データの送信と、入力データの受信と、入力データを使用して出力データを生成する制御プログラムの実行とを繰り返すことによって制御対象を制御するように構成されている。
<System configuration>
The control device according to the present embodiment controls a control target such as a machine or equipment. The control device according to the present embodiment includes a CPU unit as its constituent element. The CPU unit includes a microprocessor, storage means including a main memory of the microprocessor, and a communication circuit. The CPU unit of the control device according to the present embodiment controls the controlled object by repeating the output data transmission, the input data reception, and the execution of the control program that generates the output data using the input data. Is configured.

記憶手段は、制御プログラム、および当該制御プログラムの実行と入力データおよび出力データの入出力とを制御するシステムプログラムの格納に用いられる。マイクロプロセッサは、記憶手段に格納されたシステムプログラムおよび制御プログラムを実行する。 The storage unit is used to store a control program and a system program that controls execution of the control program and input/output of input data and output data. The microprocessor executes the system program and the control program stored in the storage means.

通信回路は、出力データを送信しおよび入力データを受信する。後述するように、本実施の形態に係る制御装置は、通信回路として、制御装置システムバスによって出力データの送信および入力データの受信を行う第1通信回路と、フィールドネットワークによって出力データの送信および入力データの受信を行う第2通信回路とを有している。 The communication circuit transmits output data and receives input data. As will be described later, the control device according to the present embodiment includes, as a communication circuit, a first communication circuit that performs transmission of output data and reception of input data by a control device system bus, and transmission and input of output data by a field network. A second communication circuit for receiving data.

まず、図1を参照して、本実施の形態に係る制御装置1のシステム構成について説明する。図は、本発明の実施の形態に係る制御装置システムの概略構成を示す模式図である。図1を参照して、制御装置システムSYSは、制御装置1と、制御装置1とフィールドネットワーク2を介して接続されるサーボモータドライバ3およびリモートIOターミナル5と、フィールド機器であるセンサ6およびリレー7とを含む。また、制御装置1には、接続ケーブル10などを介して制御装置8が接続される。 First, the system configuration of the control device 1 according to the present embodiment will be described with reference to FIG. FIG. 1 is a schematic diagram showing a schematic configuration of a control device system according to an embodiment of the present invention. Referring to FIG. 1, a control device system SYS includes a control device 1, a servo motor driver 3 and a remote IO terminal 5 connected to the control device 1 via a field network 2, a sensor 6 and a relay which are field devices. 7 and. Further, the control device 8 is connected to the control device 1 via a connection cable 10 or the like.

制御装置1は、主たる演算処理を実行するCPUユニット13と、1つ以上のIOユニット14と、特殊ユニット15とを含む。これらのユニットは、制御装置システムバス11を介して、データを互いに遣り取りできるように構成される。また、これらのユニットには、電源ユニット12によって適切な電圧の電源が供給される。なお、制御装置1として構成される各ユニットは、制御装置メーカーが提供するものであるので、制御装置システムバス11は、一般に制御装置メーカーごとに独自に開発され、使用されている。これに対して、後述するようにフィールドネットワーク2については、異なるメーカーの製品同士が接続できるように、その規格などが公開されている場合も多い。 The control device 1 includes a CPU unit 13 that executes main arithmetic processing, one or more IO units 14, and a special unit 15. These units are arranged to be able to exchange data with each other via a controller system bus 11. Further, the power supply unit 12 supplies power of an appropriate voltage to these units. Since each unit configured as the control device 1 is provided by the control device manufacturer, the control device system bus 11 is generally independently developed and used by each control device manufacturer. On the other hand, as will be described later, in many cases, the standards and the like of the field network 2 are published so that products of different manufacturers can be connected to each other.

CPUユニット13の詳細については、図2を参照して後述する。
IOユニット14は、一般的な入出力処理に関するユニットであり、オン/オフといった2値化されたデータの入出力を司る。すなわち、IOユニット14は、センサ6などのセンサが何らかの対象物を検出している状態(オン)および何らの対象物も検出していない状態(オフ)のいずれであるかという情報を収集する。また、IOユニット14は、リレー7やアクチュエータといった出力先に対して、活性化するための指令(オン)および不活性化するための指令(オフ)のいずれかを出力する。
Details of the CPU unit 13 will be described later with reference to FIG.
The IO unit 14 is a unit related to general input/output processing, and controls input/output of binarized data such as ON/OFF. That is, the IO unit 14 collects information as to whether the sensor such as the sensor 6 detects a certain object (ON) or does not detect any object (OFF). Further, the IO unit 14 outputs to the output destination such as the relay 7 or the actuator either a command for activation (ON) or a command for deactivation (OFF).

特殊ユニット15は、アナログデータの入出力、温度制御、特定の通信方式による通信といった、IOユニット14ではサポートしない機能を有する。 The special unit 15 has functions not supported by the IO unit 14, such as analog data input/output, temperature control, and communication according to a specific communication method.

フィールドネットワーク2は、CPUユニット13と遣り取りされる各種データを伝送する。フィールドネットワーク2としては、典型的には、各種の産業用イーサネット(登録商標)を用いることができる。産業用イーサネット(登録商標)としては、たとえば、EtherCAT(登録商標)、Profinet IRT、MECHATROLINK(登録商標)−III、Powerlink、SERCOS(登録商標)−III、CIP Motionなどが知られており、これらのうちのいずれを採用してもよい。さらに、産業用イーサネット(登録商標)以外のフィールドネットワークを用いてもよい。たとえば、モーション制御を行わない場合であれば、DeviceNet、CompoNet/IP(登録商標)などを用いてもよい。本実施の形態に係る制御装置システムSYSでは、典型的に、本実施の形態においては、産業用イーサネット(登録商標)であるEtherCAT(登録商標)をフィールドネットワーク2として採用する場合の構成について例示する。 The field network 2 transmits various data exchanged with the CPU unit 13. Various industrial Ethernets (registered trademark) can be typically used as the field network 2. As industrial Ethernet (registered trademark), for example, EtherCAT (registered trademark), Profinet IRT, MECHAROLINK (registered trademark)-III, Powerlink, SERCOS (registered trademark)-III, CIP Motion, and the like are known. Either of them may be adopted. Further, a field network other than the industrial Ethernet (registered trademark) may be used. For example, if motion control is not performed, DeviceNet, CompoNet/IP (registered trademark), or the like may be used. In the control device system SYS according to the present embodiment, typically, in the present embodiment, a configuration in which EtherCAT (registered trademark) that is an industrial Ethernet (registered trademark) is adopted as the field network 2 is illustrated. ..

なお、制御装置1は、CPUユニット13にIOユニット14の機能やサーボモータドライバ3の機能を持たせることにより、そのような内蔵機能でまかなえる範囲については、IOユニット14やサーボモータドライバ3などを介さずにCPUユニット13が直接制御対象を制御する構成でもよい。 Note that the control device 1 allows the CPU unit 13 to have the function of the IO unit 14 and the function of the servo motor driver 3, so that the IO unit 14 and the servo motor driver 3 are included in the range covered by such a built-in function. The CPU unit 13 may directly control the control target without intervention.

サーボモータドライバ3は、フィールドネットワーク2を介してCPUユニット13と接続されるとともに、CPUユニット13からの指令値に従ってサーボモータ4を駆動する。より具体的には、サーボモータドライバ3は、制御装置1から一定周期で、位置指令値、速度指令値、トルク指令値といった指令値を受ける。また、サーボモータドライバ3は、サーボモータ4の軸に接続されている位置センサ(ロータリーエンコーダ)やトルクセンサといった検出器から、位置、速度(典型的には、今回位置と前回位置との差から算出される)、トルクといったサーボモータ4の動作に係る実測値を取得する。そして、サーボモータドライバ3は、CPUユニット13からの指令値を目標値に設定し、実測値をフィードバック値として、フィードバック制御を行う。すなわち、サーボモータドライバ3は、実測値が目標値に近づくようにサーボモータ4を駆動するための電流を調整する。なお、サーボモータドライバ3は、サーボモータアンプと称されることもある。 The servo motor driver 3 is connected to the CPU unit 13 via the field network 2 and drives the servo motor 4 according to a command value from the CPU unit 13. More specifically, the servo motor driver 3 receives command values such as a position command value, a speed command value, and a torque command value from the control device 1 in a constant cycle. Further, the servo motor driver 3 detects the position and speed (typically from the difference between the current position and the previous position) from detectors such as a position sensor (rotary encoder) and a torque sensor connected to the axis of the servo motor 4. (Calculated), a measured value related to the operation of the servo motor 4 such as torque is acquired. Then, the servo motor driver 3 sets a command value from the CPU unit 13 to a target value, and performs feedback control using the actual measurement value as a feedback value. That is, the servo motor driver 3 adjusts the current for driving the servo motor 4 so that the measured value approaches the target value. The servo motor driver 3 may also be referred to as a servo motor amplifier.

また、図1には、サーボモータ4とサーボモータドライバ3とを組み合わせたシステム例を示すが、その他の構成、たとえば、パルスモータとパルスモータドライバとを組み合わせたシステムを採用することもできる。 Further, FIG. 1 shows an example of a system in which the servo motor 4 and the servo motor driver 3 are combined, but other configurations, for example, a system in which a pulse motor and a pulse motor driver are combined can be adopted.

図1に示す制御装置システムSYSのフィールドネットワーク2には、さらに、リモートIOターミナル5が接続されている。リモートIOターミナル5は、基本的には、IOユニット14と同様に、一般的な入出力処理に関する処理を行う。より具体的には、リモートIOターミナル5は、フィールドネットワーク2でのデータ伝送に係る処理を行うための通信カプラ52と、1つ以上のIOユニット53とを含む。これらのユニットは、リモートIOターミナルバス51を介して、データを互いに遣り取りできるように構成される。 A remote IO terminal 5 is further connected to the field network 2 of the control device system SYS shown in FIG. The remote IO terminal 5 basically performs processing related to general input/output processing, similar to the IO unit 14. More specifically, the remote IO terminal 5 includes a communication coupler 52 for performing processing relating to data transmission in the field network 2 and one or more IO units 53. These units are configured to exchange data with each other via the remote IO terminal bus 51.

制御装置サポート装置8については後述する。
<CPUユニットのハードウェア構成>
次に、図2を参照して、CPUユニット13のハードウェア構成について説明する。図2は、本発明の実施の形態に係るCPUユニット13のハードウェア構成を示す模式図である。図2を参照して、CPUユニット13は、マイクロプロセッサ100と、マイクロプロセッサ100のプロセッサコア140と、チップセット102と、メインメモリ104と、不揮発性メモリ106と、システムタイマ108と、通信コントローラ150と、システムバスコントローラ120と、フィールドネットワークコントローラ140と、USBコネクタ(不図示)とを含む。チップセット102と他のコンポーネントとの間は、各種のバスを介してそれぞれ結合されている。
The control device support device 8 will be described later.
<Hardware configuration of CPU unit>
Next, the hardware configuration of the CPU unit 13 will be described with reference to FIG. FIG. 2 is a schematic diagram showing a hardware configuration of the CPU unit 13 according to the embodiment of the present invention. With reference to FIG. 2, the CPU unit 13 includes a microprocessor 100, a processor core 140 of the microprocessor 100, a chipset 102, a main memory 104, a non-volatile memory 106, a system timer 108, and a communication controller 150. A system bus controller 120, a field network controller 140, and a USB connector (not shown). The chipset 102 and other components are coupled to each other via various buses.

マイクロプロセッサ100およびチップセット102は、典型的には、汎用的なコンピュータアーキテクチャに準じて構成される。すなわち、マイクロプロセッサ100は、チップセット102から内部クロックに従って順次供給される命令コードを解釈して実行する。チップセット102は、接続されている各種コンポーネントとの間で内部的なデータを遣り取りするとともに、マイクロプロセッサ100に必要な命令コードを生成する。さらに、チップセット102は、マイクロプロセッサ100での演算処理の実行の結果得られたデータなどをキャッシュする機能を有する。 The microprocessor 100 and the chipset 102 are typically configured according to a general-purpose computer architecture. That is, the microprocessor 100 interprets and executes the instruction code sequentially supplied from the chip set 102 according to the internal clock. The chipset 102 exchanges internal data with various connected components and generates an instruction code necessary for the microprocessor 100. Furthermore, the chipset 102 has a function of caching data and the like obtained as a result of execution of arithmetic processing in the microprocessor 100.

CPUユニット13は、記憶手段として、メインメモリ104および不揮発性メモリ106を有する。 The CPU unit 13 has a main memory 104 and a non-volatile memory 106 as storage means.

メインメモリ104は、揮発性の記憶領域(RAM)であり、CPUユニット13へ電源投入後にマイクロプロセッサ100で実行されるべき各種プログラムを保持する。また、メインメモリ104は、マイクロプロセッサ100による各種プログラムの実行時の作業用メモリとしても使用される。このようなメインメモリ104としては、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)といったデバイスが用いられる。 The main memory 104 is a volatile storage area (RAM) and holds various programs to be executed by the microprocessor 100 after the CPU unit 13 is powered on. The main memory 104 is also used as a working memory when the microprocessor 100 executes various programs. As the main memory 104, a device such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory) is used.

一方、不揮発性メモリ106は、リアルタイムOS(Operating System)、制御装置1のシステムプログラム、ユーザプログラム、モーション演算プログラム、システム設定パラメータといったデータを不揮発的に保持する。これらのプログラムやデータは、必要に応じて、マイクロプロセッサ100がアクセスできるようにメインメモリ104にコピーされる。このような不揮発性メモリ106としては、フラッシュメモリのような半導体メモリを用いることができる。あるいは、ハードディスクドライブのような磁気記録媒体や、DVD−RAM(Digital Versatile Disk Random Access Memory)のような光学記録媒体などを用いることもできる。 On the other hand, the non-volatile memory 106 holds data such as a real-time OS (Operating System), a system program of the control device 1, a user program, a motion calculation program, and system setting parameters in a non-volatile manner. These programs and data are copied to the main memory 104 so that the microprocessor 100 can access them as needed. As such a non-volatile memory 106, a semiconductor memory such as a flash memory can be used. Alternatively, a magnetic recording medium such as a hard disk drive or an optical recording medium such as a DVD-RAM (Digital Versatile Disk Random Access Memory) can be used.

通信コントローラは、典型的には、FPGAやASIC等のハードウェアで構成され、チップセットを介して、メインメモリとのデータの送受信が可能に構成される。通信制御コントローラは、メインメモリとのデータの通信に用いられるメモリ領域を有し、後述するシステムバスコントローラやフィールドネットワークコントローラに対して、メインメモリから転送されたデータの転送を行う。また、システムバスコントローラ及びフィールドネットワークコントローラに対して、メインメモリから転送したデータを送信させる命令を発行する。 The communication controller is typically composed of hardware such as FPGA or ASIC, and is configured to be capable of transmitting/receiving data to/from the main memory via the chip set. The communication controller has a memory area used for data communication with the main memory, and transfers the data transferred from the main memory to a system bus controller or a field network controller described later. It also issues a command to the system bus controller and field network controller to transmit the data transferred from the main memory.

通信制御コントローラは、さらにシステムタイマ108を備える。システムタイマ108は、一定周期ごとに割り込み信号を発生してマイクロプロセッサ100に提供する。典型的には、ハードウェアの仕様によって、複数の異なる周期でそれぞれ割り込み信号を発生するように構成されるが、OS(Operating System)やBIOS(Basic Input Output System)などによって、任意の周期で割り込み信号を発生するように設定することもできる。このシステムタイマ108が発生する割り込み信号を利用して、後述するような制御サイクルごとの制御動作が実現される。 The communication control controller further includes a system timer 108. The system timer 108 generates an interrupt signal at regular intervals and provides it to the microprocessor 100. Typically, it is configured to generate an interrupt signal at a plurality of different cycles depending on the hardware specifications, but an interrupt is generated at an arbitrary cycle by an OS (Operating System) or a BIOS (Basic Input Output System). It can also be set to generate a signal. Using the interrupt signal generated by the system timer 108, the control operation for each control cycle as described later is realized.

通信回路として、システムバスコントローラ120およびフィールドネットワークコントローラ140を有する。これらの通信回路は、出力データの送信および入力データの受信を行う。 It has a system bus controller 120 and a field network controller 140 as communication circuits. These communication circuits transmit output data and receive input data.

なお、CPUユニット13自体にIOユニット14やサーボモータドライバ3の機能を持たせる場合は、制御装置システムバスコントローラ120による出力データの送信および入力データの受信は、それらの機能を担う部分を通信の相手方としてCPUユニット13の内部で行われる送信および受信となる。 When the CPU unit 13 itself has the functions of the IO unit 14 and the servo motor driver 3, the controller system bus controller 120 transmits the output data and receives the input data, and the portions responsible for those functions are used for communication. Transmission and reception are performed inside the CPU unit 13 as the other party.

通信コントローラ150は、制御装置システムバス11を介したデータの遣り取りを制御する。より具体的には、システムバスコントローラ120と、DMA(Dynamic MemoryAccess)制御回路122と、バッファ126とを含む。 The communication controller 150 controls the exchange of data via the control device system bus 11. More specifically, it includes a system bus controller 120, a DMA (Dynamic Memory Access) control circuit 122, and a buffer 126.

バッファ126は、制御装置システムバス11を介して他のユニットへ出力されるデータ(以下「出力データ」または「第1出力データ」とも称す。)の送信バッファ、および、制御装置システムバス11を介して他のユニットから入力されるデータ(以下「入力データ」または「第1入力データ」とも称す。)の受信バッファとして機能する。なお、マイクロプロセッサ100による演算処理によって作成された第1出力データは、原始的にはメインメモリ104に格納される。そして、特定のユニットへ転送されるべき第1出力データは、メインメモリ104から読み出されて、バッファ126に一次的に保持される。また、他のユニットから転送された第1入力データは、バッファ126に一次的に保持された後、メインメモリ104に移される。 The buffer 126 is a transmission buffer for data (hereinafter also referred to as “output data” or “first output data”) output to another unit via the control device system bus 11, and via the control device system bus 11. Function as a reception buffer for data (hereinafter also referred to as “input data” or “first input data”) input from another unit. The first output data created by the arithmetic processing by the microprocessor 100 is originally stored in the main memory 104. Then, the first output data to be transferred to the specific unit is read from the main memory 104 and temporarily held in the buffer 126. The first input data transferred from another unit is temporarily held in the buffer 126 and then transferred to the main memory 104.

DMA制御回路122は、メインメモリ104からバッファ126への第1出力データの転送、および、バッファ126からメインメモリ104への第1入力データの転送を行う。 The DMA control circuit 122 transfers the first output data from the main memory 104 to the buffer 126, and transfers the first input data from the buffer 126 to the main memory 104.

通信コントローラは、制御装置システムバス11に接続される他のユニットとの間で、バッファ126の第1出力データを送信する処理および第1入力データを受信してバッファ126に格納する処理を行う。典型的には、システムバス通信制御コントローラは、制御装置システムバス11における物理層およびデータリンク層の機能を提供する。 The communication controller performs a process of transmitting the first output data of the buffer 126 and a process of receiving the first input data and storing the first input data with the other unit connected to the control device system bus 11. The system bus communication controller typically provides the physical layer and data link layer functions of the controller system bus 11.

フィールドネットワークコントローラ140は、フィールドネットワーク2を介したデータの遣り取りを制御する。すなわち、フィールドネットワークコントローラ140は、用いられるフィールドネットワーク2の規格に従い、出力データの送信および入力データの受信を制御する。上述したように、本実施の形態においてはEtherCAT(登録商標)規格に従うフィールドネットワーク2が採用されるので、通常のイーサネット(登録商標)通信を行うためのハードウェアを含む、フィールドネットワークコントローラ140が用いられる。EtherCAT(登録商標)規格では、通常のイーサネット(登録商標)規格に従う通信プロトコルを実現する一般的なイーサネット(登録商標)コントローラを利用できる。但し、フィールドネットワーク2として採用される産業用イーサネット(登録商標)の種類によっては、通常の通信プロトコルとは異なる専用仕様の通信プロトコルに対応した特別仕様のイーサネット(登録商標)コントローラが用いられる。また、産業用イーサネット(登録商標)以外のフィールドネットワークを採用した場合には、当該規格に応じた専用のフィールドネットワークコントローラが用いられる。 The field network controller 140 controls the exchange of data via the field network 2. That is, the field network controller 140 controls transmission of output data and reception of input data according to the standard of the field network 2 used. As described above, in the present embodiment, since the field network 2 conforming to the EtherCAT (registered trademark) standard is adopted, the field network controller 140 including the hardware for performing normal Ethernet (registered trademark) communication is used. To be In the EtherCAT (registered trademark) standard, a general Ethernet (registered trademark) controller that realizes a communication protocol conforming to the normal Ethernet (registered trademark) standard can be used. However, depending on the type of industrial Ethernet (registered trademark) adopted as the field network 2, a special-purpose Ethernet (registered trademark) controller corresponding to a dedicated communication protocol different from a normal communication protocol is used. When a field network other than the industrial Ethernet (registered trademark) is adopted, a dedicated field network controller conforming to the standard is used.

バッファは、フィールドネットワーク2を介して他の装置などへ出力されるデータ(以下「出力データ」または「第2出力データ」と称す。)の送信バッファ、および、フィールドネットワーク2を介して他の装置などから入力されるデータ(以下「入力データ」または「第2入力データ」とも称す。)の受信バッファとして機能する。マイクロプロセッサ100による演算処理によって作成された第2出力データは、原始的にはメインメモリ104に格納される。そして、特定の装置へ転送されるべき第2出力データは、メインメモリ104から読み出されて、第2通信回路バッファ146に一次的に保持される。また、他の装置から転送された第2入力データは、バッファ146に一次的に保持された後、メインメモリ104に移される。 The buffer is a transmission buffer for data (hereinafter referred to as “output data” or “second output data”) output to another device or the like via the field network 2 and another device via the field network 2. It functions as a reception buffer for data (hereinafter, also referred to as “input data” or “second input data”) input from, for example. The second output data created by the arithmetic processing by the microprocessor 100 is originally stored in the main memory 104. Then, the second output data to be transferred to the specific device is read from the main memory 104 and temporarily held in the second communication circuit buffer 146. The second input data transferred from another device is temporarily held in the buffer 146 and then moved to the main memory 104.

DMA制御回路142は、メインメモリ104からバッファへの第2出力データの転送、および、バッファからメインメモリ104への第2入力データの転送を行う。 The DMA control circuit 142 transfers the second output data from the main memory 104 to the buffer and transfers the second input data from the buffer to the main memory 104.

フィールドネットワーク通信制御コントローラ144は、フィールドネットワーク2に接続される他の装置との間で、バッファの第2出力データを送信する処理および第2入力データを受信して第2通信回路バッファに格納する処理を行う。典型的には、フィールドネットワーク通信制御コントローラ144は、フィールドネットワーク2における物理層およびデータリンク層の機能を提供する。 The field network communication control controller 144 receives the process of transmitting the second output data of the buffer and the second input data and stores them in the second communication circuit buffer with another device connected to the field network 2. Perform processing. Typically, the field network communication controller 144 provides the physical layer and data link layer functions in the field network 2.

USBコネクタは、制御装置サポート装置8とCPUユニット13とを接続するためのインターフェイスである。典型的には、制御装置サポート装置8から転送される、CPUユニット13のマイクロプロセッサ100で実行可能なプログラムなどは、USBコネクタ110を介して制御装置1に取込まれる。 The USB connector is an interface for connecting the control device support device 8 and the CPU unit 13. Typically, a program that can be executed by the microprocessor 100 of the CPU unit 13 transferred from the control device support device 8 is taken into the control device 1 via the USB connector 110.

<C.CPUユニットのソフトウェア構成>
次に、図3を参照して、本実施の形態に係る各種機能を提供するためのソフトウェア群について説明する。これらのソフトウェアに含まれる命令コードは、適切なタイミングで読み出され、CPUユニット13のマイクロプロセッサ100、プロセッサコア140によって実行される。
<C. Software configuration of CPU unit>
Next, a software group for providing various functions according to the present embodiment will be described with reference to FIG. The instruction code included in the software is read at an appropriate timing and executed by the microprocessor 100 and the processor core 140 of the CPU unit 13.

図3は、本発明の実施の形態に係るCPUユニット13で実行されるソフトウェア構成を示す模式図である。図3を参照して、CPUユニット13で実行されるソフトウェアとしては、リアルタイムOS200と、システムプログラム210と、ユーザプログラム236との3階層になっている。 FIG. 3 is a schematic diagram showing a software configuration executed by the CPU unit 13 according to the embodiment of the present invention. Referring to FIG. 3, the software executed by the CPU unit 13 has three layers of a real-time OS 200, a system program 210, and a user program 236.

リアルタイムOS200は、CPUユニット13のコンピュータアーキテクチャに応じて設計されており、マイクロプロセッサ100がシステムプログラム210およびユーザプログラム236を実行するための基本的な実行環境を提供する。 The real-time OS 200 is designed according to the computer architecture of the CPU unit 13, and provides a basic execution environment for the microprocessor 100 to execute the system program 210 and the user program 236.

システムプログラム210は、制御装置1としての機能を提供するためのソフトウェア群である。具体的には、システムプログラム210は、スケジューラプログラム212と、出力処理プログラム214と、入力処理プログラム216と、シーケンス命令演算プログラム232と、モーション演算プログラム234と、その他のシステムプログラム220とを含む。なお、一般には出力処理プログラム214および入力処理プログラム216は、連続的(一体として)に実行されるので、これらのプログラムを、IO処理プログラム218と総称する場合もある。 The system program 210 is a software group for providing the function as the control device 1. Specifically, the system program 210 includes a scheduler program 212, an output processing program 214, an input processing program 216, a sequence command operation program 232, a motion operation program 234, and another system program 220. In general, the output processing program 214 and the input processing program 216 are continuously (integrally) executed, and thus these programs may be collectively referred to as the IO processing program 218.

ユーザプログラム236は、ユーザにおける制御目的に応じて作成される。すなわち、制御装置システムSYSを用いて制御する対象のライン(プロセス)などに応じて、任意に設計されるプログラムである。 The user program 236 is created according to the control purpose of the user. That is, it is a program arbitrarily designed according to the line (process) to be controlled using the control device system SYS.

後述するように、ユーザプログラム236は、シーケンス命令演算プログラム232およびモーション演算プログラム234と協働して、ユーザにおける制御目的を実現する。すなわち、ユーザプログラム236は、シーケンス命令演算プログラム232およびモーション演算プログラム234によって提供される命令、関数、機能モジュールなどを利用することで、プログラムされた動作を実現する。そのため、ユーザプログラム236、シーケンス命令演算プログラム232、およびモーション演算プログラム234を、制御プログラム230と総称する場合もある。 As will be described later, the user program 236 cooperates with the sequence command calculation program 232 and the motion calculation program 234 to realize the control purpose of the user. That is, the user program 236 realizes the programmed operation by using the instructions, functions, functional modules, etc. provided by the sequence instruction calculation program 232 and the motion calculation program 234. Therefore, the user program 236, the sequence command calculation program 232, and the motion calculation program 234 may be collectively referred to as the control program 230.

このように、CPUユニット13のマイクロプロセッサ100は、記憶手段に格納されたシステムプログラム210および制御プログラム230を実行する。 As described above, the microprocessor 100 of the CPU unit 13 executes the system program 210 and the control program 230 stored in the storage means.

以下、各プログラムについてより詳細に説明する。ユーザプログラム236は、上述したように、ユーザにおける制御目的(たとえば、対象のラインやプロセス)に応じて作成される。ユーザプログラム236は、典型的には、CPUユニット13のマイクロプロセッサ100で実行可能なオブジェクトプログラム形式になっている。このユーザプログラム236は、制御装置サポート装置8などにおいて、ラダー言語などによって記述されたソースプログラムがコンパイルされることで生成される。そして、生成されたオブジェクトプログラム形式のユーザプログラム236は、制御装置サポート装置8から接続ケーブル10を介してCPUユニット13へ転送され、不揮発性メモリ106などに格納される。 Hereinafter, each program will be described in more detail. As described above, the user program 236 is created according to the control purpose of the user (for example, the target line or process). The user program 236 is typically in an object program format that can be executed by the microprocessor 100 of the CPU unit 13. The user program 236 is generated by compiling a source program described in a ladder language or the like in the control device support device 8 or the like. Then, the generated user program 236 in the object program format is transferred from the control device support device 8 to the CPU unit 13 via the connection cable 10 and stored in the non-volatile memory 106 or the like.

スケジューラプログラム212は、出力処理プログラム214、入力処理プログラム216、および制御プログラム230について、各実行サイクルでの処理開始および処理中断後の処理再開を制御する。より具体的には、スケジューラプログラム212は、ユーザプログラム236およびモーション演算プログラム234の実行を制御する。 The scheduler program 212 controls the start of processing in each execution cycle and the restart of processing after interruption of processing regarding the output processing program 214, the input processing program 216, and the control program 230. More specifically, the scheduler program 212 controls the execution of the user program 236 and the motion calculation program 234.

本実施の形態に係るCPUユニット13では、モーション演算プログラム234に適した一定周期の実行サイクル(制御サイクル)を処理全体の共通サイクルとして採用する。そのため、1つの制御サイクル内で、すべての処理を完了することは難しいので、実行すべき処理の優先度などに応じて、各制御サイクルにおいて実行を完了すべき処理と、複数の制御サイクルに亘って実行してもよい処理とが区分される。スケジューラプログラム212は、これらの区分された処理の実行順序などを管理する。より具体的には、スケジューラプログラム212は、各制御サイクル期間内において、より高い優先度が与えられているプログラムほど先に実行する。 In the CPU unit 13 according to the present embodiment, a fixed-cycle execution cycle (control cycle) suitable for the motion calculation program 234 is adopted as a common cycle for the entire processing. Therefore, it is difficult to complete all the processes in one control cycle. Therefore, depending on the priority of the process to be executed, the process to be completed in each control cycle and the plurality of control cycles are executed. And the processing that may be executed. The scheduler program 212 manages the execution order of these divided processes. More specifically, within each control cycle period, the scheduler program 212 executes a program given a higher priority first.

出力処理プログラム214は、ユーザプログラム236(制御プログラム230)の実行によって生成された出力データを通信コントローラへ転送するのに適した形式に再配置する。システムバスコントローラ120またはフィールドネットワークコントローラ140が、マイクロプロセッサ100からの、送信を実行するための指示を必要とする場合は、出力処理プログラム214がそのような指示を発行する。 The output processing program 214 rearranges the output data generated by the execution of the user program 236 (control program 230) into a format suitable for transfer to the communication controller. When the system bus controller 120 or field network controller 140 requires instructions from the microprocessor 100 to perform the transmission, the output processing program 214 issues such instructions.

入力処理プログラム216は、制御装置システムバスコントローラ120および/またはフィールドネットワークコントローラ140によって受信された入力データを、制御プログラム230が使用するのに適した形式に再配置する。 The input processing program 216 relocates the input data received by the controller system bus controller 120 and/or the field network controller 140 into a format suitable for use by the control program 230.

シーケンス命令演算プログラム232は、ユーザプログラム236で使用されるある種のシーケンス命令が実行されるときに呼び出されて、その命令の内容を実現するために実行されるプログラムである。 The sequence command calculation program 232 is a program that is called when a certain type of sequence command used in the user program 236 is executed and that is executed to realize the content of the command.

モーション演算プログラム234は、ユーザプログラム236による指示に従って実行され、サーボモータドライバ3やパルスモータドライバといったモータドライバに対して出力する指令値を実行されるごとに算出するプログラムである。 The motion calculation program 234 is a program that is executed in accordance with an instruction from the user program 236 and calculates a command value to be output to a motor driver such as the servo motor driver 3 or the pulse motor driver each time it is executed.

その他のシステムプログラム220は、図3に個別に示したプログラム以外の、制御装置1の各種機能を実現するためのプログラム群をまとめて示したものである。例えば機械の制御制御装置との通信や外部の機器からの要求からの処理、自己診断処理をマイクロプロセッサに実行させるプログラムである。また外部記憶媒体にメインメモリのデータを転送させる処理や外部記憶媒体からデータを読み出す処理も実行その他システムプログラムに含まれる。 The other system programs 220 collectively show a program group for realizing various functions of the control device 1 other than the programs individually shown in FIG. For example, it is a program that causes the microprocessor to execute communication with the control control device of the machine, processing from a request from an external device, and self-diagnosis processing. Further, processing for transferring data in the main memory to an external storage medium and processing for reading data from the external storage medium are also included in the other system programs.

リアルタイムOS200は、複数のプログラムを時間の経過に従い切り替えて実行するための環境を提供する。本実施の形態に係る制御装置1においては、CPUユニット13のプログラム実行によって生成された出力データを他のユニットまたは他の装置へ出力(送信)するためのイベント(割り込み)として、制御サイクル開始の割り込みが初期設定される。リアルタイムOS200は、制御サイクル開始の割り込みが発生すると、マイクロプロセッサ100での実行対象を、割り込み発生時点で実行中のプログラムからスケジューラプログラム212に切り替える。なお、リアルタイムOS200は、スケジューラプログラム212およびスケジューラプログラム212がその実行を制御するプログラムが何ら実行されていない場合に、その他のシステムプログラム210に含まれているプログラムを実行する。このようなプログラムとしては、たとえば、CPUユニット13と制御装置サポート装置8との間の接続ケーブル10(USB)などを介した通信処理に関するものが含まれる。 The real-time OS 200 provides an environment for switching and executing a plurality of programs as time passes. In the control device 1 according to the present embodiment, as an event (interrupt) for outputting (transmitting) the output data generated by the program execution of the CPU unit 13 to another unit or another device, the control cycle start The interrupt is initialized. When the control cycle start interrupt occurs, the real-time OS 200 switches the execution target in the microprocessor 100 from the program being executed at the time of the interrupt occurrence to the scheduler program 212. The real-time OS 200 executes the programs included in the other system programs 210 when the scheduler program 212 and the program that controls the execution of the scheduler program 212 are not executed. Such programs include, for example, programs related to communication processing between the CPU unit 13 and the control device support device 8 via the connection cable 10 (USB) or the like.

なお、制御プログラム230およびスケジューラプログラム212は、記憶手段であるメインメモリ104および不揮発性メモリ106に格納される。 The control program 230 and the scheduler program 212 are stored in the main memory 104 and the non-volatile memory 106, which are storage means.

<サポート装置のハードウェア構成>
次に、制御装置1で実行されるプログラムの作成および制御装置1のメンテナンスなどを行うための制御装置8について説明する。
<Hardware configuration of support device>
Next, the control device 8 for creating a program executed by the control device 1 and performing maintenance of the control device 1 will be described.

図4は、本発明の実施の形態に係る制御装置8のハードウェア構成を示す模式図である。図4を参照して、制御装置8は、典型的には、汎用のコンピュータで構成される。なお、メンテナンス性の観点からは、可搬性に優れたノート型のパーソナルコンピュータが好ましい。 FIG. 4 is a schematic diagram showing a hardware configuration of the control device 8 according to the embodiment of the present invention. Referring to FIG. 4, control device 8 is typically composed of a general-purpose computer. From the viewpoint of maintainability, a notebook personal computer having excellent portability is preferable.

図4を参照して、制御装置8は、OSを含む各種プログラムを実行するCPU81と、BIOSや各種データを格納するROM(Read Only Memory)82と、CPU81でのプログラムの実行に必要なデータを格納するための作業領域を提供するメモリRAM83と、CPU81で実行されるプログラムなどを不揮発的に格納するハードディスク(HDD)84とを含む。CPU81が制御装置8の演算部に相当し、ROM82、RAM83およびハードディスク84が制御装置8の記憶部に相当する。 Referring to FIG. 4, the control device 8 stores a CPU 81 that executes various programs including an OS, a ROM (Read Only Memory) 82 that stores a BIOS and various data, and data necessary for the CPU 81 to execute the programs. A memory RAM 83 that provides a work area for storing and a hard disk (HDD) 84 that stores programs executed by the CPU 81 in a nonvolatile manner are included. The CPU 81 corresponds to the calculation unit of the control device 8, and the ROM 82, the RAM 83, and the hard disk 84 correspond to the storage unit of the control device 8.

制御装置8は、さらに、ユーザからの操作を受付けるキーボード85およびマウス86と、情報をユーザに提示するためのモニタ87とを含む。さらに、制御装置8は、制御装置1(CPUユニット13)などと通信するための通信インターフェイス(IF)89を含む。 The control device 8 further includes a keyboard 85 and a mouse 86 that receive operations from the user, and a monitor 87 for presenting information to the user. Further, the control device 8 includes a communication interface (IF) 89 for communicating with the control device 1 (CPU unit 13) and the like.

後述するように、制御装置8で実行される各種プログラムは、CDROM9に格納されて流通する。このCD−ROM9に格納されたプログラムは、CDROM(Compact Disk-Read Only Memory)ドライブ88によって読取られ、ハードディスク(HDD)84などへ格納される。あるいは、上位のホストコンピュータなどからネットワークを通じてプログラムをダウンロードするように構成してもよい。 As will be described later, various programs executed by the control device 8 are stored in the CDROM 9 and distributed. The program stored in the CD-ROM 9 is read by a CDROM (Compact Disk-Read Only Memory) drive 88 and stored in a hard disk (HDD) 84 or the like. Alternatively, the program may be downloaded from a host computer or the like via a network.

<制御プログラム>
本実施の形態では、制御プログラムは、IO処理プログラム、ユーザプログラム、ユーザプログラムの実行に伴って実行させる、シーケンス演算プログラム、モーション演算プログラムを含む、一連の動作が実行される単位として取り扱う。
<Control program>
In the present embodiment, the control program is treated as a unit for executing a series of operations including an IO processing program, a user program, and a sequence calculation program and a motion calculation program that are executed in association with the execution of the user program.

並列実行されるプログラムについてプログラミングすることは、実行開始のタイミングや実行終了、データのコピー処理などのタイミングを考慮する必要がありユーザによって負担となる。 Programming a program to be executed in parallel is a burden on the user because it is necessary to consider the timing of execution start, execution end, and data copy processing.

本実施形態では、制御プログラムごとに実行させる周期、実行される優先度、より短い周期での実行が可能なように、複数の制御プログラムごとに実行開始のタイミング、制約条件を設定している。図は、制御装置で実行される制御プログラムの種類を示している。スケジューラプログラムは制御プログラムの実行優先度、実行周期にしたがって、マイクロプロセッサに制御プログラムを実行させる。 In the present embodiment, the execution start timing and the constraint condition are set for each of the plurality of control programs so that the control program is executed in each cycle, the priority of execution, and the execution in a shorter cycle. The figure shows the types of control programs executed by the control device. The scheduler program causes the microprocessor to execute the control program according to the execution priority and the execution cycle of the control program.

制御プログラム1は、最も高優先で実行されるプログラムであり出力処理プログラム1、入力処理プログラム1の実行を含み出力データの生成、入力データの取り込み、割り当てられたユーザプログラム1の実行、モーション演算プログラム1の実行、モータへの指令値の算出をこの順序で実行する。 The control program 1 is a program that is executed with the highest priority and includes the execution of the output processing program 1 and the input processing program 1 to generate output data, take in the input data, execute the assigned user program 1, and execute the motion calculation program. The execution of 1 and the calculation of the command value to the motor are executed in this order.

制御プログラム2は、制御プログラム1に次いで優先的に実行させる制御プログラムであり、出力処理プログラム2、入力処理プログラム2を含み、出力データの生成、入力データの取り込み、割り当てられたユーザプログラム2の実行、モーションプログラム2の実行をこの順序で実行する。 The control program 2 is a control program to be executed preferentially after the control program 1, and includes the output processing program 2 and the input processing program 2, and generates output data, takes in input data, and executes the assigned user program 2. , The motion program 2 is executed in this order.

制御プログラム3は、定周期で実行させるプログラムであり、上述の制御プログラム1で実行させる出力データや入力データを読み込むことを前提とする制御プログラムである。具体的には、制御プログラム1のIOリフレッシュで取り込んだ入力データの受け渡しを受け、設定された周期毎に出力データを生成する制御プログラムである。 The control program 3 is a program that is executed at regular intervals, and is a control program that is premised on reading the output data and the input data that is executed by the control program 1 described above. Specifically, it is a control program that receives the input data received by the IO refresh of the control program 1 and generates output data for each set cycle.

制御プログラム3は、制御プログラム1の実行周期を短縮するため、制御プログラム1に含まれる、やや長周期で実行する場合もある制御プログラムを割り当てるのに適したプログラムである。制御プログラム4は、ユーザプログラムのみで構成されるプログラムである。高速な制御演算には関係しない、通信処理やバックアップ処理などを記述するのに適したプログラムである。 The control program 3 is a program suitable for assigning a control program included in the control program 1 and which may be executed at a slightly long cycle in order to shorten the execution cycle of the control program 1. The control program 4 is a program composed of only a user program. This program is suitable for describing communication processing, backup processing, etc. that are not related to high-speed control calculations.

次にコントローラサポート装置を用いた制御装置におけるプログラミングの手順を示す。図5は、制御装置における制御装置の設定手順の一例を示す。 Next, the programming procedure in the control device using the controller support device will be described. FIG. 5 shows an example of a control device setting procedure in the control device.

STEP1において、フィールドネットワークやシステムバスを介して接続される機器を特定する。具体的にはフィールドネットワーク乃至はシステムバスに接続されている機器について通信を行うための情報を設定する。図示しないが、フィールドネットワーク又はシステムバスを介して接続されている機器と通信を行いフィールドネットワークやシステムバスを介して接続されている機器、接続順序などの情報を自動的に取得しても良い。 In STEP 1, the device connected via the field network or system bus is specified. Specifically, it sets information for communicating with devices connected to the field network or the system bus. Although not shown, the information such as the device connected via the field network or the system bus and the connection order may be automatically acquired by communicating with the device connected via the field network or the system bus.

STEP2において、ユーザはコントローラサポート装置を用いて、上述したように制御目的に合わせてユーザプログラムを作成する。STEP1で登録した、フィールドネットワーク乃至はシステムバスに接続されている機器から入力されるデータを用いて、シーケンス演算、モーション演算を実行し、出力データを生成するプログラムを作成する。このユーザプログラムは、複数のプログラムモジュールに分割されて作成されても良い。 In STEP 2, the user uses the controller support device to create a user program according to the control purpose as described above. Using the data input from the device connected to the field network or the system bus registered in STEP1, sequence calculation and motion calculation are executed to create a program for generating output data. This user program may be created by being divided into a plurality of program modules.

STEP3において、ユーザは制御プログラムの設定を行う。ユーザの制御目的に合わせて、制御プログラムを実行する周期を設定する。 In STEP 3, the user sets the control program. The cycle for executing the control program is set according to the control purpose of the user.

STEP4において、STEP1で設定したネットワークを介して接続される機器それぞれについて、IOリフレッシュを行う制御プログラムを登録する。図6は、制御プログラムの設定を行う画面例を示す。フィールドネットワーク乃至はシステムバスに接続されている機器それぞれについて、IOリフレッシュを行う制御プログラムを登録する。制御対象機器が一覧で表示され、ユニット名称とともに表示される。それぞれについてIOリフレッシュを行う制御プログラムをプルダウン形式でユーザに選択させる。 In STEP 4, a control program for performing IO refresh is registered for each device connected via the network set in STEP 1. FIG. 6 shows an example of a screen for setting the control program. Register a control program for IO refresh for each device connected to the field network or system bus. The devices to be controlled are displayed in a list and are displayed together with the unit name. Let the user select the control program for IO refresh in pull-down format.

STEP5において、作成したユーザザプログラムを制御プログラムに割り当てる。
図8は、制御プログラムへの割り当てのイメージを示す。図7では、制御プログラムそれぞれについて、作成したユーザプログラム(Program0-Program6)を制御プログラムに割
り当てる。複数のユーザプログラムを制御プログラムに割り当てる場合には、ユーザプログラムの実行順序を登録させる。図7の例では、制御プログラム1にユーザプログラムProgram0、Program2が割り当てされている。制御プログラム2には、ユーザプログラムProgram4、Program5、Program6が割り当てられている。制御プログラム3には、Program1が割り当てされている。
In STEP 5, the created user program is assigned to the control program.
FIG. 8 shows an image of allocation to the control program. In FIG. 7, for each control program, the created user program (Program0-Program6) is assigned to the control program. When assigning a plurality of user programs to the control program, the execution order of the user programs is registered. In the example of FIG. 7, user programs Program0 and Program2 are assigned to the control program 1. User programs Program4, Program5, and Program6 are assigned to the control program 2. Program 1 is assigned to the control program 3.

上述の操作によって、制御プログラム毎に、実行される周期、制御プログラムに含まれるIO処理プログラムにてデータ交換を行う機器を示す設定パラメータ、実行されるユーザプログラムを含む制御プログラムが生成される。制御装置のスケジューラプログラムは、転送された設定パラメータを参照し、制御プログラムの実行周期などを参照し、プログラムの実行開始や終了のタイミングを制御する。 By the above-described operation, a control program including a cycle to be executed, a setting parameter indicating a device for exchanging data in the IO processing program included in the control program, and a user program to be executed is generated for each control program. The scheduler program of the control device refers to the transferred setting parameter, refers to the execution cycle of the control program, and controls the timing of starting and ending the execution of the program.

また、本実施形態では制御プログラムの実行周期は、フィールドネットワーク乃至はシステムバスを介して外部の機器と通信(IOリフレッシュ)を行う周期となるため、設定パラメータに基づいて、通信プログラムは通信周期および当該周期にてIOリフレッシュを行う対象と機器を特定する。 Further, in the present embodiment, the execution cycle of the control program is a cycle for performing communication (IO refresh) with an external device via the field network or the system bus. Identify the target and device for IO refresh in the cycle.

次に図8を用いて、モーション演算プログラムを含む複数の制御プログラムでモータを制御する実例に関して説明する。図8に示す物理構成では、軸1(モータ1以下軸1とも称する)と軸2(モータ2、以下軸2とも称する)と軸3(モータ3、以下軸3とも称する)で構成される。軸1と軸2、軸3を同期させて制御する場合、軸1の指令値乃至はフィードバック値を参照して、軸2、軸3の制御指令値を計算することで軸2、軸3を制御する。例えば軸1の回転に対して、所定の比率で軸2、軸3の制御指令値を与えることにより、軸1に対するギア動作を実現することができる。これは主軸となる軸1の現在値乃至は、従軸のフィードバック値を参照し、従軸となる軸2、軸3への制御指令値を与えることで実現できる。 Next, an example of controlling a motor with a plurality of control programs including a motion calculation program will be described with reference to FIG. The physical configuration shown in FIG. 8 includes a shaft 1 (motor 1 and hereinafter shaft 1), a shaft 2 (motor 2 and shaft 2 hereinafter), and a shaft 3 (motor 3 and shaft 3 hereinafter). When controlling the axes 1 and 2 and 3 in synchronization with each other, the axis 2 and the axis 3 are calculated by referring to the command value or the feedback value of the axis 1 and calculating the control command values of the axis 2 and the axis 3. Control. For example, by giving a control command value for the shaft 2 and the shaft 3 at a predetermined ratio to the rotation of the shaft 1, the gear operation for the shaft 1 can be realized. This can be realized by referring to the current value of the axis 1 which is the master axis or the feedback value of the slave axis and giving the control command value to the axes 2 and 3 which are the slave axes.

この軸1を主軸として、軸2、軸3を従軸としたギア動作を複数のモーション演算プログラムを含む制御プログラムで実現する場合を考える。後述するとおり、制御プログラム1では軸1、軸2に関する変数の値をIO処理プログラムを実行することにより、取得する。モーション演算プログラム1の命令に従い、取得した入力データを参照し、軸1の現在値乃至は指令値に基づいて軸2の指令値を算出して、出力する。これにより軸1と軸2のギア動作を実現する。 Consider a case where the gear operation with the axis 1 as the main axis and the axes 2 and 3 as the slave axes is realized by a control program including a plurality of motion calculation programs. As will be described later, the control program 1 acquires the values of variables related to the axes 1 and 2 by executing the IO processing program. According to the instruction of the motion calculation program 1, the input data obtained is referred to, and the command value of the axis 2 is calculated based on the current value or command value of the axis 1 and output. This realizes the gear operation of the shaft 1 and the shaft 2.

制御プログラム2では、軸1の状態を示すパラメータを制御プログラム1から転送し、制御装置上で仮想的に扱う、軸4に指令値として出力し、軸4を主軸として軸3の指令値を行う。 In the control program 2, a parameter indicating the state of the axis 1 is transferred from the control program 1 and is virtually handled on the control device and is output to the axis 4 as a command value, and the axis 4 is used as a spindle to perform the command value of the axis 3. ..

このように構成することにより、制御プログラム間で軸に関数変数の受け渡しができれば、制御プログラム1で制御する軸1と制御プログラム2で制御する軸3を同期させることが可能となる。 With this configuration, if the function variables can be transferred to the axes between the control programs, the axis 1 controlled by the control program 1 and the axis 3 controlled by the control program 2 can be synchronized.

<実施の形態1>
図9は制御プログラム1と制御プログラム2を定周期で複数のコアで実行される例を示す。制御プログラム1と及び制御プログラム2はそれぞれ、IO処理プログラム1、IO処理プログラム2、ユーザプログラム1、ユーザプログラム2、モーション演算プログラム1、モーション演算プログラム2を含む。
<Embodiment 1>
FIG. 9 shows an example in which the control program 1 and the control program 2 are executed by a plurality of cores at regular intervals. The control program 1 and the control program 2 include an IO processing program 1, an IO processing program 2, a user program 1, a user program 2, a motion calculation program 1, and a motion calculation program 2, respectively.

次にマルチコアプロセッサを用いた、制御プログラム1、2の実行の開始のタイミングに関して説明する。図9は、制御プログラム1の実行のタイミングを示す図である。スケジューラプログラムは、所定の時刻の到来を検出すると、制御プログラム1、制御プログラム2の実行を開始させる。 Next, the timing of starting execution of the control programs 1 and 2 using the multi-core processor will be described. FIG. 9 is a diagram showing the timing of execution of the control program 1. When the scheduler program detects the arrival of a predetermined time, it starts the execution of the control programs 1 and 2.

図中に示す、制御プログラム1のIOはIO制御プログラムの命令に従った動作を示す。プロセッサのコア1はIO制御プログラム1の命令に従い、出力データの送信、入力データの取り込みを行う。具体的には、マイクロプロセッサのコア1は、IO制御プログラム1の出力処理プログラムの命令に従い、制御プログラム1に関連付けされた外部機器への出力データ1をメインメモリ上の通信バッファから通信コントローラ150のバッファメモリへ転送する処理を行う。また入力処理プログラムの命令に従い、通信コントローラから転送された通信バッファに格納された入力データ1をユーザプログラム1の作業領域へ転送する。 IO of the control program 1 shown in the figure indicates an operation according to an instruction of the IO control program. The core 1 of the processor transmits output data and fetches input data according to the instruction of the IO control program 1. Specifically, the core 1 of the microprocessor outputs the output data 1 to the external device associated with the control program 1 from the communication buffer on the main memory to the communication controller 150 according to the instruction of the output processing program of the IO control program 1. Performs the process of transferring to the buffer memory. Further, according to the instruction of the input processing program, the input data 1 stored in the communication buffer transferred from the communication controller is transferred to the work area of the user program 1.

図中に示す、制御プログラム1のUPGは、ユーザプログラム1の命令に従った動作を示す。ユーザプログラム1の命令に従い、マイクロプロセッサのコア1は、ユーザプログラム1の作業領域に格納された入力データを用いてシーケンス演算を行い、出力データを通信バッファへ格納する処理を行うと共に、モーション演算プログラム1が演算する領域へ格納する。 The UPG of the control program 1 shown in the figure indicates an operation according to the instruction of the user program 1. According to the instruction of the user program 1, the core 1 of the microprocessor performs a sequence operation using the input data stored in the work area of the user program 1 and a process of storing the output data in the communication buffer, and at the same time, the motion operation program. Stored in the area calculated by 1.

図中に示す、制御プログラム1のMCは、モーション演算プログラム1の命令に従った動作を示す。マイクロプロセッサのコア1は、制御プログラム1の実行周期に対するモータへの指令値を演算し、出力データを算出し、出力データを通信コントローラへ転送するためのバッファへ格納する。 MC of the control program 1 shown in the drawing indicates an operation in accordance with the instruction of the motion calculation program 1. The core 1 of the microprocessor calculates a command value to the motor for the execution cycle of the control program 1, calculates output data, and stores the output data in a buffer for transferring to the communication controller.

次に制御プログラム2の動作について説明する。図中に示す、制御プログラム2のIOはIO制御プログラム2の命令に従った動作を示す。プロセッサのコア2はIO制御プログラム2の命令に従い、出力データの送信、入力データの取り込みを行う。 Next, the operation of the control program 2 will be described. IO of the control program 2 shown in the figure indicates an operation according to an instruction of the IO control program 2. The core 2 of the processor transmits output data and fetches input data according to the instruction of the IO control program 2.

具体的には、マイクロプロセッサのコア2は、IO制御プログラム2の出力処理プログラム2の命令に従い、制御プログラム2に関連付けされた外部機器への出力データをメインメモリ上の通信バッファから通信コントローラ150のバッファメモリへ転送する処理を行う。また入力処理プログラム2の命令に従い、通信コントローラから転送された通信バッファに格納された入力データをユーザプログラム2の作業領域へ転送する。 Specifically, the core 2 of the microprocessor outputs the output data to the external device associated with the control program 2 from the communication buffer on the main memory to the communication controller 150 according to the instruction of the output processing program 2 of the IO control program 2. Performs the process of transferring to the buffer memory. Further, according to the instruction of the input processing program 2, the input data stored in the communication buffer transferred from the communication controller is transferred to the work area of the user program 2.

図中に示す、制御プログラム2のUPGは、ユーザプログラム2の命令に従った動作を示す。ユーザプログラム2の命令に従い、マイクロプロセッサのコア2は、ユーザプログラム2の作業領域に格納された入力データを用いてシーケンス演算を行い、出力データを通信バッファへ格納する処理を行うと共に、モーション演算プログラム2が演算する領域へ格納する。 The UPG of the control program 2 shown in the drawing indicates an operation in accordance with the instruction of the user program 2. According to the instruction of the user program 2, the core 2 of the microprocessor performs a sequence operation using the input data stored in the work area of the user program 2 and a process of storing the output data in the communication buffer, and at the same time, the motion operation program. It stores in the area which 2 calculates.

図中に示す、制御プログラム2のMCは、モーション演算プログラム2の命令に従った動作を示す。マイクロプロセッサのコア2は、制御プログラム2の実行周期に対するモータへの指令値を演算し、出力データを算出し、出力データを通信コントローラへ転送するためのバッファへ格納する。 MC of the control program 2 shown in the figure indicates an operation in accordance with the instruction of the motion calculation program 2. The core 2 of the microprocessor calculates a command value to the motor for the execution cycle of the control program 2, calculates output data, and stores the output data in the buffer for transferring to the communication controller.

制御プログラム2に関して、IO制御プログラム2、ユーザプログラム2、モーション演算プログラム2を周期的に実行する。 Regarding the control program 2, the IO control program 2, the user program 2, and the motion calculation program 2 are periodically executed.

<制御プログラム間のデータの受け渡し>
制御プログラムの間でデータの送受信を実行したい場合は、制御プログラム中に軸変数受け渡し命令を記述する。変数受け渡し命令では、他の制御プログラムで用いられている軸変数について、受信をしたい変数について定義される。この例では制御プログラム2に軸変数受け渡し命令が記述されている。
<Passing data between control programs>
If you want to send and receive data between control programs, describe the axis variable transfer command in the control program. In the variable transfer instruction, the axis variable used in another control program is defined for the variable to be received. In this example, the control program 2 describes an axis variable transfer command.

図9の例では、制御プログラム2のユーザプログラム2の命令に従って、軸変数受け渡し命令が起動される。 In the example of FIG. 9, the axis variable transfer instruction is activated according to the instruction of the user program 2 of the control program 2.

軸変数受け渡し命令が起動されると、システムプログラムが制御プログラムが実行開始されるタイミングが揃ったタイミングの1つ前周期の制御プログラム1の実行完了後、軸変数受け渡し命令で定義された変数について、制御プログラム2のバッファ領域へコピーする処理を実行させる。 When the axis variable transfer instruction is activated, the system program executes the control program 1 in the cycle immediately before the timing when the control program starts to execute. The process of copying to the buffer area of the control program 2 is executed.

図9では、制御プログラム2を制御プログラム1の実行周期の3倍の周期で並列に実行する例を示している。ここでは制御プログラム1の周期の3回に一度制御プログラム2と実行開始のタイミングが揃う。図中の矢印で示しているとおり、軸変数受け渡し命令で定義された軸変数について、制御プログラム1の実行が完了後、制御プログラム2のバッファ領域へコピーする処理を実行させる。 FIG. 9 shows an example in which the control program 2 is executed in parallel at a cycle three times as long as the execution cycle of the control program 1. Here, the execution start timing is aligned with the control program 2 once every three cycles of the control program 1. After the execution of the control program 1 is completed, the process of copying to the buffer area of the control program 2 is executed for the axis variable defined by the axis variable transfer instruction, as indicated by the arrow in the figure.

図10は、軸変数の受け渡しのタイミングを示した例である。図中のIO、UPG、MCは図9と同様であるため繰り返さない。図中に(A)で示しているとおり、制御プログラム1と制御プログラム2の実行開始のタイミングが揃う1つ前の制御プログラム1の軸変数が制御プログラム2に受け渡される。図中(B)で示しているとおり、制御プログラム1の実行終了のタイミング後で、制御プログラム2のユーザプログラム2の実行が開始されるが、軸変数を受け渡す処理は実行しない。 FIG. 10 is an example showing the timing of passing the axis variable. IO, UPG, and MC in the figure are the same as those in FIG. 9, and will not be repeated. As indicated by (A) in the figure, the axis variables of the control program 1 immediately before the execution timings of the control program 1 and the control program 2 are passed to the control program 2. As shown by (B) in the figure, the execution of the user program 2 of the control program 2 is started after the execution end time of the control program 1, but the process of passing the axis variable is not executed.

これにより、必ず制御周期の開始タイミングが揃う周期の1つ前の周期の軸変数を受け渡すことができるため、制御プログラム1、制御プログラム2の実行状況に影響されず、所定の周期で演算を実行することができる。 As a result, the axis variable of the cycle immediately preceding the cycle in which the start timing of the control cycle is always aligned can be transferred, so that the calculation is performed in a predetermined cycle without being affected by the execution status of the control programs 1 and 2. Can be executed.

218 IO処理プログラム
234 モーション演算プログラム
236 ユーザプログラム
214 出力処理プログラム
230 制御プログラム
1、8 制御装置
11 制御装置システムバス
216 入力処理プログラム
14、53 IOユニット
122、142 DMA制御回路
210、220 システムプログラム
218 IO processing program 234 Motion calculation program 236 User program 214 Output processing program 230 Control program 1, 8 Control device 11 Control device system bus 216 Input processing program 14, 53 IO unit 122, 142 DMA control circuit 210, 220 System program

Claims (3)

複数の制御プログラムを所定の周期で繰り返し実行することによって制御対象を制御する、制御装置であって、
マルチコアプロセッサと、
前記制御プログラム、システムプログラム、スケジューラプログラムの格納に用いられるメモリと、を備え、
前記複数の制御プログラムは、
実行周期1で周期的に実行される、モータに対する制御指令値を演算するモーション演算プログラム1を含む、制御プログラム1と、
前記実行周期1よりも長周期である実行周期2で周期的に実行される、モータに対する制御指令値を演算するモーション演算プログラム2を含むと共に、前記制御プログラム1で用いられる軸変数を定義する軸変数受け渡し命令が記述される制御プログラム2とを含み、
前記スケジューラプログラムは、前記制御プログラム1および前記制御プログラム2を並行して、マルチコアプロセッサに実行を開始させる命令を含み、
前記システムプログラムは、前記軸変数受け渡し命令が起動されると、前記制御プログラム1および前記制御プログラム2が実行開始されるタイミングが揃ったタイミングの1つ前の周期の前記制御プログラム1の実行が完了した時点で、前記軸変数受け渡し命令に定義されかつ前記制御プログラム1が演算に用いた前記モータの制御に関する軸変数を、前記制御プログラム2のバッファメモリに格納させる命令と、
前記制御プログラム2が実行を開始するタイミングで、前記制御プログラム2のバッファメモリから読み出し、前記制御プログラムの作業領域へコピーさせる命令とを含む、制御装置。
A control device for controlling a controlled object by repeatedly executing a plurality of control programs at a predetermined cycle,
A multi-core processor,
A memory used for storing the control program, the system program, and the scheduler program,
The plurality of control programs,
A control program 1 including a motion calculation program 1 for calculating a control command value for a motor, which is periodically executed in an execution cycle 1;
An axis that includes a motion calculation program 2 that calculates a control command value for a motor and that is periodically executed in an execution cycle 2 that is longer than the execution cycle 1, and that defines an axis variable used in the control program 1. And a control program 2 in which a variable transfer instruction is described,
The scheduler program includes an instruction for causing the multi-core processor to start execution of the control program 1 and the control program 2 in parallel,
When the axis variable transfer command is activated, the system program completes the execution of the control program 1 in a cycle immediately before the timing when the execution of the control program 1 and the control program 2 is started. At that time, an instruction for storing in the buffer memory of the control program 2 an axis variable defined in the axis variable transfer instruction and used by the control program 1 for the control of the motor,
A control device comprising: an instruction to read from the buffer memory of the control program 2 and to copy it to a work area of the control program at a timing when the control program 2 starts executing.
前記モーション演算プログラム1は、主軸であるモータ1の前記制御指令値乃至フィードバック値を参照して、従軸であるモータ2の前記制御指令値を演算し、
前記モーション演算プログラム2は、主軸であるモータ1の前記制御指令値乃至フィードバック値を参照して、従軸であるモータ3の前記制御指令値を演算する、請求項1に記載の制御装置。
The motion calculation program 1 calculates the control command value of the motor 2 that is the slave shaft by referring to the control command value or feedback value of the motor 1 that is the master shaft,
The control device according to claim 1, wherein the motion calculation program 2 refers to the control command value or the feedback value of the motor 1 that is the master shaft to calculate the control command value of the motor 3 that is the slave shaft.
前記制御プログラム1および前記制御プログラム2が実行開始されるタイミングが揃ったタイミングで実行される当該制御プログラム1の実行が完了したタイミング後、当該制御プログラム2の実行中に、前記軸変数を前記制御プログラム2のバッファメモリに格納する処理を実行しない、請求項1または2に記載の制御装置。 The control of the axis variable is performed while the control program 2 is being executed after the completion of the execution of the control program 1 which is executed at the same timing when the control programs 1 and 2 are started. The control device according to claim 1, which does not execute the process of storing the program 2 in the buffer memory.
JP2019073572A 2019-04-08 2019-04-08 Control device Active JP6729746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019073572A JP6729746B2 (en) 2019-04-08 2019-04-08 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019073572A JP6729746B2 (en) 2019-04-08 2019-04-08 Control device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015074631A Division JP2016194831A (en) 2015-03-31 2015-03-31 Controller

Publications (2)

Publication Number Publication Date
JP2019106225A JP2019106225A (en) 2019-06-27
JP6729746B2 true JP6729746B2 (en) 2020-07-22

Family

ID=67061389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019073572A Active JP6729746B2 (en) 2019-04-08 2019-04-08 Control device

Country Status (1)

Country Link
JP (1) JP6729746B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022209910A1 (en) * 2021-03-30 2022-10-06 キヤノン株式会社 Control device, system, substrate processing device, method for manufacturing article, control method, and program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7423920B2 (en) * 2019-07-03 2024-01-30 オムロン株式会社 Control systems, configuration devices and computer programs
JP7415345B2 (en) * 2019-07-03 2024-01-17 オムロン株式会社 Control system, support equipment and configuration program
WO2023195178A1 (en) * 2022-04-08 2023-10-12 三菱電機株式会社 Motor drive device and servo drive system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4877423B1 (en) * 2011-03-15 2012-02-15 オムロン株式会社 PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP4957853B1 (en) * 2011-03-15 2012-06-20 オムロン株式会社 PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP5803337B2 (en) * 2011-06-28 2015-11-04 オムロン株式会社 Synchronization control device, synchronization control method, synchronization control program, and computer-readable recording medium recording the synchronization control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022209910A1 (en) * 2021-03-30 2022-10-06 キヤノン株式会社 Control device, system, substrate processing device, method for manufacturing article, control method, and program

Also Published As

Publication number Publication date
JP2019106225A (en) 2019-06-27

Similar Documents

Publication Publication Date Title
JP6540166B2 (en) Control device
JP6729746B2 (en) Control device
JP6488830B2 (en) Control device
JP4807475B1 (en) Arithmetic unit, output control method, and program
JP4894961B1 (en) PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP4877423B1 (en) PLC CPU unit, PLC system program, and recording medium storing PLC system program
US10579031B2 (en) Controller
JP4957853B1 (en) PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP6409557B2 (en) Control device, controller system, output control method, and program
JP4752984B1 (en) PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP6299064B2 (en) Control device, control method, and program
US8706262B2 (en) CPU unit of PLC, system program for PLC, and recording medium storing system program for PLC
US8504176B2 (en) CPU unit of PLC, system program for PLC, and recording medium storing system program for PLC
US9568905B2 (en) CPU of PLC, system program for PLC, and recording medium storing system program for PLC
CN111095138A (en) Control device, control method for control device, information processing program, and recording medium
JP2012194955A (en) Support device, display control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190408

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200615

R150 Certificate of patent or registration of utility model

Ref document number: 6729746

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250