JP2001162901A - Printer and data communication method in the printer - Google Patents
Printer and data communication method in the printerInfo
- Publication number
- JP2001162901A JP2001162901A JP34742299A JP34742299A JP2001162901A JP 2001162901 A JP2001162901 A JP 2001162901A JP 34742299 A JP34742299 A JP 34742299A JP 34742299 A JP34742299 A JP 34742299A JP 2001162901 A JP2001162901 A JP 2001162901A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- circuit module
- circuit modules
- bus width
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 title claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 43
- 238000012546 transfer Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 230000002457 bidirectional effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 description 1
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 description 1
- 101100465000 Mus musculus Prag1 gene Proteins 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
(57)【要約】
【課題】 バス幅の設定変更を容易に行うことができる
ようにする。
【解決手段】 本プリンタは、3つの回路モジュールM
1,M2,M3をリング状に接続して単方向にのみデー
タを送信できるようにしている。互いにデータ通信を行
う回路モジュール同士は、データバス幅を設定するため
の2本の信号線S0,S1で接続されている。これら信
号線S0,S1は、各回路モジュール内の制御部43に
接続されている。制御部43は、前段の回路モジュール
との間の2本の信号線S0,S1により設定されたバス
幅のデータを入力ポート1から取り込むとともに、次段
の回路モジュールとの間の2本の信号線S0,S1によ
り設定されたバス幅のデータを出力ポート2に送出す
る。信号線S0,S1に接続されたジャンパースイッチ
SWを各回路モジュールごとに任意にオン・オフ制御し
てデータバス幅を設定するため、データバス幅の変更が
容易になる。
(57) [Summary] [PROBLEMS] To easily change a bus width setting. The printer includes three circuit modules (M).
1, M2, and M3 are connected in a ring shape so that data can be transmitted only in one direction. Circuit modules performing data communication with each other are connected by two signal lines S0 and S1 for setting a data bus width. These signal lines S0 and S1 are connected to the control unit 43 in each circuit module. The control unit 43 takes in the data of the bus width set by the two signal lines S0 and S1 with the circuit module of the preceding stage from the input port 1 and also receives the two signals with the circuit module of the next stage. The data of the bus width set by the lines S0 and S1 is sent to the output port 2. Since the data bus width is set by arbitrarily turning on / off the jumper switch SW connected to the signal lines S0 and S1 for each circuit module, the data bus width can be easily changed.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数の回路モジュ
ールを内蔵するプリンタに関し、特に、各回路モジュー
ル間で高速にデータを伝送する技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer incorporating a plurality of circuit modules, and more particularly to a technique for transmitting data between circuit modules at high speed.
【0002】[0002]
【従来の技術】プリンタ内のプリンタ制御回路は、通
常、複数の回路モジュールで構成されている。例えば、
図8は、ホストコンピュータとの信号の送受を行うIF
モジュール11と、画像処理を行う画像処理モジュール
12と、プリンタの機構部分を制御するメカ制御モジュ
ール13とを有するプリンタ制御回路の従来例を示して
いる。これらモジュールはそれぞれ別個のCPUや制御
部を有し、通常はそれぞれ別基板で構成されている。2. Description of the Related Art A printer control circuit in a printer is usually composed of a plurality of circuit modules. For example,
FIG. 8 shows an IF for transmitting / receiving a signal to / from a host computer.
1 shows a conventional example of a printer control circuit including a module 11, an image processing module 12 for performing image processing, and a mechanical control module 13 for controlling a mechanical part of the printer. Each of these modules has a separate CPU and control unit, and is usually configured on a separate board.
【0003】各モジュールは、入出力ポートを有し、隣
接するモジュールとの間で互いに信号の送受を行う。例
えば、図8の場合、IFモジュール11と画像処理モジ
ュール12との間で双方向に信号の送受を行い、また、
画像処理モジュール12とメカ制御モジュール13との
間で双方向に信号の送受を行う。Each module has an input / output port, and sends and receives signals to and from adjacent modules. For example, in the case of FIG. 8, signals are transmitted and received bidirectionally between the IF module 11 and the image processing module 12,
Signals are transmitted and received bidirectionally between the image processing module 12 and the mechanical control module 13.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、各回路
モジュールは、必ずしも同一のデータバス幅を備えてい
ない。画像処理などの大量のデータを高速に処理する必
要がある回路モジュールのバス幅は一般に広く設定され
ている(例えば、32ビット幅など)のに対し、I/O
処理などを行う回路モジュールのバス幅は狭く設定され
ている(例えば、8ビット幅など)。However, each circuit module does not always have the same data bus width. The bus width of a circuit module that needs to process a large amount of data at a high speed such as image processing is generally set to be wide (for example, 32 bits wide), but the I / O is large.
The bus width of a circuit module that performs processing and the like is set to be narrow (for example, an 8-bit width).
【0005】このため、バス幅の異なる2つの回路モジ
ュール同士でデータ通信を行う場合には、データの取り
こぼしなどのデータ通信エラーが起きるおそれがあっ
た。また、修理やバージョンアップ等のために回路モジ
ュールごとに交換する場合、交換後の回路モジュールの
バス幅が、交換前の回路モジュールのバス幅と異なる場
合もある。この場合、従来は、交換した回路モジュール
以外のモジュールも変更するようにしており、交換作業
に手間がかかるという問題があった。Therefore, when data communication is performed between two circuit modules having different bus widths, a data communication error such as missing data may occur. Also, when replacing each circuit module for repair or version upgrade, the bus width of the circuit module after replacement may be different from the bus width of the circuit module before replacement. In this case, conventionally, a module other than the replaced circuit module is also changed, and there is a problem that the replacement work is troublesome.
【0006】本発明は、このような点に鑑みてなされた
ものであり、その目的は、バス幅の設定変更を容易に行
うことができるプリンタおよびプリンタ内でのデータ通
信方法を提供することにある。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a printer and a data communication method in the printer which can easily change the setting of a bus width. is there.
【0007】[0007]
【課題を解決するための手段】上述した課題を解決する
ために、請求項1の発明は、複数の回路モジュール間で
データバスを介してデータ伝送を行うプリンタにおい
て、互いにデータ通信を行う2つの回路モジュールに前
記データバスとは別個に接続される所定本数の信号線を
備え、前記2つの回路モジュールのそれぞれは、印刷デ
ータを送受するデータチャネル部と、印刷制御データを
送受する制御チャネル部と、他の回路モジュールとの間
で前記印刷データおよび前記印刷制御データを送受する
コネクタと、前記所定本数の信号線を前記データバスの
バス幅に応じた電圧に設定する電圧設定回路と、前記所
定本数の信号線の電圧により、前記2つの回路モジュー
ル間の前記データバスのバス幅を設定するバス幅設定回
路と、を有する。SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, a first aspect of the present invention is a printer for performing data transmission between a plurality of circuit modules via a data bus. The circuit module includes a predetermined number of signal lines connected separately from the data bus, and each of the two circuit modules includes a data channel unit that sends and receives print data, and a control channel unit that sends and receives print control data. A connector for transmitting and receiving the print data and the print control data to and from another circuit module; a voltage setting circuit for setting the predetermined number of signal lines to a voltage corresponding to a bus width of the data bus; A bus width setting circuit for setting a bus width of the data bus between the two circuit modules according to a voltage of the signal lines.
【0008】請求項1の発明では、互いに通信を行う2
つの回路モジュール間を接続する信号線の電圧により、
回路モジュール間でのデータバス幅を設定するため、デ
ータバス幅の異なる回路モジュール同士でも、データの
取りこぼしなくデータ伝送を行うことができる。[0008] According to the first aspect of the present invention, the two communication units communicate with each other.
The voltage of the signal line connecting the two circuit modules
Since the data bus width is set between the circuit modules, data transmission can be performed without any data loss even between circuit modules having different data bus widths.
【0009】請求項2の発明では、互いに通信を行う2
つの回路モジュールが、それぞれ異なる信号線電圧を設
定した場合には、バス幅の狭い方の信号線電圧に合わせ
てバス幅を設定するため、データの取りこぼしが起きな
い。According to the second aspect of the present invention, the communication between the two is performed.
If two circuit modules set different signal line voltages, the bus width is set in accordance with the smaller signal line voltage of the bus width, so that no data is lost.
【0010】請求項3の発明では、ジャンパースイッチ
と抵抗とを各信号線に接続するため、ジャンパースイッ
チのオン・オフにより、信号線を接地電圧か正電圧のい
ずれかに設定できる。According to the third aspect of the present invention, since the jumper switch and the resistor are connected to each signal line, the signal line can be set to either the ground voltage or the positive voltage by turning on / off the jumper switch.
【0011】請求項4の発明では、互いにデータ通信を
行う2つの回路モジュールが、同一の信号線に対してジ
ャンパースイッチのオン・オフを互いに逆にした場合に
は、この信号線を接地電圧にする。これにより、バス幅
の狭い方に合わせることができる。According to the fourth aspect of the present invention, when two circuit modules that perform data communication with each other turn on / off the jumper switch for the same signal line, the signal line is set to the ground voltage. I do. Thereby, it can be adjusted to the narrower bus width.
【0012】請求項5の発明では、各回路モジュールご
とに、データの受信側と送信側にそれぞれ別個にジャン
パースイッチを設けるため、データ受信時のバス幅と送
信時のバス幅を個別に設定できる。According to the fifth aspect of the present invention, since a jumper switch is separately provided on each of the data receiving side and the data transmitting side for each circuit module, the bus width at the time of data reception and the bus width at the time of transmission can be set individually. .
【0013】請求項6の発明では、各回路モジュールを
非同期に動作させるため、同期を取るための処理が不要
となり、各回路モジュールで送受される信号線数を削減
できる。According to the sixth aspect of the present invention, since each circuit module operates asynchronously, processing for synchronization is not required, and the number of signal lines transmitted and received by each circuit module can be reduced.
【0014】請求項7の発明では、データチャネル部に
対するデータと制御チャネル部に対するデータとを識別
するためのアドレス線を設けるため、データチャネル部
用のデータと制御チャネル部用のデータとを同一の信号
線で送受することができる。According to the seventh aspect of the present invention, since an address line for identifying data for the data channel section and data for the control channel section is provided, the data for the data channel section and the data for the control channel section are the same. It can be transmitted and received via signal lines.
【0015】請求項8の発明では、各回路モジュールを
リング状に接続して単方向にのみデータを送信するた
め、入出力ポートの数を削減できるとともに、データの
伝送速度を向上できる。According to the invention of claim 8, since each circuit module is connected in a ring and data is transmitted only in one direction, the number of input / output ports can be reduced and the data transmission speed can be improved.
【0016】請求項9の発明は、リング状に接続され単
方向にデータを送信可能な複数の回路モジュールを備え
たプリンタ内でのデータ通信方法であって、互いにデー
タ通信を行う前記回路モジュール同士を所定本数の信号
線にて接続し、前記所定本数の信号線の電圧を前記回路
モジュールごとに個別に設定した結果に基づいて、前段
の前記回路モジュールとのデータ通信時のバス幅と次段
の前記回路モジュールとのデータ通信時のバス幅とを設
定する。According to a ninth aspect of the present invention, there is provided a data communication method in a printer including a plurality of circuit modules connected in a ring and capable of transmitting data in one direction, wherein the circuit modules performing data communication with each other are provided. Are connected by a predetermined number of signal lines, and based on the result of individually setting the voltage of the predetermined number of signal lines for each of the circuit modules, a bus width at the time of data communication with the preceding circuit module and a next And a bus width at the time of data communication with the circuit module.
【0017】[0017]
【発明の実施の形態】以下、本発明に係るプリンタにつ
いて、図面を参照しながら具体的に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a printer according to the present invention will be specifically described with reference to the drawings.
【0018】図1は本発明に係るプリンタ内の概略構成
図である。図1のプリンタは、モジュール間のバス幅を
任意に設定変更できるようにした点に特徴がある。FIG. 1 is a schematic structural view of the inside of a printer according to the present invention. The printer of FIG. 1 is characterized in that the bus width between modules can be arbitrarily set and changed.
【0019】図1のプリンタは、3つの回路モジュール
M1,M2,M3をリング状に接続して単方向にのみデ
ータを送信できるようにしている。各回路モジュールM
1,M2,M3はそれぞれ、データを伝送するデータチ
ャネル部1と、制御情報を伝送する制御チャネル部2
と、データおよび制御情報が入出力されるコネクタ3
と、データバス幅の制御等を行う制御部4とを有する。In the printer of FIG. 1, three circuit modules M1, M2 and M3 are connected in a ring shape so that data can be transmitted only in one direction. Each circuit module M
1, M2 and M3 are a data channel unit 1 for transmitting data and a control channel unit 2 for transmitting control information, respectively.
And a connector 3 for inputting and outputting data and control information
And a control unit 4 for controlling the width of the data bus.
【0020】隣接するコネクタ3間には転送バス5が接
続されている。転送バス5のバス幅は、例えば、8ビッ
ト、16ビットおよび32ビットから選択可能とされて
いる。また、転送バス5には、アドレス線が1本設けら
れている。このアドレス線の論理により、データチャネ
ル部1用のデータと制御チャネル部2用のデータとを区
別することができる。この他、転送バス5には、イネー
ブル信号やリセット信号等の制御信号線が設けられてい
る。A transfer bus 5 is connected between adjacent connectors 3. The bus width of the transfer bus 5 can be selected from, for example, 8 bits, 16 bits, and 32 bits. The transfer bus 5 is provided with one address line. By the logic of the address lines, data for the data channel unit 1 and data for the control channel unit 2 can be distinguished. In addition, the transfer bus 5 is provided with control signal lines such as an enable signal and a reset signal.
【0021】各回路モジュール間では、非同期通信を行
う。このため、送信元の回路モジュールのシステムクロ
ックと、送信先の回路モジュールのシステムクロックと
は、互いに非同期で構わない。Asynchronous communication is performed between the circuit modules. Therefore, the system clock of the source circuit module and the system clock of the destination circuit module may be asynchronous with each other.
【0022】通信速度は、送信元と送信先の各回路モジ
ュールのシステムクロックのうち、周波数が低い方のシ
ステムクロックに合わせる。また、1パケットのデータ
を転送するのに、システムクロックが2クロック分必要
とされる。したがって、送信元と送信先の各回路モジュ
ールのシステムクロックがともに40MHzであれば、転
送速度は20MHzになる。The communication speed is adjusted to the system clock having the lower frequency among the system clocks of the circuit modules of the transmission source and the transmission destination. Further, two clocks of the system clock are required to transfer one packet of data. Therefore, if the system clocks of the source and destination circuit modules are both 40 MHz, the transfer rate is 20 MHz.
【0023】図1のデータチャネル部1では、印刷デー
タの転送を行う。制御チャネル部2では、プリンタ制御
コマンド、プリンタ・メンテナンス・コマンド、および
通信制御コマンドなどの制御情報の転送を行う。The data channel section 1 shown in FIG. 1 transfers print data. The control channel unit 2 transfers control information such as a printer control command, a printer maintenance command, and a communication control command.
【0024】送信先の回路モジュールが、何らかの事情
により、送信元の回路モジュールの印刷データを受信で
きない場合でも、通信を遮断させることなく、制御チャ
ネル部2に切り換えてコマンドの通信を継続することが
できる。Even if the circuit module of the transmission destination cannot receive the print data of the circuit module of the transmission source for some reason, it is possible to switch to the control channel unit 2 and continue the communication of the command without interrupting the communication. it can.
【0025】また、制御チャネル部2に流れるコマンド
は、データチャネル部1に流れる印刷データよりも通信
の優先順序が高く設定されている。このため、送信元の
回路モジュールは、データチャネル部1への印刷データ
と制御チャネル部2へのコマンドとの双方が存在する場
合には、制御チャネル部2へのコマンドを優先させて送
信する。The priority of communication of the command flowing through the control channel unit 2 is set higher than that of the print data flowing through the data channel unit 1. Therefore, when both the print data to the data channel unit 1 and the command to the control channel unit 2 exist, the transmission source circuit module gives priority to the command to the control channel unit 2 and transmits the command.
【0026】転送バス5を介して伝送される信号には、
送信元の回路モジュールが送信先の回路モジュールに送
信する信号と、送信先の回路モジュールが送信元の回路
モジュールに送信する信号とが含まれている。The signals transmitted via the transfer bus 5 include:
A signal transmitted from the circuit module of the transmission source to the circuit module of the transmission destination and a signal transmitted from the circuit module of the transmission destination to the circuit module of the transmission source are included.
【0027】送信先への信号の中には、送信先アドレス
を指定するアドレス信号ADxxと、送信データ信号DATA
xxと、データの送信を通知するストローブ信号STBxxと
が存在する。また、送信元への信号の中には、データの
受信準備が整ったことを通知するアクノリッジ信号(通
信準備完了信号)ACKxxと、データの受信準備が整って
いないことを通知するナック信号(通信不能信号)NACK
xxとが存在する。The signals to the destination include an address signal ADxx designating a destination address and a transmission data signal DATA
xx and a strobe signal STBxx for notifying data transmission. In addition, among the signals to the transmission source, an acknowledge signal (communication preparation completion signal) ACKxx for notifying that data reception preparation is completed, and a nack signal (communication for notifying that data reception preparation is not completed). Impossible signal) NACK
xx exists.
【0028】図1に示すように、各回路モジュールは、
リング状に接続されているため、単方向にパケットを伝
送しても、すべての回路モジュールにパケットを送り届
けることができる。送信されたパケットは、各回路モジ
ュール間を一巡して、元の回路モジュールに戻ってく
る。これにより、送信元の回路モジュールは、他のすべ
ての回路モジュールにパケットが伝送されたことを認識
する。この場合、同一のパケットを何度も伝送すること
を避けるために、送信元のパケットは、自分に戻ってき
たパケットを廃棄するのが望ましい。As shown in FIG. 1, each circuit module includes:
Since the connection is made in a ring shape, the packet can be sent to all circuit modules even if the packet is transmitted in one direction. The transmitted packet makes a circuit between each circuit module and returns to the original circuit module. As a result, the transmission source circuit module recognizes that the packet has been transmitted to all the other circuit modules. In this case, in order to avoid transmitting the same packet many times, it is desirable that the source packet discard the packet that has returned to itself.
【0029】各回路モジュール間の転送バス5の形態に
は種々のものが適用可能であり、PCIバス等の汎用の
バスを利用してもよいし、専用のバスを利用してもよ
い。あるいは、コネクタ3としてUSB端子やIEEE1394
端子を利用して、USBやIEEE1394の規格に沿ったデータ
を送受してもよい。Various forms can be applied to the form of the transfer bus 5 between the circuit modules, and a general-purpose bus such as a PCI bus or a dedicated bus may be used. Alternatively, as the connector 3, a USB terminal or IEEE1394
The terminal may be used to transmit and receive data according to the USB and IEEE1394 standards.
【0030】本実施形態の場合、データは単方向にしか
流れないため、入出力ポートの構成を簡略化できるとと
もに、データの伝送速度を向上できる。すなわち、双方
向にデータを送受する場合、双方向バッファなどを設け
なければならないため、構成が複雑になり、また、デー
タの切り替え制御に時間がかかることから、データの伝
送速度が制限されてしまうが、本実施形態のように単方
向にデータ伝送を行えば、データの切り替え制御が不要
な分だけ高速にデータ伝送を行える。In this embodiment, since data flows only in one direction, the configuration of the input / output ports can be simplified and the data transmission speed can be improved. That is, when transmitting and receiving data in both directions, a bidirectional buffer must be provided, which complicates the configuration, and the time required for data switching control limits the data transmission speed. However, if data transmission is performed in one direction as in the present embodiment, data transmission can be performed at high speed as much as control of data switching is unnecessary.
【0031】データの伝送速度をさらに向上させたい場
合は、各回路モジュール間で送受されるデータ量に応じ
て回路モジュールの接続順序を決定すればよい。例え
ば、回路モジュールM1がIF回路モジュール、回路モ
ジュールM2が画像処理回路モジュール、回路モジュー
ルM3がメカ制御回路モジュールの場合、回路モジュー
ルM1から回路モジュールM2へのデータ伝送量と、回
路モジュールM2から回路モジュールM3へのデータ伝
送量とが多いのに対し、回路モジュールM2から回路モ
ジュールM1へのデータ伝送量と回路モジュールM3か
ら回路モジュールM2へのデータ伝送量は少ない。To further improve the data transmission speed, the connection order of the circuit modules may be determined according to the amount of data transmitted and received between the circuit modules. For example, when the circuit module M1 is an IF circuit module, the circuit module M2 is an image processing circuit module, and the circuit module M3 is a mechanical control circuit module, the data transmission amount from the circuit module M1 to the circuit module M2 and the circuit module M2 from the circuit module M2 While the amount of data transmitted to M3 is large, the amount of data transmitted from circuit module M2 to circuit module M1 and the amount of data transmitted from circuit module M3 to circuit module M2 are small.
【0032】本実施形態は、互いにデータ通信を行う回
路モジュール同士を、データバス幅設定用の2本の信号
線S0,S1で接続している。これら信号線S0,S1
は、バッファBを介して各回路モジュール内の制御部3
に接続されている。制御部3は、後述するように、前段
の回路モジュールとの間の2本の信号線S0,S1によ
り設定されたバス幅のデータを入力ポート1から取り込
むとともに、次段の回路モジュールとの間の2本の信号
線S0,S1により設定されたバス幅のデータを出力ポ
ート2に送出する。In the present embodiment, circuit modules performing data communication with each other are connected by two signal lines S0 and S1 for setting a data bus width. These signal lines S0, S1
Is the control unit 3 in each circuit module via the buffer B
It is connected to the. As will be described later, the control unit 3 takes in the data of the bus width set by the two signal lines S0 and S1 from the previous-stage circuit module from the input port 1 and transmits the data to the next-stage circuit module. The data of the bus width set by the two signal lines S0 and S1 are sent to the output port 2.
【0033】図2は制御部3の入力部分の回路図であ
る。図示のように、各信号線S0,S1は、プルアップ
抵抗Rを介して電源端子VDDに接続されるとともに、ジ
ャンパースイッチSWを介して接地端子に接続されてい
る。ジャンパースイッチSWをオン状態にすれば、信号
線S0,S1は接地電圧になり、ジャンパースイッチS
Wをオフ状態にすれば、信号線S0,S1は電源電圧V
DDになる。FIG. 2 is a circuit diagram of an input portion of the control section 3. As shown, each of the signal lines S0 and S1 is connected to a power supply terminal VDD via a pull-up resistor R and to a ground terminal via a jumper switch SW. When the jumper switch SW is turned on, the signal lines S0 and S1 become the ground voltage, and the jumper switch S
When W is turned off, the signal lines S0 and S1 are connected to the power supply voltage V
Become DD.
【0034】各回路モジュールM1,M2,M3には、
図3に示すように、前段の回路モジュールとの間の2本
の信号線S0,S1に接続されたジャンパースイッチS
Wおよびプルアップ抵抗Rと、次段の回路モジュールと
の間の2本の信号線S0,S1に接続されたジャンパー
スイッチSWおよびプルアップ抵抗Rとが設けられてい
る。Each circuit module M1, M2, M3 has:
As shown in FIG. 3, a jumper switch S connected to two signal lines S0 and S1 between the circuit module of the preceding stage.
A jumper switch SW and a pull-up resistor R connected to two signal lines S0 and S1 between the W and the pull-up resistor R and the next-stage circuit module are provided.
【0035】ジャンパースイッチSWの一端は対応する
信号線S0,S1に接続され、他端は接地端子に接続さ
れている。また、プルアップ抵抗Rの一端は対応する信
号線S0,S1に接続され、他端は正電圧端子に接続さ
れている。One end of the jumper switch SW is connected to the corresponding signal lines S0 and S1, and the other end is connected to a ground terminal. One end of the pull-up resistor R is connected to the corresponding signal lines S0 and S1, and the other end is connected to a positive voltage terminal.
【0036】ジャンパースイッチSWのそれぞれは、作
業者が必要に応じて任意にオン・オフすることができ、
これにより、入力信号のバス幅と出力信号のバス幅とを
それぞれ独立に設定することができる。Each of the jumper switches SW can be turned on / off arbitrarily by an operator as needed.
Thus, the bus width of the input signal and the bus width of the output signal can be set independently.
【0037】図4は信号線S0,S1の電圧とバス幅と
の関係を示す図である。図4では、信号線S0,S1の
電圧が電源電圧の場合を「1」、信号線S0,S1の電
圧が接地電圧の場合を「0」としている。信号線S0,
S1がいずれも「1」の場合はデータバス幅は32ビッ
トであり、信号線S1が「1」で信号線S0が「0」の
場合はデータバス幅は16ビットである。また、信号線
S1が「0」で信号線S0が「1」の場合と、信号線S
0,S1がいずれも「0」の場合はデータバス幅は8ビ
ットである。FIG. 4 is a diagram showing the relationship between the voltage of the signal lines S0 and S1 and the bus width. In FIG. 4, "1" indicates that the voltage of the signal lines S0 and S1 is the power supply voltage, and "0" indicates that the voltage of the signal lines S0 and S1 is the ground voltage. The signal lines S0,
When both S1 are "1", the data bus width is 32 bits, and when the signal line S1 is "1" and the signal line S0 is "0", the data bus width is 16 bits. The signal line S1 is “0” and the signal line S0 is “1”.
When both 0 and S1 are "0", the data bus width is 8 bits.
【0038】仮に、隣接する2つの回路モジュールの一
方が信号線S0,S1をいずれも「1」にし、他方が信
号線S0,S1をいずれも「0」にすると、図3の回路
からわかるように、信号線S0,S1はいずれも「0」
になる。すなわち、図3の回路は、負論理のワイヤード
・オアとして機能する。したがって、隣接する2つの回
路モジュールがそれぞれ異なるバス幅を設定すると、こ
れらモジュール間では、バス幅の小さい方に自動設定さ
れてデータ伝送が行われる。If one of the two adjacent circuit modules sets the signal lines S0 and S1 to "1" and the other sets the signal lines S0 and S1 to "0", as can be seen from the circuit of FIG. The signal lines S0 and S1 are both "0".
become. That is, the circuit of FIG. 3 functions as a wired OR of negative logic. Therefore, when two adjacent circuit modules set different bus widths, data transmission is performed between these modules by automatically setting the smaller bus width.
【0039】このように、本実施形態では、複数の回路
モジュールをリング状に接続するとともに、隣接する2
つの回路モジュール間に2本の信号線S0,S1を設
け、これら信号線S0,S1に接続されたジャンパース
イッチSWを各回路モジュールごとに任意にオン・オフ
制御してデータバス幅を設定するため、データバス幅の
変更が容易になる。したがって、データバス幅の異なる
他のモジュール基板への交換を容易に行うことができ
る。As described above, in this embodiment, a plurality of circuit modules are connected in a ring shape, and two adjacent circuit modules are connected.
Two signal lines S0 and S1 are provided between two circuit modules, and a jumper switch SW connected to these signal lines S0 and S1 is arbitrarily turned on / off for each circuit module to set a data bus width. In addition, the data bus width can be easily changed. Therefore, replacement with another module board having a different data bus width can be easily performed.
【0040】また、バス幅の異なる回路モジュールを接
続する場合には、バス幅の狭い方に自動設定されてデー
タ伝送が行われるため、データの受信ミスなどの不具合
が起きるおそれはない。また、データ伝送を開始する前
に、制御部3はデータバス幅を認識できるため、受け手
が受信できないようなデータビットに誤ってデータを送
信するおそれがなくなる。Further, when connecting circuit modules having different bus widths, data transmission is performed automatically with the smaller bus width, so that there is no possibility that a problem such as a data reception error will occur. Further, since the control unit 3 can recognize the data bus width before starting the data transmission, there is no possibility that the data is erroneously transmitted to a data bit that cannot be received by the receiver.
【0041】さらに、各回路モジュールM1,M2,M
3への入力信号のバス幅と出力信号のバス幅を個別に設
定できるため、バス幅の異なる回路モジュールを組み合
わせてシステムを構成することができる。Further, each of the circuit modules M1, M2, M
Since the bus width of the input signal and the bus width of the output signal can be set individually, a system can be configured by combining circuit modules having different bus widths.
【0042】このような効果に加えて、本実施形態は、
各回路モジュールM1,M2,M3をリング状に接続し
て単方向にのみデータを送信するため、入出力ポート
1,2の数を減らすことができるとともに、データの伝
送速度を向上できる。また、各回路モジュール間でパケ
ットの形態でデータを伝送するようにすれば、パケット
の宛先を個別に指定できるため、所望の回路モジュール
に迅速にデータを送り届けることができる。In addition to the above effects, the present embodiment provides
Since the circuit modules M1, M2, and M3 are connected in a ring to transmit data only in one direction, the number of input / output ports 1 and 2 can be reduced and the data transmission speed can be improved. Further, if data is transmitted in the form of a packet between the circuit modules, the destination of the packet can be individually specified, so that the data can be quickly transmitted to a desired circuit module.
【0043】上述したように、転送バス5にはリセット
信号が含まれている。リング状に接続された図の回路モ
ジュールの中には、リセット回路を内蔵するものと、リ
セット回路を内蔵しないものがあり、リセット回路から
出力されたリセット信号は、転送バス5を介して、他の
すべての回路モジュールに伝送されて、各回路モジュー
ルをリセット状態にする。As described above, the transfer bus 5 includes the reset signal. Some of the circuit modules shown in the figure connected in a ring form include a built-in reset circuit and a circuit module without a built-in reset circuit. The reset signal output from the reset circuit is transmitted through the transfer bus 5 to another circuit module. Is transmitted to all the circuit modules to reset each circuit module.
【0044】図5(a)はリセット回路31を内蔵する
回路モジュールのリセット信号の流れを示す図、図5
(b)はリセット回路31を内蔵しない回路モジュール
のリセット信号の流れを示す図である。FIG. 5A is a diagram showing a flow of a reset signal of a circuit module having a built-in reset circuit 31, and FIG.
FIG. 3B is a diagram illustrating a flow of a reset signal of a circuit module that does not include the reset circuit 31.
【0045】図示のように、コネクタ3には、リセット
信号の入力端子と出力端子が別個に設けられており、こ
れら入出力端子はともに、回路モジュールの内部でリセ
ット信号線Rsigに接続されている。このリセット信号
線Rsigは、回路モジュール内部の各回路ブロックに接
続されている。また、リセット信号線Rsigにはプルア
ップ抵抗R1が取り付けられており、通常はハイレベル
に設定されている。As shown in the figure, the connector 3 is provided with a reset signal input terminal and an output terminal separately, and these input / output terminals are both connected to the reset signal line Rsig inside the circuit module. . This reset signal line Rsig is connected to each circuit block inside the circuit module. Further, a pull-up resistor R1 is attached to the reset signal line Rsig, and is normally set to a high level.
【0046】図5(a)のリセット回路31からローレ
ベル信号が出力されると、すべての回路モジュールのリ
セット信号線Rsigがローレベルになり、すべての回路
モジュールはリセット状態になる。When a low-level signal is output from the reset circuit 31 of FIG. 5A, the reset signal lines Rsig of all the circuit modules go low, and all the circuit modules are reset.
【0047】このように、本実施形態では、リセット信
号を転送バス5を介してリング状に伝送するため、一つ
の回路モジュールのみにリセット回路31を設けても、
他のすべての回路モジュールをほぼ同タイミングでリセ
ット状態にすることができる。As described above, in the present embodiment, since the reset signal is transmitted in a ring shape via the transfer bus 5, even if the reset circuit 31 is provided only in one circuit module,
All other circuit modules can be reset at substantially the same timing.
【0048】図6は各回路モジュールでのデータの流れ
を示す図である。図示のように、転送バス5が接続され
るコネクタ3には、データ入力端子Dinと、データ出力
端子Doutと、共通信号端子COMとが設けられてい
る。FIG. 6 is a diagram showing a data flow in each circuit module. As illustrated, the connector 3 to which the transfer bus 5 is connected is provided with a data input terminal Din, a data output terminal Dout, and a common signal terminal COM.
【0049】データ入力端子Dinに入力されたデータ
は、デコード部41で印刷データと印刷制御データとに
分けられ、印刷データはデータ入力FIFO42にいったん
格納され、印刷制御データは制御データ入力FIFO43に
いったん格納される。データ入力FIFO42と制御データ
入力FIFO43に格納されたデータは、必要に応じて制御
部4に送られて処理される。The data input to the data input terminal Din is divided into print data and print control data by the decoding unit 41, and the print data is temporarily stored in the data input FIFO 42, and the print control data is temporarily stored in the control data input FIFO 43. Is stored. The data stored in the data input FIFO 42 and the control data input FIFO 43 are sent to the control unit 4 and processed as necessary.
【0050】一方、他の回路モジュールに送信するデー
タは、制御部4からデータ出力FIFO44と制御データ出
力FIFO45を介してエンコード部46に入力され、エン
コードされる。エンコードされたデータは、コネクタ3
のデータ出力端子Doutを介して転送バス5に伝送され
る。On the other hand, data to be transmitted to other circuit modules is input from the control unit 4 to the encoding unit 46 via the data output FIFO 44 and the control data output FIFO 45, and is encoded. The encoded data is sent to connector 3
Is transmitted to the transfer bus 5 via the data output terminal Dout.
【0051】なお、図6のデータ入力FIFO42とデータ
出力FIFO44が図1のデータチャネル部に対応し、図6
の制御データ入力FIFO43と制御データ出力FIFO45が
図1の制御チャネル部に対応する。The data input FIFO 42 and the data output FIFO 44 in FIG. 6 correspond to the data channel section in FIG.
The control data input FIFO 43 and the control data output FIFO 45 correspond to the control channel unit in FIG.
【0052】図7はパケットのデータ構成を示す図であ
る。図示のように、パケットは、送信先アドレス領域2
1と、送信元アドレス領域22と、データ長領域23
と、コマンド領域24とで構成される。FIG. 7 shows the data structure of a packet. As shown in the drawing, the packet is transmitted to the destination address area 2.
1, a source address area 22, and a data length area 23
And a command area 24.
【0053】送信先アドレス領域21は、パケット送信
先の回路モジュールの論理アドレスを示す領域であり、
この領域21はさらに、全回路モジュールを指定するブ
ロードキャスト論理アドレス領域と、特定の回路モジュ
ールの論理アドレスを指定する個別論理アドレス領域と
に分かれている。The destination address area 21 is an area indicating the logical address of the circuit module of the packet destination.
This area 21 is further divided into a broadcast logical address area for specifying all circuit modules and an individual logical address area for specifying the logical address of a specific circuit module.
【0054】送信元アドレス領域22は、パケット送信
元の回路モジュールの論理アドレスを示す領域である。
データ長領域23は、コマンド領域のデータ長(単位バ
イト)を示す領域であり、この領域には任意のコマンド
が格納される。The source address area 22 is an area indicating the logical address of the circuit module of the packet source.
The data length area 23 is an area indicating the data length (unit byte) of the command area, and an arbitrary command is stored in this area.
【0055】各回路モジュールは、他の回路モジュール
にコマンドを伝送する際、送信先の回路モジュールが本
プリンタに実際に実装されているか否かを検知する必要
がある。また、送信先の回路モジュールが実装されてい
る場合には、送信先の回路モジュールの論理アドレス
と、送信元である自己の論理アドレスを検知する必要が
ある。When transmitting a command to another circuit module, each circuit module needs to detect whether or not the destination circuit module is actually mounted on the printer. Further, when a circuit module at the transmission destination is mounted, it is necessary to detect the logical address of the circuit module at the transmission destination and its own logical address as the transmission source.
【0056】このため、本プリンタは、電源投入時に、
実際に実装されている回路モジュールの確認と、これら
回路モジュールの論理アドレスの確認とを行う。Therefore, when the printer is powered on,
Confirmation of actually mounted circuit modules and confirmation of logical addresses of these circuit modules are performed.
【0057】各回路モジュール間での通信方法には、大
きく分けて、ブロードキャスト・コマンド通信とピア・
トゥ・ピア・コマンド通信との2つがある。また、通信
されるコマンドの種類としては主に、プリンタ制御コマ
ンド、プリンタ・メンテナンス・コマンドと回路モジュ
ール間の通信制御コマンドとがある。The communication method between the circuit modules is roughly divided into broadcast command communication and peer communication.
There are two, to-peer command communication. The types of commands to be communicated are mainly printer control commands, printer maintenance commands, and communication control commands between circuit modules.
【0058】図1に示すように、各回路モジュールは、
リング状に接続されているため、単方向にパケットを伝
送しても、すべての回路モジュールにパケットを送り届
けることができる。送信されたパケットは、各回路モジ
ュール間を一巡して、元の回路モジュールに戻ってく
る。これにより、送信元の回路モジュールは、他のすべ
ての回路モジュールにパケットが伝送されたことを認識
する。この場合、同一のパケットを何度も伝送すること
を避けるために、送信元のパケットは、自分に戻ってき
たパケットを廃棄するのが望ましい。As shown in FIG. 1, each circuit module includes:
Since the connection is made in a ring shape, the packet can be sent to all circuit modules even if the packet is transmitted in one direction. The transmitted packet makes a circuit between each circuit module and returns to the original circuit module. As a result, the transmission source circuit module recognizes that the packet has been transmitted to all the other circuit modules. In this case, in order to avoid transmitting the same packet many times, it is desirable that the source packet discard the packet that has returned to itself.
【0059】各回路モジュールは、パケットを単に受け
渡しする場合と、受信したパケットを加工変形して次の
回路モジュールに送信する場合がある。後者の場合、例
えば、回路モジュールM1は、プリンタのコマンドを含
むパケットを回路モジュールM2に送信し、回路モジュ
ールM2は、パケット中のコマンドを解釈してドット情
報に変換し、ドット情報を含むパケットを回路モジュー
ルM3に送信する。また、回路モジュールM3は、パケ
ットに含まれるドット情報に基づいて、プリンタの印字
ヘッドから吐出されるインクの制御を行う。Each circuit module may simply deliver the packet, or may process the received packet and transmit it to the next circuit module. In the latter case, for example, the circuit module M1 transmits a packet including a printer command to the circuit module M2, and the circuit module M2 interprets the command in the packet to convert the command into dot information, and converts the packet including the dot information into a packet. The signal is transmitted to the circuit module M3. The circuit module M3 controls the ink ejected from the print head of the printer based on the dot information included in the packet.
【0060】このように、プリンタの処理順序に従って
各回路モジュールを配置すれば、各回路モジュールの処
理結果をパケットの形態で次の処理を行う回路モジュー
ルに伝送でき、効率よく印字処理を行うことができる。As described above, by arranging each circuit module in accordance with the processing order of the printer, the processing result of each circuit module can be transmitted in the form of a packet to the circuit module which performs the next processing, and the printing processing can be performed efficiently. it can.
【0061】各回路モジュール間の転送バス5の形態に
は種々のものが適用可能であり、PCIバス等の汎用の
バスを利用してもよいし、専用のバスを利用してもよ
い。あるいは、コネクタ33としてUSB端子やIEEE13
94端子を利用して、USBやIEEE1394の規格に沿ったデー
タを送受してもよい。Various forms can be applied to the form of the transfer bus 5 between the circuit modules, and a general-purpose bus such as a PCI bus or a dedicated bus may be used. Alternatively, a USB terminal or IEEE13
Using the terminal 94, data according to the USB or IEEE1394 standard may be transmitted and received.
【0062】本実施形態の場合、データは単方向にしか
流れないため、入出力ポートの構成を簡略化できるとと
もに、データの伝送速度を向上できる。すなわち、双方
向にデータを送受する場合、双方向バッファなどを設け
なければならないため、構成が複雑になり、また、デー
タの切り替え制御に時間がかかることから、データの伝
送速度が制限されてしまうが、本実施形態のように単方
向にデータ伝送を行えば、データの切り替え制御が不要
な分だけ高速にデータ伝送を行える。In this embodiment, since data flows only in one direction, the configuration of the input / output ports can be simplified, and the data transmission speed can be improved. That is, when transmitting and receiving data in both directions, a bidirectional buffer must be provided, which complicates the configuration, and the time required for data switching control limits the data transmission speed. However, if data transmission is performed in one direction as in the present embodiment, data transmission can be performed at high speed as much as control of data switching is unnecessary.
【0063】データの伝送速度をさらに向上させたい場
合は、各回路モジュール間で送受されるデータ量に応じ
て回路モジュールの接続順序を決定すればよい。例え
ば、回路モジュールM1がIF回路モジュール、回路モ
ジュールM2が画像処理回路モジュール、回路モジュー
ルM3がメカ制御回路モジュールの場合、回路モジュー
ルM1から回路モジュールM2へのデータ伝送量と、回
路モジュールM2から回路モジュールM3へのデータ伝
送量とが多いのに対し、回路モジュールM2から回路モ
ジュールM1へのデータ伝送量と回路モジュールM3か
ら回路モジュールM2へのデータ伝送量は少ない。To further improve the data transmission speed, the connection order of the circuit modules may be determined according to the amount of data transmitted and received between the circuit modules. For example, when the circuit module M1 is an IF circuit module, the circuit module M2 is an image processing circuit module, and the circuit module M3 is a mechanical control circuit module, the data transmission amount from the circuit module M1 to the circuit module M2 and the circuit module M2 from the circuit module M2 While the amount of data transmitted to M3 is large, the amount of data transmitted from circuit module M2 to circuit module M1 and the amount of data transmitted from circuit module M3 to circuit module M2 are small.
【0064】このため、図1に示すように、回路モジュ
ールM1,M2,M3の順に接続すれば、最も効率よく
データを伝送でき、平均的なデータ伝送速度を向上でき
る。Therefore, as shown in FIG. 1, if the circuit modules M1, M2, and M3 are connected in this order, data can be transmitted most efficiently, and the average data transmission speed can be improved.
【0065】上述した実施形態では、回路モジュール間
を接続するデータバス幅設定用の信号線S0,S1の本
数が2本の例を説明したが、信号線S0,S1の本数に
制限はなく、信号線S0,S1の本数は3本以上でもよ
いし、あるいは1本でもよい。データバス幅の組合せ数
に合わせて信号線S0,S1の本数を決定すればよい。In the above-described embodiment, an example has been described in which the number of data bus width setting signal lines S0 and S1 connecting the circuit modules is two. However, the number of signal lines S0 and S1 is not limited. The number of signal lines S0 and S1 may be three or more, or may be one. The number of signal lines S0 and S1 may be determined according to the number of combinations of data bus widths.
【0066】また、図1では、3つの回路モジュールM
1,M2,M3をリング状に接続する例を説明したが、
リング状に接続される回路モジュールの数には特に制限
はない。In FIG. 1, three circuit modules M
Although an example in which 1, M2, and M3 are connected in a ring shape has been described,
There is no particular limitation on the number of circuit modules connected in a ring.
【0067】[0067]
【発明の効果】以上詳細に説明したように、本発明によ
れば、回路モジュール間の信号線の電圧により、回路モ
ジュール間でのデータバス幅を設定するため、データバ
ス幅の異なる回路モジュール同士でも、データの取りこ
ぼしなくデータ伝送を行うことができる。また、データ
伝送を開始する前に通信相手先のデータバス幅を把握で
きるため、通信相手先のデータバス幅に合わせたデータ
を伝送できる。As described above in detail, according to the present invention, the data bus width between the circuit modules is set by the voltage of the signal line between the circuit modules. However, data transmission can be performed without missing data. Since the data bus width of the communication partner can be ascertained before starting data transmission, data can be transmitted according to the data bus width of the communication partner.
【図1】本発明に係るプリンタの概略構成図。FIG. 1 is a schematic configuration diagram of a printer according to the invention.
【図2】制御部の入力部分の回路図。FIG. 2 is a circuit diagram of an input part of a control unit.
【図3】回路モジュール内のプルアップ抵抗R1とジャ
ンパースイッチの配置を示す図。FIG. 3 is a diagram showing an arrangement of a pull-up resistor R1 and a jumper switch in a circuit module.
【図4】信号線S0,S1の電圧とバス幅との関係を示
す図。FIG. 4 is a diagram showing a relationship between voltages of signal lines S0 and S1 and a bus width.
【図5】(a)はリセット回路を内蔵する回路モジュー
ルのブロック図、(b)はリセット回路を内蔵しない回
路モジュールのブロック図。5A is a block diagram of a circuit module including a reset circuit, and FIG. 5B is a block diagram of a circuit module not including a reset circuit.
【図6】回路モジュール内の詳細構成を示すブロック
図。FIG. 6 is a block diagram showing a detailed configuration inside a circuit module.
【図7】パケットのデータ構成を示す図。FIG. 7 is a diagram showing a data configuration of a packet.
【図8】プリンタ制御回路の従来例を示す図。FIG. 8 is a diagram showing a conventional example of a printer control circuit.
1 入力ポート 2 出力ポート 3 ASIC M1,M2,M3 回路モジュール S1,S2 信号線 R 抵抗 SW ジャンパースイッチ 1 input port 2 output port 3 ASIC M1, M2, M3 circuit module S1, S2 signal line R resistance SW jumper switch
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C061 HJ06 HJ10 HK11 5B061 FF02 GG16 RR02 5K031 AA02 CB00 DA15 DB04 EC01 5K034 AA11 AA12 BB07 DD03 DD04 EE05 FF19 GG06 HH01 HH02 JJ00 KK01 KK27 MM14 NN12 SS01 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C061 HJ06 HJ10 HK11 5B061 FF02 GG16 RR02 5K031 AA02 CB00 DA15 DB04 EC01 5K034 AA11 AA12 BB07 DD03 DD04 EE05 FF19 GG06 HH01 HH02 JJ00 KK01 KK01
Claims (9)
してデータ伝送を行うプリンタにおいて、 互いにデータ通信を行う2つの回路モジュールに前記デ
ータバスとは別個に接続される所定本数の信号線を備
え、 前記2つの回路モジュールのそれぞれは、 印刷データを送受するデータチャネル部と、 印刷制御データを送受する制御チャネル部と、 他の回路モジュールとの間で前記印刷データおよび前記
印刷制御データを送受するコネクタと、 前記所定本数の信号線を前記データバスのバス幅に応じ
た電圧に設定する電圧設定回路と、 前記所定本数の信号線の電圧により、前記2つの回路モ
ジュール間の前記データバスのバス幅を設定するバス幅
設定回路と、を有することを特徴とするプリンタ。1. A printer for performing data transmission between a plurality of circuit modules via a data bus, wherein two circuit modules for performing data communication with each other include a predetermined number of signal lines connected separately from the data bus. A data channel unit for transmitting and receiving print data, a control channel unit for transmitting and receiving print control data, and transmitting and receiving the print data and the print control data between other circuit modules. A connector; a voltage setting circuit for setting the predetermined number of signal lines to a voltage corresponding to a bus width of the data bus; and a bus of the data bus between the two circuit modules by a voltage of the predetermined number of signal lines. A bus width setting circuit for setting a width.
ジュール内の前記電圧設定回路が、同一の前記信号線に
対してそれぞれ異なる電圧を設定した場合には、これら
2つの電圧のうち、バス幅が狭い方の電圧に合わせてバ
ス幅を設定することを特徴とする請求項1に記載のプリ
ンタ。2. The bus width setting circuit according to claim 2, wherein said voltage setting circuits in said two circuit modules set different voltages for the same signal line, respectively. 2. The printer according to claim 1, wherein the bus width is set in accordance with the voltage having the smaller bus width.
抵抗およびジャンパースイッチを有し、 前記抵抗の一端は対応する信号線に接続され、他端は所
定の正電圧端子に接続され、 前記ジャンパースイッチの一端は対応する信号線に接続
され、他端は接地端子に接続されることを特徴とする請
求項1または2に記載のプリンタ。3. The method according to claim 1, wherein each of the predetermined number of signal lines includes:
A resistor and a jumper switch, one end of the resistor is connected to a corresponding signal line, the other end is connected to a predetermined positive voltage terminal, one end of the jumper switch is connected to a corresponding signal line, and the other end is 3. The printer according to claim 1, wherein the printer is connected to a ground terminal.
接続される一方の前記ジャンパースイッチがオンで、他
方の前記ジャンパースイッチがオフの場合には、この信
号線の電圧を接地端子と同電圧にすることを特徴とする
請求項3に記載のプリンタ。4. The voltage setting circuit, when one of the jumper switches connected to the same signal line is on and the other jumper switch is off, the voltage of the signal line is connected to a ground terminal. 4. The printer according to claim 3, wherein the voltage is the same.
本数の信号線に対応した第1の抵抗および第1のジャン
パースイッチと、 次段の前記回路モジュールとの間に接続される前記所定
本数の信号線に対応した第2の抵抗および第2のジャン
パースイッチと、を有し、 前記第1および第2の抵抗の一端はそれぞれ対応する信
号線に接続され、他端は所定の正電圧端子に接続され、 前記第1および第2のジャンパースイッチの一端はそれ
ぞれ対応する信号線に接続され、他端は接地端子に接続
され、 前記バス幅設定回路は、前記第1および第2のジャンパ
ースイッチのオン・オフに応じて、前段の前記回路モジ
ュールとの間のデータバス幅と、次段の前記回路モジュ
ールとの間のデータバス幅とを個別に設定することを特
徴とする請求項3または4に記載のプリンタ。5. Each of the plurality of circuit modules includes: a first resistor and a first jumper switch corresponding to the predetermined number of signal lines connected between the circuit modules in a preceding stage; A second resistor and a second jumper switch corresponding to the predetermined number of signal lines connected to the circuit module; one end of each of the first and second resistors is a corresponding signal; The other end is connected to a predetermined positive voltage terminal, one end of each of the first and second jumper switches is connected to a corresponding signal line, the other end is connected to a ground terminal, and the bus width The setting circuit is configured to control a data bus width between the first-stage circuit module and a data bus between the next-stage circuit module according to ON / OFF of the first and second jumper switches. The printer according to claim 3 or 4, characterized in that setting the bus width individually.
のシステムクロックに基づいて、互いに非同期に動作
し、 前記2つの回路モジュールの各システムクロックの周波
数が異なる場合には、遅い方のシステムクロックに合わ
せてデータ伝送を行う伝送速度調整手段を備えることを
特徴とする請求項1〜5のいずれかに記載のプリンタ。6. The two circuit modules operate asynchronously with each other based on separate system clocks. If the frequency of each system clock of the two circuit modules is different, the two circuit modules adjust to the slower system clock. The printer according to any one of claims 1 to 5, further comprising a transmission speed adjusting unit for performing data transmission by using the printer.
タチャネル部に対するデータか、前記制御チャネル部に
対するデータかを識別するアドレス線が設けられること
を特徴とする請求項1〜6のいずれかに記載のプリン
タ。7. An apparatus according to claim 1, wherein said predetermined number of signal lines include an address line for identifying data for said data channel portion or data for said control channel portion. The printer according to any of the above.
接続されて単方向にのみデータを送信することを特徴と
することを特徴とする請求項1〜7のいずれかに記載の
プリンタ。8. The printer according to claim 1, wherein the plurality of circuit modules are connected in a ring shape and transmit data only in one direction.
可能な複数の回路モジュールを備えたプリンタ内でのデ
ータ通信方法であって、 互いにデータ通信を行う前記回路モジュール同士を所定
本数の信号線にて接続し、前記所定本数の信号線の電圧
を前記回路モジュールごとに個別に設定した結果に基づ
いて、前段の前記回路モジュールとのデータ通信時のバ
ス幅と次段の前記回路モジュールとのデータ通信時のバ
ス幅とを個別に設定することを特徴とするデータ通信方
法。9. A data communication method in a printer having a plurality of circuit modules connected in a ring and capable of transmitting data in one direction, wherein a predetermined number of signals are transmitted between said circuit modules performing data communication with each other. And a bus width at the time of data communication with the previous-stage circuit module and the next-stage circuit module based on the result of individually setting the voltage of the predetermined number of signal lines for each of the circuit modules. A data communication method characterized by individually setting a bus width for data communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34742299A JP3736729B2 (en) | 1999-12-07 | 1999-12-07 | Printer and data communication method in printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34742299A JP3736729B2 (en) | 1999-12-07 | 1999-12-07 | Printer and data communication method in printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001162901A true JP2001162901A (en) | 2001-06-19 |
JP3736729B2 JP3736729B2 (en) | 2006-01-18 |
Family
ID=18390128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP34742299A Expired - Fee Related JP3736729B2 (en) | 1999-12-07 | 1999-12-07 | Printer and data communication method in printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3736729B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005044343A (en) * | 2003-06-21 | 2005-02-17 | Samsung Electronics Co Ltd | Portable storage device and method enabling free change in data bus width |
JP2007223176A (en) * | 2006-02-23 | 2007-09-06 | Seiko Epson Corp | Printing apparatus and printing apparatus manufacturing method |
JP2010277429A (en) * | 2009-05-29 | 2010-12-09 | Canon Inc | Apparatus and method for processing data using ring bus, and program |
US7978803B2 (en) | 2005-08-25 | 2011-07-12 | Fujitsu Semiconductor Limited | Semiconductor device |
-
1999
- 1999-12-07 JP JP34742299A patent/JP3736729B2/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005044343A (en) * | 2003-06-21 | 2005-02-17 | Samsung Electronics Co Ltd | Portable storage device and method enabling free change in data bus width |
JP4579589B2 (en) * | 2003-06-21 | 2010-11-10 | 三星電子株式会社 | Portable storage device and method for freely changing data bus width |
US7978803B2 (en) | 2005-08-25 | 2011-07-12 | Fujitsu Semiconductor Limited | Semiconductor device |
JP2007223176A (en) * | 2006-02-23 | 2007-09-06 | Seiko Epson Corp | Printing apparatus and printing apparatus manufacturing method |
US8007066B2 (en) | 2006-02-23 | 2011-08-30 | Seiko Epson Corporation | Printing apparatus, printing method and method of manufacturing printing apparatus |
JP2010277429A (en) * | 2009-05-29 | 2010-12-09 | Canon Inc | Apparatus and method for processing data using ring bus, and program |
Also Published As
Publication number | Publication date |
---|---|
JP3736729B2 (en) | 2006-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5822634B2 (en) | Recording apparatus and operation setting method thereof | |
US6141719A (en) | USB selector switch | |
US20040153597A1 (en) | Communication control semiconductor device and interface system | |
JP5096024B2 (en) | USB controller and USB controller test method | |
US5504929A (en) | Method and apparatus for encoding byte sequence for self-clocked high speed data transfer from a parallel port | |
US7174412B2 (en) | Method and device for adjusting lane ordering of peripheral component interconnect express | |
US6275498B1 (en) | Extended PHY addressing | |
US7007115B2 (en) | Removing lane-to-lane skew | |
US6744810B1 (en) | Signal repeater for voltage intolerant components used in a serial data line | |
JP3736729B2 (en) | Printer and data communication method in printer | |
KR102518285B1 (en) | PCIe INTERFACE AND INTERFACE SYSTEM | |
CN118381721A (en) | A method for configuring a serializer or sensor using I2C broadcast in an A-PHY system | |
JP3512105B2 (en) | Data communication device and data communication method | |
JP3871177B2 (en) | Data communication apparatus and data communication method | |
US6950440B1 (en) | System and method for efficiently generating packets on a serial bus in response to parallel bus cycles | |
US5732199A (en) | Control method and device of scanner with built-in plug-and-play printer port | |
JP4095216B2 (en) | Printer and data communication method in printer | |
KR100195064B1 (en) | Data network matching device | |
KR0178588B1 (en) | I2c protocol communication apparatus | |
KR100306299B1 (en) | Apparatus for transmitting data between chips | |
JP4604956B2 (en) | Information processing device | |
JP3581481B2 (en) | Information processing system, information processing method, and printing device | |
JPH05216602A (en) | Information processing system | |
JP2574486Y2 (en) | Printer connection device | |
JPH10124265A (en) | Printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050414 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050419 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050620 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050715 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050912 |
|
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: 20051007 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051020 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091104 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091104 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101104 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101104 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111104 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111104 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121104 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121104 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131104 Year of fee payment: 8 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |