JP2005227971A - Cycle time arithmetic device - Google Patents
Cycle time arithmetic device Download PDFInfo
- Publication number
- JP2005227971A JP2005227971A JP2004035144A JP2004035144A JP2005227971A JP 2005227971 A JP2005227971 A JP 2005227971A JP 2004035144 A JP2004035144 A JP 2004035144A JP 2004035144 A JP2004035144 A JP 2004035144A JP 2005227971 A JP2005227971 A JP 2005227971A
- Authority
- JP
- Japan
- Prior art keywords
- positioning data
- tact time
- time
- positioning
- calculating
- 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.)
- Pending
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
この発明は、プログラマブルロジックコントロ−ラ(以下適宜、PLCと記す)における位置決めユニットの位置決めデ−タの設定に関わり、位置決め動作のための位置決め運転時間(以下適宜、タクトタイムと記す)及び、所望のタクトタイムで動作するための位置決めデ−タを算出するタクトタイム演算装置に関するものである。 The present invention relates to setting of positioning data of a positioning unit in a programmable logic controller (hereinafter referred to as “PLC” as appropriate), positioning operation time for positioning operation (hereinafter referred to as “tact time” as appropriate), and desired The present invention relates to a tact time calculation device that calculates positioning data for operation with a tact time of the same.
従来のタクトタイム演算装置は、主としてロボット動作プログラムの作成装置内のもので、ロボット動作をさせるためにかかるタクトタイムを求めるための技術である。予め入力された移動情報(移動距離,移動速度,加速度)からロボットの最短移動時間を算出する機能として有している。
また従来の装置では、減速度の独立した指定はなく、加速度と減速度とを同一として扱っている。ここでいう加速度とは実加速時間に対する移動速度に達するまでの変化量としている(例えば、特許文献1参照)。
A conventional tact time calculation device is mainly used in a robot operation program creation device, and is a technique for obtaining a tact time required for operating a robot. It has a function to calculate the shortest movement time of the robot from movement information (movement distance, movement speed, acceleration) inputted in advance.
In the conventional apparatus, there is no independent designation of deceleration, and acceleration and deceleration are treated as the same. The acceleration referred to here is the amount of change until the moving speed with respect to the actual acceleration time is reached (see, for example, Patent Document 1).
以上に述べた従来のタクトタイム算出の技術は、ロボットの動作を対象としたものが多く、PLCにおける位置決めユニットにおいて位置決め制御を行う場合、位置決めデ−タ設定装置により所望の動作の移動情報(PLCにおける位置決めユニットでは位置決めデ−タと呼ぶ)を作成するが、作成された位置決めデ−タにより実際に位置決め動作する為の時間、すなわちタクトタイムをある範囲内に収める必要がある。その為、設定した位置決めデ−タのタクトタイムを知る必要があるが、現状では、手計算で算出するか、経験値から得られる知識を元に位置決めデ−タを作成し、実際に動作させて計測・確認している。
しかし、算出式は複雑で且つ位置決めデ−タが複数ある場合は(PLCにおける位置決めユニットでは600パタ−ンの位置決めデ−タが設定可能である)、大変な手間がかかる。また実際に動作させるためには、位置決め動作が可能な環境及び装置を準備する必要がある。
すなわち、作成された位置決めデ−タのタクトタイムを知るために、多くの手間や時間がかかるという問題点があった。
Many of the conventional tact time calculation techniques described above are directed to robot operations. When positioning control is performed in a positioning unit in a PLC, movement information (PLC) of a desired operation is determined by a positioning data setting device. However, it is necessary to keep the time for the actual positioning operation by the created positioning data, that is, the tact time within a certain range. For this reason, it is necessary to know the tact time of the set positioning data. At present, however, the positioning data can be calculated manually or created based on the knowledge obtained from experience values and actually operated. Measuring and checking.
However, when the calculation formula is complicated and there are a plurality of positioning data (in the positioning unit in the PLC, positioning data of 600 patterns can be set), it takes a lot of work. In order to actually perform the operation, it is necessary to prepare an environment and an apparatus capable of positioning operation.
That is, there is a problem that it takes a lot of labor and time to know the tact time of the created positioning data.
また、従来の装置の演算では、タクトタイム算出にあたり、加減速に関する移動情報の入力は加速度のみで、減速度は加速度と同じであることを前提としている。
よって、PLCにおける位置決めユニットのような加速度と減速度とが異なる場合においては適応できないといった問題点があった。
Further, in the calculation of the conventional apparatus, it is assumed that the movement information regarding acceleration / deceleration is input only by acceleration and the deceleration is the same as the acceleration in calculating the tact time.
Therefore, there is a problem that it cannot be applied when acceleration and deceleration are different as in a positioning unit in PLC.
さらに、実際には作成された位置決めデ−タのタクトタイムを知るだけではなく、そのタクトタイムが所望のタクトタイムでなかった場合に、位置決めデ−タを所望のタクトタイムで動作するように変更する必要がある。その為、位置決めデ−タの各項目値を変更し、タクトタイムを算出する作業を繰り返し行なうことにより、所望のタクトタイムで動作する位置決めデ−タを求めている。
現状では、変更できる位置決めデ−タの項目には、システムの状況やユ−ザニ−ズによって変更できる項目と変更できない項目が存在している。この変更できる項目が複数存在する場合は、それぞれの項目値を変更して算出する必要がある為、何度も変更と算出を繰り返しており、面倒で時間がかかるといった問題点があった。
Furthermore, in addition to knowing the tact time of the positioning data that was actually created, if the tact time was not the desired tact time, the positioning data was changed to operate at the desired tact time. There is a need to. Therefore, positioning data that operates at a desired tact time is obtained by changing each item value of the positioning data and repeatedly performing the work of calculating the tact time.
At present, the positioning data items that can be changed include items that can be changed depending on the status of the system and the user, and items that cannot be changed. When there are a plurality of items that can be changed, it is necessary to change and calculate each item value. Therefore, the change and calculation are repeated many times, which is troublesome and takes time.
この発明は、かかる問題点を解決するためになされたもので、PLCにおける位置決めユニットの設定に関わり、入力した位置決めデ−タによる動作にかかるタクトタイム、及び、所望のタクトタイムを指定することによりそのタクトタイムで動作する位置決めデ−タを算出するタクトタイム演算装置を得るものである。 The present invention has been made to solve such problems, and relates to the setting of the positioning unit in the PLC, and by specifying the tact time for the operation by the input positioning data and the desired tact time. A tact time calculation device for calculating positioning data operating at the tact time is obtained.
この発明に係るタクトタイム演算装置は、所望のタクトタイムを入力するタクトタイム入力手段と、入力された前記所望のタクトタイムに基づき前記所望のタクトタイムに対応した位置決めデ−タを算出する位置決めデ−タ算出手段と、算出された演算結果を表示する表示手段とを備えたものである。 A tact time calculation device according to the present invention includes a tact time input means for inputting a desired tact time, and positioning data for calculating positioning data corresponding to the desired tact time based on the input desired tact time. A data calculation unit and a display unit for displaying the calculated calculation result;
また、入力された位置決めデ−タに基づきタクトタイムを算出するタクトタイム算出手段と、入力された位置決めデ−タに基づき算出されたタクトタイムが所望の値でない場合に、所望のタクトタイムを入力するタクトタイム入力手段と、入力された前記所望のタクトタイムに基づき前記所望のタクトタイムに対応した位置決めデ−タを算出する位置決めデ−タ算出手段と、算出された演算結果を表示する表示手段とを備えたものである。 Also, a tact time calculation means for calculating a tact time based on the input positioning data, and a desired tact time is input when the tact time calculated based on the input positioning data is not a desired value. Tact time input means, positioning data calculation means for calculating positioning data corresponding to the desired tact time based on the inputted desired tact time, and display means for displaying the calculated calculation result It is equipped with.
また、位置決めデ−タは複数の項目からなるものである。 The positioning data is composed of a plurality of items.
また、位置決めデ−タの項目として、加速時間と、この加速時間と独立した値を取り得る減速時間とを有するものである。 The positioning data items include acceleration time and deceleration time that can take a value independent of this acceleration time.
また、位置決めデ−タ算出手段により所望のタクトタイムを算出するための、位置決めデ−タの各項目の変更の可否の入力は、表示手段の画面上に表示されるチェックボックスへチェックを付けることによって行なうものである。 In order to calculate the desired tact time by the positioning data calculation means, input of whether or not each item of positioning data can be changed is checked in a check box displayed on the screen of the display means. Is what you do.
さらに、複数の位置決めデ−タの項目に対して変更を可とした場合に、当該変更を可とする複数の位置決めデ−タの各項目を変更する優先順位は、チェックボックスへチェックを付ける順番に則するものである。 Furthermore, when a plurality of positioning data items can be changed, the priority for changing each item of the plurality of positioning data that can be changed is the order in which the check boxes are checked. It is in accordance with.
この発明によれば、PLCにおける位置決めユニットの位置決めデ−タ設定機能で設定される位置決めデ−タからタクトタイムを算出することが可能であるとともに、逆に、ひとたび算出されたタクトタイムが所望のタクトタイムでなかった場合、所望のタクトタイムをあらためて入力することにより、そのタクトタイムで動作するための位置決めデ−タを求めることができる、といった効果を奏する。 According to the present invention, it is possible to calculate the tact time from the positioning data set by the positioning data setting function of the positioning unit in the PLC, and conversely, the tact time once calculated is desired. If the tact time is not reached, the desired tact time can be re-input to obtain positioning data for operating at that tact time.
実施の形態1.
この発明の実施の形態によるタクトタイム演算装置を、図1乃至図9を用いて説明する。
この実施の形態のものにおいて、PLCにおける位置決めユニットの位置決めデ−タ設定装置で設定される位置決めデ−タからタクトタイムを算出し、その算出結果が所望のタクトタイムでなかった場合に、所望のタクトタイムを入力することによって、逆に、その入力した所望のタクトタイムで動作する位置決めデ−タを求める機能について説明する。
A tact time calculation device according to an embodiment of the present invention will be described with reference to FIGS.
In this embodiment, the tact time is calculated from the positioning data set by the positioning data setting device of the positioning unit in the PLC, and if the calculated result is not the desired tact time, the desired time is calculated. On the contrary, a function for obtaining positioning data that operates at the inputted desired tact time by inputting the tact time will be described.
まず、PLCにおける位置決めユニット及び位置決めデ−タ設定装置の位置付けを図1を用いて説明する。
図1において、101はPLCのCPUユニットであり、102はPLCの位置決めユニットであり、CPUユニット101からの指令で動作する。また105は位置決めユニットの位置決めデ−タ設定装置であり、位置決めユニット102が動作する為の移動情報を設定するものである。この実施の形態の位置決めデ−タ設定装置105はソフトウエア(S/W)であり、パ−ソナルコンピュ−タ104上で動作し、設定される移動情報を通信ケ−ブル103及びCPUユニット101を介して位置決めユニット102へ転送するものである。
なお、この実施の形態のものにおいては、位置決めデ−タ設定装置105が、タクトタイム算出手段と位置決めデ−タ算出手段との両方の機能を有するものである。
First, the positioning of the positioning unit and positioning data setting device in the PLC will be described with reference to FIG.
In FIG. 1,
In this embodiment, the positioning
次に、PLCにおける位置決めユニットの位置決めデ−タ設定装置で設定される位置決めデ−タより、タクトタイムを算出する機能を説明する。 Next, a function for calculating the tact time from the positioning data set by the positioning data setting device of the positioning unit in the PLC will be described.
まず、この実施の形態のものにおける、位置決めデ−タからタクトタイムを算出する演算の基本的な考え方を図4を用いて説明する。
横軸を時間,縦軸を移動速度とする。1つの位置決めデ−タの「移動距離」は図4のような台形の面積となる。そして求めたいタクトタイム(位置決め運転時間)は台形の底辺の値である。「指令速度」,「実加速時間」,「実減速時間」,「移動距離」が決定されれば、台形の面積を求める式により底辺であるタクトタイムが算出されるというものである。
但し「移動距離」が短い場合は、「指令速度」に達する前に減速して停止しなければならない場合が存在する(図5)。この場合は、三角形の面積を求める式よりタクトタイムが算出される。
さらに、図6に示すように、ちょうど「指令速度」に達した時点で減速して停止する場合は、特に面積から求める必要もなく実加速時間と実減速時間とを足したものがタクトタイムとなる。
よって、タクトタイムの算出方法は、定速時間が存在する場合(図4),定速時間が存在せず指令速度まで至らず減速する場合(図5),定速時間が存在せず、指令速度まで至った時点で減速する場合(図6)、の3パタ−ンとなる。
First, the basic concept of the calculation for calculating the tact time from the positioning data in this embodiment will be described with reference to FIG.
The horizontal axis is time, and the vertical axis is moving speed. The “movement distance” of one positioning data has a trapezoidal area as shown in FIG. The tact time (positioning operation time) to be obtained is the value of the bottom of the trapezoid. If the “command speed”, “actual acceleration time”, “actual deceleration time”, and “movement distance” are determined, the tact time that is the base is calculated by an equation for obtaining the area of the trapezoid.
However, when the “movement distance” is short, there is a case where the vehicle must decelerate and stop before reaching the “command speed” (FIG. 5). In this case, the tact time is calculated from an equation for obtaining the area of the triangle.
Furthermore, as shown in FIG. 6, when the vehicle decelerates and stops when the “command speed” is reached, the tact time is obtained by adding the actual acceleration time and the actual deceleration time without the need for obtaining the area. Become.
Therefore, the tact time is calculated when there is a constant speed time (Fig. 4), when there is no constant speed time and the vehicle does not reach the command speed (Fig. 5), and there is no constant speed time, When decelerating when reaching the speed (FIG. 6), the three patterns are obtained.
次に、上述の考え方を用いてタクトタイムを算出する一連の手順を図2を用いて説明する。図2はタクトタイムを算出する一連の手順のフロ−チャ−トである。また、図3はこの実施の形態のタクトタイム演算装置によるタクトタイムを算出する一連の算出式のテーブルであり、位置決めデ−タ設定装置105が有している。
ここで、算出において使用する変数を定義する。図4乃至図6に示すように、実加速時間をt1,指令速度をV,速度制限値Vmax,加速時間をT1,実減速時間をt2,減速時間をT2,移動距離をL,タクトタイム(位置決め運転時間)をTとする。
Next, a series of procedures for calculating the tact time using the above concept will be described with reference to FIG. FIG. 2 is a flowchart of a series of procedures for calculating the tact time. FIG. 3 is a table of a series of calculation formulas for calculating the tact time by the tact time computing device of this embodiment, which the positioning
Here, variables used in the calculation are defined. As shown in FIGS. 4 to 6, the actual acceleration time is t1, the command speed is V, the speed limit value Vmax, the acceleration time is T1, the actual deceleration time is t2, the deceleration time is T2, the travel distance is L, the tact time ( Positioning operation time) is T.
図2において、まず、ステップ201に示すように、位置決めデ−タ設定装置で位置決めユニットで位置決めさせる為の所望の位置決めデ−タを設定する。設定される位置決めデ−タには「移動距離」,「速度制限値」,「指令速度」,「加速時間」,「減速時間」がある。
In FIG. 2, first, as shown in
次にステップ202において、タクトタイムの算出に必要なデ−タ「実加速時間」,「実減速時間」を算出する。
位置決めデ−タ設定装置においてタクトタイムを算出するのだが、ステップ201で設定されたデ−タには「実加速時間」,「実減速時間」がない(対象とするPLCにおける位置決めユニットに実加速時間、実減速時間の指定がない為)。そこで、次に「実加速時間」,「実減速時間」を算出する。「実加速時間」とは、「加速時間」で「速度制限値」に達する加速度で動作した場合の「指令速度」に達するまでの時間であり、図4乃至図6で示す台形の傾きを求める式によって求めることができる。
まず実加速時間を算出すると、図3の301式に示すように、V/t1=Vmax/T1である。
よってt1=V*T1/Vmaxとなる。
実減速時間は同様に傾きを求める式からV/t2=Vmax/T2。
よってt2=V*T2/Vmaxとなる。
Next, in
The tact time is calculated by the positioning data setting device, but the data set in
First, when the actual acceleration time is calculated, V / t1 = Vmax / T1 as shown in
Therefore, t1 = V * T1 / Vmax.
Similarly, the actual deceleration time is V / t2 = Vmax / T2 from the equation for obtaining the slope.
Therefore, t2 = V * T2 / Vmax.
図2のステップ203,204において、タクトタイムを算出する為のパタ−ンを決定する。
上述のとおり、タクトタイムの算出パタ−ンは3パタ−ン存在する。よって設定されたデ−タがどのパタ−ンの動作なのか場合分けする必要がある。場合分けの方法は、設定されたデ−タが、図6のパタ−ンに当てはまると仮定して「移動距離」を算出する。図6のパタ−ンは定速時間が存在しない三角形のパタ−ンなので、三角形の面積を求める式(図3の302式)に当てはめる。図3の302式のt1及びt2に図2のステップ202で算出された結果(図3の301式)を当てはめると、
((V*T1/Vmax)+(V*T2/Vmax))*V)/2となる。
その結果と図2のステップ201において、位置決めデ−タ設定装置で設定した「移動距離L」との大小比較よりパタ−ンを決定する。設定した「移動距離」の方が大きい場合は、図6のパタ−ンの「移動距離」よりさらに移動するということなので図4のパタ−ンであることが分かる。他方、設定した「移動距離」の方が小さい場合は図5のパタ−ンとなる。
In
As described above, there are three patterns for calculating the tact time. Therefore, it is necessary to divide the pattern operation for the set data. In the case classification method, the “movement distance” is calculated on the assumption that the set data corresponds to the pattern of FIG. Since the pattern in FIG. 6 is a triangular pattern with no constant speed time, it is applied to an equation for calculating the area of the triangle (
((V * T1 / Vmax) + (V * T2 / Vmax)) * V) / 2.
In
図2のステップ205,206,207において、タクトタイムを算出するパタ−ン及びデ−タが全てそろったので、実際にタクトタイムの算出を行う。
In
図2のステップ205は図4のパタ−ン(定速時間が存在する場合)である。図4のパタ−ンでは台形の面積を求める式に当てはめてタクトタイム算出を行う。
よって(((T−(t1+t2))+T)*V)/2となる。t1及びt2に図2のステップ202で算出された結果(図3の301式)を適用すると、((T+(T−((V*T1/Vmax)+(V*T2/Vmax))))*V)/2となる。この式をタクトタイム(位置決め運転時間)Tにすると、
T=(L/V)+((V*T1)/(2*Vmax))+((V*T2)/(2*Vmax)) となる(図3の303式)。
Step 205 in FIG. 2 is the pattern in FIG. 4 (when a constant speed time exists). In the pattern of FIG. 4, the tact time is calculated by applying to the formula for obtaining the trapezoid area.
Therefore, (((T− (t1 + t2)) + T) * V) / 2. Applying the result calculated in
T = (L / V) + ((V * T1) / (2 * Vmax)) + ((V * T2) / (2 * Vmax)) (
図2のステップ207は図5のパタ−ン(定速時間が存在しない場合)である。図5のパタ−ンでは三角形の面積を求める式に適用し、タクトタイム算出を行う。しかし、指令速度まで至らず減速する為、実際の移動速度を算出する必要がある。
そこで、実際の移動速度を求める。実際の移動速度をv、実際の移動速度まで達する時間をtt1とする。三角形の傾きを求める式により(v/tt1)=(Vmax/T1)、(v/(T−tt1))=(Vmax/T2)。
よって、実際の移動速度vは(Vmax/T2)*(T−((T1*v)/Vmax))となる。
三角形の面積を求める式は(T*v)/2=Lであることから、上記で算出した移動速度vを代入し、タクトタイムTは、((2*L*(T1+T2))/Vmax)の平方根となる(図3の304式)。
Step 207 in FIG. 2 corresponds to the pattern in FIG. 5 (when there is no constant speed time). In the pattern of FIG. 5, the tact time is calculated by applying to the formula for obtaining the area of the triangle. However, since the vehicle does not reach the command speed and decelerates, it is necessary to calculate the actual moving speed.
Therefore, the actual moving speed is obtained. Assume that the actual moving speed is v, and the time to reach the actual moving speed is tt1. (V / tt1) = (Vmax / T1), (v / (T−tt1)) = (Vmax / T2) according to the formula for obtaining the inclination of the triangle.
Therefore, the actual moving speed v is (Vmax / T2) * (T − ((T1 * v) / Vmax)).
Since the formula for obtaining the area of the triangle is (T * v) / 2 = L, the moving speed v calculated above is substituted, and the tact time T is ((2 * L * (T1 + T2)) / Vmax) (
図2のステップ206は図6のパタ−ンであり、定速時間が存在しないが指令速度まで至って減速する為、実加速時間と実減速時間とを足したものがタクトタイムとなる。よってタクトタイムは、図2のステップ202で算出された結果(図3の301式)t1とt2とを加算したものである。
すなわち、T=(V*T1/Vmax)+(V*T2/Vmax)となる(図3の305式)。
Step 206 of FIG. 2 is the pattern of FIG. 6 and there is no constant speed time, but the speed reaches the command speed and the vehicle is decelerated. Therefore, the tact time is obtained by adding the actual acceleration time and the actual deceleration time. Therefore, the tact time is obtained by adding the results (
That is, T = (V * T1 / Vmax) + (V * T2 / Vmax) (
位置決めデ−タは、1動作を1デ−タとして設定する。よって、複数デ−タを連続して稼動し一連の動作を完了する場合がある。上述の考え方は、1動作(1デ−タ)となる為、複数デ−タ分算出し、足し合わせていくことにより、一連の動作における全タクトタイムを算出することが可能となる。 The positioning data sets one operation as one data. Therefore, there are cases where a plurality of data are continuously operated to complete a series of operations. Since the above-mentioned idea is one operation (one data), it is possible to calculate all tact times in a series of operations by calculating and adding a plurality of data.
また、上述の説明では単軸動作を例に説明したが、これに限らず各軸方向の移動距離が与えられている場合(補間制御の場合)にも適用が可能である。
この補間制御の場合は、各軸の移動距離から三平方の定理に基づいて補間移動距離を求めそれを移動距離として適用すればよい(図3の306式)。
In the above description, the single-axis operation is described as an example. However, the present invention is not limited to this, and the present invention can be applied to a case where a movement distance in each axial direction is given (in the case of interpolation control).
In the case of this interpolation control, an interpolation movement distance may be obtained from the movement distance of each axis based on the three-square theorem and applied as the movement distance (
上述の要領により、PLCにおける位置決めユニットの位置決めデ−タ設定装置で設定される移動情報からタクトタイムを算出することができる。よって、従来の問題点であった、動作させる為の実際の装置や環境の整備が不要となる。また、位置決めデ−タの調整後の確認も装置を用いずに出来るため、位置決めデ−タの作成時間の短縮化を図ることができる。
また、設定されるデ−タの加速時間及び減速時間を使用して、従来の装置では算出できなかった加速度と減速度とが異なる場合について算出できるといった効果がある。
In accordance with the above-described procedure, the tact time can be calculated from the movement information set by the positioning data setting device for the positioning unit in the PLC. Therefore, it is not necessary to prepare an actual device or environment for operation, which is a conventional problem. Further, since the confirmation after the adjustment of the positioning data can be performed without using the apparatus, the time for creating the positioning data can be shortened.
Further, the acceleration time and deceleration time of the set data can be used to calculate the case where the acceleration and the deceleration that cannot be calculated by the conventional apparatus are different.
次に、この実施の形態のタクトタイム演算装置による、ひとたび求めたタクトタイムを変更し、所望のタクトタイムで動作する位置決めデ−タを求める操作手順を、図7を用いて説明する。
図7において、701はこの発明のタクトタイム算出処理を行なう位置決めデ−タ設定装置内の位置決めデ−タ設定画面である。そして、702乃至707は位置決め装置の位置制御における基本的に必要な位置決めデ−タで、項目欄708として示すように、702乃至707の位置決めデ−タを群として、No1から順に複数行設定することが可能である。
Next, an operation procedure for changing the tact time once obtained by the tact time computing device of this embodiment and obtaining positioning data operating at a desired tact time will be described with reference to FIG.
In FIG. 7,
まずユ−ザは、図7(a)の画面701にて702乃至707の位置決めデ−タを設定する。次に欄708のいずれかのNoの行を図1に示すマウス106aでクリックすることにより、タクトタイムの算出対象とする位置決めデ−タを選択する。その後、右クリックメニュ−もしくはプルダウンメニュ−の「タクトタイム算出メニュ−」を選択することにより、選択された位置決めデ−タを用いて、位置決めデ−タ設定装置105のタクトタイム算出機能がタクトタイム算出処理を行う。
算出結果は、図7(b)のタクトタイム算出結果表示画面709にある、位置決め運転時間の算出結果表示部710に表示する。
この算出結果をユ−ザが確認し、所望のタクトタイムではなかった場合には、タクトタイム入力手段としての例えば図1に示したパ−ソナルコンピュ−タ104のマウス106a或いはやキ−ボ−ド106bなどを用いて、算出結果表示部710内に所望のタクトタイムを入力し、所望のタクトタイムで動作する位置決めデ−タを求める。
この位置決めデ−タを求めるには、選択したNoの位置決めデ−タを基準に、位置決めデ−タの各項目毎の値を、項目毎に取り得る設定範囲内で変更し、所望のタクトタイムで動作する位置決めデ−タを求める。
First, the user sets
The calculation result is displayed on the calculation
If the user confirms the calculation result and the tact time is not the desired one, the
In order to obtain this positioning data, the value of each item of positioning data is changed within the setting range that can be taken for each item based on the selected positioning data of No, and the desired tact time is obtained. Find the positioning data that operates in.
しかし、変更できる位置決めデ−タの項目はユ−ザによってさまざまで、特に変更したくない項目が存在する場合もある。また、全ての項目に対し変更した場合には、その位置決めデ−タは膨大なパタ−ンとなる。変更対象となる位置決めデ−タは、「加速時間」,「減速時間」,「位置決めアドレス」,「指令速度」の4項目である。これらを全て変更可能な項目の対象とした場合、加速時間は4パタ−ン,減速時間も4パタ−ン,位置決めアドレスや指令速度においては入力値として或る範囲を持った連続的な値が存在し、例えば0〜2147483647のような範囲の数値がある。よって考えうるパタ−ンは無限大に近いパタ−ン数になる。その為、求めた位置決めデ−タのパタ−ンからユ−ザがニ−ズにあった位置決めデ−タを見つけるのは、大変困難となる。
そこで、求めた位置決めデ−タのパタ−ンをユ−ザのニ−ズに合わせて絞り込んだ形で提供する。
However, the items of positioning data that can be changed vary depending on the user, and there are cases where there is an item that is not particularly desired to be changed. Further, when all items are changed, the positioning data becomes a huge pattern. The positioning data to be changed is four items of “acceleration time”, “deceleration time”, “positioning address”, and “command speed”. If all of these items are subject to change, the acceleration time is 4 patterns, the deceleration time is 4 patterns, and the positioning address and command speed have continuous values with a certain range as input values. Exists, for example, in the range of 0-2147483647. Therefore, the number of patterns that can be considered is a pattern number close to infinity. For this reason, it is very difficult for the user to find the positioning data that meets his needs from the positioning data pattern obtained.
Therefore, the obtained positioning data pattern is provided in a narrowed form according to the user's needs.
まず、位置決めデ−タの項目のうち、変更できる項目を選択できるようにする。この選択は、図7における、加速時間712,減速時間713,位置決めアドレス714,指令速度716の、各チェックボックスにより可能である。また位置決めアドレスや指令速度は、設定範囲を持つため、入力エリア715,717を用意し、そこへ変更可能な範囲で所望の数値を入力することができる。加速時間及び減速時間は、パタ−ン1,2,3,4という4つのパタ−ンからの選択式であるため、自由な数値設定はできない。
さらに変更可能な複数の項目に、変更順の優先順位(優先度)を持たせることで、必要に応じた位置決めデ−タを提供することが可能となる。変更順の優先順位は、チェックボックスへチェックを付す順番に沿って設定されることとし、チェックボックスへチェックを付けた順にチェックボックス横に優先順位を表示する。所望の項目を全て選択終了後、調整ボタン711を押下すると、所望のタクトタイムで且つ、変更可能な項目を調整された位置決めデ−タを算出し、図7(c)に示す位置決めデ−タの一覧表示718で提供する。位置決めデ−タの一覧は、優先順位の高い項目で調整された位置決めデ−タから表示する。
First, an item that can be changed is selected from among the items of positioning data. This selection can be made by the check boxes of
Furthermore, it is possible to provide positioning data as necessary by giving priority (priority) in the change order to a plurality of changeable items. The priority order of the change order is set in the order in which the check boxes are checked, and the priority order is displayed next to the check boxes in the order in which the check boxes are checked. When all the desired items are selected and the
次に、所望のタクトタイムで動作する位置決めデ−タの調整処理について、図7と図8とを用いて説明する。
図8は、タクトタイムから位置決めデ−タを調整する一連の手順のフロ−チャ−トである。
Next, adjustment processing of positioning data that operates at a desired tact time will be described with reference to FIGS.
FIG. 8 is a flowchart of a series of procedures for adjusting positioning data from the tact time.
まず、図8のステップ801において、図7(a)の位置決めデ−タ設定画面701にてユ−ザが設定した位置決めデ−タに基づきタクトタイムの算出を行い、その算出結果を図7(b)の画面709の算出結果表示部710に表示する。
ステップ802において、ユ−ザは表示された算出結果のタクトタイムが所望のタクトタイムであるかどうか確認する。所望のタクトタイムでなかった場合は、図7(b)の算出結果表示部710に、改めて所望のタクトタイムを入力する。
First, in step 801 in FIG. 8, the tact time is calculated based on the positioning data set by the user on the positioning
In
所望のタクトタイムを入力後に、ステップ803において、図7(b)に示す、加速時間712,減速時間713,位置決めアドレス714,指令速度716の、各チェックボックス項目のうち変更してもよい位置決めデ−タの項目を選択する。またこの時の選択順で、変更可能な項目に優先順位を設定する。さらに図8のステップ804において、図7の入力エリア715,717のうち、変更しても良い項目に変更可能な範囲を入力・設定する。
After inputting the desired tact time, in step 803, positioning data that may be changed among the check box items of
ユ−ザによる所望のタクトタイム及び変更可能な位置決めデ−タ、その範囲の設定に基づき、位置決めデ−タの調整処理を行う。 Positioning data adjustment processing is performed on the basis of a desired tact time by the user, positioning data that can be changed, and the setting of the range.
変更可能な位置決めデ−タの項目が1種類の場合は、先に説明したタクトタイム算出式(図3の、303,304,305式)を使用して算出可能である。先の算出式はタクトタイムを導き出すものであるが、逆に入力・設定されたタクトタイムに基づき、変更できる位置決めデ−タの項目を逆算することができるわけである。
変更できる位置決めデ−タの項目は、上述のとおり、取り得る範囲(変更できる範囲)が予め決まっている為、その範囲に収まっているのであれば、位置決めデ−タ調整結果として図7(c)に示す位置決めデ−タの一覧表示718の画面に表示する。その範囲に収まっていないのであれば、選択した位置決めデ−タの項目では所望のタクトタイムで収まるデ−タを作成できない旨のメッセ−ジを表示し、ユ−ザに再度変更可能な位置決めデ−タの項目を選択するよう促す。
When there is only one type of positioning data item that can be changed, it can be calculated using the tact time calculation formula (
As the positioning data items that can be changed, as described above, the possible range (changeable range) is determined in advance, and if it is within that range, the positioning data adjustment result is shown in FIG. ) Is displayed on the screen of the positioning
変更可能な位置決めデ−タの項目が複数種類ある場合は、1個の場合と同様に図3の303,304,305式を使用して算出するが、タクトタイムが決定しても一意の位置決めデ−タにはならない。よって変更できる位置決めデ−タの範囲で取り得る範囲(変更できる範囲)の全ての組み合わせで算出式に代入し、式として成り立つ組み合わせを、位置決めデ−タ調整結果として図7(c)に示す位置決めデ−タの一覧表示718の画面に表示する。この時変更できる位置決めデ−タの項目は、優先順位の高いものから変更し、調整結果は、優先順位の高い項目を調整した位置決めデ−タから順に表示する。
式として成り立つ組み合わせが1つもない場合は、変更可能な位置決めデ−タの項目が1個の場合同様、選択した変更可能な位置決めデ−タの項目では所望のタクトタイムで収まるデ−タを作成できない旨のメッセ−ジを表示し、ユ−ザに再度変更可能な位置決めデ−タの項目を選択するよう促す。
If there are multiple types of positioning data items that can be changed, calculation is performed using
If there is no combination that holds as an expression, data that fits in the desired tact time is created in the selected changeable positioning data item, as in the case of one changeable positioning data item. A message indicating that it is not possible is displayed, and the user is prompted to select an item of positioning data that can be changed again.
変更可能な位置決めデ−タの項目が複数ある場合の調整方法と結果の表示方法について、詳細を図9を用いて説明する。
図9において、901は調整対象の項目と計算回数の表である。915は調整結果である位置決めデ−タ一覧である。優先順位の高いものから変更する為、まず1回目は第一行902に示されるように優先順位1の項目のみを変更することにより調整する。調整とは、優先順位1の項目を、取り得る範囲(変更できる範囲)で変更し、タクトタイム算出式(図3の303,304,305式)に代入し演算することである。式として成り立つ組み合わせが存在した場合は、優先順位1の変更後の値を適用した位置決めデ−タ916を表示する。
2回目は、第二行903に示されるように、次に優先順位が高い優先順位2と優先順位1との項目の組み合わせで調整する。1回目と同様に、優先順位1及び2の項目を取り得る範囲で変更し、タクトタイム算出式に代入する。式として成り立つ組み合わせが存在した場合は、優先順位1,2の変更後の値を適用した位置決めデ−タ917を表示する。
このように、ユ−ザが選択し設定した優先的に変更可能な項目の組み合わせ(優先順位の高いもの)の順である項目の行902乃至914の順で調整を行い、調整順に調整結果である位置決めデ−タ一覧915の先頭行から表示する。
Details of the adjustment method and the result display method when there are a plurality of changeable positioning data items will be described with reference to FIG.
In FIG. 9,
In the second time, as shown in the
In this way, adjustments are made in the order of the
以上に述べたように、この実施の形態のものによれば、PLCにおける位置決めユニットの位置決めデ−タ設定装置で設定される位置決めデ−タを、所望のタクトタイムで動作する位置決めデ−タに調整し提供することができる。
さらに、提供できる位置決めデ−タが複数ある場合でも、必要に応じた位置決めデ−タから順に提供することができる。
よって、位置決めデ−タの作成時間の短縮化を図ることができる、といった効果を得られる。
As described above, according to the embodiment, the positioning data set by the positioning data setting device of the positioning unit in the PLC is changed to the positioning data that operates at a desired tact time. Can be adjusted and provided.
Furthermore, even when there are a plurality of positioning data that can be provided, the positioning data can be provided in order from the required positioning data.
Therefore, it is possible to obtain an effect that the creation time of the positioning data can be shortened.
104 パーソナルコンピュータ
105 位置決めデータ設定装置
106a マウス
106b キーボード
709 タクトタイム算出結果表示画面
712,713,714,716 チェックボックス
104
Claims (6)
入力された前記所望のタクトタイムに基づき前記所望のタクトタイムに対応した位置決めデ−タを算出する位置決めデ−タ算出手段と、
算出された演算結果を表示する表示手段と、
を備えたことを特徴とするタクトタイム演算装置。 A tact time input means for inputting a desired tact time;
Positioning data calculating means for calculating positioning data corresponding to the desired tact time based on the input desired tact time;
Display means for displaying the calculated calculation results;
A tact time calculation device comprising:
入力された位置決めデ−タに基づき算出されたタクトタイムが所望の値でない場合に、所望のタクトタイムを入力するタクトタイム入力手段と、
入力された前記所望のタクトタイムに基づき前記所望のタクトタイムに対応した位置決めデ−タを算出する位置決めデ−タ算出手段と、
算出された演算結果を表示する表示手段と、
を備えたことを特徴とするタクトタイム演算装置。 A tact time calculating means for calculating a tact time based on the input positioning data;
Tact time input means for inputting a desired tact time when the tact time calculated based on the input positioning data is not a desired value;
Positioning data calculating means for calculating positioning data corresponding to the desired tact time based on the input desired tact time;
Display means for displaying the calculated calculation results;
A tact time calculation device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004035144A JP2005227971A (en) | 2004-02-12 | 2004-02-12 | Cycle time arithmetic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004035144A JP2005227971A (en) | 2004-02-12 | 2004-02-12 | Cycle time arithmetic device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005227971A true JP2005227971A (en) | 2005-08-25 |
Family
ID=35002651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004035144A Pending JP2005227971A (en) | 2004-02-12 | 2004-02-12 | Cycle time arithmetic device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005227971A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008004026A (en) * | 2006-06-26 | 2008-01-10 | Yokogawa Electric Corp | Engineering device |
US7840388B2 (en) | 2006-06-26 | 2010-11-23 | Yokogawa Electric Corporation | Engineering device |
-
2004
- 2004-02-12 JP JP2004035144A patent/JP2005227971A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008004026A (en) * | 2006-06-26 | 2008-01-10 | Yokogawa Electric Corp | Engineering device |
US7840388B2 (en) | 2006-06-26 | 2010-11-23 | Yokogawa Electric Corporation | Engineering device |
JP4623380B2 (en) * | 2006-06-26 | 2011-02-02 | 横河電機株式会社 | Engineering equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mavrikios et al. | A prototype virtual reality-based demonstrator for immersive and interactive simulation of welding processes | |
JP5911933B2 (en) | Robot system for setting the robot motion monitoring area | |
JP6234570B2 (en) | Machine tool controller | |
JP5458115B2 (en) | Machining path generation method and apparatus | |
JP6598454B2 (en) | Teaching data creation method, creation device, and creation program | |
JP2015033744A (en) | Robot control device and method | |
WO2019167650A1 (en) | Method and device for generating tool paths | |
Lin et al. | Improving machined surface textures in avoiding five-axis singularities considering tool orientation angle changes | |
JP6816068B2 (en) | Robot program generator | |
US10761523B2 (en) | Method for controlling an automation system | |
KR102014575B1 (en) | Numerical value control system and numerical value control data generation method | |
JP2005227971A (en) | Cycle time arithmetic device | |
JP4052929B2 (en) | 3D shape display device, 3D shape display method, program, and recording medium | |
JP4912766B2 (en) | Screen creation method | |
US10838395B2 (en) | Information processing device | |
JP2017126240A (en) | Three-dimensional model display system and display method | |
JP2020038529A (en) | Program editor, processor, processing method, and computer program | |
JP2017146910A (en) | Data generation program, processing device, and inspection device | |
JP2020097061A (en) | Information processing device, information processing program, and information processing method | |
US10649617B2 (en) | Method and a system for generating a multidimensional graphical user interface | |
JP2022135475A (en) | Data generation apparatus, data generation method, and data generation program | |
JP2022133117A (en) | Information processing device and control method therefor, and program | |
JP3640790B2 (en) | 3D CAD system and computer readable storage medium storing 3D CAD program | |
JPH0553608A (en) | Controller | |
JP6152608B2 (en) | Scale ruler display control device, scale ruler display control method, and program |