JPS6043532B2 - Chain line interpolation method for XY plotter - Google Patents

Chain line interpolation method for XY plotter

Info

Publication number
JPS6043532B2
JPS6043532B2 JP16016580A JP16016580A JPS6043532B2 JP S6043532 B2 JPS6043532 B2 JP S6043532B2 JP 16016580 A JP16016580 A JP 16016580A JP 16016580 A JP16016580 A JP 16016580A JP S6043532 B2 JPS6043532 B2 JP S6043532B2
Authority
JP
Japan
Prior art keywords
chain line
recording
plotter
point
recording section
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.)
Expired
Application number
JP16016580A
Other languages
Japanese (ja)
Other versions
JPS5784313A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric 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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP16016580A priority Critical patent/JPS6043532B2/en
Publication of JPS5784313A publication Critical patent/JPS5784313A/en
Publication of JPS6043532B2 publication Critical patent/JPS6043532B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D9/00Recording measured values
    • G01D9/02Producing one or more recordings of the values of a single variable
    • G01D9/10Producing one or more recordings of the values of a single variable the recording element, e.g. stylus, being controlled in accordance with the variable, and the recording medium, e.g. paper roll, being controlled in accordance with time
    • G01D9/16Producing one or more recordings of the values of a single variable the recording element, e.g. stylus, being controlled in accordance with the variable, and the recording medium, e.g. paper roll, being controlled in accordance with time recording occurring at separated intervals, e.g. by chopper bar

Description

【発明の詳細な説明】 本発明は、XYプロッタにおいて与えられた始点と終点
との間を鎖線パターンで記録するときの鎖線補間方式に
関するものてある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a chain line interpolation method for recording a chain line pattern between a given start point and end point in an XY plotter.

マイクロプロセッサなどでなる演算制御部と、この演算
制御部の出力データに基づきXY記録計の記録具を直線
駆動するためのデータを送出する直線補間器を有し、与
えられた始点と終点の間を所定長の鎖線パターンで補間
記録することのできるXYプロッタがある。
It has an arithmetic control unit consisting of a microprocessor, etc., and a linear interpolator that sends data for linearly driving the recording device of the XY recorder based on the output data of this arithmetic control unit, and has a There is an XY plotter that can interpolate and record in a chain line pattern of a predetermined length.

この種の従来のXYプロッタにおいて、初めの記録区間
の終点が次の記録区間の始点となるような連続記録区間
の場合、初めの記録区間が丁度鎖線パターン長の整数倍
であるときはそのパターン長を変えることなく次の記録
区間連続的に記録することができるが、初めの記録区間
が鎖線パターン長の整数倍でないときは最後の鎖線パタ
ーンが中断され次の記録区間の鎖線パターンと不連続と
なつて、美しい鎖線が記録されないという欠点があつた
。これを解決すぬ方式として、例えば、鎖線パターン長
の整数倍が丁度記録区間の距離に一致するようにパター
ン長を定めて、そのパターン長で記J録する鎖線補間方
式も考えられるが、この場合指定される記録区間ごとに
パターン長が変り、不揃いの鎖線となり不自然さをまぬ
がれ得ないという欠点がある。
In this type of conventional XY plotter, in the case of a continuous recording section where the end point of the first recording section becomes the starting point of the next recording section, if the first recording section is exactly an integral multiple of the chain line pattern length, the pattern The next recording section can be recorded continuously without changing the length, but if the first recording section is not an integral multiple of the chain line pattern length, the last chain line pattern will be interrupted and will be discontinuous with the chain line pattern of the next recording section. However, there was a drawback that beautiful chain lines were not recorded. As a method to solve this problem, for example, a chain line interpolation method can be considered in which the pattern length is determined so that an integer multiple of the chain line pattern length exactly matches the distance of the recording section, and recording is performed using that pattern length. In this case, the pattern length changes for each designated recording section, resulting in irregular chain lines that look unnatural.

本発明の目的は、このような欠点を解晶するもので、記
録区間長に関係なく一定のパターン長で連続した美しい
鎖線を記録し得る鎖線補間方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve these drawbacks, and to provide a chain line interpolation method that can record continuous beautiful chain lines with a constant pattern length regardless of the recording section length.

以下図面を参照して本発明を実施例につき詳述する。第
1図は本発明の方式を実施するためのXYプロッタの要
部構成図である。第1図において、10は演算制御部、
20は直線補間器、30はXY記録計である。演算制御
部10は、演算、記憶、制御の機能を有するもので、マ
イクロプロセッサを用いるのが好適である。
The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram of the main parts of an XY plotter for implementing the method of the present invention. In FIG. 1, 10 is an arithmetic control unit;
20 is a linear interpolator, and 30 is an XY recorder. The arithmetic control section 10 has arithmetic, storage, and control functions, and is preferably a microprocessor.

この演算制御部10には記録区間の始点及び終点の座標
データが与えられる。そして、このデータに基づき、定
められたパターン長の鎖線を記録するために必要なデー
タを演算により算出し、順次直線補間器20へ送出する
。直線補間器20は、このデータに応じて直線記録を行
なうためのX軸及びY軸信号を発生するものである。な
お、直線補間器20は必ずしも演算制御部10と別個の
構成とする必要はなく、演算制御部10と一体に構成し
てもよく、又はこれと同等の機能を演算制御部10に持
たせることによつて省略することもできる。XY記録計
30は、x軸及びY軸信号に応じてX軸及びY軸方向に
移動する記録具を有する従来公知のXY記録計であり、
演算制御部10からの記録具のアップ・ダウン信号によ
つて前記記録具のアップ・ダウンが制御されるようにな
つている。
The arithmetic and control section 10 is given coordinate data of the starting point and ending point of the recording section. Then, based on this data, data necessary for recording a chain line of a predetermined pattern length is calculated and sequentially sent to the linear interpolator 20. The linear interpolator 20 generates X-axis and Y-axis signals for performing linear recording according to this data. Note that the linear interpolator 20 does not necessarily have to be configured separately from the calculation control unit 10, and may be configured integrally with the calculation control unit 10, or the calculation control unit 10 may have an equivalent function. It can also be omitted. The XY recorder 30 is a conventionally known XY recorder having a recording device that moves in the X-axis and Y-axis directions according to the x-axis and Y-axis signals,
The up/down of the recording implement is controlled by the up/down signal of the recording implement from the arithmetic control section 10.

このような構成における本発明の動作を次に説明する。The operation of the present invention in such a configuration will be explained next.

説明を簡潔にするために第2図に示すように3点すなわ
ちA(Xl,yl)・B(X2,y2)・C(X3,y
3)の間を直線て鎖線補間する場合を例にとつて説明す
る。まず、定められた鎖線パターンは、実線部の長さが
11、空白部の長さが12であるものとする。さて、A
点からB点までの離間距離LABはであり、このとき実
線部11のX成分をDxl,y成分をDylとするとで
ある。
To simplify the explanation, three points, namely A(Xl, yl), B(X2, y2), C(X3, y
An example of a case where chain line interpolation is performed using a straight line between 3) will be explained. First, it is assumed that the length of the solid line part of the determined chain line pattern is 11 and the length of the blank part is 12. Now, A
The distance LAB from the point to the point B is, and in this case, let the X component of the solid line portion 11 be Dxl, and the y component be Dyl.

演算制御部10はこれらの移動距離を演算し、その演算
データを直線補間器20に与える。直線補間器20はこ
のデータに基づきX軸及びY軸信号を発生する。このと
き、ペン・ダウン信号も共にXY記録計30に与えられ
、これにより最初の実線部11が記録される。同様に空
白部12についてもそのX成分DOl,y成分D,lが
次式によつて演算される。このデータに基づく直線補間
器20からの信号とペン・アップ信号とによりXY記録
計30の記録具は最初の空白部12だけ移動する。
The calculation control unit 10 calculates these moving distances and provides the calculated data to the linear interpolator 20. Linear interpolator 20 generates X-axis and Y-axis signals based on this data. At this time, the pen down signal is also given to the XY recorder 30, thereby recording the first solid line portion 11. Similarly, for the blank area 12, its X component DOl and y components D and l are calculated by the following equation. Based on this data, the recording device of the XY recorder 30 is moved by the first blank portion 12 by the signal from the linear interpolator 20 and the pen up signal.

2番目以降の鎖線も上述と同様な作動により、記録して
ゆく。
The second and subsequent chain lines are also recorded by the same operation as described above.

このようにして鎖線補間が進み、ついに鎖線記録がB点
の近傍まで来て、しかももう1回鎖線パターン詰録をし
た場合にはB点を越えることになるような場合に限り、
次の補正を行なう。すなわち、まずB点まで鎖線記録を
進める(空白部を含んでもよい)。B点を越える部分の
鎖線長さ(鎖線パターンの書き残し量)しを記憶してお
き、次にB点からC点までの区間LBOを前述と同様に
して鎖線記録するが、ます前回の残留長さしを記録した
後続いて所定の鎖線パターンを順次記録するように補正
する。このようにして、鎖線パターン長を変えることな
く折れ曲り部分を連続的に直線補間して滑らかな美しい
鎖線記録を得ることができる。
As the chain line interpolation progresses in this way, only when the chain line recording finally comes close to point B, and if the chain line pattern is recorded one more time, it will exceed point B.
Perform the following corrections. That is, first, the chain line recording is advanced to point B (a blank space may be included). The length of the chain line beyond point B (unwritten amount of the chain line pattern) is memorized, and then the section LBO from point B to point C is recorded as a chain line in the same way as above, but the remaining length of the previous time is After recording the indentation, correction is made so that a predetermined chain line pattern is sequentially recorded. In this way, a smooth and beautiful chain line record can be obtained by continuously linearly interpolating the bent portion without changing the length of the chain line pattern.

なお、折れ曲り点が空白部に当るときは第3図に示すよ
うにドットをプロットして折れ曲り点を〔示すこともで
きる。
When the bending point falls on a blank space, the bending point can also be indicated by plotting dots as shown in FIG.

以上は直線て補間する場合について説明したが、2点A
B間を円弧で鎖線補間する場合について次に説明する。
The above explained the case of interpolation using a straight line, but two points A
Next, a case where chain line interpolation is performed between B using circular arcs will be described.

XYプロッタにおいては円弧といえども直線補間を細分
化したものに他ならない門から、短かい2点間の直線補
間の集合が円弧となる。したがつて前述の直線補間の方
式により円弧を滑らかな鎖線で描くことができる。なお
、鎖線の種類は実施例に限るものではなく、その他一点
鎖線などの各種鎖線も同様に適用)することができる。
In an XY plotter, a circular arc is nothing but a subdivision of linear interpolation, and a set of linear interpolations between two short points becomes a circular arc. Therefore, by using the linear interpolation method described above, the arc can be drawn as a smooth chain line. Note that the type of chain line is not limited to that in the embodiment, and other various chain lines such as a dashed-dotted line may also be used.

以上説明したように、本発明によれば、記録区間を指定
された関数関係の軌跡となるように、定められた鎖線の
線種を含む直線補間により、不連続となることなく滑ら
かで美しい鎖線を記録する7ことができる。
As explained above, according to the present invention, a smooth and beautiful chain line without discontinuity is performed by linear interpolation including a predetermined line type of the chain line so that the recording section becomes a locus of a specified functional relationship. 7 can be recorded.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の方式を実施するためのXYプロッタの
要部構成図、第2図は本発明の詳細な説明するための図
、第3図は鎖線記録の一例を示すフ図である。 10・・・演算制御部、20・・・直線補間器、30・
・・XY記録計。
FIG. 1 is a diagram showing the main parts of an XY plotter for carrying out the method of the present invention, FIG. 2 is a diagram for explaining the invention in detail, and FIG. 3 is a diagram showing an example of chain line recording. . 10... Arithmetic control unit, 20... Linear interpolator, 30...
...XY recorder.

Claims (1)

【特許請求の範囲】 1 入力データに基づき所定の演算を行なう演算制御部
と、この演算制御部のデータに基づきXY記録計の記録
具を直線駆動するためのデータを送出する直線補間器を
備え、与えられた始点と終点の間を所定長の鎖線パター
ンで補間記録することのできるXYプロッタにおいて、
初めの記録区間の終点が次の記録区間の始点となるよう
な場合に、初めの記録区間における最後の鎖線パターン
を中断することなく次の記録区間に延長して記録するよ
うに補正することを特徴とするXYプロッタの鎖線補間
方式。 2 記録区間の折れ曲り点が鎖線パターンの空白部に該
当するときは、ドット記録により折れ曲り点を描くこと
を特徴とする特許請求の範囲第1項記載のXYプロッタ
の鎖線補間方式。
[Scope of Claims] 1. Includes an arithmetic control section that performs predetermined arithmetic operations based on input data, and a linear interpolator that sends data for linearly driving a recording device of an XY recorder based on the data of this arithmetic control section. , an XY plotter that can interpolate and record a chain line pattern of a predetermined length between a given starting point and ending point.
When the end point of the first recording section becomes the starting point of the next recording section, correction is made so that the last chain line pattern in the first recording section is extended to the next recording section without interruption. The feature is the chain line interpolation method of the XY plotter. 2. A chain line interpolation method for an XY plotter according to claim 1, characterized in that when a bending point of a recording section corresponds to a blank part of a chain line pattern, the bending point is drawn by dot recording.
JP16016580A 1980-11-14 1980-11-14 Chain line interpolation method for XY plotter Expired JPS6043532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16016580A JPS6043532B2 (en) 1980-11-14 1980-11-14 Chain line interpolation method for XY plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16016580A JPS6043532B2 (en) 1980-11-14 1980-11-14 Chain line interpolation method for XY plotter

Publications (2)

Publication Number Publication Date
JPS5784313A JPS5784313A (en) 1982-05-26
JPS6043532B2 true JPS6043532B2 (en) 1985-09-28

Family

ID=15709258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16016580A Expired JPS6043532B2 (en) 1980-11-14 1980-11-14 Chain line interpolation method for XY plotter

Country Status (1)

Country Link
JP (1) JPS6043532B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157977A (en) * 1984-12-28 1986-07-17 Photo Composing Mach Mfg Co Ltd Picture data creating method
JPH01100421A (en) * 1987-10-13 1989-04-18 Hioki Ee Corp Line interpolation for x-y recorder
JPH03286269A (en) * 1990-03-30 1991-12-17 Seiko Instr Inc Picture display device
JP5721641B2 (en) * 2012-01-25 2015-05-20 株式会社ニレコ Marking device

Also Published As

Publication number Publication date
JPS5784313A (en) 1982-05-26

Similar Documents

Publication Publication Date Title
JPS5971515A (en) Graphic display device
US5373439A (en) Method for controlling the traveling path of a robot during acceleration and deceleration
JPH0969006A (en) Curve interpolating method for speed control at connecting operation of robot
US20060089748A1 (en) Method and device to generate position profile in motion controller
JPS6043532B2 (en) Chain line interpolation method for XY plotter
JPS60205580A (en) Animation processing
US5206813A (en) Graphic display method for numerical controller
JPH0991020A (en) Method for controlling teaching robot
JPH055754A (en) Waveform displaying method in waveform recorder
JPS59205601A (en) Method and device for safe operation control of industrial robot performing cooperating working
JP2661554B2 (en) Correction method of plate material processing figure data
CN114102596B (en) Motion control method and device of motion mechanism, electronic equipment and medium
JPS6043533B2 (en) Chain line interpolation method for XY plotter
JP3065025B2 (en) Information processing device
JPH0643928A (en) Path interpolating method for robot
JPH035406Y2 (en)
JPS6234348Y2 (en)
JP2621893B2 (en) Shape Correction Method for Solid Conductor Data in Printed Circuit Board CAD System
JPS60142706A (en) Coordinate system setting device in numerical controller
JPH0562367B2 (en)
JPS63100507A (en) Numerical controller
JPH01191207A (en) Function generating system in numerical controller
JPS60107105A (en) Erasion method of circular arc shift instruction sentence
JP2871991B2 (en) Processing path generator
JPS5839920Y2 (en) Discontinuous line drawing device for pen recorder