JPH08128860A - Recorder printing method and this recorder - Google Patents
Recorder printing method and this recorderInfo
- Publication number
- JPH08128860A JPH08128860A JP26850594A JP26850594A JPH08128860A JP H08128860 A JPH08128860 A JP H08128860A JP 26850594 A JP26850594 A JP 26850594A JP 26850594 A JP26850594 A JP 26850594A JP H08128860 A JPH08128860 A JP H08128860A
- Authority
- JP
- Japan
- Prior art keywords
- character
- measured value
- line memory
- bit
- line
- 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
Landscapes
- Recording Measured Values (AREA)
Abstract
(57)【要約】
【目的】印字開始時に印字位置を記録点から離して文字
に記録点が重ならないようにする。
【構成】記録紙送り機構により定速で送られる記録紙1
に直交して常に一定部を往復するインク噴射部3、およ
び、文字メモリ16,ラインメモリ13,ラインメモリ
カウンタ14がある記録計10において、CPU12の
働きにより、ステップS1で測定値が目盛り幅の右か左
かを判定し、ステップS2とステップS3で文字に記録
点が重ならない所を印字範囲と定め、ステップS6で測
定値が印字範囲に侵入した際はステップS7で印字範囲
を最初から定めさせる方法とこの記録計。
(57) [Summary] [Purpose] At the start of printing, move the printing position away from the printing point so that the printing point does not overlap the characters. [Structure] Recording paper 1 fed at a constant speed by a recording paper feeding mechanism
In the recorder 10 having the ink ejecting section 3 which always reciprocates a fixed portion at right angles to, and the character memory 16, the line memory 13, and the line memory counter 14, the CPU 12 functions to make the measured value have the scale width in step S1. It is determined whether it is right or left. In steps S2 and S3, the print area is defined as a place where the recording points do not overlap the character. When the measured value enters the print area in step S6, the print area is defined from the beginning in step S7. How to make this recorder.
Description
【0001】[0001]
【産業上の利用分野】この発明は、アナログ測定値を時
間の経過に従って用紙に点で記録する記録計に情報も印
字させ、情報と記録点が重ならないようにする方法とこ
の記録計に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for printing information on a recorder which records analog measurement values on a sheet as time passes so that the information and the recording point do not overlap with each other, and to the recorder.
【0002】[0002]
【従来の技術】記録計は、あらかじめ定めたアナログ入
力信号の1つの値を、0〜 100%の目盛り線がある記録
紙の相当位置にインクで記録させ、時間の経過による変
化を一覧できるようにする。最近の電子技術の発展によ
り記録計内に中央処理装置(以下、CPUと略す)を内
蔵させ、日付けと時刻,記録しているプロセス変量名,
警報受信のプロセス情報などを記録紙にメッセージとし
印字できる方式が普及しつつある。2. Description of the Related Art A recorder can record one value of a predetermined analog input signal with ink at a corresponding position on a recording paper having a scale line of 0 to 100% so that the change over time can be viewed. To Due to the recent development of electronic technology, a central processing unit (hereinafter abbreviated as CPU) is built in the recorder, and the date and time, the recorded process variable name,
A method of printing process information of alarm reception as a message on a recording sheet is becoming widespread.
【0003】この種の記録計の機構主要部の構成図を図
4に示す。図示してない回転軸の両端に等間隔で固定さ
れた数本のピン2が、目盛りである0%線1aと 100%
線1b付きの記録紙1を記録紙移動方向Aへ定周期で間
歇移動する。一方、構造体4に固定したパルスモータ5
は停止状態から1パルス受けると単位角度回転して停止
する。パルスモータ軸の回転方向Bはベルト6を介して
インク噴射部3を記録紙1の送りと直交して記録紙の0
〜 100%を常に往復する方向Cに移動させる。そして、
インク噴射部3は図7で説明する噴射信号に従ってイン
クを記録紙に噴射して記録点とし、このつながりを記録
線3aとする。FIG. 4 is a block diagram showing the main parts of the mechanism of this type of recorder. Several pins 2 fixed at equal intervals on both ends of the rotating shaft (not shown) are used for the 0% line 1a and 100%
The recording paper 1 with the line 1b is intermittently moved in the recording paper moving direction A at regular intervals. On the other hand, the pulse motor 5 fixed to the structure 4
When it receives one pulse from the stopped state, it rotates by a unit angle and stops. The direction B of rotation of the pulse motor shaft is perpendicular to the feeding of the recording paper 1 through the ink jetting unit 3 via the belt 6, and
~ 100% always move in reciprocating direction C. And
The ink ejecting unit 3 ejects ink onto a recording sheet in accordance with the ejection signal described with reference to FIG. 7 to form a recording point, and this connection is referred to as a recording line 3a.
【0004】図5は、記録計10の主要ブロック図であ
る。アナログ入力信号21はアナログディジタル変換部
11でCPU12が処理できる測定値と呼ぶディジタル
信号に変換される。この測定値をCPUが内部データバ
ス22により読み取り、記録紙の0〜 100%に相当する
アドレスが有る1ラインのラインメモリ13内における
該当アドレスの記憶セルのビットを0から1にかえる。
また、ラインメモリカウンタ14,インク噴射制御部1
5は図6で説明するようにCPU12によってラインメモ
リ13のアドレス順にビット値を判別し、ビット1に従っ
てインク噴射部からインク1点を噴射させる。FIG. 5 is a main block diagram of the recorder 10 . The analog input signal 21 is converted into a digital signal called a measured value which can be processed by the CPU 12 in the analog-digital converter 11. The CPU reads this measured value through the internal data bus 22 and changes the bit of the storage cell of the corresponding address in the line memory 13 of one line having an address corresponding to 0 to 100% of the recording paper from 0 to 1.
In addition, the line memory counter 14 and the ink ejection control unit 1
5, the CPU 12 discriminates the bit value by the CPU 12 in the order of the address of the line memory 13, and ejects one ink point from the ink ejecting unit in accordance with the bit 1.
【0005】一方、文字メモリ16は、あらかじめ定め
た文字でJIS X 0208の情報交換用漢字符号に
相当する文字区点コードを記憶させておく。また、イン
ターフェース部17は外部伝送信号23を受けて記録計
の内部データバス22と接続ができ、CPU12に印字指令
を送ることができる。CPU12は自体から発した印字指
令かインターフェース部17からの印字指令によって文字
メモリ16から指定した文字区点コードをCPU12に読み
出し、文字区点コードから変換されドット文字を構成す
るドット1ライン分をラインメモリ13内の定めた印字範
囲に割付ける。この時、どこにも文字が表示されないの
で、図6で説明する。On the other hand, the character memory 16 stores a character division point code corresponding to JIS X 0208 Kanji code for information exchange, which is a predetermined character. Further, the interface section 17 can receive the external transmission signal 23 and can be connected to the internal data bus 22 of the recorder, and can send a print command to the CPU 12. The CPU 12 reads the character division point code specified from the character memory 16 to the CPU 12 in response to a print instruction issued from itself or a print instruction from the interface unit 17, and converts one line from one character division point code to form a dot character. Allocates to the specified print range in memory 13. At this time, since no character is displayed anywhere, it will be described with reference to FIG.
【0006】図6は5つの部分の関係を示すメッセージ
のドットデータによるラインメモリへの割込み例図で、
各部は上からメッセージ内容のイメージ図,ドットマト
リックス図,反転したドットマトリックス図,ドットマ
トリックスの10ライン目のドットの並び図,および、ラ
インメモリである。一番目のメッセージの例は、アナロ
グ入力信号があらかじめ定めた範囲外になったことをC
PUが検出して、CPU内で10文字分あらかじめ確保し
た領域に「イジ ョウ ハッセイ」という内容を文字メ
モリから転送したことを示すイメージ図である。その1
文字毎は二番目のドットマトリックス図のようになるデ
ータである。即ち、1つの文字は、ここでは縦横各10区
分し、計 100ドットで1文字を表現するためにドット文
字部のビットを1(図では斜線部)にし、ドット非文字
部のビットを0として「イ」と読み取れるデータで構成
している。実際のデータは図の座標を(p,q)とする
と(0,0),(0,1),(0,2),〜(0,9),(1,0),(1,1),〜(9,8),
(9,9) の順番に0か1が格納されている。FIG. 6 is a diagram showing an example of interrupting the line memory by dot data of a message indicating the relationship between five parts.
Each part is an image diagram of the message contents, a dot matrix diagram, an inverted dot matrix diagram, a dot array diagram of the 10th line of the dot matrix, and a line memory from the top. An example of the first message is C that the analog input signal is out of the predetermined range.
It is an image figure which shows that PU detected and transferred the content of "Issue Hussey" from the character memory to the area | region previously reserved for 10 characters in CPU. Part 1
Each character is data as shown in the second dot matrix diagram. That is, one character is divided into 10 vertically and horizontally here, and in order to express 1 character with a total of 100 dots, the bit of the dot character part is set to 1 (hatched part in the figure) and the bit of the dot non-character part is set to 0. It consists of data that can be read as "a". Actual data is (0,0), (0,1), (0,2), ~ (0,9), (1,0), (1,1) ), ~ (9,8),
0 or 1 is stored in the order of (9,9).
【0007】そして、図6の三番目はこのドットマトリ
ックスを反転させたものである。反転させる理由は、図
6の五番目のラインメモリは右方になるに従いアドレス
が増して、これに応ずる記録紙上の目盛りは図4のよう
に左方になるに従い値が増加するので、記録紙に合わせ
るため文字を反転させる必要が有る。そして、このドッ
トマトリックスの10ライン目におけるビットの並び図で
この図の範囲では左から5つ目と6つ目のビットを1と
し、他は0という状態である。ここで、上から10ライ
ン目を最初に扱う理由は、図4における記録紙1を正面
から見て文字を横書きにするためである。The third of FIG. 6 is the dot matrix inverted. The reason for reversing is that the address of the fifth line memory in FIG. 6 increases as it moves to the right and the corresponding scale on the recording paper increases as it moves to the left as shown in FIG. It is necessary to invert the characters to match with. In the bit arrangement diagram on the 10th line of this dot matrix, the fifth and sixth bits from the left are set to 1 and the other bits are set to 0 in the range of this figure. Here, the reason why the 10th line from the top is treated first is that the characters are written horizontally when the recording paper 1 in FIG. 4 is viewed from the front.
【0008】更に、五番目のラインメモリ内への割付け
図は、この10ドットマトリックス図の最下段の計 100ド
ットをラインメモリの印字範囲、この例では、 100個の
連続アドレスの内容をアドレス1850から1949に、即ち、
反転したため最後の10ドットを1940から1949に割付
け、ドットのビット1をそのまま1として他は0のまま
とする。この場合、記録幅を 200mmとし、図4で説明し
た値を用いると文字の最長は記録紙上で10mmとなり、文
字の幅を倍にしたい場合は、ラインメモリへの割付けを
倍にする。また、文字の高さは記録紙速度とインク噴射
部の往復周期により決定されるが、適度な高さにするよ
う、後述する図7のステップS15の「ドットマトリッ
クスの一ラインのビットをラインメモリの印字範囲に入
れる」の実行周期を調整する。Furthermore, the fifth allocation diagram in the line memory is such that the total 100 dots at the bottom of this 10-dot matrix diagram is the print range of the line memory, and in this example, the contents of 100 consecutive addresses are set to the address 1850. From 1949, that is,
Since it was inverted, the last 10 dots are assigned from 1940 to 1949, and bit 1 of the dot is set to 1 as it is and 0 is left for others. In this case, if the recording width is 200 mm and the value explained in FIG. 4 is used, the longest character becomes 10 mm on the recording paper, and if the character width is to be doubled, the allocation to the line memory is doubled. Further, the height of the character is determined by the recording paper speed and the reciprocating cycle of the ink ejecting unit, but in order to make it an appropriate height, "a bit of one line of the dot matrix is stored in the line memory of Adjust the execution cycle of "Enter into print range".
【0009】この図7はラインメモリ内の測定値と印字
範囲のビット1によって記録紙の1点にインクを噴射さ
せる流れ図で、流れはすべてCPUの働きによる。図中
のYはYESの、NはNOの略記である。ステップS2
1でラインメモリの全ビットを0にし、ステップS22
でインク噴射部を0%位置に戻し、ステップS23でラ
インメモリカウンタの値xを0にしてからステップS2
4でラインメモリの測定値のアドレスのビットを1にす
る。ステップS25は図6の四番目を五番目に移す処理
を記述したもので、ドットデータのビット1をラインメ
モリの印字範囲に入れる。FIG. 7 is a flow chart in which the ink is ejected to one point on the recording paper by the measured value in the line memory and bit 1 of the print range, and the flow is entirely by the action of the CPU. In the figure, Y is an abbreviation for YES and N is an abbreviation for NO. Step S2
All bits of the line memory are set to 0 by 1 and step S22
To return the ink ejecting unit to the 0% position, set the value x of the line memory counter to 0 in step S23, and then execute step S2.
At 4, the bit of the address of the measured value of the line memory is set to 1. Step S25 describes the process of moving the fourth line to the fifth line in FIG. 6, and puts bit 1 of the dot data into the print range of the line memory.
【0010】そして、ステップS26でラインメモリの
アドレスx内の値が1であれば、ステップS27でイン
ク噴射制御部に信号を送りインク噴射部からインクを1
点噴射させて、0なら噴射信号を送らない。ステップS
28でパルスモータに1パルス送ってインク噴射部を進
ませ、ステップS29でxに1を加えて、ステップS3
0でxがラインメモリの最終アドレスの値内ならステッ
プS26に戻し、最終アドレスの値を超えたら終了させ
る。If the value in the address x of the line memory is 1 in step S26, a signal is sent to the ink ejection control unit in step S27 to set the ink ejection unit to 1 ink.
Do the point injection and if 0, do not send the injection signal. Step S
In step 28, one pulse is sent to the pulse motor to advance the ink ejecting unit, and in step S29, 1 is added to x and step S3 is performed.
If x is 0 and is within the value of the final address of the line memory, the process returns to step S26, and if it exceeds the value of the final address, the process ends.
【0011】この処理が終了すると、図6の三番目のド
ットマトリックス図における上から9ライン目を含むラ
インメモリの内容の処理に移って同様に終了させ、順次
この処理により測定値も記録しながら印字を終了させ、
次の印字指令が来るまではラインメモリの測定値のアド
レスに従ってアナログ入力信号を記録させ続ける。数値
で簡単に説明すると、インク噴射部が記録紙の0〜 100
%を移動するのにパルスモータがNパルス必要な場合
は、パルスモータの停止個所数はN+1であり、また、
Nの逆数を分解能と呼び、たとえば、分解能を0.05%と
決めた場合、0〜 100%の記録幅をインク噴射部が移動
するためにパルスモータは2001個所の停止位置が必要で
あるから、ラインメモリをその停止位置数分の2001アド
レスを確保する。測定値が60%の記録の場合は、ライ
ンメモリの1201ビット目のアドレス1200のビットを0か
ら1にかえて、インク噴射部が0%から 100%まで順次
に移動する間に、アドレス1200内のビット1に従って記
録紙の60%部にインクを1点噴射する。When this process is completed, the process moves to the process of the contents of the line memory including the 9th line from the top in the third dot matrix diagram of FIG. 6 and is similarly ended, while the measured values are also recorded by this process. Finish printing,
Until the next print command comes, the analog input signal is continuously recorded according to the measured value address in the line memory. The numerical explanation is as follows.
If the pulse motor requires N pulses to move%, the number of stop points of the pulse motor is N + 1, and
The reciprocal of N is called the resolution. For example, if the resolution is set to 0.05%, the pulse motor requires 2001 stop positions in order to move the recording width of 0 to 100%. Allocate 2001 addresses in the memory for the number of stop positions. When recording the measured value at 60%, change the bit of the address 1200 of the 1201th bit of the line memory from 0 to 1, and while the ink ejecting unit moves sequentially from 0% to 100%, the address 1200 1 point of ink is ejected onto 60% of the recording paper according to the bit 1 of.
【0012】[0012]
【発明が解決しようとする課題】従来の記録計は、ライ
ンメモリの測定値のアドレスと無関係に文字を一定範囲
に印字したため、記録点が文字に重なることがあって記
録点を正確に測定できないという欠点が生じていた。こ
の発明の課題は、記録点が文字に重ならないような記録
計の印字方法とこの記録計を提供することである。In the conventional recorder, since the characters are printed in a certain range regardless of the address of the measured value of the line memory, the recording points may overlap with the characters and the recording points cannot be accurately measured. There was a drawback. An object of the present invention is to provide a printing method of a recorder and a recorder in which recording points do not overlap characters.
【0013】[0013]
【課題を解決するための手段】この発明は、アナログ入
力信号をディジタル値である測定値に変換するアナログ
ディジタル変換部と、定周期で間歇移動する目盛り線付
き記録紙と、この記録紙の移動方向と直交して目盛り線
の0〜 100%間を常に往復してインクを噴射するインク
噴射部と、メッセージとして印字する文字の文字区点コ
ードを格納する文字メモリと、この系の全体を制御する
と共に、文字区点コードをドットマトリックスに変換で
きるCPUと、記録紙の0〜 100%に相当するアドレス
が有って測定値とドットマトリックスのアドレス毎のビ
ットをインクの噴射信号とする1ラインのラインメモリ
と、から構成する記録計において、CPUは、記録紙の
送りと同期させて定周期毎にラインメモリ内の測定値に
相当するアドレスのビットを0から1とすると共に、ラ
インメモリを二等分し、測定値のビット1が有る領域と
反対側の領域端部からメッセージ分を印字終了まで印字
範囲とし、文字メモリから読み出して変換したドットマ
トリックスを反転させた文字部のドットをビット1とし
非文字部のドットをビット0とし、1ライン毎をライン
メモリの印字範囲に送って記録と印字を開始させ、印字
中に測定値が印字範囲に侵入した際は印字範囲を最初か
ら定めさせる方法である。SUMMARY OF THE INVENTION The present invention is directed to an analog-to-digital converter for converting an analog input signal into a measured value which is a digital value, a recording paper with a graduation line which moves intermittently in a fixed cycle, and a movement of this recording paper. Controls the entire system, including an ink ejection unit that always reciprocates between 0 and 100% of the scale line to eject ink, a character memory that stores the character delimiter code of the character to be printed as a message, and the entire system. In addition, there is a CPU that can convert the character division point code into a dot matrix, and there is an address corresponding to 0 to 100% of the recording paper, and one line that uses the measured value and each bit of the dot matrix address as an ink ejection signal. In a recorder composed of the line memory and the line memory, the CPU synchronizes with the feeding of the recording paper and stores the address corresponding to the measured value in the line memory at regular intervals. Set the value from 0 to 1 and divide the line memory into two equal parts, and set the message range from the end of the area opposite to the area where bit 1 of the measurement value is present to the print end, read from the character memory and convert. The dot of the character part, which is the inverted dot matrix, is set to bit 1, the dot of the non-character part is set to bit 0, and each line is sent to the print range of the line memory to start recording and printing. When entering the print range, the print range is defined from the beginning.
【0014】また、この発明は、この方法に更に印字範
囲カウンタを設け、印字範囲カウンタの値yを0と初期
設定して、yと測定値のラインメモリ内のアドレスの差
があらかじめ定めた間隙以下であればyに1を順次に加
え、その差があらかじめ定めた間隙以上であれば、ライ
ンメモリ内にアドレスyで始まる領域を印字終了まで印
字範囲とさせる方法である。According to the present invention, a print range counter is further provided in this method, the value y of the print range counter is initialized to 0, and the gap between the address of y and the measured value in the line memory is predetermined. In the following case, 1 is sequentially added to y, and if the difference is equal to or larger than the predetermined gap, the area in the line memory starting from the address y is set as the printing range until the end of printing.
【0015】更に、この発明は、アナログ入力信号をデ
ィジタル値である測定値に変換するアナログディジタル
変換部と、定周期で間歇移動する目盛り線付き記録紙
と、この記録紙の移動方向と直交して目盛り線の0〜 1
00%間を常に往復してインクを噴射するインク噴射部
と、メッセージとして印字する文字の文字区点コードを
格納する文字メモリと、この系の全体を制御すると共
に、文字区点コードをドットマトリックスに変換できる
CPUと、記録紙の0〜 100%に相当するアドレスが有
って測定値とドットマトリックスのアドレス毎のビット
をインクの噴射信号とする1ラインのラインメモリと、
から構成する記録計において、CPUは、記録紙の送り
と同期させて定周期毎にラインメモリ内の測定値に相当
するアドレスのビットを0から1とすると共に、ライン
メモリを二等分し、測定値のビット1が有る領域と反対
側の領域端部からメッセージ分を印字終了まで印字範囲
とし、文字メモリから読み出して変換したドットマトリ
ックスを反転させた文字部のドットをビット1とし非文
字部のドットをビット0とし、1ライン毎をラインメモ
リの印字範囲に送って記録と印字を開始させ、印字中に
測定値が印字範囲に侵入した際は印字範囲を最初から定
めさせる記録計である。Further, according to the present invention, an analog-to-digital converter for converting an analog input signal into a measured value which is a digital value, a recording paper with a scale line which intermittently moves at a fixed period, and a direction orthogonal to the moving direction of the recording paper. 0 to 1 on the scale line
Ink ejection part that constantly reciprocates between 00% and ejects ink, character memory that stores the character delimiter code of the character to be printed as a message, and the entire system is controlled, and the character delimiter code is a dot matrix. A CPU that can be converted to, a line memory of one line that has an address corresponding to 0 to 100% of the recording paper, and uses the measured value and each bit of the address of the dot matrix as an ink ejection signal,
In the recorder configured by, the CPU sets the bit of the address corresponding to the measured value in the line memory from 0 to 1 at regular intervals in synchronization with the feeding of the recording paper, and divides the line memory into two equal parts. The message range from the end of the area opposite to the area with bit 1 of the measured value is the print range until the end of printing, and the dot in the character part obtained by inverting the dot matrix read and converted from the character memory is set as bit 1 and the non-character part This is a recorder that sets the dot of 0 to bit 0 and sends each line to the print range of the line memory to start recording and printing, and when the measured value enters the print range during printing, the print range is defined from the beginning. .
【0016】[0016]
【作用】この発明によれば、CPUの働きにより、印字
の直前の測定値が目盛り幅の中央から右か左かを判定
し、測定値が存在しない半分の端に印字させ、また、C
PUの働きにより、印字の直前の測定値と印字範囲カウ
ンタの差があらかじめ定めた間隙以上であれば、その印
字範囲に印字させて、測定値が印字範囲に侵入した際は
印字範囲の決定から繰り返させる方法と記録計である。According to the present invention, by the action of the CPU, it is determined whether the measured value immediately before printing is from the center of the scale width to the right or left, and the printed value is printed at the half edge where the measured value does not exist.
If the difference between the measured value immediately before printing and the print range counter is equal to or greater than the predetermined gap due to the action of PU, the print range is printed, and when the measured value enters the print range, the print range is determined. It is a method to repeat and a recorder.
【0017】[0017]
【実施例】この発明に係る文字の印字方法の実施例の流
れ図を図1に示す。記録計の主要ブロック図は図5であ
り、かつ、数値例は図6の説明例と同じ値にする。記録
点の位置にかかわらず文字との間隙をできるだけ大にす
るためCPUの働きで次記のようにする。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A flow chart of an embodiment of a character printing method according to the present invention is shown in FIG. The main block diagram of the recorder is shown in FIG. 5, and the numerical examples have the same values as in the explanation example of FIG. Regardless of the position of the recording point, the CPU functions as follows to maximize the gap between the characters.
【0018】ステップS1でラインメモリの測定値のア
ドレスがラインメモリのアドレスの50%に相当するアド
レス1000以下か、それを超えるアドレスかを決める。も
し、50%以下ならステップS2で印字範囲の始端をライ
ンメモリの終端から1ドットデータ分の先端と、また、
50%を超えるならステップS3で印字範囲の始端をライ
ンメモリのアドレス始端と合わせてからステップS4で
ラインメモリのアドレス0から終端アドレスまで順にビ
ット1に従ってインクを噴射させる。ステップS5にて
印字終了か判定し、終了してなければステップS6で次
の測定値がラインメモリの印字範囲に侵入したか判定
し、侵入した場合はステップS7にて印字を中止し、印
字位置の決定から繰返させ、侵入しなければステップS
4から繰返させて印字を終了させる。In step S1, it is determined whether the address of the measured value of the line memory is equal to or less than 1000, which corresponds to 50% of the address of the line memory, or exceeds the address. If it is 50% or less, in step S2, the start end of the printing range is the end of the line memory from the end of 1 dot data,
If it exceeds 50%, the start end of the printing range is aligned with the start end of the address of the line memory in step S3, and then the ink is ejected in order from the address 0 to the end address of the line memory according to bit 1 in step S4. In step S5, it is determined whether printing is completed. If not, it is determined in step S6 whether the next measured value has entered the print range of the line memory. If it has entered, printing is stopped in step S7 and the print position is determined. Repeat from the decision of step S
Repeat from 4 to finish printing.
【0019】この流れ図によればラインメモリ内の測定
値のアドレスによらず、測定値のアドレスと印字範囲の
間隙が「(ラインメモリの50%アドレス)−(ドットデ
ータのドット数)」以上に確保される。また、この発明
に係る主要ブロック図を図2に示す。これは図5の記録
計10の主要ブロック図に新たに印字範囲カウンタ18を
設けた記録計10aの主要ブロック図で、この印字範囲
カウンタ18の働きを含めて図3にて説明する。According to this flow chart, the gap between the measured value address and the print range is "(50% address of line memory)-(number of dots of dot data)" or more, irrespective of the measured value address in the line memory. Reserved. A main block diagram according to the present invention is shown in FIG. This is a main block diagram of the recorder 10a in which a print range counter 18 is newly added to the main block diagram of the recorder 10 of FIG. 5, and the operation of the print range counter 18 will be described with reference to FIG.
【0020】この図3は、従来品に印字範囲カウンタを
設けたこの発明の実施例を示す流れ図で、働きはすべて
CPUの働きによる。また、ここでは、記録点と文字の
最小間隙をこの記録計がとりうる最大値になるように説
明する。ステップS11にて印字範囲カウンタの値yを
0にする。ラインメモリの測定値のアドレスにかかわら
ず、印字範囲との間隙は必ず「(ラインメモリの50%ア
ドレス)−(ドットデータのドット数)」以上離れてい
る所が有るために、まず、ステップS12で印字範囲カ
ウンタの値yと測定値のアドレスの差がラインメモリの
50%のアドレス以上か判定する。もし、その値が未満
であれば、ステップS13にてyに1を順次加えてゆ
き、ステップS14でyと測定値のアドレスの差を
「(ラインメモリのアドレスの50%)−(ドットデータ
のドット数)」にする。ここで、ステップS12とステッ
プS14の判定値が異なる理由は、記録点と横書きの文字
の間隙を常に一定値にさせるためである。図6の数値例
で述べるとラインメモリのビット数が2001ケ有り、ドッ
トデータの1ラインを 100ケのビットにした場合、測定
値のアドレスがラインメモリの50%であるアドレス1000
にある時、ラインメモリの測定値のアドレスと印字範囲
の内側端の最大間隙は1000から 100を引いた 900であ
り、この値は他の測定値がとりうる最大間隙より小であ
るため、この値 900は他の測定値のアドレスでも必ずと
りうる。FIG. 3 is a flow chart showing an embodiment of the present invention in which a print range counter is provided in the conventional product, and all the functions are performed by the CPU. Further, here, the minimum gap between the recording point and the character will be described as being the maximum value that the recorder can take. In step S11, the print range counter value y is set to zero. Regardless of the address of the measured value in the line memory, there is always a gap of "(50% address of line memory)-(number of dots of dot data)" or more from the print range. Then, it is judged whether the difference between the print range counter value y and the measured value address is 50% or more of the line memory address. If the value is less than 1, then 1 is sequentially added to y in step S13, and the difference between the address of y and the measured value is calculated as "(50% of line memory address)-(dot data Dot number) ". Here, the reason why the determination values in step S12 and step S14 are different is that the gap between the recording point and the horizontally written character is always set to a constant value. In the numerical example of FIG. 6, there are 2001 bits in the line memory, and if one line of dot data is 100 bits, the address of the measured value is 50% of the line memory.
, The maximum gap between the line memory measurement address and the inner edge of the print area is 900 minus 1000 minus 100, which is less than the maximum gap that other measurements can take. The value 900 can always be the address of another measured value.
【0021】そして、ステップS15にて印字範囲を一
定化し、ステップS16でラインメモリのアドレス0か
ら最終まで順にビット1に従いインクを噴射させる。ス
テップS17で文字の印字が終了してなければ、ステッ
プS18にて次のラインの測定値のアドレスが印字範囲
に侵入したか判定し、侵入した時だけステップS19に
て印字を中止し、印字範囲の決定から繰返させ、侵入し
なければステップS16に戻し、ステップS17で文字
の印字が終了したら、次の印字指令が出るまで記録点だ
けを記録し続ける。Then, in step S15, the printing range is fixed, and in step S16, ink is ejected in order from the address 0 to the end of the line memory according to bit 1. If the printing of the character is not completed in step S17, it is determined in step S18 whether or not the address of the measured value of the next line has entered the printing range. When the character does not print, the printing is continued until the next print command is issued.
【0022】この例によるとステップS18により印字終
了までの間に測定値のアドレスの印字範囲側への変動が
ラインメモリで 900未満、即ち、記録紙上で90mm未満な
ら、文字を欠けなく印字する。この説明は測定値から文
字を一定間隔と限定したが、ステップS12とステップS
14の判定を「m以上か?」と「m−n以上か?」にして
も良い。さらに、この発明は記録線の数を1とした例だ
が、記録線の数を2にした場合も設定した数値をかえる
だけで、同様に実施する事ができる。According to this example, if the variation of the measured value address to the printing range side by the step S18 is less than 900 in the line memory, that is, less than 90 mm on the recording paper, the characters are printed without omission. In this explanation, the characters are limited to a constant interval from the measured value, but steps S12 and S
The determinations of 14 may be “m or more?” And “m-n or more?”. Further, although the present invention is an example in which the number of recording lines is 1, it can be similarly implemented when the number of recording lines is 2, only by changing the set numerical value.
【0023】[0023]
【発明の効果】この発明によれば、印字直前の測定値か
ら離した位置に印字するため、記録点が印字と重なるこ
とが少なく、もし、重なっても最初から印字させるた
め、記録点は印字とかさならず、入力信号の正確な記録
と同時に正しい文字とこの正しい発生時点を得ることが
できる。According to the present invention, since the printing is performed at a position apart from the measured value immediately before printing, the recording points are less likely to overlap with the printing, and even if they overlap, the recording points are printed from the beginning. Of course, the correct recording of the input signal and the correct character and its correct time of occurrence can be obtained at the same time.
【図1】この発明に係る実施例の流れ図FIG. 1 is a flow chart of an embodiment according to the present invention.
【図2】この発明に係る主要ブロック図FIG. 2 is a main block diagram according to the present invention.
【図3】この発明に係る実施例の流れ図FIG. 3 is a flow chart of an embodiment according to the present invention.
【図4】記録計の機構主要部の構成図FIG. 4 is a block diagram of the main part of the mechanism of the recorder.
【図5】記録計の主要ブロック図FIG. 5: Main block diagram of recorder
【図6】ドットマトリックスの一ラインのラインメモリ
への割付け図FIG. 6 is an allocation diagram of one line of a dot matrix to a line memory.
【図7】ラインメモリ内のビットによるインク噴射の流
れ図FIG. 7 is a flow chart of ink ejection by bits in a line memory.
1 記録紙 3 インク噴射部 5 パルスモータ10 記録計 11 アナログディジタル変換部 12 CPU 13 ラインメモリ 14 ラインメモリカウンタ 16 文字メモリ 18 印字範囲カウンタ 21 アナログ入力信号 S6 次の測定値の印字範囲への侵入判定1 Recording Paper 3 Ink Ejector 5 Pulse Motor 10 Recorder 11 Analog-to-Digital Converter 12 CPU 13 Line Memory 14 Line Memory Counter 16 Character Memory 18 Print Range Counter 21 Analog Input Signal S6 Judgment of Next Measured Value into Print Range
Claims (3)
定値に変換するアナログディジタル変換部と、 定周期で間歇移動する目盛り線付き記録紙と、 この記録紙の移動方向と直交して目盛り線の0〜 100%
間を常に往復してインクを噴射するインク噴射部と、 メッセージとして印字する文字の文字区点コードを格納
する文字メモリと、 この系の全体を制御すると共に、文字区点コードをドッ
トマトリックスに変換できる中央処理装置と、 記録紙の0〜 100%に相当するアドレスが有って測定値
とドットマトリックスのアドレス毎のビットをインクの
噴射信号とする1ラインのラインメモリと、から構成す
る記録計において、 中央処理装置は、記録紙の送りと同期させて定周期毎に
ラインメモリ内の測定値に相当するアドレスのビットを
0から1とすると共に、 ラインメモリのを二等分し、測定値のビット1が有る領
域と反対側の領域端部からのメッセージ分を印字終了ま
で印字範囲とし、 文字メモリから読み出して変換したドットマトリックス
を反転させた文字部のドットをビット1とし非文字部の
ドットをビット0とし、1ライン毎をラインメモリの印
字範囲に送って記録と印字を開始させ、 印字中に測定値が印字範囲に侵入した際は印字範囲を最
初から定めさせ、 ることを特徴とする記録計の印字方法。1. An analog-to-digital converter for converting an analog input signal into a measured value which is a digital value, recording paper with a graduation line that moves intermittently in a fixed cycle, and a graduation line perpendicular to the moving direction of the recording paper. 0-100%
Ink ejection part that constantly reciprocates between the units to eject ink, character memory that stores the character delimiter code of the character to be printed as a message, and the entire system is controlled, and the character delimiter code is converted to a dot matrix. A recorder that consists of a central processing unit that can be used and a line memory of one line that has an address corresponding to 0 to 100% of the recording paper and uses the measured value and the bit for each address of the dot matrix as an ink ejection signal. At the same time, the central processing unit synchronizes with the feeding of the recording paper and changes the bit of the address corresponding to the measured value in the line memory from 0 to 1 at regular intervals and divides the measured value in the line memory into two equal parts. The dot matrix read from the character memory and converted by setting the message range from the end of the area opposite to the area with bit 1 of The dot of the character part which reversed is set to bit 1 and the dot of the non-character part is set to bit 0, and each line is sent to the print range of the line memory to start recording and printing, and the measured value is printed within the print range during printing. When intruding, the printing range is set from the beginning, and the printing method of the recorder is characterized.
て、 印字範囲カウンタを更に設け、 印字範囲カウンタの値yを0と初期設定して、yと測定
値のラインメモリ内のアドレスの差があらかじめ定めた
間隙以下であればyに1を順次に加え、その差があらか
じめ定めた間隙以上であれば、ラインメモリ内にアドレ
スyで始まる領域を印字終了まで印字範囲と、 することを特徴とする記録計の印字方法。2. The printing method for a recorder according to claim 1, further comprising a print range counter, wherein a print range counter value y is initialized to 0, and y and a measured value are stored in a line memory. If the address difference is less than or equal to the predetermined gap, 1 is sequentially added to y. If the difference is greater than or equal to the predetermined gap, the area starting at address y in the line memory is set as the print range until the end of printing. A printing method of a recorder characterized by the following.
定値に変換するアナログディジタル変換部と、 定周期で間歇移動する目盛り線付き記録紙と、 この記録紙の移動方向と直交して目盛り線の0〜 100%
間を常に往復してインクを噴射するインク噴射部と、 メッセージとして印字する文字の文字区点コードを格納
する文字メモリと、 この系の全体を制御すると共に、文字区点コードをドッ
トマトリックスに変換できる中央処理装置と、 記録紙の0〜 100%に相当するアドレスが有って測定値
とドットマトリックスのアドレス毎のビットをインクの
噴射信号とする1ラインのラインメモリと、から構成す
る記録計において、 中央処理装置は、記録紙の送りと同期させて定周期毎に
ラインメモリ内の測定値に相当するアドレスのビットを
0から1とすると共に、 ラインメモリのを二等分し、測定値のビット1が有る領
域と反対側の領域端部からのメッセージ分を印字終了ま
で印字範囲とし、 文字メモリから読み出して変換したドットマトリックス
を反転させた文字部のドットをビット1とし非文字部の
ドットをビット0とし、1ライン毎をラインメモリの印
字範囲に送って記録と印字を開始させ、 印字中に測定値が印字範囲に侵入した際は印字範囲を最
初から定めさせ、 ることを特徴とする記録計。3. An analog-to-digital converter for converting an analog input signal into a measured value which is a digital value, recording paper with graduation lines which moves intermittently at a fixed cycle, and graduation lines perpendicular to the moving direction of the recording paper. 0-100%
Ink ejection part that constantly reciprocates between the units to eject ink, character memory that stores the character delimiter code of the character to be printed as a message, and the entire system is controlled, and the character delimiter code is converted to a dot matrix. A recorder that consists of a central processing unit that can be used and a line memory of one line that has an address corresponding to 0 to 100% of the recording paper and uses the measured value and the bit for each address of the dot matrix as an ink ejection signal. In the above, the central processing unit changes the bit of the address corresponding to the measured value in the line memory from 0 to 1 in every fixed cycle in synchronization with the feeding of the recording paper, and divides the measured value in the line memory into two equal parts. The dot matrix read from the character memory and converted by setting the message range from the end of the area opposite to the area with bit 1 of The dot of the character part which reversed is set to bit 1 and the dot of the non-character part is set to bit 0, and each line is sent to the print range of the line memory to start recording and printing, and the measured value is printed within the print range during printing. The recorder is characterized by allowing the print range to be defined from the beginning when it invades.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26850594A JPH08128860A (en) | 1994-11-01 | 1994-11-01 | Recorder printing method and this recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26850594A JPH08128860A (en) | 1994-11-01 | 1994-11-01 | Recorder printing method and this recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08128860A true JPH08128860A (en) | 1996-05-21 |
Family
ID=17459440
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26850594A Pending JPH08128860A (en) | 1994-11-01 | 1994-11-01 | Recorder printing method and this recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08128860A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007199014A (en) * | 2006-01-30 | 2007-08-09 | Hitachi Ltd | Temperature history measuring method and apparatus |
-
1994
- 1994-11-01 JP JP26850594A patent/JPH08128860A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007199014A (en) * | 2006-01-30 | 2007-08-09 | Hitachi Ltd | Temperature history measuring method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4607385A (en) | Character recognition apparatus | |
EP1355266A2 (en) | Buffering data for serial printing | |
EP0422926A2 (en) | Reciprocating-element position encoder | |
US6609845B1 (en) | Printing apparatus and image data processing method therefor | |
US5467437A (en) | Recording apparatus | |
US5963713A (en) | Printer using direct memory access and refreshing | |
US4613872A (en) | Recorder for side-by-side digital recording of analog data and digital data | |
JPH08128860A (en) | Recorder printing method and this recorder | |
US5570464A (en) | Controller for a recording apparatus | |
JPS6035687B2 (en) | Print data control device | |
EP0491957A1 (en) | Method of and device for controlling printing | |
JPH06127012A (en) | Thermal head control circuit | |
US4635081A (en) | Apparatus and method for generating dot-matrix characters in graphic patterns | |
JPH08128859A (en) | Recorder printing method and this recorder | |
US4409597A (en) | Line printer for recording analog signals | |
US6897976B2 (en) | Record control apparatus and recording apparatus | |
JPH0655524B2 (en) | Serial dot printer | |
US20100157333A1 (en) | Printing apparatus and printing method | |
US5150648A (en) | Method and apparatus for detecting print-termination in line printer | |
JPS5845732B2 (en) | Printing control device | |
JP2003175650A (en) | Imaging apparatus | |
JPS63249222A (en) | printer control device | |
JP4323622B2 (en) | Recording device | |
JP2669336B2 (en) | Printing equipment | |
JPS6194769A (en) | Printing speed control method for dot-type serial printers |