JP2019139135A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2019139135A
JP2019139135A JP2018023991A JP2018023991A JP2019139135A JP 2019139135 A JP2019139135 A JP 2019139135A JP 2018023991 A JP2018023991 A JP 2018023991A JP 2018023991 A JP2018023991 A JP 2018023991A JP 2019139135 A JP2019139135 A JP 2019139135A
Authority
JP
Japan
Prior art keywords
data
control circuit
control
request
request data
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
Application number
JP2018023991A
Other languages
Japanese (ja)
Other versions
JP6874711B2 (en
Inventor
小林 信也
Shinya Kobayashi
信也 小林
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2018023991A priority Critical patent/JP6874711B2/en
Publication of JP2019139135A publication Critical patent/JP2019139135A/en
Application granted granted Critical
Publication of JP6874711B2 publication Critical patent/JP6874711B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

To prepare a plurality of transmission methods, prevent an increase in processing load on a control circuit, and prevent the time interval from a request for to completion of transmission of specific data from becoming longer than or equal to a certain time interval.SOLUTION: An image forming apparatus comprises: a timer; a first control circuit; and a second control circuit. The timer measures a monitoring period. The second control circuit is connected to a first object and a second object. The first control circuit generates first request data. The first control circuit transmits the first request data to the second control circuit as first control data by using a mailbox. The first control circuit generates second request data for controlling the second object. When the monitoring period newly starts, the first control circuit generates second control data based on the second request data and transmits the generated second control data to the second control circuit.SELECTED DRAWING: Figure 8

Description

本発明は、通信を行う複数の制御回路を含む画像形成装置での回路間通信に関する。   The present invention relates to inter-circuit communication in an image forming apparatus including a plurality of control circuits that perform communication.

画像形成装置は、複数の制御回路を含むことがある。制御回路間で、様々なデータをやりとりすることがある。プリントコントローラーと、エンジン制御部間でステータス情報をやりとりする画像形成装置の一例が特許文献1に記載されている。   The image forming apparatus may include a plurality of control circuits. Various data may be exchanged between control circuits. An example of an image forming apparatus that exchanges status information between a print controller and an engine control unit is described in Patent Document 1.

特許文献1には、用紙に印字するプリンタエンジンを制御するエンジン制御部と、エンジン制御部に指令を出力してプリンタエンジンの状態を認識する画像コントローラーを備え、エンジン制御部は、プリンタエンジンの状態を報知する複数のステータス情報と、ステータス情報が変化したことを画像コントローラーへ報知するステータス変化報知信号を生成し、ステータス情報が所定の期間内に変化した場合、プリンタエンジン内部の所定の優先順位に基づいて、変化したステータス情報を画像コントローラーに選択的に報知すると共に、ステータス変化報知信号を送信する画像形成装置が記載されている。報知する状態変化情報の数を限定しようとする(特許文献1:請求項1、段落[0087])。   Patent Document 1 includes an engine control unit that controls a printer engine that prints on a sheet, and an image controller that outputs a command to the engine control unit to recognize the state of the printer engine. A status change notification signal for notifying the image controller that the status information has changed, and when the status information changes within a predetermined period, the printer engine has a predetermined priority order inside the printer engine. On the basis of this, there is described an image forming apparatus that selectively notifies a changed status information to an image controller and transmits a status change notification signal. An attempt is made to limit the number of state change information to be notified (Patent Document 1: Claim 1, paragraph [0087]).

特開平09−281852号公報JP 09-281852 A

画像形成装置に複数の制御回路を設けることがある。制御回路は、例えば、CPUである。各制御回路は、割り当てられた処理を行う。画像形成装置全体が問題なく動作するように、制御回路間で通信が行われる。例えば、画像形成装置の本体と、画像形成装置に装着するオプション装置のそれぞれに制御回路を設けることがある。本体側の制御回路は、オプション装置の制御回路に動作指示を与える。オプション装置の制御回路は、動作指示に基づき、オプション装置に含まれる部材を制御する。また、画像形成装置の本体の制御回路とオプション装置は、互いの状態を通知しあう。相互通知により相手の状態を確認することができる。   A plurality of control circuits may be provided in the image forming apparatus. The control circuit is, for example, a CPU. Each control circuit performs assigned processing. Communication is performed between the control circuits so that the entire image forming apparatus operates without any problem. For example, a control circuit may be provided in each of the main body of the image forming apparatus and an optional device attached to the image forming apparatus. The control circuit on the main body side gives an operation instruction to the control circuit of the optional device. The control circuit of the optional device controls members included in the optional device based on the operation instruction. Further, the control circuit of the main body of the image forming apparatus and the optional device notify each other of the state. The other party's status can be confirmed by mutual notification.

制御回路間でデータ通信を行う場合、制御回路がデータ送信要求を出してから(データを送信すると決めてから)、実際のデータ送信が完了するまでの時間的間隔(遅延)は少なからずある。この時間的間隔が長くなった場合、印刷に大きな影響が出ることがある。例えば、用紙位置が理想的な位置から大きくずれることがある。用紙を適切な位置で停止できないことがある。用紙の位置ずれが大きいと、用紙の詰まり(ジャム)や印刷位置のずれが生じ得る。特に、印刷速度が速い画像形成装置では、用紙は高速搬送される。そのため、高速な画像形成装置ほど、時間的間隔の許容範囲は狭くなる。   When data communication is performed between the control circuits, there is not a little time interval (delay) from when the control circuit issues a data transmission request (after determining that data is transmitted) until the actual data transmission is completed. If this time interval becomes long, printing may be greatly affected. For example, the paper position may deviate greatly from the ideal position. The paper may not stop at the proper position. If the positional deviation of the paper is large, the paper may be jammed or the printing position may be shifted. In particular, in an image forming apparatus with a high printing speed, a sheet is conveyed at high speed. Therefore, the faster the image forming apparatus, the narrower the allowable time interval.

例えば、要求が出されると直ちにデータを送信すれば、要求から受信までの時間的間隔は、短くなりやすい。しかし、このようなデータ送信は、別の処理中に送信処理を頻繁に割り込ませることになる。制御回路の処理負荷(処理量)が大きくなる。一方、データの中には、多少時間的間隔が長くても、印刷に大きな影響が出ないものもある。従って、制御回路の処理負荷が大きくなりすぎないようにしつつ、速やかに伝達すべきデータについては、要求から送信完了までの時間的間隔を最小限にとどめるべきという問題がある。   For example, if data is transmitted as soon as a request is issued, the time interval from request to reception tends to be short. However, such data transmission frequently interrupts the transmission process during another process. The processing load (processing amount) of the control circuit increases. On the other hand, some data does not have a significant effect on printing even if the time interval is somewhat long. Therefore, there is a problem that the time interval from the request to the completion of transmission should be kept to a minimum for the data to be transmitted promptly while preventing the processing load of the control circuit from becoming too large.

特許文献1記載の技術では、通知する情報を意図的に減らし、状態変化を効率的に伝達しようとする。しかし、通信方式は一定であり、情報の伝達速度は固定されている。伝えるべき情報が多くなり、送信待ちのデータが多くなった場合、情報伝達が遅延し、実行するジョブに大きな影響が出る場合がある。   In the technique described in Patent Document 1, information to be notified is intentionally reduced, and state changes are transmitted efficiently. However, the communication method is constant, and the information transmission speed is fixed. If the amount of information to be transmitted increases and the data waiting to be transmitted increases, the transmission of information may be delayed, which may greatly affect the job to be executed.

本発明は上記の課題に鑑み、複数の送信方式を用意し、制御回路の処理負荷の増加を抑えつつ、特定のデータについては、送信の要求から完了までの時間的間隔が一定以上にならないようにする。   In view of the above problems, the present invention prepares a plurality of transmission methods and suppresses an increase in the processing load of the control circuit, while preventing a time interval from a transmission request to completion for specific data from exceeding a certain level. To.

本発明に係る画像形成装置は、タイマー、第1制御回路、第2制御回路、第1記憶部、第2記憶部、を含む。前記タイマーは予め定められた監視周期を測る。前記第2制御回路は前記第1制御回路と通信する。前記第2制御回路は第1対象及び第2対象と接続される。前記第2制御回路は前記第1対象と前記第2対象の動作を制御する。前記第1記憶部は前記第1対象を制御するための第1要求データを記憶する。前記第2記憶部は前記第2対象を制御するための第2要求データを記憶する。前記第1制御回路は、制御ソフトウェアに基づき前記第1要求データを生成する。前記第1制御回路は、メールボックスを利用して、前記第1要求データを第1制御データとして前記第2制御回路に送信する。前記第2制御回路は、受信した前記第1制御データに基づき前記第1対象を制御する。また、前記第1制御回路は、前記制御ソフトウェアに基づき前記第2対象を制御するための第2要求データを生成する。前記第1制御回路は、生成した前記第2要求データを前記第2記憶部に記憶させる。前記監視周期が新たに始まったとき、前記第1制御回路は、1つ前の前記監視周期の間に前記第2記憶部に記憶された前記第2要求データに基づき第2制御データを生成する。前記第1制御回路は、生成した前記第2制御データを前記第2制御回路に送信する。前記第2制御回路は、受信した前記第2制御データに基づき前記第2対象を制御する。前記監視周期は基準間隔よりも短くなるように設定される。前記基準間隔は前記第1要求データの生成から実際に前記第1制御データの前記第2制御回路への送信が完了するまでの時間的間隔の目安の時間である。   The image forming apparatus according to the present invention includes a timer, a first control circuit, a second control circuit, a first storage unit, and a second storage unit. The timer measures a predetermined monitoring period. The second control circuit communicates with the first control circuit. The second control circuit is connected to the first target and the second target. The second control circuit controls operations of the first object and the second object. The first storage unit stores first request data for controlling the first object. The second storage unit stores second request data for controlling the second object. The first control circuit generates the first request data based on control software. The first control circuit transmits the first request data as first control data to the second control circuit using a mailbox. The second control circuit controls the first object based on the received first control data. The first control circuit generates second request data for controlling the second target based on the control software. The first control circuit stores the generated second request data in the second storage unit. When the monitoring period newly starts, the first control circuit generates second control data based on the second request data stored in the second storage unit during the previous monitoring period. . The first control circuit transmits the generated second control data to the second control circuit. The second control circuit controls the second object based on the received second control data. The monitoring period is set to be shorter than the reference interval. The reference interval is an approximate time interval from the generation of the first request data to the actual transmission of the first control data to the second control circuit.

本発明によれば、制御回路間の通信に、複数の送信方式を用意することができる。制御回路の処理負荷を抑えつつ、遅れるべきではない特定の制御データについては、要求から送信完了までの時間的間隔を短くすることができる。   According to the present invention, a plurality of transmission methods can be prepared for communication between control circuits. For specific control data that should not be delayed while reducing the processing load on the control circuit, the time interval from the request to the completion of transmission can be shortened.

実施形態に係る画像形成装置の一例を示す図である。1 is a diagram illustrating an example of an image forming apparatus according to an embodiment. 実施形態に係る画像形成装置の一例を示す図である。1 is a diagram illustrating an example of an image forming apparatus according to an embodiment. 実施形態に係るエンジン制御部の一例を示す図である。It is a figure which shows an example of the engine control part which concerns on embodiment. 実施形態に係る給紙装置の一例を示す図である。It is a figure which shows an example of the paper feeder which concerns on embodiment. 実施形態に係る第1制御データの送信の一例を示す図である。It is a figure which shows an example of transmission of the 1st control data which concerns on embodiment. 実施形態に係る第2制御データの送信の一例を示す図である。It is a figure which shows an example of transmission of the 2nd control data which concerns on embodiment. 実施形態に係る第2制御データの生成の一例を示す図である。It is a figure which shows an example of the production | generation of the 2nd control data which concerns on embodiment. 実施形態に係る第2制御データの生成の一例を示す図である。It is a figure which shows an example of the production | generation of the 2nd control data which concerns on embodiment. 実施形態に係る第3制御データの送信の一例を示す図である。It is a figure which shows an example of transmission of the 3rd control data which concerns on embodiment. 実施形態に係る第3制御データの送信の一例を示す図である。It is a figure which shows an example of transmission of the 3rd control data which concerns on embodiment.

以下、図1〜図10を用いて、本発明の実施形態を説明する。以下では、オプション装置が取り付けられた画像形成装置100を説明する。また、画像形成装置100は、インクジェット方式のものである。例えば、画像形成装置100は、A4用紙を1分間に100枚以上印刷できる。なお、画像形成装置100は電子写真方式のものでもよい。画像形成装置100としてプリンターを例に挙げて説明する。なお、画像形成装置100は、例えば、複合機でもよい。オプション装置として、給紙装置7を例に挙げて説明する。   Hereinafter, embodiments of the present invention will be described with reference to FIGS. Hereinafter, the image forming apparatus 100 to which the optional device is attached will be described. The image forming apparatus 100 is of an ink jet type. For example, the image forming apparatus 100 can print 100 or more A4 sheets per minute. The image forming apparatus 100 may be an electrophotographic type. The image forming apparatus 100 will be described using a printer as an example. Note that the image forming apparatus 100 may be, for example, a multifunction peripheral. As an optional device, the sheet feeder 7 will be described as an example.

(画像形成装置100の概要)
まず、図1及び図2を用いて、実施形態に係る画像形成装置100の概要を説明する。図1、図2は、実施形態に係る画像形成装置100の一例を示す図である。
(Outline of image forming apparatus 100)
First, the outline of the image forming apparatus 100 according to the embodiment will be described with reference to FIGS. 1 and 2. 1 and 2 are diagrams illustrating an example of an image forming apparatus 100 according to the embodiment.

画像形成装置100は制御部1、記憶部2、操作パネル3、エンジン制御部4、印刷部5、通信部6を含む。制御部1は画像形成装置100の各部を制御する。制御部1は、CPU11と画像処理回路12を含む。CPU11は、記憶部2に記憶される制御プログラムや制御データに基づき演算、処理を行う。記憶部2は、ROM、ストレージ(HDD、フラッシュROM)のような不揮発性の記憶装置と、RAMのような揮発性の記憶装置を含む。画像処理回路12は、印刷に用いる画像データに対し、画像処理を行う。   The image forming apparatus 100 includes a control unit 1, a storage unit 2, an operation panel 3, an engine control unit 4, a printing unit 5, and a communication unit 6. The control unit 1 controls each unit of the image forming apparatus 100. The control unit 1 includes a CPU 11 and an image processing circuit 12. The CPU 11 performs calculation and processing based on the control program and control data stored in the storage unit 2. The storage unit 2 includes a nonvolatile storage device such as a ROM and storage (HDD, flash ROM), and a volatile storage device such as a RAM. The image processing circuit 12 performs image processing on image data used for printing.

画像形成装置100は操作パネル3を含む。操作パネル3は、表示パネル31、タッチパネル32を含む。表示パネル31は設定画面や情報を表示する。表示パネル31は、キー、ボタン、タブのような操作用画像を表示する。タッチパネル32は、表示パネル31へのタッチ操作を検知する。タッチパネル32の出力に基づき、制御部1は、操作された操作用画像を認識する。制御部1は、使用者が行った設定操作を認識する。   The image forming apparatus 100 includes an operation panel 3. The operation panel 3 includes a display panel 31 and a touch panel 32. The display panel 31 displays a setting screen and information. The display panel 31 displays operation images such as keys, buttons, and tabs. The touch panel 32 detects a touch operation on the display panel 31. Based on the output of the touch panel 32, the control unit 1 recognizes the operated operation image. The control unit 1 recognizes the setting operation performed by the user.

画像形成装置100はエンジン制御部4と印刷部5を含む。印刷部5は、給紙部5a、給紙装置7、用紙搬送部5b及び画像形成部5cを含む。制御部1から印刷実行指示を受けたとき、印刷実行指示に基づき、エンジン制御部4は印刷部5の動作を制御する。給紙部5aは本体内部に設けられる。給紙部5aは用紙束を収容する。給紙部5aは給紙ローラー51を含む。給紙ローラー51は給紙部5a内の最上位の用紙と接する。   The image forming apparatus 100 includes an engine control unit 4 and a printing unit 5. The printing unit 5 includes a paper feeding unit 5a, a paper feeding device 7, a paper conveying unit 5b, and an image forming unit 5c. When receiving a print execution instruction from the control unit 1, the engine control unit 4 controls the operation of the print unit 5 based on the print execution instruction. The paper feeding unit 5a is provided inside the main body. The sheet feeding unit 5a accommodates a sheet bundle. The paper feed unit 5 a includes a paper feed roller 51. The paper feed roller 51 is in contact with the uppermost paper in the paper feed unit 5a.

給紙装置7はオプション装置である。給紙装置7は、画像形成装置100の本体部分101の右側面に取り付けられる。給紙装置7は複数の用紙カセット71を含む。各用紙カセット71は用紙束を収容する。各用紙カセット71に対し、1つのオプション給紙ローラー72が設けられる。各オプション給紙ローラー72は用紙カセット71にセットされた用紙の最上位と接する。   The paper feeding device 7 is an optional device. The sheet feeding device 7 is attached to the right side surface of the main body portion 101 of the image forming apparatus 100. The paper feeding device 7 includes a plurality of paper cassettes 71. Each sheet cassette 71 accommodates a sheet bundle. One optional paper feed roller 72 is provided for each paper cassette 71. Each optional paper feed roller 72 is in contact with the top of the paper set in the paper cassette 71.

印刷ジョブのとき、制御部1は、給紙ローラー51とオプション給紙ローラー72のうち、何れか1つを回転させる。操作パネル3は、給紙部5aから給紙するか、給紙装置7から給紙するかの選択を受け付ける。また、通信部6に接続されたコンピューター200を用いて、給紙部5aから給紙するか、給紙装置7から給紙するかを選択することもできる。また、操作パネル3は、給紙装置7のうち、どの用紙カセット71から給紙するかの選択も受け付ける。また、通信部6に接続されたコンピューター200を用いて、給紙装置7のどの用紙カセット71から給紙するかを選択することもできる。操作パネル3への入力又は通信部6での通信に基づき、制御部1は、給紙を行う部分を認識する。制御部1は、給紙を行う部分をエンジン制御部4に通知する。エンジン制御部4は、通知された部分から用紙を給紙させる。   In the case of a print job, the control unit 1 rotates any one of the paper feed roller 51 and the optional paper feed roller 72. The operation panel 3 accepts selection of paper feeding from the paper feeding unit 5 a or paper feeding from the paper feeding device 7. Further, using the computer 200 connected to the communication unit 6, it is possible to select whether the paper is fed from the paper feeding unit 5 a or the paper feeding device 7. The operation panel 3 also accepts selection of which paper cassette 71 from the paper feeding device 7 to feed paper. It is also possible to select from which paper cassette 71 of the paper feeding device 7 paper is fed using the computer 200 connected to the communication unit 6. Based on input to the operation panel 3 or communication through the communication unit 6, the control unit 1 recognizes a part to be fed. The control unit 1 notifies the engine control unit 4 of the part to be fed. The engine control unit 4 feeds paper from the notified part.

給紙装置7は、オプション搬送部73を含む。オプション搬送部73は、オプション搬送路74とオプション搬送ローラー対75を含む。便宜上、図2では、1つのオプション搬送ローラー対75にのみ符号を付す。オプション搬送ローラー対75はオプション搬送路74に沿って複数設けられる。給紙装置7から給紙を行うとき、エンジン制御部4は、オプション搬送ローラー対75を回転させる。給紙装置7から給紙された用紙は、本体内に搬入される。給紙装置7の搬送路は、画像形成部5cの上流側の搬送路に合流する。これにより、給紙装置7から給紙された用紙は、画像形成部5cに供給される。   The paper feeding device 7 includes an optional conveyance unit 73. The optional conveyance unit 73 includes an optional conveyance path 74 and an optional conveyance roller pair 75. For convenience, in FIG. 2, only one optional conveying roller pair 75 is denoted by a reference numeral. A plurality of optional conveyance roller pairs 75 are provided along the optional conveyance path 74. When paper is fed from the paper feeder 7, the engine control unit 4 rotates the optional transport roller pair 75. The paper fed from the paper feeding device 7 is carried into the main body. The conveyance path of the sheet feeding device 7 joins the conveyance path on the upstream side of the image forming unit 5c. As a result, the sheet fed from the sheet feeding device 7 is supplied to the image forming unit 5c.

用紙搬送部5bは用紙を搬送する。図2において用紙搬送経路を太線で示す。搬送経路に沿って複数の搬送ローラー対52が設けられる。便宜上、図2では、1つの搬送ローラー対52にのみ符号を付す。用紙搬送部5bは、搬送ユニット53を含む。搬送ユニット53は、駆動ローラー54と複数の従動ローラー55と搬送ベルト56を含む。搬送ベルト56は、駆動ローラー54と各従動ローラー55に架け回される。印刷ジョブのとき、エンジン制御部4は、印刷時、エンジン制御部4は搬送用モーターを回転させる。搬送用モーター59は、各搬送ローラー対52を回転させる。搬送用モーター59は、各搬送ローラー対52を回転させる。印刷時、エンジン制御部4はベルトモーター510を回転させる。ベルトモーター510は駆動ローラー54を回転させる。その結果、給紙部5a又は給紙装置7から供給された用紙は画像形成部5cに向けて搬送される。画像形成部5cでの印刷後、エンジン制御部4は、用紙搬送部5bに排出トレイ57まで用紙を搬送させる。記録済(印刷済)の用紙は機外に排出される。排出トレイ57は、画像形成装置100の右側面上部に取り付けられる。なお、用紙搬送部5bは吸着部58(図3参照)を含む。吸着部58は用紙を搬送ベルト56に吸着させる。吸着により、用紙の位置及び各ノズルと用紙の距離が固定される。印刷時、エンジン制御部4は吸着部58を動作させる。   The paper transport unit 5b transports paper. In FIG. 2, the paper conveyance path is indicated by a bold line. A plurality of transport roller pairs 52 are provided along the transport path. For convenience, in FIG. 2, only one conveyance roller pair 52 is denoted by a reference numeral. The paper transport unit 5 b includes a transport unit 53. The transport unit 53 includes a drive roller 54, a plurality of driven rollers 55, and a transport belt 56. The conveyor belt 56 is wound around the driving roller 54 and each driven roller 55. During a print job, the engine control unit 4 rotates the transport motor during printing. The transport motor 59 rotates each transport roller pair 52. The transport motor 59 rotates each transport roller pair 52. During printing, the engine control unit 4 rotates the belt motor 510. The belt motor 510 rotates the driving roller 54. As a result, the paper supplied from the paper supply unit 5a or the paper supply device 7 is conveyed toward the image forming unit 5c. After printing in the image forming unit 5c, the engine control unit 4 causes the paper transport unit 5b to transport the paper to the discharge tray 57. The recorded (printed) paper is discharged out of the machine. The discharge tray 57 is attached to the upper right side of the image forming apparatus 100. The paper transport unit 5b includes a suction unit 58 (see FIG. 3). The adsorbing unit 58 adsorbs the sheet to the conveyance belt 56. By the suction, the position of the paper and the distance between each nozzle and the paper are fixed. During printing, the engine control unit 4 operates the suction unit 58.

画像形成部5cは、搬送用紙にインクを吐出して画像を記録する。言い換えると、画像形成部5cは印刷する。印刷のための画像データは画像処理回路12から供給される。図1、図2に示すように、画像形成装置100は、4本のラインヘッド50(50Bk、50C、50M、50Y)を含む。搬送ベルト56の上方に各ラインヘッド50が設けられる。各ラインヘッド50と搬送ベルト56の間に一定の隙間が設けられる。各ラインヘッド50は固定される。各ラインヘッド50は複数のノズルを含む。各ノズルの開口は搬送ベルト56と向かい合う。各ノズルからインクが吐出される。ラインヘッド50Bkはブラックのインクを吐出する。ラインヘッド50Cはシアンのインクを吐出する。ラインヘッド50Mはマゼンタのインクを吐出する。ラインヘッド50Yはイエローのインクを吐出する。インクは搬送用紙に着弾する。これにより、画像が記録(形成)される。ラインヘッド50ごとに、インクを供給するインクタンクが設けられる。   The image forming unit 5c records an image by ejecting ink onto the transport sheet. In other words, the image forming unit 5c performs printing. Image data for printing is supplied from the image processing circuit 12. As shown in FIGS. 1 and 2, the image forming apparatus 100 includes four line heads 50 (50Bk, 50C, 50M, and 50Y). Each line head 50 is provided above the conveyor belt 56. A fixed gap is provided between each line head 50 and the conveyor belt 56. Each line head 50 is fixed. Each line head 50 includes a plurality of nozzles. The opening of each nozzle faces the conveyor belt 56. Ink is ejected from each nozzle. The line head 50Bk ejects black ink. The line head 50C discharges cyan ink. The line head 50M ejects magenta ink. The line head 50Y discharges yellow ink. The ink lands on the transport paper. Thereby, an image is recorded (formed). An ink tank that supplies ink is provided for each line head 50.

制御部1は通信部6と接続される。通信部6は通信用のハードウェア(コネクタ、通信用回路)とソフトウェアを含む。通信部6はコンピューター200と通信する。コンピューター200は、例えば、PCやサーバーである。制御部1はコンピューター200から印刷用データを受信する。印刷用データは印刷設定や印刷内容を含む。印刷用データはページ記述言語で記述されたデータを含む。制御部1(画像処理回路12)は、受信した(入力された)印刷用データを解析する。受信した印刷用データに基づき、制御部1は、画像形成部5cでの画像形成に用いる画像データ(ラスターデータ)を生成する。   The control unit 1 is connected to the communication unit 6. The communication unit 6 includes communication hardware (connector, communication circuit) and software. The communication unit 6 communicates with the computer 200. The computer 200 is, for example, a PC or a server. The control unit 1 receives print data from the computer 200. The print data includes print settings and print contents. The print data includes data described in a page description language. The control unit 1 (image processing circuit 12) analyzes the received (input) print data. Based on the received printing data, the control unit 1 generates image data (raster data) used for image formation in the image forming unit 5c.

(エンジン制御部4)
次に、図3を用いて、実施形態に係るエンジン制御部4の一例を説明する。図3は、実施形態に係るエンジン制御部4の一例を示す図である。
(Engine control unit 4)
Next, an example of the engine control unit 4 according to the embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating an example of the engine control unit 4 according to the embodiment.

エンジン制御部4は印刷部5を制御する。エンジン制御部4は例えば基板である。エンジン制御部4は、第1制御回路40、タイマー41、エンジンROM42、エンジンRAM43(第1記憶部に相当)を含む。第1制御回路40は、タイマー41とエンジンI/F回路44を含む。エンジンI/F回路44は第1制御回路40と別体でもよい。   The engine control unit 4 controls the printing unit 5. The engine control unit 4 is a substrate, for example. The engine control unit 4 includes a first control circuit 40, a timer 41, an engine ROM 42, and an engine RAM 43 (corresponding to a first storage unit). The first control circuit 40 includes a timer 41 and an engine I / F circuit 44. The engine I / F circuit 44 may be separate from the first control circuit 40.

第1制御回路40はCPUのような集積回路である(エンジンCPU)。タイマー41には、CPU内に設けられた計時回路を用いることができる。なお、タイマー41は第1制御回路40と別体でもよい。例えば、タイマー41はエンジンCPUに外付けされたクロックを数えるカウンター回路でもよい。第1制御回路40は、印刷部5(印刷エンジン)の動作を制御する。第1制御回路40は、エンジンROM42又は記憶部2から第1制御ソフトウェア45、第2制御ソフトウェア46、第3制御ソフトウェア47を読み出す。読み出された各制御ソフトウェアは、エンジンRAM43に記憶される。第1制御ソフトウェア45、第2制御ソフトウェア46、第3制御ソフトウェア47を用いて、第1制御回路40は印刷動作を制御する。   The first control circuit 40 is an integrated circuit such as a CPU (engine CPU). As the timer 41, a timer circuit provided in the CPU can be used. The timer 41 may be separate from the first control circuit 40. For example, the timer 41 may be a counter circuit that counts clocks externally attached to the engine CPU. The first control circuit 40 controls the operation of the printing unit 5 (print engine). The first control circuit 40 reads the first control software 45, the second control software 46, and the third control software 47 from the engine ROM 42 or the storage unit 2. Each read control software is stored in the engine RAM 43. Using the first control software 45, the second control software 46, and the third control software 47, the first control circuit 40 controls the printing operation.

第1制御ソフトウェア45は、印刷部5(給紙部5a、給紙装置7、用紙搬送部5b、画像形成部5c)の動作を制御するためのソフトウェアである。例えば、第1制御ソフトウェア45は、各部分に含まれる制御対象の動作の開始、停止を制御する。第1制御ソフトウェア45は、印刷に用いる各部分の動作タイミングを制御する。第3ソフトウェアは、変更許可データ92を生成するソフトウェアである。変更許可データ92の詳細は後述する。   The first control software 45 is software for controlling the operation of the printing unit 5 (the paper feeding unit 5a, the paper feeding device 7, the paper conveying unit 5b, and the image forming unit 5c). For example, the first control software 45 controls the start and stop of the operation of the control target included in each part. The first control software 45 controls the operation timing of each part used for printing. The third software is software that generates the change permission data 92. Details of the change permission data 92 will be described later.

第2制御ソフトウェア46はエンジンI/F回路44を制御する。第2制御ソフトウェア46は、給紙装置7との通信を制御するソフトウェアである。第2制御ソフトウェア46は、給紙装置7と通信するため物理層(エンジンI/F回路44)を制御するためのソフトウェアである。階層的には、第1制御ソフトウェア45と第3制御ソフトウェア47は、第3制御ソフトウェア47の上位となる。第1制御ソフトウェア45が作成した要求(データ)が第2制御ソフトウェア46に与えられる。エンジン制御部4は、第3制御ソフトウェア47を用いて、データをエンジンI/F回路44から送信する。   The second control software 46 controls the engine I / F circuit 44. The second control software 46 is software that controls communication with the sheet feeding device 7. The second control software 46 is software for controlling the physical layer (engine I / F circuit 44) in order to communicate with the sheet feeding device 7. Hierarchically, the first control software 45 and the third control software 47 are superior to the third control software 47. A request (data) created by the first control software 45 is given to the second control software 46. The engine control unit 4 transmits data from the engine I / F circuit 44 using the third control software 47.

タイマー41は時間を測る。タイマー41は監視周期T0を測る。監視周期T0は予め定められる。監視周期T0は、1〜数ミリ秒(例えば、2ms)である。監視周期T0はタイマー41がカウントできる周期のうち、最短の時間としてもよい。タイマー41は監視周期T0を測るごとに、タイマー41は出力レベルを一時的に変化させる。タイマー41の出力は第1制御回路40に入力される。タイマー41は、監視周期T0が経過したことを知らせる周期経過信号を第1制御回路40に入力する。第1制御回路40は、周期経過信号に基づき、現在の監視周期T0が終わったこと、次の監視周期T0が始まったことを認識する。   The timer 41 measures time. The timer 41 measures the monitoring cycle T0. The monitoring period T0 is predetermined. The monitoring period T0 is 1 to several milliseconds (for example, 2 ms). The monitoring period T0 may be the shortest time among the periods that the timer 41 can count. Every time the timer 41 measures the monitoring period T0, the timer 41 temporarily changes the output level. The output of the timer 41 is input to the first control circuit 40. The timer 41 inputs a cycle elapse signal notifying that the monitoring cycle T0 has elapsed to the first control circuit 40. The first control circuit 40 recognizes that the current monitoring cycle T0 has ended and the next monitoring cycle T0 has started based on the cycle elapsed signal.

エンジンI/F回路44は、給紙部5a、用紙搬送部5b、画像形成部5c、給紙装置7と接続される。第1制御回路40は、給紙部5a、用紙搬送部5b、画像形成部5c、給紙装置7の動作を制御するため要求データ(信号)を生成する。第1制御回路40は、生成した要求データをエンジンI/F回路44に送信させる。エンジン制御部4(第1制御回路40)からの指示に基づき、給紙部5a、用紙搬送部5b、画像形成部5c、給紙装置7は動作する。   The engine I / F circuit 44 is connected to the paper feeding unit 5 a, the paper transport unit 5 b, the image forming unit 5 c, and the paper feeding device 7. The first control circuit 40 generates request data (signal) for controlling the operations of the paper feed unit 5 a, the paper transport unit 5 b, the image forming unit 5 c, and the paper feed device 7. The first control circuit 40 transmits the generated request data to the engine I / F circuit 44. Based on an instruction from the engine control unit 4 (first control circuit 40), the paper feed unit 5a, the paper transport unit 5b, the image forming unit 5c, and the paper feed device 7 operate.

(給紙装置7)
次に、図4を用いて、実施形態に係る給紙装置7の一例を説明する。図4は、実施形態に係る給紙装置7の一例を示す図である。
(Paper Feeder 7)
Next, an example of the sheet feeding device 7 according to the embodiment will be described with reference to FIG. FIG. 4 is a diagram illustrating an example of the sheet feeding device 7 according to the embodiment.

給紙装置7は給紙制御部7aを含む。給紙制御部7aは、給紙装置7(オプション装置)を制御する。例えば、給紙制御部7aは制御基板である。給紙制御部7aは、第2制御回路70、給紙ROM76、給紙RAM77を含む。第2制御回路70は、給紙I/F回路78を含む。給紙I/F回路78は第2制御回路70と別体でもよい。   The paper feed device 7 includes a paper feed controller 7a. The paper feed control unit 7a controls the paper feed device 7 (optional device). For example, the paper feed control unit 7a is a control board. The paper feed controller 7 a includes a second control circuit 70, a paper feed ROM 76, and a paper feed RAM 77. The second control circuit 70 includes a paper feed I / F circuit 78. The paper feed I / F circuit 78 may be separate from the second control circuit 70.

第2制御回路70は、例えば、CPUのような集積回路である。第2制御回路70は、給紙装置7(オプション装置)の動作を制御する。第2制御回路70は、給紙ROM76又は記憶部2から給紙装置7を制御するためのソフトウェアを読み出す。読み出された制御ソフトウェアは、給紙RAM77に記憶される。読み出した制御ソフトウェアを用いて、第2制御回路70は印刷時の給紙動作を制御する。   The second control circuit 70 is an integrated circuit such as a CPU, for example. The second control circuit 70 controls the operation of the paper feeding device 7 (optional device). The second control circuit 70 reads software for controlling the paper feeding device 7 from the paper feeding ROM 76 or the storage unit 2. The read control software is stored in the paper feed RAM 77. Using the read control software, the second control circuit 70 controls the paper feeding operation during printing.

第2制御回路70(給紙I/F回路78)は、第1制御回路40(エンジンI/F回路44)と通信する。また、第2制御回路70(給紙I/F回路78)は、制御対象と接続される。第2制御回路70の制御対象は、給紙装置7内に設けられた部材である。制御対象には、給紙モーター79、給紙クラッチ710、搬送モーター711、ファンモーター712がある。   The second control circuit 70 (paper feed I / F circuit 78) communicates with the first control circuit 40 (engine I / F circuit 44). Further, the second control circuit 70 (paper feed I / F circuit 78) is connected to a control target. The control target of the second control circuit 70 is a member provided in the paper feeding device 7. Control targets include a paper feed motor 79, a paper feed clutch 710, a transport motor 711, and a fan motor 712.

給紙モーター79は、オプション給紙ローラー72を回転させるモーターである。給紙モーター79は複数設けられる。1つのオプション給紙ローラー72(用紙カセット71)に対し、給紙モーター79が1つ設けられる。第1制御回路40から受信した制御データに基づき、第2制御回路70は、給紙元に選択された用紙カセット71に対応する給紙モーター79を回転させる。図2に示すように、オプション給紙ローラー72の下流に捌きローラー対7bが設けられる。1つのオプション給紙ローラー72に対し、捌きローラー対7bが1つ設けられる。各捌きローラー対7bは用紙の重送を解消する。捌きローラー対7bの上側のローラーは用紙を下流に送る方向に回転する。捌きローラー対7bの下側のローラーは用紙を用紙カセット71に戻す方向に回転する。給紙モーター79は捌きローラー対7bも回転させる。1つの給紙モーター79は、対応するオプション給紙ローラー72とそれに隣接する捌きローラー対7bを回転させる。   The paper feed motor 79 is a motor that rotates the optional paper feed roller 72. A plurality of paper feed motors 79 are provided. One paper feed motor 79 is provided for one optional paper feed roller 72 (paper cassette 71). Based on the control data received from the first control circuit 40, the second control circuit 70 rotates the paper feed motor 79 corresponding to the paper cassette 71 selected as the paper feed source. As shown in FIG. 2, a pair of rolling rollers 7 b is provided downstream of the optional paper feed roller 72. One roller pair 7b is provided for one optional paper feed roller 72. Each roller pair 7b eliminates the double feeding of paper. The upper roller of the pair of winding rollers 7b rotates in a direction to feed the paper downstream. The lower roller of the pair of separating rollers 7b rotates in a direction to return the paper to the paper cassette 71. The paper feed motor 79 also rotates the roller pair 7b. One paper feed motor 79 rotates the corresponding optional paper feed roller 72 and a pair of separating rollers 7b adjacent thereto.

給紙クラッチ710は、オプション給紙ローラー72の回転を一時的に停止させるためのものである。給紙クラッチ710は電磁クラッチである。入力電圧(電流)のレベルにより、連結、開放を切り替えることができる。1つのオプション給紙ローラー72に対し、給紙クラッチ710が1つ設けられる。複数枚の用紙を連続して供給するとき、第1制御回路40から受信した制御データに基づき、第2制御回路70は、給紙しているオプション給紙ローラー72を一時的に停止させる(給紙クラッチ710の開放、対応する給紙モーター79を回転させたまま)。先の用紙が用紙カセット71を抜けた時点で、オプション給紙ローラー72は一時停止する。所定の紙間形成後、第1制御回路40は、オプション給紙ローラー72の回転を再開させる(給紙クラッチ710の連結)。   The paper feed clutch 710 is for temporarily stopping the rotation of the optional paper feed roller 72. The paper feed clutch 710 is an electromagnetic clutch. Depending on the level of the input voltage (current), connection and release can be switched. One paper feed clutch 710 is provided for one optional paper feed roller 72. When continuously supplying a plurality of sheets, the second control circuit 70 temporarily stops the optional sheet feeding roller 72 that is feeding based on the control data received from the first control circuit 40 (feeding). The paper clutch 710 is released and the corresponding paper feed motor 79 is kept rotating). When the previous sheet passes through the sheet cassette 71, the optional sheet feeding roller 72 is temporarily stopped. After forming a predetermined sheet interval, the first control circuit 40 restarts the rotation of the optional sheet feeding roller 72 (connection of the sheet feeding clutch 710).

搬送モーター711は、オプション搬送ローラー対75を回転させるためのモーターである。オプション搬送路74に沿って、複数のオプション搬送ローラー対75が設けられる。そのため、搬送モーター711も複数設けてもよい。給紙装置7から用紙を給紙するとき、第1制御回路40から受信した制御データに基づき、第2制御回路70は、各搬送モーター711を回転させる。これにより、各オプション搬送ローラー対75が回転する。用紙が画像形成部5cに向けて送られる。   The transport motor 711 is a motor for rotating the optional transport roller pair 75. A plurality of optional conveyance roller pairs 75 are provided along the optional conveyance path 74. Therefore, a plurality of transport motors 711 may be provided. When the paper is fed from the paper feeding device 7, the second control circuit 70 rotates each transport motor 711 based on the control data received from the first control circuit 40. Thereby, each option conveyance roller pair 75 rotates. The sheet is sent toward the image forming unit 5c.

ファンモーター712は、給紙装置7に設けられたファンを回転させる。ファンは、例えば、給紙装置7内の温度と温度を調整するために設けられる。ファンとファンモーター712は複数設けてもよい。例えば、給紙装置7から用紙を給紙するとき、第1制御回路40から受信した制御データに基づき、第2制御回路70は、各ファンモーター712を回転させる。これにより、各ファンが回転する。   The fan motor 712 rotates a fan provided in the sheet feeding device 7. The fan is provided, for example, for adjusting the temperature and temperature in the sheet feeding device 7. A plurality of fans and fan motors 712 may be provided. For example, when paper is fed from the paper feeding device 7, the second control circuit 70 rotates each fan motor 712 based on the control data received from the first control circuit 40. Thereby, each fan rotates.

このように、給紙装置7は複数の制御対象を含む。エンジン制御部4(第1制御回路40)は、制御データ(要求)を第2制御回路70に送信する。制御データは制御対象の動作を制御するためのデータ(信号)である。給紙装置7の第2制御回路70は、各制御対象と通信可能に接続される。第2制御回路70は、第1制御回路40からの制御データ(要求)に基づき、各制御対象の動作を制御する。第1制御回路40は、第2制御回路70とその制御対象を制御するといえる。   As described above, the sheet feeding device 7 includes a plurality of control objects. The engine control unit 4 (first control circuit 40) transmits control data (request) to the second control circuit 70. The control data is data (signal) for controlling the operation of the controlled object. The second control circuit 70 of the paper feeding device 7 is connected to be communicable with each control target. The second control circuit 70 controls the operation of each control target based on the control data (request) from the first control circuit 40. It can be said that the first control circuit 40 controls the second control circuit 70 and its controlled object.

第1制御回路40が第2制御回路70に送信する制御データは複数種類ある。制御データは、第1制御データ9a、第2制御データ9b、第3制御データ9cに分類される。第1制御データ9aは、第1対象を制御するための制御データである。第2制御データ9bは、第2対象を制御するための制御データである。第3制御データ9cは、第3対象を制御するための制御データである。給紙装置7に含まれる部材のうち、何れを第1対象にし、何れを第2対象にし、何れを第3対象にするかは、予め定められる。例えば、制御対象のうち、ファンモーター712が第1対象とされる。制御対象のうち、給紙モーター79、給紙クラッチ710、搬送モーター711が第2対象とされる。給紙モーター79、給紙クラッチ710、搬送モーター711のうち、特に高速に制御したい(ON/OFFを高速に切り替えたい)ものが、第3対象とされる。   There are a plurality of types of control data that the first control circuit 40 transmits to the second control circuit 70. The control data is classified into first control data 9a, second control data 9b, and third control data 9c. The first control data 9a is control data for controlling the first target. The second control data 9b is control data for controlling the second target. The third control data 9c is control data for controlling the third target. Which of the members included in the sheet feeding device 7 is the first target, which is the second target, and which is the third target is predetermined. For example, among the control targets, the fan motor 712 is the first target. Among the control targets, the paper feed motor 79, the paper feed clutch 710, and the transport motor 711 are the second targets. Of the paper feed motor 79, the paper feed clutch 710, and the transport motor 711, the one to be controlled at a particularly high speed (to switch ON / OFF at a high speed) is the third target.

つまり、第1制御回路40は、第1対象、第2対象、第3対象を制御するためのデータを第2制御回路70に送信する。第2制御回路70は、第1対象、第2対象、及び、第3対象と接続される。第1制御回路40から受信した制御データに基づき、第2制御回路70は、第1対象、第2対象、第3対象の動作を制御する。例えば、第2制御回路70は、第1対象、第2対象、第3対象のON/OFFを制御する。   That is, the first control circuit 40 transmits data for controlling the first target, the second target, and the third target to the second control circuit 70. The second control circuit 70 is connected to the first object, the second object, and the third object. Based on the control data received from the first control circuit 40, the second control circuit 70 controls the operations of the first object, the second object, and the third object. For example, the second control circuit 70 controls ON / OFF of the first target, the second target, and the third target.

(第1制御データ9aの送信)
次に、図5を用いて、実施形態に係る第1制御データ9aの送信の一例を説明する。図5は、実施形態に係る第1制御データ9aの送信の一例を示す図である。
(Transmission of the first control data 9a)
Next, an example of transmission of the first control data 9a according to the embodiment will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of transmission of the first control data 9a according to the embodiment.

第1制御回路40は、第1制御ソフトウェア45に基づき、第1要求データ81を生成する。第1要求データ81は、第1対象を制御するためのデータである。言い換えると、第1制御回路40は、第1対象を制御するデータの送信要求を出す。図5のうち、時点t1は第1要求データ81を生成した(送信要求を出した)時点である。第1制御回路40は、第1要求データ81を第1制御データ9aとして送信する。   The first control circuit 40 generates first request data 81 based on the first control software 45. The first request data 81 is data for controlling the first target. In other words, the first control circuit 40 issues a data transmission request for controlling the first target. In FIG. 5, a time point t1 is a time point when the first request data 81 is generated (a transmission request is issued). The first control circuit 40 transmits the first request data 81 as the first control data 9a.

第1制御データ9aの送信は、第1通信方式で行われる。第1通信方式は、メールボックスを利用した通信である。第1制御回路40はメールボックスを利用して第1制御データ9aを第2制御回路70に送信する。メールボックス機能は、メモリーに置かれたメッセージを受け渡しして、同期的な通信を行う機能である。メールボックス通信機能は、例えば、Itronのようなソフトウェア(OS)に実装されている。メールボックスを用いてデータを送信するとき、第1制御回路40はメールボックスを作成する。例えば、第1制御回路40は、エンジンRAM43の一部の領域をメールボックスに割り当てる。   The transmission of the first control data 9a is performed by the first communication method. The first communication method is communication using a mailbox. The first control circuit 40 transmits the first control data 9a to the second control circuit 70 using a mailbox. The mailbox function is a function for performing synchronous communication by passing a message placed in a memory. For example, the mailbox communication function is implemented in software (OS) such as Itron. When transmitting data using a mailbox, the first control circuit 40 creates a mailbox. For example, the first control circuit 40 allocates a partial area of the engine RAM 43 to a mailbox.

第1要求データ81を生成したとき、第1制御回路40は、第1要求データ81をエンジンRAM43のメッセージ保存領域に書き込む。また、第1制御回路40は、メールボックスに第1要求データ81の格納アドレス(ポインタ)を書き込む。以後、第2制御ソフトウェア46に基づき、第1制御回路40は第1制御データ9aの送信を行う。つまり、上位層のソフトウェアが下位層のソフトウェアにデータの送信を要求する。   When the first request data 81 is generated, the first control circuit 40 writes the first request data 81 in the message storage area of the engine RAM 43. Further, the first control circuit 40 writes the storage address (pointer) of the first request data 81 in the mailbox. Thereafter, based on the second control software 46, the first control circuit 40 transmits the first control data 9a. That is, the upper layer software requests the lower layer software to transmit data.

例えば、第2制御回路70は、データを受信するタイミングでメールボックスのアドレスを確認する。確認があったとき、第1制御回路40は、第1要求データ81を第1制御データ9aとして第2制御回路70(給紙I/F回路78)に送信する。メールボックスを用いた送受信は、第1制御回路40の負荷を比較的抑えられるというメリットがある。   For example, the second control circuit 70 confirms the address of the mailbox at the timing of receiving data. When the confirmation is made, the first control circuit 40 transmits the first request data 81 as the first control data 9a to the second control circuit 70 (paper feed I / F circuit 78). The transmission / reception using the mailbox has an advantage that the load on the first control circuit 40 can be relatively suppressed.

しかし、メールボックスを用いた通信では、一定の手順を踏む(メールボックスへの書込や受信待ちなど)。そのため、第1制御データ9aについては、第1要求データ81の生成から第2制御回路70が実際に第1制御データ9aを受信するまでの時間的間隔が長くなることがある。図5では、第1通信方式での時間的間隔の一例(第1時間間隔T1)を実線矢印で図示している。   However, in communication using a mailbox, a certain procedure is taken (writing to a mailbox, waiting for reception, etc.). Therefore, for the first control data 9a, the time interval from the generation of the first request data 81 until the second control circuit 70 actually receives the first control data 9a may be long. In FIG. 5, an example (first time interval T1) of the time interval in the first communication method is indicated by a solid arrow.

プリンターでは、高速に印刷が行われる。制御対象の中には、要求から通信完了までの時間的間隔が長くなると印刷に問題がでるものがある。そこで、第1対象は、制御対象のうち、制御データの多少の遅延が問題とならないものとされる。例えば、各ファンモーター712が第1対象とされる。また、各ファンモーター712の制御データが第1制御データ9aとされる。その他、エンジン制御部4の状態を第2制御回路70(給紙制御部7a)に知らせる通知が第1制御データ9aとされてもよい。一方、第1制御回路40は、時間的間隔が長くなると印刷に問題がでることがある制御対象の制御データを、第2通信方式、又は、第3通信方式を用いて送信する。   A printer performs printing at high speed. Some controlled objects have problems in printing when the time interval from the request to the completion of communication becomes long. Therefore, the first target is not subject to a slight delay in control data among the control targets. For example, each fan motor 712 is a first target. The control data of each fan motor 712 is the first control data 9a. In addition, a notification that informs the second control circuit 70 (paper feed control unit 7a) of the state of the engine control unit 4 may be the first control data 9a. On the other hand, the first control circuit 40 transmits, using the second communication method or the third communication method, control data to be controlled that may cause a problem in printing when the time interval becomes longer.

(第2制御データ9bの生成と送信)
次に、図6〜図8を用いて、実施形態に係る第2制御データ9bの送信の一例を説明する。図6は、実施形態に係る第2制御データ9bの送信の一例を示す図である。図7、図8は、実施形態に係る第2制御データ9bの生成の一例を示す図である。
(Generation and transmission of second control data 9b)
Next, an example of transmission of the second control data 9b according to the embodiment will be described with reference to FIGS. FIG. 6 is a diagram illustrating an example of transmission of the second control data 9b according to the embodiment. 7 and 8 are diagrams illustrating an example of generation of the second control data 9b according to the embodiment.

プリンターでは、高速に印刷が行われる。制御対象の中には、要求から送信完了までの時間的間隔が長くなると印刷に問題がでるものがある。そこで、第2対象は、制御対象のうち、制御データの送信の遅延が印刷の問題になる場合があるものとされる。例えば、給紙モーター79、給紙クラッチ710、搬送モーター711が第2対象とされる。また、給紙モーター79、給紙クラッチ710、搬送モーター711の制御データが第2制御データ9bとされる。   A printer performs printing at high speed. Some control objects have problems in printing when the time interval from the request to the completion of transmission becomes long. Therefore, the second target is a control target in which delay in transmission of control data may be a printing problem. For example, the paper feed motor 79, the paper feed clutch 710, and the transport motor 711 are the second target. The control data of the paper feed motor 79, the paper feed clutch 710, and the transport motor 711 is the second control data 9b.

第1制御回路40は、第2通信方式で、第2制御データ9bを第2制御回路70に送信する。第2制御データ9bは、第2対象を制御するためのデータである。第2制御データ9bの送信は、監視周期T0に基づき行われる。タイマー41が監視周期T0を測る。監視周期T0は基準間隔よりも短くなるように設定される。基準間隔は第1要求データ81の生成から第1制御データ9aの第2制御回路70への送信が完了するまで(実際に第2制御回路70が第1制御データ9aを受信するまで)の時間的間隔の目安の時間(経験的な平均時間)である。例えば、基準間隔は実験により定めることができる。複数回、第1要求データ81の生成から送信完了までの時間を測る。測った時間の平均値を基準間隔とすることができる。   The first control circuit 40 transmits the second control data 9b to the second control circuit 70 by the second communication method. The second control data 9b is data for controlling the second target. The transmission of the second control data 9b is performed based on the monitoring cycle T0. The timer 41 measures the monitoring cycle T0. The monitoring period T0 is set to be shorter than the reference interval. The reference interval is the time from the generation of the first request data 81 until the transmission of the first control data 9a to the second control circuit 70 is completed (until the second control circuit 70 actually receives the first control data 9a). This is the target time (empirical average time) of the target interval. For example, the reference interval can be determined by experiment. The time from the generation of the first request data 81 to the completion of transmission is measured a plurality of times. The average value of the measured time can be used as the reference interval.

第1制御回路40は、第1制御ソフトウェア45に基づき、第2要求データ82を生成する。言い換えると、第1制御回路40は第2対象を制御するためのデータの送信要求を出す。図6のうち、時点t2、t3が第2要求データ82を生成した時点である。第1制御回路40は生成した第2要求データ82をレジスタ48(第2記憶部に相当)に記憶させる。レジスタ48は第1制御回路40内に設けられる。レジスタ48を用いるので、高速に読み書きを行うことができる。   The first control circuit 40 generates the second request data 82 based on the first control software 45. In other words, the first control circuit 40 issues a data transmission request for controlling the second target. In FIG. 6, time points t <b> 2 and t <b> 3 are times when the second request data 82 is generated. The first control circuit 40 stores the generated second request data 82 in the register 48 (corresponding to the second storage unit). The register 48 is provided in the first control circuit 40. Since the register 48 is used, reading and writing can be performed at high speed.

監視周期T0が新たに始まったとき、第2制御回路70は、1つ前の監視周期T0の間に第2記憶部に記憶された第2要求データ82に基づいて第2制御データ9bを生成するか否かを判断する。第2制御データ9bを生成すると判断したとき、第1制御回路40は第2制御データ9bを生成する。生成後、第1制御回路40は第2制御データ9bを第2制御回路70に送信する。   When the monitoring cycle T0 newly starts, the second control circuit 70 generates the second control data 9b based on the second request data 82 stored in the second storage unit during the previous monitoring cycle T0. Judge whether to do. When it is determined that the second control data 9b is to be generated, the first control circuit 40 generates the second control data 9b. After the generation, the first control circuit 40 transmits the second control data 9b to the second control circuit 70.

ここで、第2対象は複数ある。第1制御回路40は各第2対象を制御するための第2要求データ82を生成する。第2要求データ82はビット列である。ビット列では、各第2対象の動作のON/OFFの要求を1、0で表現するビットが並べられる。図7は、第2要求データ82の一例を示す。   Here, there are a plurality of second objects. The first control circuit 40 generates second request data 82 for controlling each second target. The second request data 82 is a bit string. In the bit string, bits representing ON / OFF requests of the second target operations as 1 and 0 are arranged. FIG. 7 shows an example of the second request data 82.

図7の第2要求データ82は、16ビット(2バイト)のデータである。第2要求データ82のビット数は、第2対象の数以上である。図7に示す第2要求データ82によれば、16個の第2対象(モーターやクラッチ)のON/OFFを制御できる。何番目のビットがどの第2対象を制御するビットであるかは予め定められる。言い換えると、各ビットに対応する第2対象が予め定められる。図7の第2要求データ82では、「1」がON、「0」がOFFを示す。第2対象がモーターのとき、ビット「1」は回転、「0」は停止を示す。第2対象がクラッチのとき、ビット「1」は連結、「0」は開放を示す。   The second request data 82 in FIG. 7 is 16-bit (2 bytes) data. The number of bits of the second request data 82 is equal to or greater than the number of the second object. According to the second request data 82 shown in FIG. 7, it is possible to control ON / OFF of the 16 second objects (motors and clutches). It is determined in advance which bit is the bit that controls which second object. In other words, a second target corresponding to each bit is determined in advance. In the second request data 82 of FIG. 7, “1” indicates ON and “0” indicates OFF. When the second object is a motor, bit “1” indicates rotation and “0” indicates stop. When the second object is a clutch, bit “1” indicates connection and “0” indicates release.

図7に示すように、第2制御回路70は実績データ91もレジスタ48に記憶させる。実績データ91は、前回送信した第2制御データ9bである。実績データ91(第2制御データ9b)と第2要求データ82のビット数は同じである。   As shown in FIG. 7, the second control circuit 70 also stores the result data 91 in the register 48. The performance data 91 is the second control data 9b transmitted last time. The actual data 91 (second control data 9b) and the second request data 82 have the same number of bits.

さらに、第1制御回路40は、第3制御ソフトウェア47に基づき、変更許可データ92を生成する。第3制御ソフトウェア47は、モーターやクラッチのON/OFFのタイミングを調整する。例えば、同時にOFFすべきモーター同士が同時にOFFされるように、変更許可データ92を生成する。また、各モーターを順番にONする場合やOFFする場合、第3制御ソフトウェア47に基づき、第1制御回路40は、所定間隔ごとに、変更許可データ92のビットを1ビット又は数ビットずつ変化させる。   Further, the first control circuit 40 generates change permission data 92 based on the third control software 47. The third control software 47 adjusts the ON / OFF timing of the motor and the clutch. For example, the change permission data 92 is generated so that the motors that should be turned off simultaneously are turned off at the same time. When each motor is turned on or off in turn, the first control circuit 40 changes the bits of the change permission data 92 by one bit or several bits at predetermined intervals based on the third control software 47. .

変更許可データ92は、第2要求データ82、実績データ91と同じビット数である。第2制御回路70は、現時点での動作変更を許可する第2対象に対応するビットを許可値とする。第2制御回路70は、現時点で動作変更を許可しない第2対象に対応するビットを不許可値とする。ビットの位置と第2対象との関係は、第2要求データ82と同じである。第2要求データ82の1番目のビットがモーターAと対応している場合、変更許可データ92の1番目のビットは、モーターAの動作変更の許可、不許可を示す。図7に変更許可データ92の一例を示す。図7の変更許可データ92のうち、「1」は許可値(変更許可)を示し、「0」は不許可値(変更不可)を示す。   The change permission data 92 has the same number of bits as the second request data 82 and the performance data 91. The second control circuit 70 sets the bit corresponding to the second target permitting the operation change at the current time as the permission value. The second control circuit 70 sets a bit corresponding to the second target that is not permitted to change the operation at the present time as a disallowed value. The relationship between the bit position and the second object is the same as that of the second request data 82. When the first bit of the second request data 82 corresponds to the motor A, the first bit of the change permission data 92 indicates whether the operation change of the motor A is permitted or not permitted. FIG. 7 shows an example of the change permission data 92. In the change permission data 92 of FIG. 7, “1” indicates a permission value (change permission), and “0” indicates a non-permission value (change not allowed).

1つ前の監視周期T0中に第2要求データ82が生成されたとき、第1制御回路40は、第2要求データ82、実績データ91、変更許可データ92に基づき、第2制御データ9bの生成、送信が必要か否かを判定する。必要と判定したとき、第1制御回路40は、第2要求データ82、実績データ91、変更許可データ92に基づき、第2制御データ9bを生成する。   When the second request data 82 is generated during the immediately preceding monitoring cycle T0, the first control circuit 40 determines the second control data 9b based on the second request data 82, the actual data 91, and the change permission data 92. It is determined whether generation and transmission are necessary. When determined to be necessary, the first control circuit 40 generates the second control data 9b based on the second request data 82, the performance data 91, and the change permission data 92.

次に、図8を用いて、監視周期T0が新たに始まったときの処理の流れを説明する。例えば、図8のスタートは、第1制御回路40がタイマー41の出力に基づき、新たな監視周期T0の開始を認識した時点である。まず、第1制御回路40は、1つ前の監視周期T0中に、新たな第2要求データ82がレジスタ48に記憶されたか否かを確認する(ステップ♯1)。無い場合(ステップ♯1のNo)、第1制御回路40は、第2制御データ9bを送信しないと判定する(ステップ♯2)。そして、本フローは終了する(エンド)。   Next, the flow of processing when the monitoring period T0 newly starts will be described with reference to FIG. For example, the start of FIG. 8 is a time when the first control circuit 40 recognizes the start of a new monitoring cycle T0 based on the output of the timer 41. First, the first control circuit 40 checks whether or not new second request data 82 is stored in the register 48 during the immediately preceding monitoring period T0 (step # 1). If not (No in Step # 1), the first control circuit 40 determines not to transmit the second control data 9b (Step # 2). Then, this flow ends (END).

新たな第2要求データ82がレジスタ48に記憶されている場合(ステップ♯1のYes)、第1制御回路40は、変更許可データ92に許可値が含まれているか否かを確認する(ステップ♯3)。言い換えると、第1制御回路40は、変更許可データ92が全て不許可値か否かを確認する。許可値が含まれていない場合(ステップ♯3のNo)、フローはステップ♯2に移行する。   When the new second request data 82 is stored in the register 48 (Yes in Step # 1), the first control circuit 40 checks whether or not the change permission data 92 includes a permission value (Step S1). # 3). In other words, the first control circuit 40 checks whether or not all the change permission data 92 are non-permitted values. If the permission value is not included (No in step # 3), the flow proceeds to step # 2.

許可値が含まれている場合(ステップ♯3のYes)、第1制御回路40は、第2要求データ82と実績データ91に差があるか否かを確認する(ステップ♯4)。差が無い場合(ステップ♯4のNo)、第1制御回路40はステップ♯2を行う。そして、本フローは終了する(エンド)。   When the permission value is included (Yes in Step # 3), the first control circuit 40 checks whether or not there is a difference between the second request data 82 and the actual data 91 (Step # 4). If there is no difference (No in Step # 4), the first control circuit 40 performs Step # 2. Then, this flow ends (END).

差がある場合(ステップ♯4のYes)、第1制御回路40は、変更許可データ92で許可値のビットの位置において、第2要求データ82と実績データ91が異なっているか否かを確認する(ステップ♯5)。許可値のビットの位置で両データに差が無い場合(ステップ♯5のNo)、第1制御回路40はステップ♯2を行う。そして、本フローは終了する(エンド)。第2要求データ82と実績データ91が異なっていても、変更が許可されていない場合、第1制御回路40は、第2制御データ9bの生成、送信を行わない。   If there is a difference (Yes in step # 4), the first control circuit 40 checks whether or not the second request data 82 and the actual data 91 are different at the bit position of the permission value in the change permission data 92. (Step # 5). If there is no difference between the data at the bit position of the permission value (No in step # 5), the first control circuit 40 performs step # 2. Then, this flow ends (END). Even if the second request data 82 and the record data 91 are different, if the change is not permitted, the first control circuit 40 does not generate or transmit the second control data 9b.

許可値のビットの位置で両データに差がある場合(ステップ♯5のYes)、第1制御回路40は、第2制御データ9bを新たに生成する(ステップ♯6)。そして、第1制御回路40は、生成した第2制御データ9bを第2制御回路70に送信する(ステップ♯7)。次に、第1制御回路40は、実績データ91を更新する(ステップ♯8)。そして、本フローは終了する。   If there is a difference between the data at the bit position of the permission value (Yes in step # 5), the first control circuit 40 newly generates the second control data 9b (step # 6). Then, the first control circuit 40 transmits the generated second control data 9b to the second control circuit 70 (step # 7). Next, the first control circuit 40 updates the record data 91 (step # 8). Then, this flow ends.

図7の例では、第1要求データ81と実績データ91に差がある。第2制御データ9bを生成するとき、第1制御回路40は、変更許可データ92のうち、不許可値のビットについては、実績データ91を用いる。図7での黒塗白文字のビットと破線で囲われたビット(1〜7番目、9〜14番目、16番目のビット)については、第1制御回路40は、実績データ91をコピーして第2制御データ9bを生成する。   In the example of FIG. 7, there is a difference between the first request data 81 and the performance data 91. When generating the second control data 9b, the first control circuit 40 uses the record data 91 for the bits of the non-permitted value in the change permission data 92. The first control circuit 40 copies the record data 91 for the black and white character bits in FIG. 7 and the bits surrounded by the broken lines (1-7th, 9-14th, 16th bits). Second control data 9b is generated.

一方、第1制御回路40は、第2要求データ82と実績データ91で値が異なるビットであって、変更許可データ92で許可値となっているビットについては、第2要求データ82を用いる。図7において、実線の枠で囲われるビット(8番目と15番目)は、第2要求データ82のビット値が用いられている。   On the other hand, the first control circuit 40 uses the second request data 82 for bits that have different values in the second request data 82 and the actual data 91 and that are permitted values in the change permission data 92. In FIG. 7, the bit value of the second request data 82 is used for the bits (eighth and fifteenth) surrounded by a solid frame.

このように、要求データと実績データ91に違いがあるとき、第1制御回路40は、変更許可データ92において許可値のビットの位置に要求データのビットの値を適用し、変更許可データ92において非許可値のビットの位置には実績データ91のビットの値を適用した第2制御データ9bを生成する。第1制御回路40は監視周期T0の終わり(新たな監視周期T0の始まり)をトリガーとして、第2制御データ9bを第2制御回路70に送信する。監視周期T0を基準に第2制御データ9bが生成される。図6では監視周期T0の境目を破線で図示している。要求から制御データの送信完了までの時間的間隔は、監視時間未満となる。時間的間隔が一定以上長くならない。メールボックスによる通信では、時間的間隔が監視時間以上になる(なることが多い)。図6では、第1時間間隔T1の一例を実線矢印で図示している。メールボックスを用いるよりも、高速に第2制御データ9bを送信することができる。要求生成後、速やかに第2対象の状態を変化させることができる。第2通信方式によれば、第2対象の動作(反応)の大きな遅れが生じない。   As described above, when there is a difference between the request data and the actual data 91, the first control circuit 40 applies the value of the bit of the request data to the position of the bit of the permission value in the change permission data 92. Second control data 9b to which the bit value of the record data 91 is applied is generated at the bit position of the non-permitted value. The first control circuit 40 transmits the second control data 9b to the second control circuit 70 with the end of the monitoring cycle T0 (the start of a new monitoring cycle T0) as a trigger. Second control data 9b is generated based on the monitoring period T0. In FIG. 6, the boundary of the monitoring period T0 is indicated by a broken line. The time interval from the request to the completion of transmission of control data is less than the monitoring time. The time interval does not become longer than a certain length. In communication using a mailbox, the time interval is longer than the monitoring time (often). In FIG. 6, an example of the first time interval T1 is indicated by a solid line arrow. The second control data 9b can be transmitted faster than using a mailbox. After the request is generated, the state of the second target can be changed promptly. According to the second communication method, there is no significant delay in the operation (reaction) of the second object.

(第3制御データ9cの送信)
次に、図9、図10を用いて、実施形態に係る第3制御データ9cの送信の一例を説明する。図9、図10は実施形態に係る第3制御データ9cの送信の一例を示す図である。
(Transmission of third control data 9c)
Next, an example of transmission of the third control data 9c according to the embodiment will be described using FIG. 9 and FIG. 9 and 10 are diagrams illustrating an example of transmission of the third control data 9c according to the embodiment.

上述のように、給紙モーター79、給紙クラッチ710、搬送モーター711のうち、特に高速に制御したい(ON/OFFを高速に切り替えたい)ものが、第3対象とされる。第1制御回路40は、制御ソフトウェアを用いて、第3対象を制御するための第3要求データを生成する。第1制御回路40は、第3対象を制御するための第3制御データ9cを第3通信方式で送信する。第1制御回路40は、第3要求データを第3制御データ9cとして送信する。   As described above, among the paper feed motor 79, the paper feed clutch 710, and the transport motor 711, the one to be controlled at a particularly high speed (to switch ON / OFF at a high speed) is the third target. The first control circuit 40 generates third request data for controlling the third target using control software. The first control circuit 40 transmits the third control data 9c for controlling the third target by the third communication method. The first control circuit 40 transmits the third request data as the third control data 9c.

第3制御データ9cを生成したとき、第1制御回路40は、直ちに第3制御データ9cを第2制御回路70に送信する。第2制御回路70は、受信した第3制御データ9cに基づき第3対象を制御する。図9のうち、t4、t5が第3要求データを生成した時点である。図10のうち、t6が第3要求データを生成した時点である。図9、図10に示すように、第3要求データを生成すると、第1制御回路40は、直接的に(同時に)第3制御データ9cを送信する。このような直接的な送信は、第1通信方式、第2通信方式よりも、第1制御回路40の処理負荷が大きくなることがある。しかし、一部の制御対象(第3対象)に対してのみ直接的な送信を行う。第1制御回路40の処理負荷が大きくなりすぎることはない。   When the third control data 9c is generated, the first control circuit 40 immediately transmits the third control data 9c to the second control circuit 70. The second control circuit 70 controls the third target based on the received third control data 9c. In FIG. 9, t4 and t5 are times when the third request data is generated. In FIG. 10, t6 is the time when the third request data is generated. As shown in FIGS. 9 and 10, when the third request data is generated, the first control circuit 40 transmits the third control data 9c directly (simultaneously). In such direct transmission, the processing load of the first control circuit 40 may be larger than in the first communication method and the second communication method. However, direct transmission is performed only for some control objects (third objects). The processing load of the first control circuit 40 does not become too large.

更に、第1制御回路40は、第3制御データ9cとともに、現在の監視周期T0中にレジスタ48に新たに記憶された第2要求データ82に基づく第2制御データ9bを第2制御回路70に送信してもよい。図10のうち、時点t7は、第2要求データ9bが新たに生成された時点である。図10では、時点t7と同じ監視周期T0中に、第3要求データを生成している。この場合、第3要求データを生成したとき、第1制御回路40は、現在の監視周期T0中に新たに第2要求データ82を生成したか否か(レジスタ48に記憶させたか否か)を確認する。   Furthermore, the first control circuit 40 sends the second control data 9b based on the second request data 82 newly stored in the register 48 during the current monitoring period T0 to the second control circuit 70 together with the third control data 9c. You may send it. In FIG. 10, a time point t7 is a time point when the second request data 9b is newly generated. In FIG. 10, the third request data is generated during the same monitoring period T0 as at the time point t7. In this case, when the third request data is generated, the first control circuit 40 determines whether or not the second request data 82 is newly generated during the current monitoring cycle T0 (whether or not it is stored in the register 48). Check.

現在の監視周期T0中に新たに第2要求データ82を生成したとき、第1制御回路40は、図8のフローチャートを実行する。この場合、図8のフローチャートのうち、ステップ♯1はスキップされる。第2制御データ9bを送信しないと判定したとき、第1制御回路40は、第3制御データ9cのみを送信する。第2制御データ9bを新たに生成したとき、第1制御回路40は、第3制御データ9cの次に、新たに生成した第2制御データ9bを送信する。次の監視周期T0になったとき、第1制御回路40は、前の監視周期T0で判定済の第2要求データ82については、図8のフローチャートを実行しない。   When the second request data 82 is newly generated during the current monitoring period T0, the first control circuit 40 executes the flowchart of FIG. In this case, step # 1 is skipped in the flowchart of FIG. When it is determined that the second control data 9b is not transmitted, the first control circuit 40 transmits only the third control data 9c. When the second control data 9b is newly generated, the first control circuit 40 transmits the newly generated second control data 9b after the third control data 9c. When the next monitoring cycle T0 is reached, the first control circuit 40 does not execute the flowchart of FIG. 8 for the second request data 82 determined in the previous monitoring cycle T0.

このようにして、実施形態に係る画像形成装置100は、タイマー41、第1制御回路40、第2制御回路70、第1記憶部(エンジンRAM43)、第2記憶部(レジスタ48)、を含む。タイマー41は予め定められた監視周期T0を測る。第2制御回路70は第1制御回路40と通信する。第2制御回路70は第1対象及び第2対象と接続される。第2制御回路70は第1対象と第2対象の動作を制御する。第1記憶部は第1対象を制御するための第1要求データ81を記憶する。第2記憶部は第2対象を制御するための第2要求データ82を記憶する。第1制御回路40は、制御ソフトウェアに基づき第1要求データ81を生成する。第1制御回路40は、メールボックスを利用して、第1要求データ81を第1制御データ9aとして第2制御回路70に送信する。第2制御回路70は、受信した第1制御データ9aに基づき第1対象を制御する。また、第1制御回路40は、制御ソフトウェアに基づき第2対象を制御するための第2要求データ82を生成する。第1制御回路40は、生成した第2要求データ82を第2記憶部に記憶させる。監視周期T0が新たに始まったとき、第1制御回路40は、1つ前の監視周期T0の間に第2記憶部に記憶された第2要求データ82に基づき第2制御データ9bを生成する。第1制御回路40は、生成した第2制御データ9bを第2制御回路70に送信する。第2制御回路70は、受信した第2制御データ9bに基づき第2対象を制御する。監視周期T0は基準間隔よりも短くなるように設定される。基準間隔は第1要求データ81の生成から実際に第1制御データ9aの第2制御回路70への送信が完了するまでの(実際に第2制御回路70が第1制御データ9aを受信するまでの)時間的間隔の目安の時間である。   As described above, the image forming apparatus 100 according to the embodiment includes the timer 41, the first control circuit 40, the second control circuit 70, the first storage unit (engine RAM 43), and the second storage unit (register 48). . The timer 41 measures a predetermined monitoring period T0. The second control circuit 70 communicates with the first control circuit 40. The second control circuit 70 is connected to the first target and the second target. The second control circuit 70 controls the operations of the first target and the second target. The first storage unit stores first request data 81 for controlling the first object. The second storage unit stores second request data 82 for controlling the second target. The first control circuit 40 generates first request data 81 based on the control software. The first control circuit 40 transmits the first request data 81 to the second control circuit 70 as the first control data 9a using a mail box. The second control circuit 70 controls the first target based on the received first control data 9a. Further, the first control circuit 40 generates second request data 82 for controlling the second object based on the control software. The first control circuit 40 stores the generated second request data 82 in the second storage unit. When the monitoring cycle T0 newly starts, the first control circuit 40 generates the second control data 9b based on the second request data 82 stored in the second storage unit during the previous monitoring cycle T0. . The first control circuit 40 transmits the generated second control data 9b to the second control circuit 70. The second control circuit 70 controls the second target based on the received second control data 9b. The monitoring period T0 is set to be shorter than the reference interval. The reference interval is from the generation of the first request data 81 until the transmission of the first control data 9a to the second control circuit 70 is actually completed (until the second control circuit 70 actually receives the first control data 9a). ()) This is the approximate time interval.

この構成によれば、メールボックスを利用して、制御回路間で第1制御データ9a(第1対象を制御するためのデータ)の送受信を行うことができる。また、制御回路間では、監視周期T0に基づく第2制御データ9bの送受信を行うこともできる。特定の制御対象(第2対象)については、要求データの生成から送信完了までの時間的間隔を監視周期T0以下とすることができる。第2制御データ9bの送信遅延を一定以下にすることができる。つまり、高速に第2制御データ9bを送受信することができる。印刷に影響が出ないように、第2対象を高速に制御することができる。制御対象、送信するデータに応じて、送信方式を切り替えることができる。制御対象、送信するデータに応じて、適切な送信方式でデータを送信することができる。また、メールボックスに基づく通信と、監視周期T0に基づく通信を併用するので、制御回路の処理負荷が大きくなりすぎない。   According to this configuration, the first control data 9a (data for controlling the first target) can be transmitted and received between the control circuits using the mailbox. In addition, the second control data 9b can be transmitted and received between the control circuits based on the monitoring cycle T0. For a specific control target (second target), the time interval from the generation of request data to the completion of transmission can be set to a monitoring period T0 or less. The transmission delay of the second control data 9b can be made constant or less. That is, the second control data 9b can be transmitted and received at high speed. The second object can be controlled at high speed so as not to affect printing. The transmission method can be switched according to the control target and the data to be transmitted. Data can be transmitted by an appropriate transmission method in accordance with the control target and data to be transmitted. Further, since the communication based on the mailbox and the communication based on the monitoring cycle T0 are used together, the processing load on the control circuit does not become excessive.

第2制御回路70は、第3対象と接続される。第2制御回路70は第3対象の動作を制御する。第1制御回路40は、制御ソフトウェアを用いて、第3対象を制御するための第3要求データを生成する。第3要求データを生成したとき、第1制御回路40は、直ちに第3要求データを第3制御データ9cとして第2制御回路70に送信する。第2制御回路70は、受信した第3制御データ9cに基づき第3対象を制御する。第3対象を制御するためのデータ(第3制御データ9c)を高速に送信することができる。第2制御データ9bを送信するときよりも、第3制御用データの送信要求から送信完了までの時間的間隔を短くすることができる。即時に伝達すべきデータを直ちに第2制御回路70に伝えることができる。第3対象を高速に制御することができる。制御対象、送信するデータに応じて、送信方式を切り替えることができる。   The second control circuit 70 is connected to the third target. The second control circuit 70 controls the operation of the third target. The first control circuit 40 generates third request data for controlling the third target using control software. When the third request data is generated, the first control circuit 40 immediately transmits the third request data to the second control circuit 70 as the third control data 9c. The second control circuit 70 controls the third target based on the received third control data 9c. Data (third control data 9c) for controlling the third target can be transmitted at high speed. The time interval from the transmission request for the third control data to the completion of the transmission can be made shorter than when the second control data 9b is transmitted. Data to be transmitted immediately can be immediately transmitted to the second control circuit 70. The third object can be controlled at high speed. The transmission method can be switched according to the control target and the data to be transmitted.

第1制御回路40は、第3制御データ9cとともに、現在の監視周期T0中に第2記憶部に新たに記憶された第2要求データ82に基づく第2制御データ9bを第2制御回路70に送信する。第3制御データ9cと同時に第2制御データ9bを第2制御回路70に送信することができる。ジョブに問題が生じないように、第2対象と第3対象の動作を速やかに制御することができる。   The first control circuit 40 supplies the second control data 9b based on the second request data 82 newly stored in the second storage unit during the current monitoring cycle T0 to the second control circuit 70 together with the third control data 9c. Send. The second control data 9b can be transmitted to the second control circuit 70 simultaneously with the third control data 9c. The operations of the second object and the third object can be quickly controlled so that no problem occurs in the job.

第2対象は複数とできる。第1制御回路40は、各第2対象の動作のON/OFFの要求を1、0で表現するビットを並べたビット列を第2要求データ82として生成する。ビット列において、何番目のビットがどの第2対象に対応するかは、予め定められている。また、第1制御回路40は、前回送信した第2制御データ9bを実績データ91として第2記憶部に記憶させる。第1制御回路40は、制御ソフトウェアに基づき、実績データ91と同じビット数であり、現時点での動作変更を許可する第2対象に対応するビットを許可値とし、現時点で動作変更を許可しない第2対象に対応するビットを不許可値とした変更許可データ92を生成する。第2制御データ9bを生成しようとする場合、第1制御回路40は、変更許可データ92に許可値のビットがあるか否かを確認する。変更許可データ92に許可値のビットがあるとき、第1制御回路40は、第2要求データ82と実績データ91に違いがあるかを確認する。第2要求データ82と実績データ91に違いがあるとき、第1制御回路40は、変更許可データ92において許可値のビットの位置に第2要求データ82のビットの値を適用し、変更許可データ92において不許可値のビットの位置には実績データ91のビットの値を適用した第2制御データ9bを生成する。第2対象の動作を制御するためのデータを少ないビット数で一括送信することができる。また、制御ソフトウェアが、動作を変更してよい(要求を反映させてよい)と判定している第2対象の動作のみを切り替えることができる。変更許可データ92を用いて、個々の第2対象の動作の切り替えタイミングを容易に調整することができる。   There can be a plurality of second objects. The first control circuit 40 generates, as the second request data 82, a bit string in which bits representing the ON / OFF requests for the operations of the second objects are arranged as 1 and 0. In the bit string, what number bit corresponds to which second object is predetermined. Further, the first control circuit 40 stores the second control data 9b transmitted last time in the second storage unit as the actual data 91. Based on the control software, the first control circuit 40 has the same number of bits as the actual data 91, uses the bit corresponding to the second target permitting the operation change at the current time as the permitted value, and does not permit the operation change at the current time. The change permission data 92 is generated in which the bits corresponding to the two objects are not permitted. When the second control data 9b is to be generated, the first control circuit 40 checks whether the change permission data 92 includes a permission value bit. When the change permission data 92 includes a permission value bit, the first control circuit 40 checks whether there is a difference between the second request data 82 and the actual data 91. When there is a difference between the second request data 82 and the actual data 91, the first control circuit 40 applies the bit value of the second request data 82 to the bit position of the permission value in the change permission data 92, and changes permission data. In 92, second control data 9b is generated by applying the bit value of the record data 91 to the bit position of the disallowed value. Data for controlling the operation of the second target can be collectively transmitted with a small number of bits. In addition, it is possible to switch only the operation of the second target for which the control software determines that the operation may be changed (the request may be reflected). Using the change permission data 92, it is possible to easily adjust the switching timing of the operation of each second target.

第2制御データ9bを生成しようとする場合、変更許可データ92に許可値のビットがないとき、又は、第2要求データ82と実績データ91に違いがないとき、第1制御回路40は、第2制御データ9bを生成せず、第2制御データ9bを新たに送信しない。動作を変更すべき第2対象がない場合、第2制御データ9bの送信をスキップすることができる。監視周期T0ごとに必ず第2制御データ9bを送信する訳ではない。必要な場合にのみ、第2制御データ9bを第2制御回路70に送信することができる。第1制御回路40と第2制御回路70の処理負荷を減らすことができる。   When the second control data 9b is to be generated, when the change permission data 92 does not have a permission value bit or when there is no difference between the second request data 82 and the actual data 91, the first control circuit 40 2 The control data 9b is not generated and the second control data 9b is not newly transmitted. When there is no second object whose operation is to be changed, transmission of the second control data 9b can be skipped. The second control data 9b is not necessarily transmitted every monitoring period T0. The second control data 9b can be transmitted to the second control circuit 70 only when necessary. The processing load on the first control circuit 40 and the second control circuit 70 can be reduced.

画像形成装置100は、本体部分101に印刷を行う印刷部5を含む。本体部分101にオプション装置が取り付けられる。第1制御回路40は、本体部分101に設けられる。第2制御回路70は、オプション装置(給紙装置7)に設けられる。第1対象と第2対象はオプション装置に含まれる。本体装置に設けられた第1制御回路40が、オプション装置に設けられた第2制御回路70に動作指示を与えることができる。第1制御回路40は、オプション装置の動作を制御することができる。   The image forming apparatus 100 includes a printing unit 5 that performs printing on the main body portion 101. An optional device is attached to the main body portion 101. The first control circuit 40 is provided in the main body portion 101. The second control circuit 70 is provided in the optional device (paper feeding device 7). The first object and the second object are included in the optional device. The first control circuit 40 provided in the main body device can give an operation instruction to the second control circuit 70 provided in the option device. The first control circuit 40 can control the operation of the optional device.

第2対象は用紙を送るための回転体を回転させるモーター(給紙モーター79、搬送モーター711)と、用紙を送るための回転体の回転、停止を制御するクラッチ(給紙クラッチ710)の何れか一方、又は、両方である。第2要求データ82及び第2制御データ9bは、モーターとクラッチの何れか一方、又は、両方を制御するためのデータである。モーター、クラッチを制御するためのデータを速やかに第2制御回路70に送信できる。印刷の用紙位置のずれか大きくなることを防ぐことができる。モーター、クラッチを速やかに動作させることができる。モーター、クラッチを速やかに停止させることもできる。   The second target is any one of a motor (paper feed motor 79, transport motor 711) for rotating a rotating body for feeding paper and a clutch (paper feeding clutch 710) for controlling rotation and stop of the rotating body for feeding paper. Either or both. The second request data 82 and the second control data 9b are data for controlling either one or both of the motor and the clutch. Data for controlling the motor and the clutch can be promptly transmitted to the second control circuit 70. It is possible to prevent the displacement of the printing paper position from becoming large. The motor and clutch can be operated quickly. The motor and clutch can be stopped quickly.

本発明の実施形態を説明したが、本発明の範囲はこれに限定されるものではなく、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。   Although the embodiment of the present invention has been described, the scope of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the invention.

本発明は、複数の制御回路を含む画像形成装置に利用可能である。   The present invention is applicable to an image forming apparatus including a plurality of control circuits.

100 画像形成装置 101 本体部分
40 第1制御回路 41 タイマー
43 エンジンRAM(第1記憶部) 45 第1制御ソフトウェア
46 第2制御ソフトウェア 47 第3制御ソフトウェア
48 レジスタ(第2記憶部) 5 印刷部
7 給紙装置(オプション装置) 70 第2制御回路
79 給紙モーター(第2、第3対象) 711 搬送モーター(第2、第3対象)
710 給紙クラッチ(第2、第3対象) 712 ファンモーター(第1対象)
91 実績データ 92 変更許可データ
9b 第2制御データ 9a 第1制御データ
9c 第3制御データ T0 監視周期
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 101 Main part 40 First control circuit 41 Timer 43 Engine RAM (first storage unit) 45 First control software 46 Second control software 47 Third control software 48 Register (second storage unit) 5 Printing unit 7 Paper feeding device (optional device) 70 Second control circuit 79 Paper feeding motor (second and third target) 711 Transport motor (second and third target)
710 Feed clutch (second and third target) 712 Fan motor (first target)
91 Actual data 92 Change permission data 9b Second control data 9a First control data 9c Third control data T0 Monitoring cycle

Claims (7)

予め定められた監視周期を測るタイマーと、
第1制御回路と、
前記第1制御回路と通信し、第1対象及び第2対象と接続され、前記第1対象と前記第2対象の動作を制御する第2制御回路と、
前記第1対象を制御するための第1要求データを記憶する第1記憶部と、
前記第2対象を制御するための第2要求データを記憶する第2記憶部と、を含み、
前記第1制御回路は、
制御ソフトウェアに基づき前記第1要求データを生成し、
メールボックスを利用して、前記第1要求データを第1制御データとして前記第2制御回路に送信し、
前記第2制御回路は、受信した前記第1制御データに基づき前記第1対象を制御し、
また、前記第1制御回路は、
前記制御ソフトウェアに基づき前記第2対象を制御するための第2要求データを生成し、
生成した前記第2要求データを前記第2記憶部に記憶させ、
前記監視周期が新たに始まったとき、1つ前の前記監視周期の間に前記第2記憶部に記憶された前記第2要求データに基づき第2制御データを生成し、
生成した前記第2制御データを前記第2制御回路に送信し、
前記第2制御回路は、受信した前記第2制御データに基づき前記第2対象を制御し、
前記監視周期は基準間隔よりも短くなるように設定され、
前記基準間隔は前記第1要求データの生成から実際に前記第1制御データの前記第2制御回路への送信が完了するまでの時間的間隔の目安の時間であることを特徴とする画像形成装置。
A timer for measuring a predetermined monitoring period;
A first control circuit;
A second control circuit that communicates with the first control circuit, is connected to a first object and a second object, and controls operations of the first object and the second object;
A first storage unit that stores first request data for controlling the first target;
A second storage unit that stores second request data for controlling the second target,
The first control circuit includes:
Generating the first request data based on control software;
Using a mailbox to send the first request data as first control data to the second control circuit;
The second control circuit controls the first object based on the received first control data,
The first control circuit includes:
Generating second request data for controlling the second object based on the control software;
Storing the generated second request data in the second storage unit;
When the monitoring cycle starts anew, generating second control data based on the second request data stored in the second storage unit during the previous monitoring cycle,
Transmitting the generated second control data to the second control circuit;
The second control circuit controls the second object based on the received second control data;
The monitoring period is set to be shorter than a reference interval,
The reference interval is an approximate time interval from the generation of the first request data to the actual transmission of the first control data to the second control circuit. .
前記第2制御回路は、
第3対象と接続され、
前記第3対象の動作を制御し、
前記第1制御回路は、
前記制御ソフトウェアを用いて、前記第3対象を制御するための第3要求データを生成し、
前記第3要求データを生成したとき、直ちに前記第3要求データを第3制御データとして前記第2制御回路に送信し、
前記第2制御回路は、受信した前記第3制御データに基づき前記第3対象を制御することを特徴とする請求項1に記載の画像形成装置。
The second control circuit includes:
Connected to the third object,
Controlling the operation of the third object;
The first control circuit includes:
Using the control software to generate third request data for controlling the third object;
When generating the third request data, immediately send the third request data as third control data to the second control circuit,
The image forming apparatus according to claim 1, wherein the second control circuit controls the third object based on the received third control data.
前記第1制御回路は、
前記第3制御データとともに、現在の前記監視周期中に前記第2記憶部に新たに記憶された前記第2要求データに基づく前記第2制御データを前記第2制御回路に送信することを特徴とする請求項2に記載の画像形成装置。
The first control circuit includes:
The second control data based on the second request data newly stored in the second storage unit during the current monitoring cycle is transmitted to the second control circuit together with the third control data. The image forming apparatus according to claim 2.
前記第2対象は複数であり、
前記第1制御回路は、
各前記第2対象の動作のON/OFFの要求を1、0で表現するビットを並べたビット列を前記第2要求データとして生成し、
前記ビット列において、何番目のビットがどの前記第2対象に対応するかは、予め定められており、
また、前記第1制御回路は、
前回送信した前記第2制御データを実績データとして前記第2記憶部に記憶させ、
前記制御ソフトウェアに基づき、前記実績データと同じビット数であり、現時点での動作変更を許可する前記第2対象に対応するビットを許可値とし、現時点で動作変更を許可しない前記前記第2対象に対応するビットを不許可値とした変更許可データを生成し、
前記第2制御データを生成しようとする場合、前記変更許可データに前記許可値のビットがあるか否かを確認し、
前記変更許可データに前記許可値のビットがあるとき、前記第2要求データと前記実績データに違いがあるかを確認し、
前記第2要求データと前記実績データに違いがあるとき、前記変更許可データにおいて前記許可値のビットの位置に前記第2要求データのビットの値を適用し、前記変更許可データにおいて前記不許可値のビットの位置には前記実績データのビットの値を適用した前記第2制御データを生成することを特徴とする請求項1乃至3の何れか1項に記載の画像形成装置。
A plurality of the second objects;
The first control circuit includes:
Generating a bit string in which bits representing 1 and 0 representing ON / OFF requests for the operation of each second target are arranged as the second request data;
In the bit string, what number bit corresponds to which second object is predetermined,
The first control circuit includes:
Storing the second control data transmitted last time in the second storage unit as performance data;
Based on the control software, the number of bits is the same as the actual data, the bit corresponding to the second object that permits the change of operation at the current time is set as a permission value, and the second object that does not permit the change of operation at the current time Generate change permission data with the corresponding bit as a disallowed value,
When trying to generate the second control data, check whether the change permission data has a bit of the permission value,
When there is a bit of the permission value in the change permission data, check whether there is a difference between the second request data and the performance data,
When there is a difference between the second request data and the actual data, the bit value of the second request data is applied to the bit position of the permission value in the change permission data, and the non-permission value in the change permission data. 4. The image forming apparatus according to claim 1, wherein the second control data to which the bit value of the record data is applied is generated at the position of the bit.
前記第1制御回路は、
前記第2制御データを生成しようとする場合、前記変更許可データに前記許可値のビットがないとき、又は、前記第2要求データと前記実績データに違いがないとき、前記第2制御データを生成せず、前記第2制御データを新たに送信しないことを特徴とする請求項4に記載の画像形成装置。
The first control circuit includes:
When the second control data is to be generated, the second control data is generated when there is no bit of the permission value in the change permission data or when there is no difference between the second request data and the actual data. The image forming apparatus according to claim 4, wherein the second control data is not newly transmitted.
画像形成装置は、
本体部分に印刷を行う印刷部を含み、
前記本体部分にオプション装置が取り付けられ、
前記第1制御回路は、前記本体部分に設けられ、
前記第2制御回路は、前記オプション装置に設けられ、
前記第1対象と前記第2対象は前記オプション装置に含まれることを特徴とする請求項1乃至5の何れか1項に記載の画像形成装置。
The image forming apparatus
Including a printing section that prints on the main body,
An optional device is attached to the main body,
The first control circuit is provided in the main body portion,
The second control circuit is provided in the optional device,
The image forming apparatus according to claim 1, wherein the first object and the second object are included in the optional device.
前記第2対象は、用紙を送るための回転体を回転させるモーターと、用紙を送るための回転体の回転、停止を制御するクラッチの何れか一方、又は、両方であり、
前記第2要求データ及び前記第2制御データは、前記モーターと前記クラッチの何れか一方、又は、両方を制御するためのデータであることを特徴とする請求項1乃至6の何れか1項に記載の画像形成装置。
The second object is one or both of a motor for rotating a rotating body for feeding paper and a clutch for controlling rotation and stopping of the rotating body for feeding paper, or both,
The said 2nd request | requirement data and the said 2nd control data are data for controlling any one or both of the said motor and the said clutch, The any one of Claim 1 thru | or 6 characterized by the above-mentioned. The image forming apparatus described.
JP2018023991A 2018-02-14 2018-02-14 Image forming device Active JP6874711B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018023991A JP6874711B2 (en) 2018-02-14 2018-02-14 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018023991A JP6874711B2 (en) 2018-02-14 2018-02-14 Image forming device

Publications (2)

Publication Number Publication Date
JP2019139135A true JP2019139135A (en) 2019-08-22
JP6874711B2 JP6874711B2 (en) 2021-05-19

Family

ID=67693863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018023991A Active JP6874711B2 (en) 2018-02-14 2018-02-14 Image forming device

Country Status (1)

Country Link
JP (1) JP6874711B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02213976A (en) * 1988-12-29 1990-08-27 Internatl Business Mach Corp <Ibm> Communication method between multiprocessing computer and processor
US6072585A (en) * 1997-12-12 2000-06-06 Lexmark International, Inc. Method and apparatus for managing the power consumption of a printer
JP2006088639A (en) * 2004-09-27 2006-04-06 Canon Inc Image forming system, image forming apparatus, and communication method for image forming system
JP2007163759A (en) * 2005-12-13 2007-06-28 Fuji Xerox Co Ltd Image forming device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02213976A (en) * 1988-12-29 1990-08-27 Internatl Business Mach Corp <Ibm> Communication method between multiprocessing computer and processor
US6072585A (en) * 1997-12-12 2000-06-06 Lexmark International, Inc. Method and apparatus for managing the power consumption of a printer
JP2006088639A (en) * 2004-09-27 2006-04-06 Canon Inc Image forming system, image forming apparatus, and communication method for image forming system
JP2007163759A (en) * 2005-12-13 2007-06-28 Fuji Xerox Co Ltd Image forming device

Also Published As

Publication number Publication date
JP6874711B2 (en) 2021-05-19

Similar Documents

Publication Publication Date Title
JP2009066815A (en) Printer and printing system
JP2016016583A (en) Printing system, control device, control method, and program
JP4775278B2 (en) Operation control device, electronic device, operation control method, and program
JP2016060088A (en) Image formation apparatus, image formation system, and image formation control method
JP2011073841A (en) Image forming device
JP6874711B2 (en) Image forming device
JP2017080917A (en) Printer and control method of the same
JP2012192600A (en) Recording device, recording system, method of controlling recording device, and program
JP2020082459A (en) Printer, and control method for printer
JP2002264452A (en) Printer and printing method
JP2020114766A (en) Carrier device
JP2001287428A (en) Print controller and medium storing its operation program
JP2020116829A (en) Image formation apparatus
JP2004216778A (en) Image forming apparatus and method of controlling command therein
JP2017132184A (en) Processing device and printing system
JP7337488B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
US11203497B2 (en) Image forming apparatus, and non-transitory computer readable recording medium that stores image forming program
JP2006256166A (en) Image forming device, image forming method, and image forming program
JP6747381B2 (en) Image forming device
JP2012192658A (en) Printer and method for feeding paper
JP2001287427A (en) Print controller and medium storing its operation program
JP2015199222A (en) Processing unit, processing method therefor, and program
JP2009000975A (en) Image formation device and method of forming image
JP2017213728A (en) Image forming apparatus, image forming method, and program
JP2008062600A (en) Control method of printer, and control program of printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210208

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: 20210323

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210405

R150 Certificate of patent or registration of utility model

Ref document number: 6874711

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150