JP5868838B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP5868838B2
JP5868838B2 JP2012282145A JP2012282145A JP5868838B2 JP 5868838 B2 JP5868838 B2 JP 5868838B2 JP 2012282145 A JP2012282145 A JP 2012282145A JP 2012282145 A JP2012282145 A JP 2012282145A JP 5868838 B2 JP5868838 B2 JP 5868838B2
Authority
JP
Japan
Prior art keywords
unit
communication
serial data
sensor
image forming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2012282145A
Other languages
Japanese (ja)
Other versions
JP2014126641A (en
Inventor
前田 良太
良太 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2012282145A priority Critical patent/JP5868838B2/en
Publication of JP2014126641A publication Critical patent/JP2014126641A/en
Application granted granted Critical
Publication of JP5868838B2 publication Critical patent/JP5868838B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像形成装置に関し、特に、本体機器と当該本体機器に着脱可能に接続される付属機器とを備え、付属機器が本体機器に装着された状態で、本体機器及び付属機器との間で予め指定されたサンプリング周期で通信を行う画像形成装置に関する。   The present invention relates to an image forming apparatus, and in particular, includes a main device and an accessory device detachably connected to the main device, and the accessory device is attached to the main device between the main device and the accessory device. The present invention relates to an image forming apparatus that performs communication at a sampling cycle specified in advance.

従来、プリンタや複写機、複合機等の画像形成装置では、給紙装置や後処理装置等のオプション機器(付属機器)を装着して使用されるものが普及している。このようなオプション機器を装着する画像形成装置では、画像形成装置本体とオプション機器とがタイミングを合わせて動作しなければ所望の動作を実現することができない。   2. Description of the Related Art Conventionally, image forming apparatuses such as printers, copiers, and multifunction machines that are used with optional devices (attached devices) such as paper feeding devices and post-processing devices are widely used. In an image forming apparatus in which such an optional device is mounted, a desired operation cannot be realized unless the image forming apparatus main body and the optional device operate in synchronization.

例えば、オプション機器が給紙装置である場合、当該給紙装置からの用紙の給送にタイミングを合わせて本体側の用紙搬送ローラを駆動させる必要がある。また、オプション機器がパンチやステープル等の後処理装置である場合、画像形成装置本体からの用紙の排出にタイミングを合わせて後処理装置側の用紙搬送ローラを駆動させる必要がある。いずれの場合も、用紙搬送ローラを常時駆動することでも用紙の搬送は可能であるが、このような動作は近年の省エネルギー化の要求に反するものであり採用することはできない。   For example, when the optional device is a paper feeder, it is necessary to drive the paper transport roller on the main body side in synchronization with the paper feeding from the paper feeder. Further, when the optional device is a post-processing device such as a punch or staple, it is necessary to drive the paper transport roller on the side of the post-processing device in synchronization with the discharge of the paper from the image forming apparatus main body. In either case, the paper can be transported by always driving the paper transport roller, but such an operation is contrary to the recent demand for energy saving and cannot be adopted.

以上のような動作を実現するためには、画像形成装置本体とオプション機器との間で情報を通信する必要がある。すなわち、前者の場合は、給紙装置の用紙搬出口の直前に用紙の通過を検知するセンサを設け、当該センサの検知状態を画像形成装置本体が常に把握しておく必要がある。また、後者の場合は、画像形成装置本体の用紙搬出口の直前に用紙の通過を検知するセンサを設け、当該センサの検知状態を後処理装置が常に把握しておく必要がある。   In order to realize the operation as described above, it is necessary to communicate information between the image forming apparatus main body and the optional device. That is, in the former case, it is necessary to provide a sensor that detects the passage of a sheet immediately before the sheet carry-out port of the sheet feeding device, and the image forming apparatus main body must always grasp the detection state of the sensor. In the latter case, it is necessary to provide a sensor for detecting the passage of the sheet immediately before the sheet carry-out port of the main body of the image forming apparatus, and the post-processing apparatus must always grasp the detection state of the sensor.

また、画像形成装置本体とオプション機器とを協働させるためには、上述のような搬送タイミングを合わせるための情報のみならず、用紙サイズや用紙の向き等の用紙情報や、給紙装置であれば給紙カセットの開閉状態、後処理装置であれば装置カバーの開閉状態等の機器状態を示す情報も、オプション機器と画像形成装置本体との間で通信する必要がある(例えば、特許文献1〜4等参照。)。   In addition, in order for the image forming apparatus main body and the optional device to cooperate, not only the information for adjusting the conveyance timing as described above, but also the paper information such as the paper size and the paper orientation, For example, information indicating the device state such as the open / close state of the paper feed cassette and the open / close state of the device cover for the post-processing device needs to be communicated between the optional device and the image forming apparatus main body (for example, Patent Document 1). See ~ 4 etc.).

特許文献1〜4が開示するように、このような画像形成装置本体とオプション機器との間で行われるデータ通信には、シリアルデータが使用されることが多い。シリアルデータを使用することで、通信対象のデータの種別にかかわらず、データ入力端子とデータ出力端子を、画像形成装置本体とオプション機器とのそれぞれに1つずつ配置しておき、これらを相互に接続することで、データ通信が可能になる。   As disclosed in Patent Documents 1 to 4, serial data is often used for data communication performed between the image forming apparatus main body and the optional device. By using serial data, regardless of the type of data to be communicated, one data input terminal and one data output terminal are arranged in each of the image forming apparatus main body and the optional device, and these are mutually connected. By connecting, data communication becomes possible.

一方、このようなシリアルデータ通信では、ノイズ等の重畳により正常にデータが送受信できない通信異常(通信失敗)が発生することがある。このような通信異常が発生した場合、当該シリアルデータを利用した機器の協働が困難になる。そのため、通信異常の発生有無の検知や、通信異常が発生した際のデータ再送信に関する種々の技術が提案されている(例えば、特許文献5〜7等参照)。   On the other hand, in such serial data communication, a communication abnormality (communication failure) in which data cannot be normally transmitted and received due to superposition of noise or the like may occur. When such a communication abnormality occurs, it becomes difficult for the devices using the serial data to cooperate. For this reason, various techniques relating to detection of whether or not a communication abnormality has occurred and data retransmission when a communication abnormality has occurred have been proposed (see, for example, Patent Documents 5 to 7).

特開2006−039228号公報JP 2006-039228 A 特開2004−254052号公報JP 2004-240552 A 特開2001−106352号公報JP 2001-106352 A 特開平08−224923号公報Japanese Patent Laid-Open No. 08-224923 特開2002−237863号公報JP 2002-237863A 特開2007−034540号公報JP 2007-034540 A 特開2005−061269号公報JP 2005-061269 A

しかしながら、上述のように、用紙非検知状態から用紙検知状態へのセンサ状態変化を認識してから所定時間経過後に搬送ローラの駆動を開始する制御では、通信異常が発生したときにセンサの状態変化が発生していた場合、その状態変化は再通信が成功したときに認識されることになる。すなわち、上記所定時間の計時始点が、通信異常がなければ状態変化が本来認識できていた時点から再通信において状態変化が認識できた時点まで遅延することになる。この場合、搬送ローラの駆動開始も遅延することになる。上述の特許文献1〜7が開示する技術では、このような搬送ローラの駆動開始の遅延発生を避けることはできない。   However, as described above, in the control that starts driving the transport roller after a predetermined time has elapsed since the sensor state change from the paper non-detection state to the paper detection state is recognized, the sensor state change occurs when a communication abnormality occurs. If this occurs, the status change will be recognized when re-communication is successful. That is, the timing start point of the predetermined time is delayed from the time when the state change can be recognized if there is no communication abnormality to the time when the state change can be recognized in the re-communication. In this case, the driving start of the transport roller is also delayed. With the techniques disclosed in the above-mentioned Patent Documents 1 to 7, it is impossible to avoid such a delay in the driving start of the conveying roller.

本発明は、このような従来技術の課題を鑑みてなされたものであって、通信データ量を増大させることなく、通信異常に起因する動作遅延を低減することができる画像形成装置を提供することを目的とする。   The present invention has been made in view of such a problem of the prior art, and provides an image forming apparatus capable of reducing an operation delay due to a communication abnormality without increasing a communication data amount. With the goal.

上述の目的を達成するために、本発明は以下の技術的手段を採用している。まず、本発明に係る画像形成装置は、本体機器と当該本体機器に接続される付属機器とを備え、付属機器が本体機器に装着された状態で、本体機器及び付属機器との間で予め指定されたサンプリング周期で通信を行う画像形成装置を前提としている。また、当該画像形成装置は、本体機器及び付属機器の一方の機器の状態変化を基準とした予め指定されたタイミングで、本体機器及び付属機器の他方の機器が特定の駆動動作を実施することを前提としている。   In order to achieve the above object, the present invention employs the following technical means. First, an image forming apparatus according to the present invention includes a main device and an accessory device connected to the main device, and specifies in advance between the main device and the accessory device in a state where the accessory device is mounted on the main device. It is premised on an image forming apparatus that performs communication at a sampling cycle. In addition, the image forming apparatus performs the specific drive operation of the other device of the main device and the accessory device at a timing specified in advance based on the state change of one of the main device and the accessory device. It is assumed.

そして、本発明に係る画像形成装置は、上記一方の機器が、第1のフリーランカウンタ、センサ、カウンタ値保持部、データ生成部、送信部及び異常通知受信部を備える。センサは、上述の状態変化を検知する。カウンタ値保持部は、センサの検知状態に前記状態変化を示す状態変動が発生した際に、当該状態変動が発生したときの第1のフリーランカウンタの計数値を保持する。データ生成部は、上述の通信において、上記他方の機器へ通知される、センサの検知状態を示す情報と、上記一方の機器に関する他の情報とを含む既定長のシリアルデータを生成する。また、データ生成部は、当該シリアルデータが上記他方の機器に正常に受信されなかった場合、その後の通信タイミングに対応するセンサの検知状態を示す情報と、カウンタ値保持部に保持されたカウンタ値とを含む既定長のシリアルデータを生成する。送信部は、データ生成部が生成したシリアルデータを上記他方の機器へ送信する。そして、異常通知受信部は、上記他方の機器においてシリアルデータが正常に受信されなかった際に、他方の機器から通信異常であった旨の通知を受け付ける。 In the image forming apparatus according to the present invention, the one device includes a first free-run counter, a sensor, a counter value holding unit, a data generation unit, a transmission unit, and an abnormality notification reception unit. The sensor detects the above-described state change. The counter value holding unit holds the count value of the first free-run counter when the state change occurs when the state change indicating the state change occurs in the detection state of the sensor. In the communication described above, the data generation unit generates serial data having a predetermined length including information indicating the detection state of the sensor, which is notified to the other device, and other information regarding the one device. Further, when the serial data is not normally received by the other device, the data generation unit includes information indicating the detection state of the sensor corresponding to the subsequent communication timing, and the counter value held in the counter value holding unit. Generate serial data of default length including The transmission unit transmits the serial data generated by the data generation unit to the other device. Then, when the serial data is not normally received by the other device, the abnormality notification receiving unit receives a notification that the communication is abnormal from the other device.

また、上記他方の機器は、第2のフリーランカウンタ、受信部、通信異常検知部、通信異常通知部、計時始点特定部及び動作制御部を備える。第2のフリーランカウンタは、上記第1のフリーランカウンタの計数値と対応づけられた計数値を出力する。受信部は、上記一方の機器において生成されたシリアルデータを受信する。通信異常検知部は、受信部によりシリアルデータが正常に受信されたか否かを判定する。通信異常通知部は受信部においてシリアルデータが正常に受信されなかったと通信異常検知部により判定された際に、上記一方の機器にその旨を通知する。計時始点特定部は、受信部が受信したシリアルデータにカウンタ値が含まれない場合、当該シリアルデータに含まれるセンサの検知状態を示す情報に基づいてセンサの状態変化に対応する計時始点を特定する。また、計時始点特定部は、受信部が受信したシリアルデータにカウンタ値が含まれる場合、当該シリアルデータに含まれるセンサの検知状態を示す情報、当該カウンタ値及び第1のフリーランカウンタと第2のフリーランカウンタの対応関係に基づいて、センサの状態変化に対応する計時始点を特定する。そして、動作制御部は、計時始点特定部が特定した計時始点から予め指定された時間が経過したときに上記特定の駆動動作を実行させる。   The other device includes a second free-run counter, a reception unit, a communication abnormality detection unit, a communication abnormality notification unit, a timing start point identification unit, and an operation control unit. The second free run counter outputs a count value associated with the count value of the first free run counter. The receiving unit receives serial data generated in the one device. The communication abnormality detection unit determines whether the serial data has been normally received by the reception unit. When the communication abnormality detection unit determines that the serial data has not been normally received at the reception unit, the communication abnormality notification unit notifies the one device. When the serial data received by the receiving unit does not include a counter value, the timing start point specifying unit specifies a timing start point corresponding to a change in the sensor state based on information indicating the detection state of the sensor included in the serial data. . In addition, when the counter value is included in the serial data received by the receiving unit, the timing start point specifying unit includes information indicating the detection state of the sensor included in the serial data, the counter value, the first free-run counter, and the second Based on the correspondence relationship of the free-run counters, the timing start point corresponding to the sensor state change is specified. Then, the operation control unit causes the specific drive operation to be executed when a predesignated time has elapsed from the timing start point specified by the timing start point specifying unit.

例えば、上記他方の機器が被記録体上に画像を形成する画像形成部を備える画像形成装置本体であり、上記一方の機器が被記録体を画像形成装置本体に供給する給紙装置である構成を採用することができる。この場合、上記センサを、被記録体が正常に給送されたことを検知するセンサとし、動作制御部による特定の駆動動作を、給紙装置から供給された被記録体を画像形成部へ搬送する搬送ローラの駆動とすることができる。また、上記一方の機器が被記録体上に画像を形成する画像形成部を備える画像形成装置本体であり、上記他方の機器が、画像形成装置本体において画像が形成された被記録体が供給される後処理装置である構成を採用することもできる。この場合、上記センサを、被記録体が正常に画像形成装置本体から搬出されたことを検知するセンサとし、動作制御部による特定の駆動動作を、画像形成装置本体から搬出された被記録体に対して後処理を実施する後処理実施部へ搬送する搬送ローラの駆動とすることができる。   For example, the other device is an image forming apparatus main body including an image forming unit that forms an image on a recording medium, and the one device is a paper feeding device that supplies the recording medium to the image forming apparatus main body. Can be adopted. In this case, the sensor is a sensor that detects that the recording medium has been normally fed, and a specific driving operation by the operation control unit is carried to the recording medium supplied from the paper feeding device to the image forming unit. The conveyance roller can be driven. Further, the one device is an image forming apparatus main body including an image forming unit that forms an image on a recording medium, and the other device is supplied with a recording medium on which an image is formed in the image forming apparatus main body. A configuration that is a post-processing device can also be adopted. In this case, the sensor is a sensor that detects that the recording medium is normally carried out from the image forming apparatus main body, and a specific driving operation by the operation control unit is applied to the recording medium carried out from the image forming apparatus main body. On the other hand, it is possible to drive a transport roller that transports the post-process to a post-processing execution unit that performs post-processing.

この画像形成装置では、正常に通信が行われている場合、データ生成部は、特定の駆動動作のタイミングの基準となる状態変化を検知するセンサの検知状態を示す情報と、当該データ生成部を備える機器に関する他の情報とを含む既定長のシリアルデータを生成する。例えば、データ生成部が付属機器である給紙装置に設けられている場合、当該他の情報として、用紙サイズ、用紙の向き、用紙残量、用紙カセットの開閉状態等を採用することができる。一方、通信異常が発生すると、データ生成部は、その後の通信タイミングに対応する上記センサの検知状態を示す情報と、センサの検知状態に状態変動が発生した際の第1のフリーランカウンタの計数値とを含む既定長のシリアルデータを生成する。この構成では、通信異常が発生した際に、当該通信異常により受信されなかった通信タイミングにおいて上記センサの検知状態に状態変動が発生したか否か、及び状態変動が発生した場合はどのタイミングで状態変動が発生したかを確認可能な情報が既定長のシリアルデータに含まれる。そのため、その後、正常な通信ができたときに、通信異常中のどのタイミングで状態変化が発生したかを特定することができる。したがって、上記特定の駆動動作を実行するタイミングの基準点を通信異常発生時に遡らせることが可能になる。その結果、データ通信データを増大させることなく、通信異常に起因する動作遅延を低減することができる。   In this image forming apparatus, when communication is normally performed, the data generation unit includes information indicating a detection state of a sensor that detects a state change that is a reference of timing of a specific driving operation, and the data generation unit. Generate serial data of a predetermined length including other information related to the equipment provided. For example, when the data generation unit is provided in a paper feeder as an accessory device, the paper size, paper orientation, paper remaining amount, paper cassette open / closed state, and the like can be adopted as the other information. On the other hand, when a communication abnormality occurs, the data generation unit calculates the information indicating the detection state of the sensor corresponding to the subsequent communication timing and the first free run counter when the state change occurs in the detection state of the sensor. Generate serial data of default length including numeric values. In this configuration, when a communication abnormality occurs, whether or not a state change has occurred in the detection state of the sensor at the communication timing that was not received due to the communication abnormality, and at what timing if a state change has occurred Information that can confirm whether or not the fluctuation has occurred is included in the serial data of the predetermined length. Therefore, after that, when normal communication can be performed, it is possible to specify at which timing during the communication abnormality the state change has occurred. Therefore, the reference point for the timing for executing the specific drive operation can be traced back when a communication abnormality occurs. As a result, it is possible to reduce the operation delay due to the communication abnormality without increasing the data communication data.

本発明によれば、通信データ量を増大させることなく、通信異常に起因する動作遅延を低減することができる。   According to the present invention, it is possible to reduce an operation delay due to a communication abnormality without increasing a communication data amount.

本発明の一実施形態における複合機の全体構成を示す概略構成図1 is a schematic configuration diagram showing the overall configuration of a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機のハードウェア構成を示す図The figure which shows the hardware constitutions of the multifunctional device in one Embodiment of this invention. 本発明の一実施形態における複合機を示す機能ブロック図1 is a functional block diagram showing a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機が生成するシリアルデータの構成の一例を示す図1 is a diagram illustrating an example of a configuration of serial data generated by a multifunction machine according to an embodiment of the present invention. 本発明の一実施形態における複合機が実施する通信手順の一例を示すフロー図The flowchart which shows an example of the communication procedure which the multifunctional machine in one Embodiment of this invention implements 本発明の一実施形態における複合機が実施する通信の原理を示す図The figure which shows the principle of the communication which the multifunctional machine in one Embodiment of this invention implements

以下、本発明の実施形態について、図面を参照しながらより詳細に説明する。以下では、付属機器である給紙ユニットが本体機器である複合機本体に装着されたデジタル複合機として本発明を具体化する。   Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings. Hereinafter, the present invention is embodied as a digital multi-function peripheral in which a paper feed unit as an accessory device is mounted on a main body of a multi-function peripheral as a main device.

図1は本実施形態におけるデジタル複合機の全体構成の一例を示す概略構成図である。図1に示すように、本実施形態では、複合機100は、画像読取部120及び画像形成部140を含む複合機本体101と、複合機本体101の上方に取り付けられたプラテンカバー102とを備える。複合機本体101の上面にはコンタクトガラス等の透明板からなる原稿台103が設けられており、原稿台103はプラテンカバー102によって開閉されるようになっている。また、プラテンカバー102は、原稿搬送装置110を備えている。なお、複合機100の前面には、ユーザが複合機100に複写開始やその他の指示を与えたり、複合機100の状態や設定を確認したりすることができる操作パネル171が設けられている。   FIG. 1 is a schematic configuration diagram illustrating an example of the overall configuration of a digital multifunction peripheral according to the present embodiment. As shown in FIG. 1, in the present embodiment, the multi-function device 100 includes a multi-function device main body 101 including an image reading unit 120 and an image forming unit 140, and a platen cover 102 attached above the multi-function device main body 101. . A document table 103 made of a transparent plate such as contact glass is provided on the upper surface of the multifunction machine main body 101, and the document table 103 is opened and closed by a platen cover 102. Further, the platen cover 102 includes a document conveying device 110. An operation panel 171 is provided on the front surface of the multi-function device 100 so that the user can give a copy start or other instruction to the multi-function device 100, and can check the status and settings of the multi-function device 100.

原稿台103の下方には、画像読取部120が設けられている。画像読取部120は、走査光学系121により原稿の画像を読み取りその画像のデジタルデータ(画像データ)を生成する。原稿は、原稿台103や原稿搬送装置110に載置することができる。走査光学系121は、第1キャリッジ122や第2キャリッジ123、集光レンズ124を備える。第1キャリッジ122には線状の光源131及びミラー132が設けられ、第2キャリッジ123にはミラー133及び134が設けられている。光源131は原稿を照明する。ミラー132、133、134は、原稿からの反射光を集光レンズ124に導き、集光レンズ124はその光像をラインイメージセンサ125の受光面に結像する。この走査光学系121において、第1キャリッジ122及び第2キャリッジ123は、副走査方向135に往復動可能に設けられている。第1キャリッジ122及び第2キャリッジ123を副走査方向135に移動することによって、原稿台103に載置された原稿の画像をイメージセンサ125で読み取ることができる。原稿搬送装置110にセットされた原稿の画像を読み取る場合、画像読取部120は、第1キャリッジ122及び第2キャリッジ123を画像読取位置に合わせて一時的に固定し、画像読取位置を通過する原稿の画像をイメージセンサ125で読み取る。イメージセンサ125は、受光面に入射した光像から、原稿の画像データを生成する。生成された画像データは、画像形成部140において用紙(被記録体)に印刷することができる。また、生成された画像データは、図示しないネットワークインタフェイス等を介して、ネットワークを通じて他の機器へ送信することもできる。   An image reading unit 120 is provided below the document table 103. The image reading unit 120 reads an image of a document with the scanning optical system 121 and generates digital data (image data) of the image. The document can be placed on the document table 103 or the document transport device 110. The scanning optical system 121 includes a first carriage 122, a second carriage 123, and a condenser lens 124. The first carriage 122 is provided with a linear light source 131 and a mirror 132, and the second carriage 123 is provided with mirrors 133 and 134. The light source 131 illuminates the document. The mirrors 132, 133, and 134 guide reflected light from the document to the condenser lens 124, and the condenser lens 124 forms an optical image on the light receiving surface of the line image sensor 125. In the scanning optical system 121, the first carriage 122 and the second carriage 123 are provided so as to reciprocate in the sub-scanning direction 135. By moving the first carriage 122 and the second carriage 123 in the sub-scanning direction 135, the image of the document placed on the document table 103 can be read by the image sensor 125. When reading an image of a document set on the document conveying device 110, the image reading unit 120 temporarily fixes the first carriage 122 and the second carriage 123 according to the image reading position, and passes the image reading position. Are read by the image sensor 125. The image sensor 125 generates document image data from the light image incident on the light receiving surface. The generated image data can be printed on paper (recorded material) in the image forming unit 140. The generated image data can also be transmitted to other devices through a network via a network interface (not shown) or the like.

画像形成部140は、画像読取部120で得た画像データや、上記ネットワークを通じて他の機器から受信した画像データを用紙に印刷する。画像形成部140は、感光体ドラム141を備える。感光体ドラム141は一定速度で一方向に回転する。感光体ドラム141の周囲には、回転方向の上流側から順に、帯電器142、露光器143、現像器144、クリーニングユニット145が配置されている。帯電器142は、感光体ドラム141表面を一様に帯電させる。露光器143は、一様に帯電した感光体ドラム141の表面に、画像データに応じて光を照射し、感光体ドラム141上に静電潜像を形成する。現像器144は、その静電潜像にトナーを付着させ、感光体ドラム141上にトナー像を形成する。クリーニングユニット145は、転写後も感光体ドラム141表面に残留した廃トナーを感光体ドラム141から除去して感光体ドラム141表面をクリーニングする。感光体ドラム141が回転することによりこれらのプロセスが一連で行われる。   The image forming unit 140 prints image data obtained by the image reading unit 120 or image data received from another device through the network on a sheet. The image forming unit 140 includes a photosensitive drum 141. The photosensitive drum 141 rotates in one direction at a constant speed. Around the photosensitive drum 141, a charger 142, an exposure unit 143, a developing unit 144, and a cleaning unit 145 are arranged in this order from the upstream side in the rotation direction. The charger 142 uniformly charges the surface of the photosensitive drum 141. The exposure device 143 irradiates the surface of the uniformly charged photoconductor drum 141 with light according to the image data, and forms an electrostatic latent image on the photoconductor drum 141. The developing device 144 attaches toner to the electrostatic latent image and forms a toner image on the photosensitive drum 141. The cleaning unit 145 cleans the surface of the photosensitive drum 141 by removing waste toner remaining on the surface of the photosensitive drum 141 after the transfer from the photosensitive drum 141. These processes are performed in series by the rotation of the photosensitive drum 141.

画像形成部140は、給紙トレイ161から、感光体ドラム141と転写ローラ146との間の転写部に用紙を給送する。給紙トレイ161には、様々なサイズの用紙を載置することができる。画像形成部140は、給紙トレイ161に載置された用紙を給送ローラ162により給送する。給送された用紙はレジストローラ163により所定のタイミングで転写部に搬送される。トナー像が転写された用紙は、搬送ベルト147により定着器148に搬送される。定着器148は、ヒータを内蔵した定着ローラ151及び加圧ローラ152を有しており、熱と押圧力によってトナー像を用紙に定着する。画像形成部140は、定着器148を通過した用紙を排紙トレイ149へ排紙する。   The image forming unit 140 feeds paper from the paper feed tray 161 to the transfer unit between the photosensitive drum 141 and the transfer roller 146. Various sizes of paper can be placed on the paper feed tray 161. The image forming unit 140 feeds the paper placed on the paper feed tray 161 by the feed roller 162. The fed paper is conveyed to the transfer unit by the registration roller 163 at a predetermined timing. The sheet on which the toner image is transferred is conveyed to the fixing device 148 by the conveyance belt 147. The fixing device 148 has a fixing roller 151 and a pressure roller 152 with a built-in heater, and fixes the toner image on the sheet by heat and pressing force. The image forming unit 140 discharges the sheet that has passed through the fixing device 148 to the discharge tray 149.

また、この複合機100は、必要に応じて、複合機本体101の底部に給紙ユニット180を装着できるように構成されている。すなわち、複合機100は、給紙ユニット180から用紙が搬入される用紙搬入口165を複合機本体101の底面に備えるとともに、用紙搬入口165を通じて搬入された用紙をレジストローラ163へ搬送する搬送ローラ164を備える。   In addition, the multi-function device 100 is configured so that a paper feed unit 180 can be attached to the bottom of the multi-function device main body 101 as needed. That is, the multi-function device 100 includes a paper carry-in port 165 into which paper is carried from the paper feed unit 180 on the bottom surface of the multi-function device main body 101, and a carry roller that carries the paper carried through the paper carry-in port 165 to the registration roller 163. 164.

給紙ユニット180は、用紙を収容する給紙カセット181を備え、用紙搬出口184を通じて給紙カセット181に収容された用紙を給紙ユニット180の外部へ送出する。給紙ユニット180が複合機100に装着された場合、用紙搬出口184と用紙搬入口165とは相互に対向して位置する。なお、この例では、給紙ユニット180は、1つの給紙カセット181を備えているが複数の給紙カセットを備えていてもよい。   The paper supply unit 180 includes a paper supply cassette 181 that stores paper, and sends out the paper stored in the paper supply cassette 181 to the outside of the paper supply unit 180 through the paper carry-out port 184. When the paper feed unit 180 is mounted on the multifunction peripheral 100, the paper carry-out port 184 and the paper carry-in port 165 are positioned to face each other. In this example, the paper feed unit 180 includes one paper feed cassette 181, but may include a plurality of paper feed cassettes.

給紙カセット181には、様々なサイズの用紙を収容することができる。複合機100は、給紙カセット181からの給紙がユーザにより指定された場合、給紙カセット181内の用紙を給送ローラ182により給送する。給送された用紙は、用紙搬出口184及び用紙搬入口165を通じて搬送ローラ164へ搬送される。当該搬送ローラ164は当該用紙をレジストローラ163へ搬送する。   The paper feed cassette 181 can store paper of various sizes. When the user designates paper feeding from the paper feed cassette 181, the multifunction peripheral 100 feeds the paper in the paper feed cassette 181 by the feed roller 182. The fed paper is conveyed to the conveyance roller 164 through the paper carry-out port 184 and the paper carry-in port 165. The conveyance roller 164 conveys the sheet to the registration roller 163.

本実施形態では、給紙ユニット180は、給送ローラ182と用紙搬出口184との間の用紙搬送経路(以下、給送用紙検知位置という。)に給紙センサ183を備えている。給紙センサ183は、給送ローラ182により給送された用紙が給送用紙検知位置に到達したか否かを検知する機能を有する。給紙センサ183には、当該機能を実現する任意のセンサを使用することができるが、ここでは、発光部と受光部との間を用紙が通過する状態で配置した透過型光センサ(フォトインタラプタ)を給紙センサ183として使用している。   In the present embodiment, the paper feed unit 180 includes a paper feed sensor 183 in a paper transport path (hereinafter referred to as a paper feed detection position) between the feed roller 182 and the paper carry-out port 184. The paper feed sensor 183 has a function of detecting whether or not the paper fed by the feed roller 182 has reached the feed paper detection position. Although any sensor that realizes the function can be used as the paper feed sensor 183, here, a transmissive optical sensor (photo interrupter) arranged in a state in which the paper passes between the light emitting unit and the light receiving unit. ) Is used as the paper feed sensor 183.

複合機100は、給紙センサ183の検知状態を所定のサンプリング周期で取得し、当該サンプリング周期において、給紙センサ183が用紙非検知状態から用紙検知状態に変化したときから予め指定された時間経過後(例えば、数十ミリ秒後)に搬送ローラ164を回転駆動する。すなわち、用紙搬入口165を通じて用紙が搬入されるときのみに、搬送ローラ164が駆動される構成になっている。なお、給紙ユニット180と複合機本体101とは、インターフェイス190を介してデータの授受が可能となるように接続されている。   The multi-function device 100 acquires the detection state of the paper feed sensor 183 at a predetermined sampling cycle, and a predetermined time has elapsed since the paper feed sensor 183 changed from the paper non-detection state to the paper detection state in the sampling cycle. After that (for example, after several tens of milliseconds), the conveyance roller 164 is driven to rotate. That is, the conveyance roller 164 is driven only when a sheet is carried in through the sheet carry-in entrance 165. Note that the paper feed unit 180 and the MFP main body 101 are connected via an interface 190 so that data can be exchanged.

図2は、複合機における制御系のハードウェア構成図である。本実施形態の複合機本体101は、CPU(Central Processing Unit)201、RAM(Random Access Memory)202、ROM(Read Only Memory)203、HDD(Hard Disk Drive)204及び原稿搬送装置110、画像読取部120、画像形成部140における各駆動部に対応するドライバ205が内部バス206を介して接続されている。ROM203やHDD204等はプログラムを格納しており、CPU201はその制御プログラムの指令にしたがって複合機100を制御する。例えば、CPU201はRAM202を作業領域として利用し、ドライバ205とデータや命令を授受することにより上記各駆動部の動作を制御する。また、HDD204は、画像読取部120により得られた画像データや、他の機器からネットワークを通じて受信した画像データの蓄積にも用いられる。   FIG. 2 is a hardware configuration diagram of a control system in the multifunction machine. The MFP main body 101 according to the present embodiment includes a CPU (Central Processing Unit) 201, a RAM (Random Access Memory) 202, a ROM (Read Only Memory) 203, an HDD (Hard Disk Drive) 204, an original transport device 110, and an image reading unit. 120, a driver 205 corresponding to each drive unit in the image forming unit 140 is connected via an internal bus 206. The ROM 203, the HDD 204, and the like store programs, and the CPU 201 controls the multifunction peripheral 100 in accordance with instructions from the control program. For example, the CPU 201 uses the RAM 202 as a work area, and controls the operation of each driving unit by exchanging data and commands with the driver 205. The HDD 204 is also used to store image data obtained by the image reading unit 120 and image data received from other devices via a network.

内部バス206には、操作パネル171や各種のセンサ207も接続されている。操作パネル171は、ユーザの操作を受け付け、その操作に基づく信号をCPU201に供給する。また、操作パネル171は、CPU201からの制御信号にしたがって自身が備えるディスプレイに操作画面を表示する。センサ207は、プラテンカバー102の開閉検知センサや原稿台103上の原稿検知センサ、定着器148の温度センサ、搬送される用紙又は原稿の検知センサなど各種のセンサを含む。CPU201は例えばROM203に格納されたプログラムを実行することで、以下の各手段(機能ブロック)を実現する。   An operation panel 171 and various sensors 207 are also connected to the internal bus 206. The operation panel 171 receives a user operation and supplies a signal based on the operation to the CPU 201. Further, the operation panel 171 displays an operation screen on a display provided in the operation panel 171 according to a control signal from the CPU 201. The sensor 207 includes various sensors such as an open / close detection sensor for the platen cover 102, a document detection sensor on the document table 103, a temperature sensor for the fixing device 148, and a detection sensor for the conveyed paper or document. The CPU 201 implements the following means (functional blocks) by executing a program stored in the ROM 203, for example.

同様に、本実施形態の給紙ユニット180は、CPU211、RAM212、ROM213、及び給紙ユニット180における各駆動部に対応するドライバ215が内部バス216を介して接続されている。ROM213等はプログラムを格納しており、CPU211はその制御プログラムの指令及び複合機本体101のCPU201の指令にしたがって給紙装置180を制御する。例えば、CPU211はRAM212を作業領域として利用し、ドライバ215とデータや命令を授受することにより各駆動部の動作を制御する。内部バス216には給紙センサ183や用紙残量センサ等を含むセンサ217も接続されている。CPU211は例えばROM213に格納されたプログラムを実行することで、以下の各手段(機能ブロック)を実現する。なお、内部バス206と内部バス216とはインターフェイス190を介してデータ授受が可能な状態で接続されている。   Similarly, in the sheet feeding unit 180 of this embodiment, a CPU 211, a RAM 212, a ROM 213, and a driver 215 corresponding to each drive unit in the sheet feeding unit 180 are connected via an internal bus 216. The ROM 213 and the like store a program, and the CPU 211 controls the sheet feeding device 180 in accordance with a command of the control program and a command of the CPU 201 of the multifunction machine main body 101. For example, the CPU 211 uses the RAM 212 as a work area, and controls the operation of each drive unit by exchanging data and commands with the driver 215. A sensor 217 including a paper feed sensor 183 and a paper remaining amount sensor is also connected to the internal bus 216. The CPU 211 implements the following means (functional blocks) by executing a program stored in the ROM 213, for example. The internal bus 206 and the internal bus 216 are connected via an interface 190 in a state where data can be exchanged.

図3は、本実施形態の複合機の機能ブロック図である。上述のように、本実施形態の複合機100は、複合機本体101と付属機器である給紙ユニット180とがインターフェイス190を介してデータ授受可能に接続されている。図3に示すように、付属機器である給紙ユニット180は、データ生成部301、送信部302、異常通知受信部303、フリーランカウンタ304(第1のフリーランカウンタ)及びカウンタ値保持部305を備える。   FIG. 3 is a functional block diagram of the MFP according to the present embodiment. As described above, in the MFP 100 of the present embodiment, the MFP main body 101 and the paper feeding unit 180 as an accessory device are connected via the interface 190 so as to be able to exchange data. As shown in FIG. 3, the paper supply unit 180 as an accessory device includes a data generation unit 301, a transmission unit 302, an abnormality notification reception unit 303, a free-run counter 304 (first free-run counter), and a counter value holding unit 305. Is provided.

フリーランカウンタ304は、公知のように、信号入力に応じて計数値をインクリメントし続けるカウンタである。例えば、8ビット構成であれば、0から1つずつインクリメントされ255に到達した次は0に戻る。本実施形態では、フリーランカウンタ304への入力信号は、複合機本体101が備える図示しないクロック信号発生器が発生するクロック信号に基づいて規定される周期信号になっている。なお、当該クロック信号発生器が発生するクロック信号は、上述のサンプリング周期を規定するためにも使用される。本実施形態では、フリーランカウンタ304の入力信号の入力周期は、上述のサンプリング周期よりも短く(例えば、1/5)に設定される。また、ここでは、フリーランカウンタ304は給紙ユニット180への電力投入時に起動し、起動時に計数値が0になるように構成されている。   As is well known, the free-run counter 304 is a counter that keeps incrementing a count value in response to a signal input. For example, in the case of an 8-bit configuration, it is incremented one by one from 0 and returns to 0 after reaching 255. In the present embodiment, the input signal to the free-run counter 304 is a periodic signal defined based on a clock signal generated by a clock signal generator (not shown) included in the multi-function peripheral body 101. The clock signal generated by the clock signal generator is also used for defining the above-described sampling period. In this embodiment, the input cycle of the input signal of the free-run counter 304 is set to be shorter (for example, 1/5) than the above-described sampling cycle. Further, here, the free-run counter 304 is configured to start when power is supplied to the paper feeding unit 180 and to have a count value of 0 when started.

カウンタ値保持部305は、通知対象のセンサ(ここでは、給紙センサ183)の検知状態に状態変動が発生した際に、当該状態変動が発生したときのフリーランカウンタ304の計数値を保持する。ここでは、カウンタ値保持部305は、給紙センサ183の出力を常時監視しており、給紙センサ183が用紙非検知状態から用紙検知状態に変化したときにフリーランカウンタ304から計数値を取得し、自身に保持する。なお、特に限定されないが、本実施形態では、給紙センサ183が用紙検知状態から用紙検知状態に変化したときにカウンタ値保持部305は、特定値(ここでは、フリーランカウンタ304の最大値127)を保持する構成になっている。   The counter value holding unit 305 holds the count value of the free-run counter 304 when the state change occurs when the state change occurs in the detection state of the notification target sensor (here, the paper feed sensor 183). . Here, the counter value holding unit 305 constantly monitors the output of the paper feed sensor 183, and acquires the count value from the free-run counter 304 when the paper feed sensor 183 changes from the paper non-detection state to the paper detection state. And hold on to yourself. Although not particularly limited, in this embodiment, when the paper feed sensor 183 changes from the paper detection state to the paper detection state, the counter value holding unit 305 sets a specific value (here, the maximum value 127 of the free-run counter 304). ).

データ生成部301は、上述のサンプリング周期の通信タイミングに対応して、複合機本体101に送信される既定長のシリアルデータを生成する。また、データ生成部301は、先に生成したシリアルデータが複合機本体101に正常に受信されている場合と、正常に受信されていない場合とでそれぞれ異なるシリアルデータを生成する。前者の場合、当該シリアルデータは、通知対象のセンサ(ここでは、給紙センサ183)の検知状態を示す情報と給紙ユニット180に関する他の情報とを含む。後者の場合、当該シリアルデータは、正常に受信されなかった通信タイミングより後の通信タイミングに対応する通知対象センサの検知状態を示す情報と、カウンタ値保持部305に保持されたカウンタ値とを含む。なお、特に限定されないが、ここでは、データ生成部301は、一般的なシリアルデータ通信に使用される8ビット長のシリアルデータを生成する。当該シリアルデータの構成については後述する。また、本実施形態では、後述のように、給紙ユニット180に関する他の情報として、給紙ユニット180が備える用紙残量センサ321の出力値を使用している。   The data generation unit 301 generates serial data having a predetermined length to be transmitted to the multi-function peripheral body 101 in accordance with the communication timing of the sampling cycle described above. In addition, the data generation unit 301 generates different serial data depending on whether the serial data generated earlier is normally received by the MFP main body 101 or not. In the former case, the serial data includes information indicating the detection state of the sensor to be notified (here, the paper feed sensor 183) and other information related to the paper feed unit 180. In the latter case, the serial data includes information indicating the detection state of the notification target sensor corresponding to the communication timing after the communication timing that has not been normally received, and the counter value held in the counter value holding unit 305. . Although not particularly limited here, the data generation unit 301 generates 8-bit serial data used for general serial data communication. The configuration of the serial data will be described later. In this embodiment, as will be described later, as other information related to the paper feed unit 180, the output value of the paper remaining amount sensor 321 provided in the paper feed unit 180 is used.

送信部302は、データ生成部301が生成したシリアルデータを複合機本体101へ送信する。当該通信はインターフェイス190を介して実施され、送信されたシリアルデータは、後述のように複合機本体101の受信部311に受信される。   The transmission unit 302 transmits the serial data generated by the data generation unit 301 to the MFP main body 101. The communication is performed via the interface 190, and the transmitted serial data is received by the receiving unit 311 of the multifunction machine main body 101 as described later.

異常通知受信部303は、複合機本体101においてシリアルデータが正常に受信されなかった際に、複合機本体101から通信異常であった旨の通知を受け付ける。当該通信もインターフェイス190を介して実施される。なお、後述のように、当該通知は、複合機本体101の通信異常通知部313から送信される。   The abnormality notification receiving unit 303 receives a notification from the multifunction device main body 101 that there is a communication abnormality when serial data is not normally received by the multifunction device main body 101. The communication is also performed through the interface 190. Note that, as will be described later, the notification is transmitted from the communication abnormality notification unit 313 of the MFP main body 101.

また、複合機本体101は、受信部311、通信異常検知部312、通信異常通知部313、計時始点特定部314、動作制御部315、対応関係保持部316及びフリーランカウンタ317(第2のフリーランカウンタ)を備える。   Further, the MFP main body 101 includes a receiving unit 311, a communication abnormality detecting unit 312, a communication abnormality notifying unit 313, a timing start point specifying unit 314, an operation control unit 315, a correspondence relationship holding unit 316, and a free run counter 317 (second free run counter 317). Run counter).

フリーランカウンタ317は、上述のフリーランカウンタ304と同様に、信号入力に応じて計数値をインクリメントし続けるカウンタである。ただし、フリーランカウンタ317は、フリーランカウンタ304の計数値と対応づけられた計数値を出力する構成になっている。ここで、対応づけられたとは、少なくとも、フリーランカウンタ304の計数値から、当該計数値に対応するフリーランカウンタ317の計数値を特定できることを意味する。ここでは、フリーランカウンタ317は、フリーランカウンタ304への入力信号と同一周期の信号が入力される、フリーランカウンタ304と同一ビット数(ここでは、6ビット)のカウンタにより構成されている。また、ここでは、フリーランカウンタ317は複合機本体101への電力投入時に起動し、起動時に計数値が0になるように構成されている。   Similar to the above-described free-run counter 304, the free-run counter 317 is a counter that continuously increments the count value in response to a signal input. However, the free run counter 317 is configured to output a count value associated with the count value of the free run counter 304. Here, “corresponding” means that at least the count value of the free-run counter 317 corresponding to the count value can be specified from the count value of the free-run counter 304. Here, the free-run counter 317 is configured by a counter having the same number of bits (here, 6 bits) as the free-run counter 304 to which a signal having the same cycle as the input signal to the free-run counter 304 is input. Further, here, the free-run counter 317 is configured to be activated when power is supplied to the multi-function peripheral body 101, and the count value is set to 0 when activated.

対応関係保持部316は、フリーランカウンタ304とフリーランカウンタ317との対応関係を保持する。ここで、対応関係とは、フリーランカウンタ304の計数値から、当該計数値に対応するフリーランカウンタ317の計数値を特定するための情報を意味する。上述のように、本実施形態では、フリーランカウンタ304とフリーランカウンタ317とのビット数は同一であり、入力信号の周期も同一である。そのため、ある時点での、フリーランカウンタ304の計数値とフリーランカウンタ317の計数値との差が取得されていれば、当該差の値を用いて、任意のフリーランカウンタ304の計数値に対応するフリーランカウンタ317の計数値を導出することができる。ここでは、対応関係保持部316は、複合機本体101及び給紙ユニット180に電力が投入されてから所定時間経過後にフリーランカウンタ304及びフリーランカウンタ317の計数値を取得し、その差を保持する構成になっている。   The correspondence relationship holding unit 316 holds the correspondence relationship between the free run counter 304 and the free run counter 317. Here, the correspondence relationship means information for specifying the count value of the free-run counter 317 corresponding to the count value from the count value of the free-run counter 304. As described above, in this embodiment, the number of bits of the free-run counter 304 and the free-run counter 317 are the same, and the period of the input signal is also the same. Therefore, if the difference between the count value of the free run counter 304 and the count value of the free run counter 317 at a certain point in time is acquired, the count value of the free run counter 304 can be calculated using the difference value. The count value of the corresponding free-run counter 317 can be derived. Here, the correspondence holding unit 316 acquires the count values of the free-run counter 304 and the free-run counter 317 after a predetermined time has elapsed since the power was turned on to the MFP main body 101 and the paper feed unit 180, and holds the difference therebetween. It is configured to do.

受信部311は、給紙ユニット180のデータ生成部301において生成され、送信部302により送信されたシリアルデータを受信する。上述のように、当該通信はインターフェイス190を介して実施される。   The reception unit 311 receives the serial data generated by the data generation unit 301 of the paper feed unit 180 and transmitted by the transmission unit 302. As described above, the communication is performed via the interface 190.

通信異常検知部312は、受信部311によりシリアルデータが正常に受信されたか否かを判定する。特に限定されないが、本実施形態では、シリアルデータにパリティビットが設けられており、当該パリティビットを使用したパリティチェックにより通信異常検知部312は通信異常の有無を判定している。なお、通信異常の検知方法は、公知の任意の手法を採用することができる。例えば、通信異常検知部312は、単に、受信部311に到達したデータの有無により正常に受信されたか否かを判定してもよい。   The communication abnormality detection unit 312 determines whether the serial data has been normally received by the reception unit 311. Although not particularly limited, in this embodiment, a parity bit is provided in the serial data, and the communication abnormality detection unit 312 determines the presence or absence of a communication abnormality by a parity check using the parity bit. It should be noted that any known method can be employed as a method for detecting a communication abnormality. For example, the communication abnormality detection unit 312 may simply determine whether the data has been normally received based on the presence or absence of data that has reached the reception unit 311.

通信異常通知部313は受信部311においてシリアルデータが正常に受信されなかったと通信異常検知部312により判定された際に、給紙ユニット180にその旨を通知する。上述のように、当該通信はインターフェイス190を介して実施され、当該通知は、上述のように給紙ユニット180の異常通知受信部303に受信される。   When the communication abnormality detection unit 312 determines that the serial data has not been normally received by the reception unit 311, the communication abnormality notification unit 313 notifies the paper feeding unit 180 to that effect. As described above, the communication is performed via the interface 190, and the notification is received by the abnormality notification receiving unit 303 of the sheet feeding unit 180 as described above.

計時始点特定部314は、受信部311が受信したシリアルデータにカウンタ値が含まれない場合、当該シリアルデータに含まれる通知対象センサ(ここでは、給紙センサ183)の検知状態を示す情報に基づいて、当該センサの状態変化に対応する計時始点を特定する。また、計時始点特定部314は、受信部311が受信したシリアルデータにカウンタ値が含まれる場合、当該シリアルデータに含まれる通知対象センサ(ここでは、給紙センサ183)の検知状態を示す情報、当該カウンタ値及びフリーランカウンタ304とフリーランカウンタ317の対応関係に基づいて、当該センサの状態変化に対応する計時始点を特定する。上述のように、シリアルデータにカウンタ値が含まれるか否かは、先のシリアルデータが複合機本体101に正常に受信されているか否かに依存する。そのため、計時始点特定部314は、通信異常検知部312の判定結果に基づいて、受信部311が受信したシリアルデータがいずれの構成であるかを認識した上で、計時始点を特定する。なお、フリーランカウンタ304とフリーランカウンタ317の対応関係は、対応関係保持部316に保持されている対応関係が使用される。   When the serial data received by the receiving unit 311 does not include a counter value, the timing start point specifying unit 314 is based on information indicating the detection state of the notification target sensor (here, the paper feed sensor 183) included in the serial data. Thus, the timing start point corresponding to the state change of the sensor is specified. In addition, when the serial data received by the receiving unit 311 includes a counter value, the timing start point specifying unit 314 includes information indicating the detection state of the notification target sensor (here, the paper feed sensor 183) included in the serial data, Based on the counter value and the corresponding relationship between the free-run counter 304 and the free-run counter 317, the timing start point corresponding to the sensor state change is specified. As described above, whether or not the counter value is included in the serial data depends on whether or not the previous serial data is normally received by the multi-function peripheral body 101. Therefore, the time measurement start point specifying unit 314 specifies the time measurement start point after recognizing which configuration the serial data received by the reception unit 311 is based on the determination result of the communication abnormality detection unit 312. The correspondence relationship held in the correspondence relationship holding unit 316 is used as the correspondence relationship between the free run counter 304 and the free run counter 317.

動作制御部315は、計時始点特定部314が認識したセンサの状態変化から予め指定された時間が経過したときに、特定の駆動動作を実行する際の駆動対象の駆動部(ここでは、搬送ローラ164)を駆動させる。   The operation control unit 315 is a drive unit (here, a conveyance roller) to be driven when a specific drive operation is performed after a predetermined time has elapsed from the change in the state of the sensor recognized by the timing start point specifying unit 314. 164) is driven.

ここで、データ生成部301が生成するシリアルデータの構成について説明する。図4(a)及び図4(b)は、データ生成部301が生成するシリアルデータの構成の一例を示す図である。図4(a)は、生成したシリアルデータが複合機本体101に正常に受信されている場合にデータ生成部301が生成するシリアルデータに対応し、図4(b)は、複合機本体101に正常に受信されていない場合にデータ生成部301が生成するシリアルデータに対応する。   Here, the configuration of serial data generated by the data generation unit 301 will be described. 4A and 4B are diagrams illustrating an example of the configuration of serial data generated by the data generation unit 301. FIG. 4A corresponds to the serial data generated by the data generation unit 301 when the generated serial data is normally received by the MFP main body 101, and FIG. This corresponds to serial data generated by the data generation unit 301 when it is not normally received.

正常な通信が実施されている場合、データ生成部301により生成されるシリアルデータ(以下、適宜、正常時シリアルデータという。)は、給紙センサ183の検知状態を示す情報と、給紙ユニット180に関する他の情報とを含む。ここでは、給紙センサ183の検知状態を示す情報は、用紙非検知状態と用紙検知状態とのいずれかであることを示す1ビットのデータである。特に限定されないが、ここでは、用紙非検知状態が「0」であり、用紙検知状態が「1」である。また、他の情報とは、複合機本体101において情報を取得することは必須であるが、上記サンプリング周期の通信タイミングのすべてにおいて取得することが必須でない情報である。このような情報は、例えば、ユーザの作業等に応じて変動する情報であり、給紙カセットの開閉、用紙サイズ、用紙の向きが含まれる。また、用紙残量も、増大する場合はユーザの作業に応じた変動であるため、当該他の情報に含まれる。シリアルデータには、これらの情報の複数が他の情報として含まれることが好ましいが、ここでは、説明のため、データ生成部301は用紙残量センサ321の出力値のみを他の情報としてシリアルデータに含めている。   When normal communication is performed, serial data generated by the data generation unit 301 (hereinafter referred to as normal serial data as appropriate) includes information indicating the detection state of the paper feed sensor 183 and the paper feed unit 180. And other information about. Here, the information indicating the detection state of the paper feed sensor 183 is 1-bit data indicating either the paper non-detection state or the paper detection state. Although not particularly limited, here, the paper non-detection state is “0”, and the paper detection state is “1”. The other information is information that is essential for the MFP main body 101 to acquire information but is not essential to be acquired at all the communication timings of the sampling period. Such information is, for example, information that varies depending on the user's work and the like, and includes opening / closing of the paper feed cassette, paper size, and paper orientation. Further, when the remaining amount of paper also increases, it is a variation according to the user's work, and thus is included in the other information. The serial data preferably includes a plurality of these pieces of information as other information, but here, for the sake of explanation, the data generation unit 301 uses only the output value of the paper remaining amount sensor 321 as the other information. Is included.

この例では、用紙残量センサ321は、給紙カセット181の底部に配置された底面プレートの高さを示すアナログ値を6ビット(64区分)のデジタル値に変換して出力する。底面プレートは、当該底面プレート上に積載された用紙の残量が減少するにつれて上昇するように構成されており、当該上昇量が用紙残量センサ321によって検知される。この上昇量が用紙満載(上昇量最小)から用紙なし(上昇量最大)にわたって64段階に区分されている。   In this example, the remaining paper amount sensor 321 converts an analog value indicating the height of the bottom plate disposed at the bottom of the paper feed cassette 181 into a 6-bit (64 divisions) digital value and outputs it. The bottom plate is configured to rise as the remaining amount of sheets stacked on the bottom plate decreases, and the amount of increase is detected by the remaining amount sensor 321. The amount of increase is divided into 64 levels from full paper (minimum increase) to no paper (maximum increase).

データ生成部301は、給紙センサ183の検知状態を示す1ビットの情報と、用紙残量を示す6ビットの情報と、パリティビットの1ビットにより、8ビットの正常時シリアルデータを生成する。特に限定されないが、本実施形態では、図4(a)に示すように、シリアルデータの最上位ビット401がパリティビット(ここでは奇数パリティ方式)になっており、シリアルデータの最下位ビット403が給紙センサ183の検知状態を示す情報になっている。そして、中間ビット402が用紙残量を示す情報になっている。   The data generation unit 301 generates 8-bit normal serial data from 1-bit information indicating the detection state of the paper feed sensor 183, 6-bit information indicating the remaining amount of paper, and 1 parity bit. Although not particularly limited, in this embodiment, as shown in FIG. 4A, the most significant bit 401 of the serial data is a parity bit (in this case, an odd parity method), and the least significant bit 403 of the serial data is The information indicates the detection state of the paper feed sensor 183. The intermediate bit 402 is information indicating the remaining amount of paper.

また、図4(a)では、上述のサンプリング周期に対応するn回目の通信、n+1回目の通信、n+2回目の通信時に生成されるシリアルデータを示している。なお、ここでは、n−1回目の通信においてもシリアルデータは複合機本体101に正常に受信されているものとする。   FIG. 4A shows serial data generated during the n-th communication, the (n + 1) -th communication, and the (n + 2) -th communication corresponding to the above-described sampling period. Here, it is assumed that the serial data is normally received by the MFP main body 101 even in the (n-1) th communication.

n回目の通信に際し、データ生成部301は、直前の通信に異常がないため、上述の正常時シリアルデータを生成する。すなわち、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAが配置され、中間ビット402に当該通信タイミングに対応する用紙残量を示すデータBが配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPが配置される。 In the n-th communication, the data generation unit 301 generates the normal serial data described above because there is no abnormality in the previous communication. That is, the data A n indicating detection status of the paper feed sensor 183 corresponding to the communication timing is arranged on the least significant bit 403, the data B n indicating the remaining sheets corresponding to the communication timing to the intermediate bit 402 is arranged The Then, the parity bit P n corresponding to these data is arranged in the most significant bit 401.

当該n回目の通信が正常に完了すると、データ生成部301は、n+1回目の通信に際し、正常時シリアルデータを生成する。すなわち、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAn+1が配置され、中間ビット402に当該通信タイミングに対応する用紙残量を示すデータBn+1が配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPn+1が配置される。同様に、当該n+1回目の通信が正常に完了すると、データ生成部301は、n+2回目の通信に際し、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAn+2、中間ビット402に当該通信タイミングに対応する用紙残量を示すデータBn+2、最上位ビット401に、これらのデータに応じたパリティビットPn+2が配置されたシリアルデータを生成する。 When the n-th communication is normally completed, the data generation unit 301 generates normal-time serial data during the (n + 1) -th communication. That is, data A n + 1 indicating the detection state of the paper feed sensor 183 corresponding to the communication timing is arranged in the least significant bit 403, and data B n + 1 indicating the remaining amount of paper corresponding to the communication timing is arranged in the intermediate bit 402. The Then, the most significant bit 401, the parity bit P n + 1 corresponding to these data are placed. Similarly, when the (n + 1) th communication is normally completed, the data generation unit 301 performs data A n + 2 indicating the detection state of the paper feed sensor 183 corresponding to the communication timing in the least significant bit 403 during the (n + 2) th communication. Serial data is generated with data B n + 2 indicating the remaining amount of paper corresponding to the communication timing in the intermediate bit 402 and parity bits P n + 2 corresponding to these data in the most significant bit 401.

一方、シリアルデータが複合機本体101に正常に受信されなかった場合、データ生成部301により生成されるシリアルデータ(以下、適宜、異常時シリアルデータという。)は、その後の通信タイミングに対応する給紙センサ183の検知状態を示す情報と、カウンタ値保持部305に保持されたカウンタ値とを含む。すなわち、データ生成部301は、正常時シリアルデータと同様の、通信タイミングに対応する給紙センサ183の検知状態を示す1ビットの情報と、カウンタ値保持部305に保持されたカウンタ値を含む6ビットの情報と、パリティビットの1ビットにより、8ビットの異常時シリアルデータを生成する。特に限定されないが、本実施形態では、図4(b)に示すように、シリアルデータの最上位ビット401がパリティビット(ここでは奇数パリティ方式)になっており、シリアルデータの最下位ビット403が給紙センサ183の検知状態を示す情報になっている。そして、中間ビット402がカウンタ値保持部305に保持されたカウンタ値を含む情報になっている。   On the other hand, when the serial data is not normally received by the MFP main body 101, the serial data generated by the data generation unit 301 (hereinafter referred to as abnormal serial data as appropriate) is supplied corresponding to the subsequent communication timing. Information indicating the detection state of the paper sensor 183 and the counter value held in the counter value holding unit 305 are included. That is, the data generation unit 301 includes 1-bit information indicating the detection state of the paper feed sensor 183 corresponding to the communication timing, and the counter value held in the counter value holding unit 305, similar to the normal serial data. 8-bit abnormal serial data is generated from the bit information and one parity bit. Although not particularly limited, in this embodiment, as shown in FIG. 4B, the most significant bit 401 of the serial data is a parity bit (in this case, an odd parity method), and the least significant bit 403 of the serial data is The information indicates the detection state of the paper feed sensor 183. The intermediate bit 402 is information including the counter value held in the counter value holding unit 305.

また、図4(b)では、上述のサンプリング周期に対応するn回目の通信、n+1回目の通信、n+2回目の通信、n+3回目の通信時に生成されるシリアルデータを示している。なお、ここでは、n−1回目の通信においてシリアルデータは複合機本体101に正常に受信されているものとする。   FIG. 4B shows serial data generated during the n-th communication, the (n + 1) th communication, the (n + 2) th communication, and the (n + 3) th communication corresponding to the above-described sampling period. Here, it is assumed that the serial data is normally received by the MFP main body 101 in the (n-1) th communication.

n回目の通信に際し、データ生成部301は、直前の通信に異常がないため、上述の正常時シリアルデータを生成する。すなわち、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAが配置され、中間ビット402に当該通信タイミングに対応する用紙残量を示すデータBが配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPが配置される。 In the n-th communication, the data generation unit 301 generates the normal serial data described above because there is no abnormality in the previous communication. That is, the data A n indicating detection status of the paper feed sensor 183 corresponding to the communication timing is arranged on the least significant bit 403, the data B n indicating the remaining sheets corresponding to the communication timing to the intermediate bit 402 is arranged The Then, the parity bit P n corresponding to these data is arranged in the most significant bit 401.

当該n回目の通信において複合機本体101が当該シリアルデータを正常に受信できなかった場合、データ生成部301は、n+1回目の通信に際し、異常時シリアルデータを生成する。この場合、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAn+1が配置され、中間ビット402にカウンタ値保持部305に保持されたカウンタ値Cn+1が配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPn+1が配置される。 When the MFP main body 101 cannot receive the serial data normally in the n-th communication, the data generation unit 301 generates abnormal serial data in the (n + 1) th communication. In this case, the data A n + 1 indicating the detection state of the paper feed sensor 183 corresponding to the communication timing is arranged in the least significant bit 403, and the counter value C n + 1 held in the counter value holding unit 305 is arranged in the intermediate bit 402. The Then, the most significant bit 401, the parity bit P n + 1 corresponding to these data are placed.

当該n+1回目の通信において複合機本体101が当該シリアルデータを正常に受信できなかった場合、データ生成部301は、n+2回目の通信に際し、再度、異常時シリアルデータを生成する。この場合、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAn+2が配置され、中間ビット402にカウンタ値保持部305に保持されたカウンタ値Cn+2が配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPn+2が配置される。 When the MFP main body 101 cannot receive the serial data normally in the (n + 1) th communication, the data generation unit 301 generates the abnormal time serial data again in the (n + 2) th communication. In this case, data An + 2 indicating the detection state of the paper feed sensor 183 corresponding to the communication timing is arranged in the least significant bit 403, and the counter value Cn + 2 held in the counter value holding unit 305 is arranged in the intermediate bit 402. The In the most significant bit 401, parity bits P n + 2 corresponding to these data are arranged.

当該n+2回目の通信が正常に完了すると、データ生成部301は、上述の正常時シリアルデータを生成する。すなわち、最下位ビット403に当該通信タイミングに対応する給紙センサ183の検知状態を示すデータAn+3が配置され、中間ビット402に当該通信タイミングに対応する用紙残量を示すデータBn+3が配置される。そして、最上位ビット401に、これらのデータに応じたパリティビットPn+3が配置される。 When the n + 2th communication is normally completed, the data generation unit 301 generates the normal serial data. That is, data A n + 3 indicating the detection state of the paper feed sensor 183 corresponding to the communication timing is arranged in the least significant bit 403, and data B n + 3 indicating the remaining amount of paper corresponding to the communication timing is arranged in the intermediate bit 402. The Then, the parity bit P n + 3 corresponding to these data is arranged in the most significant bit 401.

ここで、n回目の通信とn+1回目の通信との間で、給紙センサ183が用紙非検知状態から用紙検知状態に変化し、n+3回目の通信より後に給紙センサ183が用紙検知状態から用紙非検知状態に変化したとする。この場合、カウンタ値保持部305は、n回目の通信時点では特定値(ここでは127)を保持しており、n+1回目、n+2回目及びn+3回目の通信時点では状態変動時点のフリーランカウンタ304の計数値を保持している。この場合、Cn+1とCn+2は、いずれも、状態変動時点のフリーランカウンタ304の計数値になる。なお、この場合、A=0、An+1=1、An+2=1、An+3=1である。 Here, between the nth communication and the (n + 1) th communication, the paper feed sensor 183 changes from the paper non-detection state to the paper detection state, and after the n + 3th communication, the paper feed sensor 183 changes from the paper detection state to the paper. Assume that the state has changed to a non-detection state. In this case, the counter value holding unit 305 holds a specific value (127 in this case) at the n-th communication point, and the state of the free-run counter 304 at the time of state change at the n + 1-th, n + 2-th, and n + 3-th communication points. The count value is held. In this case, both C n + 1 and C n + 2 become count values of the free-run counter 304 at the time of state change. In this case, A n = 0, A n + 1 = 1, A n + 2 = 1, and A n + 3 = 1.

また、n+1回目の通信とn+2回目の通信との間で、給紙センサ183が用紙非検知状態から用紙検知状態に変化し、n+3回目の通信より後に給紙センサ183が用紙検知状態から用紙非検知状態に変化したとする。この場合、カウンタ値保持部305は、n回目及びn+1回目の通信時点では特定値(ここでは127)を保持しており、n+2回目及びn+3回目の通信時点では状態変動時点のフリーランカウンタ304の計数値を保持している。この場合、Cn+1は特定値になり、Cn+2は、状態変動時点のフリーランカウンタ304の計数値になる。なお、この場合、A=0、An+1=0、An+2=1、An+3=1である。 Further, the paper feed sensor 183 changes from the paper non-detection state to the paper detection state between the (n + 1) th communication and the (n + 2) th communication, and the paper feed sensor 183 changes from the paper detection state to the paper non-detection after the n + 3th communication. Assume that the state has changed to the detection state. In this case, the counter value holding unit 305 holds a specific value (127 in this case) at the n-th and n + 1-th communication points, and the free-run counter 304 at the time of state change at the n + 2-th and n + 3-th communication points. The count value is held. In this case, C n + 1 is a specific value, and C n + 2 is a count value of the free-run counter 304 at the time of state change. In this case, A n = 0, A n + 1 = 0, A n + 2 = 1, and A n + 3 = 1.

以上のようなデータ構成を使用することで、通信異常が発生した際に、以降の通信において、状態変動が発生した時刻の情報を複合機本体101側で取得することができる。また、上述のように、複合機本体101(計時始点特定部314)では、当該シリアルデータにより取得されるカウンタ値(フリーランカウンタ304の計数値)から、対応するフリーランカウンタ317の計数値を取得することができる。また、フリーランカウンタ317への入力信号の信号周期も固定である。そのため、例えば、当該シリアルデータを取得した時点のフリーランカウンタ317の計数値と、シリアルデータにより取得されるカウンタ値に対応するフリーランカウンタ317の計数値とを比較することで、通信異常が発生したいずれの通信タイミングで給紙センサ183の検知状態が変動したかを認識することができる。   By using the data configuration as described above, when a communication abnormality occurs, information on the time when the state change has occurred in the subsequent communication can be acquired on the MFP main body 101 side. In addition, as described above, the multifunction machine main unit 101 (timekeeping start point specifying unit 314) calculates the count value of the corresponding free-run counter 317 from the counter value acquired from the serial data (the count value of the free-run counter 304). Can be acquired. The signal cycle of the input signal to the free-run counter 317 is also fixed. Therefore, for example, a communication error occurs by comparing the count value of the free-run counter 317 at the time of acquiring the serial data with the count value of the free-run counter 317 corresponding to the counter value acquired from the serial data. It is possible to recognize at which communication timing the detection state of the paper feed sensor 183 has changed.

なお、異常時シリアルデータでは、通常時シリアルデータの中間ビット402により通知される情報が欠落することになる。しかしながら、中間ビット402に配置される情報は、上述のように、複合機本体101において情報を取得することは必須であるが、通信タイミングのすべてにおいて取得することが必須でない情報である。そのため、仮に、欠落した場合であっても複合機100の動作に支障はない。ノイズ等の重畳に起因する一時的な通信異常(通信失敗)は、当該データの欠落が問題になる長期間、通信が途絶することはなく、数回分の通信周期において回復するため、通信回復時に当該データを取得することで正常に動作することができる。   In the case of abnormal serial data, information notified by the intermediate bit 402 of the normal serial data is lost. However, as described above, it is indispensable that the information arranged in the intermediate bit 402 is acquired in all the communication timings, although it is indispensable to acquire the information in the multifunction machine main body 101. Therefore, even if it is missing, there is no problem in the operation of the multifunction device 100. Temporary communication abnormalities (communication failures) due to noise superimposition, etc., will not be interrupted for a long period of time when the data is missing, and will be recovered in several communication cycles. It is possible to operate normally by acquiring the data.

続いて、複合機100が実行する通信処理について説明する。図5は、複合機100が実施する通信手順の一例を示すフロー図である。上述のように、複合機100は、給紙ユニット180の給紙センサ183の検知状態を所定のサンプリング周期で通信により取得し、当該サンプリング周期において、給紙センサ183が用紙非検知状態から用紙検知状態に変化したときから予め指定された時間経過後(ここでは、Zミリ秒後)に搬送ローラ164を回転駆動する。上述のように、当該サンプリング周期(通信周期)は、図示しないクロック信号発生器が発生するクロック信号に基づいて規定される。当該通信周期は、例えば、数ミリ秒とすることができる。なお、当該手順は、例えば、複合機100において給紙ユニット180を使用した画像形成指示が入力されたことをトリガとして開始される。   Next, communication processing executed by the multifunction machine 100 will be described. FIG. 5 is a flowchart illustrating an example of a communication procedure performed by the multifunction peripheral 100. As described above, the multifunction peripheral 100 acquires the detection state of the paper feed sensor 183 of the paper feed unit 180 by communication at a predetermined sampling cycle, and the paper feed sensor 183 detects the paper detection from the paper non-detection state in the sampling cycle. The conveyance roller 164 is driven to rotate after a predetermined time has elapsed (in this case, after Z milliseconds) from when the state is changed. As described above, the sampling period (communication period) is defined based on a clock signal generated by a clock signal generator (not shown). The communication cycle can be set to several milliseconds, for example. The procedure is started, for example, as a trigger when an image forming instruction using the paper feed unit 180 is input in the multifunction peripheral 100.

当該手順が開始すると、給紙ユニット180のデータ生成部301は、通信タイミングの到来まで待機する(ステップS501Yes、S502No)。通信タイミングが到来すると、データ生成部301は、給紙センサ183及び用紙残量センサ321の出力に基づいてシリアルデータを生成する(ステップS502Yes、S503)。当該手順が開始した最初の通信タイミングでは、先の複合機本体101との通信が存在しないため、先の通信は異常と判定することができない。そのため、データ生成部301は上述の正常時シリアルデータを生成することになる。シリアルデータを生成したデータ生成部301は、送信部302を通じて生成したシリアルデータを複合機本体101へ送信する(ステップS504)。送信部302を通じて送信されたシリアルデータは、複合機本体101の受信部311に受信される。   When the procedure starts, the data generation unit 301 of the paper feeding unit 180 waits until the communication timing comes (step S501 Yes, S502 No). When the communication timing arrives, the data generation unit 301 generates serial data based on the outputs of the paper feed sensor 183 and the remaining paper amount sensor 321 (steps S502 Yes, S503). At the first communication timing at which the procedure starts, there is no communication with the previous MFP main body 101, and therefore the previous communication cannot be determined to be abnormal. Therefore, the data generation unit 301 generates the above-described normal serial data. The data generation unit 301 that has generated the serial data transmits the serial data generated through the transmission unit 302 to the MFP main body 101 (step S504). The serial data transmitted through the transmission unit 302 is received by the reception unit 311 of the multifunction machine main body 101.

通信が完了すると、複合機本体101の通信異常検知部312は、通信が正常に行われたか否かを判断する(ステップS505)。上述のように、本実施形態では、当該判断は、シリアルデータに含まれるパリティビットを使用して行われる。通信が正常であった場合、通信異常検知部312は、その旨を計時始点特定部314へ通知する。このように、通信異常検知部312により通信が正常に行われたと判断された場合、給紙ユニット180の異常通知受信部303は複合機本体101から通信異常が発生した旨の通知を受信しない。この場合、データ生成部301は、次に到来する通信タイミングにおいて正常時シリアルデータを生成する(ステップS505Yes、S501Yes、S502Yes、S503)。また、通信異常検知部312からの通知により、計時始点特定部314は、次に受信部311により受信されるシリアルデータが、正常時シリアルデータであることを認識することができる。   When the communication is completed, the communication abnormality detection unit 312 of the MFP main body 101 determines whether or not the communication has been normally performed (step S505). As described above, in the present embodiment, the determination is performed using the parity bit included in the serial data. When the communication is normal, the communication abnormality detection unit 312 notifies the timing start point specifying unit 314 to that effect. As described above, when the communication abnormality detection unit 312 determines that communication has been normally performed, the abnormality notification reception unit 303 of the paper feeding unit 180 does not receive a notification from the multifunction peripheral body 101 that a communication abnormality has occurred. In this case, the data generation unit 301 generates normal serial data at the next incoming communication timing (steps S505 Yes, S501 Yes, S502 Yes, S503). Further, by the notification from the communication abnormality detection unit 312, the timing start point specifying unit 314 can recognize that the serial data received by the receiving unit 311 next is serial data at normal time.

一方、通信に異常があった場合、通信異常検知部312は、その旨を計時始点特定部314及び通信異常通知部313へ通知する(ステップS505No)。当該通知を受信した通信異常通知部313は、給紙ユニット180の異常通知受信部303へ、先に通信が異常であった旨(シリアルデータが正常に受信されなかった旨)を通知する。当該通知を受信した異常通知受信部303はデータ生成部301にその旨を通知する。この場合、データ生成部301は、次に到来する通信タイミングにおいて上述の異常時シリアルデータを生成する(ステップS506Yes、S507Yes、S508)。また、通信異常検知部312からの通知により、計時始点特定部314は、次に受信部311により受信されるシリアルデータが、異常時シリアルデータであることを認識することができる。   On the other hand, when there is an abnormality in communication, the communication abnormality detection unit 312 notifies the time measurement start point specifying unit 314 and the communication abnormality notification unit 313 to that effect (No in step S505). The communication abnormality notifying unit 313 that has received the notification notifies the abnormality notification receiving unit 303 of the paper feeding unit 180 that the communication has been abnormal first (that serial data has not been normally received). The abnormality notification receiving unit 303 that has received the notification notifies the data generation unit 301 to that effect. In this case, the data generation unit 301 generates the above-described abnormal serial data at the next incoming communication timing (steps S506 Yes, S507 Yes, S508). Further, by the notification from the communication abnormality detection unit 312, the time measurement starting point identification unit 314 can recognize that the serial data received by the reception unit 311 next is serial data at the time of abnormality.

異常時シリアルデータを生成したデータ生成部301は、送信部302を通じて当該異常時シリアルデータを複合機本体101へ送信する(ステップS509)。送信部302を通じて送信されたシリアルデータは、複合機本体101の受信部311に受信される。そして、当該通信に対しても、複合機本体101の通信異常検知部312は、通信が正常に行われたか否かを判断する(ステップS505)。   The data generation unit 301 that has generated the serial data at the time of abnormality transmits the serial data at the time of abnormality to the MFP main body 101 through the transmission unit 302 (step S509). The serial data transmitted through the transmission unit 302 is received by the reception unit 311 of the multifunction machine main body 101. Also for the communication, the communication abnormality detection unit 312 of the MFP main body 101 determines whether the communication has been normally performed (step S505).

なお、上述の手順において、給紙ユニット180から複合機本体101への給紙が実行され、その後に継続して給紙の必要性がない場合は、当該手順は終了する(ステップS501No、S506No)。   In the above-described procedure, when the sheet feeding unit 180 feeds the MFP main body 101 and there is no need to continue feeding thereafter, the procedure ends (No in steps S501 and S506). .

ここで、計時始点特定部314の動作について説明する。上述のように、計時始点特定部314は、通信異常検知部312からの通知により、次に受信部311により受信されるシリアルデータが正常時シリアルデータであるか異常時シリアルデータであるかを認識することができる。   Here, the operation of the timing start point specifying unit 314 will be described. As described above, the timing start point specifying unit 314 recognizes whether the serial data received by the receiving unit 311 next is normal data or abnormal serial data based on the notification from the communication abnormality detection unit 312. can do.

正常時シリアルデータに対しては、計時始点特定部314は、当該シリアルデータの最下位ビットを読み出して保持する。そして、自身に保持されている、直前に受信したシリアルデータの最下位ビットと比較し、両者が異なる値であれば状態変化が発生したと判断し、当該通信タイミングを計時始点として特定する。本実施形態では、直前に受信したシリアルデータの最下位ビットが「0」(用紙非検知状態)であり、今般受信したシリアルデータの最下位ビットが「1」(用紙検知状態)であれば、計時始点特定部314は状態変化が発生したと認識する。なお、正常時シリアルデータを受信したときは、直前に受信したシリアルデータも正常に受信されていることになる。   For normal serial data, the timing start point specifying unit 314 reads and holds the least significant bit of the serial data. Then, it is compared with the least significant bit of the serial data received immediately before that is held by itself, and if both values are different, it is determined that a state change has occurred, and the communication timing is specified as the timing start point. In this embodiment, if the least significant bit of serial data received immediately before is “0” (paper non-detection state) and the least significant bit of serial data recently received is “1” (paper detection state), The timing start point identifying unit 314 recognizes that a state change has occurred. Note that when normal serial data is received, the serial data received immediately before is also received normally.

また、異常時シリアルデータに対しては、計時始点特定部314は、正常時シリアルデータと同様に、当該シリアルデータの最下位ビットを読み出して保持する。そして、自身に保持されている、直前に受信したシリアルデータの最下位ビットと比較する。両者が同一の値であれば、計時始点特定部314は状態変化が発生していないと判断し、特に他の処理は実施しない。一方、両者が異なる値であれば、計時始点特定部314は、当該シリアルデータの中間ビット(フリーランカウンタ304の計数値)を読み出す。そして、当該中間ビットのデータから、対応関係保持部316に保持されている対応関係に基づいて、対応するフリーランカウンタ317の計数値を導出する。計時始点特定部314は、導出した計数値に基づいて通信異常が発生した通信タイミングの中から、状態変化が発生した通信タイミング(給紙センサ183の状態変化発生後の最初の通信タイミング)を計時始点として特定する。このような特定は、例えば、導出した計数値、フリーランカウンタ317への入力信号の信号周期及びその時点のフリーランカウンタ317の計数値により、容易に実施することができる。   For abnormal serial data, the timing start point specifying unit 314 reads and holds the least significant bit of the serial data as in the normal serial data. Then, it is compared with the least significant bit of the serial data received immediately before held in itself. If both are the same value, the time-measurement start point specifying unit 314 determines that no state change has occurred, and does not perform any other processing. On the other hand, if the values are different from each other, the timing start point specifying unit 314 reads the intermediate bit (the count value of the free-run counter 304) of the serial data. Then, the count value of the corresponding free-run counter 317 is derived from the intermediate bit data based on the correspondence held in the correspondence holding unit 316. The timing start point specifying unit 314 measures the communication timing (first communication timing after the occurrence of the state change of the paper feed sensor 183) from among the communication timings at which the communication abnormality has occurred based on the derived count value. Specify as the starting point. Such identification can be easily performed based on, for example, the derived count value, the signal period of the input signal to the free-run counter 317, and the count value of the free-run counter 317 at that time.

以上のようにして、計時始点を特定した計時始点特定部314は、特定した通信タイミングを動作制御部315に通知する。当該通知を受けた動作制御部315は、通知された通信タイミングから、予め指定されたZミリ秒が経過したときに搬送ローラ164を駆動させる。   As described above, the timing start point specifying unit 314 that specified the timing start point notifies the operation control unit 315 of the specified communication timing. Receiving the notification, the operation control unit 315 drives the transport roller 164 when a pre-designated Z millisecond has elapsed from the notified communication timing.

図6(a)〜図6(c)は、上述した通信手順による効果を示す図である。図6(a)は、正常な通信が継続して実施されている状態に対応し、図6(b)及び図6(c)は、給紙センサ183の状態変化時に通信異常が連続して発生した状態に対応する。また、図6(b)は本実施形態の動作に対応し、図6(c)は従来のリトライ動作に対応する。なお、図6(a)〜図6(c)では、給紙センサ183の検知状態、複合機本体101と給紙ユニット180の通信タイミング(通信間隔)、複合機本体101が認識した給紙センサ183の検知状態(本体認識状態変化)、搬送ローラ164の駆動状態をそれぞれ示している。図6(a)〜図6(c)において、横軸は時間に対応する。給紙センサ183の検知状態では、Lowレベルが用紙非検知状態に対応し、Highレベルが用紙検知状態に対応する。通信間隔では、パルスが発生しているタイミングで通信が実施されることを示している。本体認識状態変化は、Lowレベルが用紙非検知状態に対応し、Highレベルが用紙検知状態に対応する。搬送ローラ駆動状態は、Lowレベルが停止に対応し、Highレベルが駆動に対応する。   FIG. 6A to FIG. 6C are diagrams illustrating the effects of the communication procedure described above. 6A corresponds to a state in which normal communication is continuously performed, and FIGS. 6B and 6C illustrate a case where communication abnormality continues when the state of the paper feed sensor 183 changes. Corresponds to the state that occurred. FIG. 6B corresponds to the operation of this embodiment, and FIG. 6C corresponds to the conventional retry operation. 6A to 6C, the detection state of the paper feed sensor 183, the communication timing (communication interval) between the MFP main body 101 and the paper feed unit 180, and the paper feed sensor recognized by the MFP main body 101. A detection state 183 (main body recognition state change) and a driving state of the conveying roller 164 are shown. In FIG. 6A to FIG. 6C, the horizontal axis corresponds to time. In the detection state of the paper feed sensor 183, the Low level corresponds to the paper non-detection state, and the High level corresponds to the paper detection state. The communication interval indicates that communication is performed at the timing when a pulse is generated. In the main body recognition state change, the Low level corresponds to the paper non-detection state, and the High level corresponds to the paper detection state. In the conveyance roller driving state, the Low level corresponds to stop and the High level corresponds to driving.

この例では、給紙ユニット180の給紙センサ183は、タイミングパルスPの直前(Tミリ秒前)に用紙非検知状態から用紙検知状態に変化している。この場合、正常な通信が継続して実施されている場合は、図6(a)に示すように、タイミングパルスPにおける通信において、計時始点特定部314は状態変化が発生したと認識し、当該通信タイミングを動作制御部315に通知する。その結果、搬送ローラ164は、タイミングパルスPから、予め指定されたZミリ秒が経過したときに動作制御部315によって駆動が開始される。   In this example, the paper feed sensor 183 of the paper feed unit 180 changes from the paper non-detection state to the paper detection state immediately before the timing pulse P (T milliseconds). In this case, when normal communication is continuously performed, as shown in FIG. 6A, in the communication at the timing pulse P, the timing start point identifying unit 314 recognizes that a state change has occurred, The communication control unit 315 is notified of the communication timing. As a result, the transport roller 164 starts to be driven by the operation control unit 315 when a predetermined Z millisecond has elapsed from the timing pulse P.

一方、タイミングパルスP、タイミングパルスPの後のタイミングパルスQにおける通信において異常が発生し、タイミングパルスQの後のタイミングパルスRにおける通信において正常な通信ができた場合、本実施形態の複合機100では、上述のように、タイミングパルスRの通信におけるシリアルデータに基づいて、計時始点特定部314は、タイミングパルスPの通信タイミングを計時始点と特定することができ、当該通信タイミングを動作制御部315に通知する。その結果、図6(b)に示すように、搬送ローラ164は、タイミングパルスPから、予め指定されたZミリ秒が経過したときに動作制御部315によって駆動が開始される。すなわち、通信異常が発生した場合と通信異常が発生していない場合とで、搬送ローラ164の駆動開始タイミングに差異はない。   On the other hand, when an abnormality occurs in the communication at the timing pulse P after the timing pulse P and the timing pulse P, and the communication at the timing pulse R after the timing pulse Q is normal, the MFP 100 according to the present embodiment can be used. Then, as described above, based on the serial data in the communication of the timing pulse R, the timing start point specifying unit 314 can specify the communication timing of the timing pulse P as the timing start point, and the communication timing is determined as the operation control unit 315. Notify As a result, as shown in FIG. 6B, the transport roller 164 is started to be driven by the operation control unit 315 when a predetermined Z millisecond has elapsed from the timing pulse P. That is, there is no difference in the drive start timing of the transport roller 164 between when a communication error occurs and when no communication error occurs.

これに対し、従来から実施されている、単に、通信リトライを繰り返す手法では、タイミングパルスP、タイミングパルスQにおける通信において異常が発生し、タイミングパルスRにおける通信において正常な通信ができた場合、複合機本体101は、タイミングパルスRの通信におけるシリアルデータにより状態変化が発生したと認識する。そのため、図6(c)に示すように、搬送ローラ164は、タイミングパルスRから、予め指定されたZミリ秒が経過したときに駆動が開始される。したがって、通信異常が発生した場合、通信異常が発生していない場合に比べて、搬送ローラ164の駆動開始タイミングが遅延することになる。   On the other hand, in the conventional method of simply repeating communication retries, an abnormality occurs in communication at timing pulse P and timing pulse Q, and normal communication can be performed in communication at timing pulse R. The machine body 101 recognizes that a state change has occurred due to serial data in the communication of the timing pulse R. Therefore, as shown in FIG. 6C, the conveyance roller 164 starts to be driven when a predetermined Z millisecond elapses from the timing pulse R. Therefore, when a communication abnormality occurs, the driving start timing of the transport roller 164 is delayed compared to a case where no communication abnormality occurs.

なお、本実施形態の複合機100であっても、通信間隔と通信異常連続発生回数との積がZミリ秒よりも大きくなると、通信異常が発生していない場合と同一の駆動開始タイミングで搬送ローラ164を駆動することはできなくなる。しかしながら、Zミリ秒の計時始点を遡らせることができるため、従来の手法に比べれば、駆動開始タイミングの遅延を低減することができる。また、通信異常発生後に正常な通信ができた際に、状態変化が発生した通信タイミングから既にZミリ秒が経過していた場合(計時始点がZミリ秒以前になる場合)は、Zミリ秒が経過しているため、動作制御部315は直ちに搬送ローラ164を駆動させてもよい。   Even in the MFP 100 according to the present embodiment, if the product of the communication interval and the number of consecutive occurrences of communication abnormality is greater than Z milliseconds, the conveyance is performed at the same drive start timing as when no communication abnormality has occurred. The roller 164 cannot be driven. However, since the time starting point of Z milliseconds can be traced back, the delay of the drive start timing can be reduced as compared with the conventional method. In addition, when normal communication is possible after the occurrence of a communication error and Z milliseconds have already elapsed from the communication timing at which the state change occurred (when the time measurement start point is before Z milliseconds), Z milliseconds Therefore, the operation control unit 315 may drive the transport roller 164 immediately.

また、上記実施形態では、フリーランカウンタ304とフリーランカウンタ317のカウント数及び入力信号の周期を同一としたが、フリーランカウンタ304の計数値から、当該計数値に対応するフリーランカウンタ317の計数値を特定することが可能であれば、これらが同一であることは必須ではなく任意である。例えば、当該条件を満たす限り、フリーランカウンタ304のカウント数とフリーランカウンタ317のカウント数とが、一方が他方に対し逓倍関係にあってもよい。また、この場合において、フリーランカウンタ304の入力信号周期とフリーランカウンタ317の入力信号周期とが、一方が他方に対し逓倍関係にあってもよい。ただし、フリーランカウンタ304の入力信号周期及びフリーランカウンタ317の入力信号周期は、少なくとも、上述のサンプリング周期よりも短いという条件を満足する必要がある。   In the above embodiment, the counts of the free-run counter 304 and the free-run counter 317 and the cycle of the input signal are the same. However, from the count value of the free-run counter 304, the free-run counter 317 corresponding to the count value If it is possible to specify the count values, it is not essential that they are the same, but they are arbitrary. For example, as long as the condition is satisfied, the count number of the free-run counter 304 and the count number of the free-run counter 317 may be in a multiplying relationship with respect to the other. Further, in this case, one of the input signal cycle of the free-run counter 304 and the input signal cycle of the free-run counter 317 may have a multiplication relationship with respect to the other. However, it is necessary to satisfy the condition that the input signal period of the free-run counter 304 and the input signal period of the free-run counter 317 are at least shorter than the above-described sampling period.

以上説明したように、複合機100では、データ生成部301は、先に生成したシリアルデータが複合機本体101に正常に受信されていない場合、正常に受信されなかった通信タイミングより後の通信タイミングに対応する給紙センサ183の検知状態を示す情報と、給紙センサ183の検知状態に状態変動が発生した際のフリーランカウンタ304の計数値とを含むシリアルデータを生成する。すなわち、通信異常が発生した際に、当該通信異常により受信されなかった通信タイミングにおいて給紙センサ183の検知状態に状態変動が発生したか否か、及び状態変動が発生した場合はどのタイミングで状態変動が発生したかを確認可能な情報がシリアルデータに含まれるため、その後、正常な通信ができたときに、通信異常中のいずれのタイミングで状態変化が発生したかを特定することができる。そのため、通信が失敗した場合であっても、給紙センサ183の検知状態の変化を基準として所定時間後に駆動される搬送ローラの駆動開始の基準点を正確に認識することができ、通信異常に起因する動作遅延を低減することができる。   As described above, in the multifunction device 100, the data generation unit 301, when the serial data generated earlier is not normally received by the multifunction device main body 101, the communication timing after the communication timing that has not been normally received. And serial data including information indicating the detection state of the paper feed sensor 183 corresponding to, and the count value of the free-run counter 304 when a state change occurs in the detection state of the paper feed sensor 183. That is, when a communication abnormality occurs, whether or not a state change has occurred in the detection state of the paper feed sensor 183 at a communication timing that has not been received due to the communication abnormality, and at what timing if a state change has occurred Since the serial data includes information for confirming whether or not the fluctuation has occurred, it is possible to specify at which timing during the abnormal communication when the normal communication is possible. For this reason, even if communication fails, the reference point for starting driving of the transport roller driven after a predetermined time can be accurately recognized based on the change in the detection state of the paper feed sensor 183, and communication abnormalities can be detected. The resulting operation delay can be reduced.

また、当該異常発生時のシリアルデータのビット長は、正常通信時のシリアルデータのビット長と同一であるため、データ通信データを増大させることもない。さらに、異常発生時のシリアルデータにおいて置換されるデータは、各通信において複合機本体101へ通知されないことが許容されるデータであるため、当該データ置換において複合機の動作に支障が出ることもない。   Further, since the bit length of the serial data at the time of occurrence of the abnormality is the same as the bit length of the serial data at the time of normal communication, the data communication data is not increased. Further, since the data replaced in the serial data at the time of occurrence of the abnormality is data that is not allowed to be notified to the MFP main body 101 in each communication, the data replacement does not hinder the operation of the MFP. .

なお、上述した実施形態は本発明の技術的範囲を制限するものではなく、既に記載したもの以外でも、本発明の範囲内で種々の変形や応用が可能である。例えば、上記実施形態で説明したシリアルデータの構成は例示であり、ビット数やビット配列等は任意に変更することができる。   The above-described embodiments do not limit the technical scope of the present invention, and various modifications and applications other than those already described are possible within the scope of the present invention. For example, the configuration of the serial data described in the above embodiment is an example, and the number of bits, the bit arrangement, and the like can be arbitrarily changed.

また、上記実施形態では、付属機器として給紙ユニットを例示し、給紙ユニットが備える給紙センサの検知状態の状態変化を基準とした予め指定されたタイミングで、複合機本体が特定の駆動動作である搬送ローラの駆動を実施する構成とした。しかしながら、付属機器のセンサ検知状態の状態変化を基準とした予め指定されたタイミングで複合機本体が特定の駆動動作を実施する構成であれば本発明を適用可能であり、付属機器の種類、並びに対象のセンサ及び対象の駆動動作は任意である。   Further, in the above embodiment, the paper feed unit is exemplified as the accessory device, and the multifunction device main body performs a specific drive operation at a predetermined timing based on a change in the detection state of the paper feed sensor included in the paper feed unit. The transport roller is driven. However, the present invention can be applied to any configuration in which the MFP main body performs a specific driving operation at a timing specified in advance with reference to a state change of the sensor detection state of the accessory device. The target sensor and the target driving operation are arbitrary.

さらに、上記実施形態では、付属機器が備えるセンサの検知状態を複合機本体に通知する構成としたが、複合機本体と後処理装置等のように、複合機本体が備えるセンサの検知状態を付属機器に通知し、当該通知に応じて付属機器が特定の駆動動作を実施する構成に適用することも可能である。例えば、複合機本体が備えるセンサが正常に複合機本体から正常に搬出されたことを検知するセンサであり、特定の駆動動作が、複合機本体から搬出された用紙に対して後処理を実施する後処理実施部へ搬送する搬送ローラの駆動の場合等に適用することができる。この場合、複合機本体が、第1のフリーランカウンタ、状態変化を検知するセンサ、カウンタ値保持部、データ生成部、送信部及び異常通知受信部を備え、付属機器が、第2のフリーランカウンタ、受信部、通信異常検知部、通信異常通知部、計時始点特定部及び動作制御部を備えればよい。   Furthermore, in the above embodiment, the detection state of the sensor included in the accessory device is notified to the multifunction device main body. However, the detection state of the sensor included in the multifunction device main body, such as the multifunction device main body and the post-processing device, is attached. It is also possible to apply to a configuration in which a device is notified and an attached device performs a specific driving operation in response to the notification. For example, the sensor included in the MFP main body is a sensor that detects that the MFP main body has been normally carried out normally, and the specific driving operation performs post-processing on the paper carried out from the MFP main body. The present invention can be applied to the case of driving a conveyance roller that conveys to a post-processing execution unit. In this case, the multifunction device main body includes a first free run counter, a sensor that detects a change in state, a counter value holding unit, a data generation unit, a transmission unit, and an abnormality notification reception unit, and the attached device has a second free run counter. A counter, a reception unit, a communication abnormality detection unit, a communication abnormality notification unit, a timing start point identification unit, and an operation control unit may be provided.

また、図5に示したフロー図は一例であり、等価な作用を奏する範囲において、各ステップの順序等を適宜変更可能である。例えば、図5に示すフロー図では、通信タイミングが到来したときにデータ生成部がシリアルデータを生成する構成としたが、当該シリアルデータは、通信タイミングに対応して送信されればよく、データ生成タイミングは通信タイミングに限定されない。例えば、先の通信が完了後かつ次の通信タイミングが到来する前の所定のデータ生成タイミングにおいてデータ生成部がシリアルデータを生成し、通信タイミング到来時に、当該シリアルデータを送信する構成であってもよい。   Further, the flowchart shown in FIG. 5 is an example, and the order of the steps and the like can be changed as appropriate within a range in which equivalent actions are achieved. For example, in the flowchart shown in FIG. 5, the data generation unit is configured to generate serial data when the communication timing arrives. However, the serial data may be transmitted corresponding to the communication timing, and the data generation The timing is not limited to the communication timing. For example, even if the data generation unit generates serial data at a predetermined data generation timing after the previous communication is completed and before the next communication timing arrives, the serial data is transmitted when the communication timing arrives. Good.

加えて、上述の実施形態では、デジタル複合機として本発明を具体化したが、デジタル複合機に限らず、プリンタ、複写機等の任意の画像形成装置に本発明を適用することも可能である。   In addition, in the above-described embodiment, the present invention is embodied as a digital multifunction peripheral. However, the present invention can be applied not only to a digital multifunction peripheral but also to an arbitrary image forming apparatus such as a printer or a copying machine. .

本発明によれば、通信データ量を増大させることなく、通信異常に起因する動作遅延を低減することができ、画像形成装置として有用である。   According to the present invention, it is possible to reduce an operation delay due to a communication abnormality without increasing the amount of communication data, which is useful as an image forming apparatus.

100 複合機(画像形成装置)
101 複合機本体(本体機器:他方の機器)
164 搬送ローラ
180 給紙ユニット(付属機器:一方の機器)
183 給紙センサ
190 インターフェイス
301 データ生成部
302 送信部
303 異常通知受信部
304 フリーランカウンタ(第1のフリーランカウンタ)
305 カウンタ値保持部
311 受信部
312 通信異常検知部
313 通信異常通知部
314 計時始点特定部
315 動作制御部
316 対応関係保持部
317 フリーランカウンタ(第2のフリーランカウンタ)
100 MFP (image forming device)
101 MFP main body (main device: other device)
164 Conveying roller 180 Paper feeding unit (Attached equipment: One equipment)
183 Paper feed sensor 190 Interface 301 Data generation unit 302 Transmission unit 303 Abnormality notification reception unit 304 Free run counter (first free run counter)
305 Counter value holding unit 311 Receiving unit 312 Communication abnormality detecting unit 313 Communication abnormality notifying unit 314 Timing start point specifying unit 315 Operation control unit 316 Correspondence holding unit 317 Free run counter (second free run counter)

Claims (3)

本体機器と当該本体機器に接続される付属機器とを備え、前記付属機器が前記本体機器に装着された状態で、前記本体機器及び前記付属機器との間で予め指定されたサンプリング周期で通信を行うとともに、前記本体機器及び前記付属機器の一方の機器の状態変化を基準とした予め指定されたタイミングで、前記本体機器及び前記付属機器の他方の機器が特定の駆動動作を実施する画像形成装置であって、
前記一方の機器が、
第1のフリーランカウンタと、
前記状態変化を検知するセンサと、
前記センサの検知状態に前記状態変化を示す状態変動が発生した際に、当該状態変動が発生したときの前記第1のフリーランカウンタの計数値を保持するカウンタ値保持部と、
前記通信において前記他方の機器へ通知される、前記センサの検知状態を示す情報と、前記一方の機器に関する他の情報とを含む既定長のシリアルデータを生成するとともに、当該シリアルデータが前記他方の機器に正常に受信されなかった場合、その後の通信タイミングに対応する前記センサの検知状態を示す情報と、前記カウンタ値保持部に保持されたカウンタ値とを含む既定長のシリアルデータを生成するデータ生成部と、
前記データ生成部が生成したシリアルデータを前記他方の機器へ送信する送信部と、
前記他方の機器において前記シリアルデータが正常に受信されなかった際に、前記他方の機器から通信異常であった旨の通知を受け付ける異常通知受信部と、
を備え、
前記他方の機器が、
前記第1のフリーランカウンタの計数値と対応づけられた計数値を出力する第2のフリーランカウンタと、
前記一方の機器において生成された前記シリアルデータを受信する受信部と、
前記受信部により前記シリアルデータが正常に受信されたか否かを判定する通信異常検知部と、
前記受信部において前記シリアルデータが正常に受信されなかったと前記通信異常検知部により判定された際に、前記一方の機器にその旨を通知する通信異常通知部と、
前記受信部が受信した前記シリアルデータに前記カウンタ値が含まれない場合、当該シリアルデータに含まれる前記センサの検知状態を示す情報に基づいて前記センサの状態変化に対応する計時始点を特定し、前記受信部が受信した前記シリアルデータに前記カウンタ値が含まれる場合、当該シリアルデータに含まれる前記センサの検知状態を示す情報、当該カウンタ値及び前記第1のフリーランカウンタと前記第2のフリーランカウンタの対応関係に基づいて、前記センサの状態変化に対応する計時始点を特定する計時始点特定部と、
前記計時始点特定部が特定した計時始点から予め指定された時間が経過したときに、前記特定の駆動動作を実行させる動作制御部と、
を備える、画像形成装置。
A main device and an accessory device connected to the main device, and the accessory device is connected to the main device, and communicates with the main device and the accessory device at a sampling period specified in advance. And an image forming apparatus in which the other device of the main device and the accessory device performs a specific driving operation at a timing designated in advance with reference to a state change of one of the main device and the accessory device. Because
The one device is
A first free-run counter;
A sensor for detecting the state change;
A counter value holding unit that holds a count value of the first free-run counter when the state change occurs when the state change indicating the state change occurs in the detection state of the sensor;
Generating a predetermined length of serial data including information indicating a detection state of the sensor and other information related to the one device, which is notified to the other device in the communication; Data that generates serial data of a predetermined length including information indicating the detection state of the sensor corresponding to the subsequent communication timing and the counter value held in the counter value holding unit when the device does not receive normally A generator,
A transmission unit for transmitting the serial data generated by the data generation unit to the other device;
When the serial data is not normally received in the other device, an abnormality notification receiving unit that receives a notification that the communication is abnormal from the other device;
With
The other device is
A second free-run counter that outputs a count value associated with the count value of the first free-run counter;
A receiving unit for receiving the serial data generated in the one device;
A communication abnormality detection unit for determining whether or not the serial data has been normally received by the reception unit;
When the communication abnormality detection unit determines that the serial data is not normally received in the reception unit, a communication abnormality notification unit that notifies the one device to that effect,
When the serial value received by the receiving unit does not include the counter value, the timing point corresponding to the sensor state change is specified based on the information indicating the detection state of the sensor included in the serial data, When the serial value received by the receiving unit includes the counter value, information indicating the detection state of the sensor included in the serial data, the counter value, the first free-run counter, and the second free-run counter Based on the correspondence relationship of the run counter, a timing start point identifying unit that identifies a timing start point corresponding to the state change of the sensor,
An operation control unit that executes the specific drive operation when a pre-designated time has elapsed from the timing start point specified by the timing start point specifying unit;
An image forming apparatus.
前記他方の機器が被記録体上に画像を形成する画像形成部を備える画像形成装置本体であり、前記一方の機器が前記被記録体を前記画像形成装置本体に供給する給紙装置であり、前記センサが、被記録体が正常に給送されたことを検知するセンサであり、前記動作制御部による特定の駆動動作が、前記給紙装置から供給された被記録体を前記画像形成部へ搬送する搬送ローラの駆動である、請求項1記載の画像形成装置。   The other device is an image forming apparatus main body including an image forming unit that forms an image on a recording medium, and the one device is a paper feeding device that supplies the recording medium to the image forming apparatus main body, The sensor is a sensor that detects that the recording medium has been normally fed, and a specific driving operation by the operation control unit causes the recording medium supplied from the paper feeding device to the image forming unit. The image forming apparatus according to claim 1, wherein the image forming apparatus is a drive of a conveying roller for conveying. 前記一方の機器が被記録体上に画像を形成する画像形成部を備える画像形成装置本体であり、前記他方の機器が、前記画像形成装置本体において画像が形成された前記被記録体が供給される後処理装置であり、前記センサが、被記録体が正常に前記画像形成装置本体から搬出されたことを検知するセンサであり、前記動作制御部による特定の駆動動作が、前記画像形成装置本体から搬出された被記録体に対して後処理を実施する後処理実施部へ搬送する搬送ローラの駆動である、請求項1記載の画像形成装置。   The one apparatus is an image forming apparatus main body including an image forming unit that forms an image on a recording medium, and the other apparatus is supplied with the recording medium on which an image is formed in the image forming apparatus main body. A post-processing device, wherein the sensor is a sensor that detects that the recording medium has been normally carried out of the image forming apparatus main body, and a specific driving operation by the operation control unit is performed by the image forming apparatus main body. The image forming apparatus according to claim 1, wherein the image forming apparatus is a drive of a conveyance roller that conveys the recording medium unloaded from the recording medium to a post-processing execution unit that performs post-processing.
JP2012282145A 2012-12-26 2012-12-26 Image forming apparatus Expired - Fee Related JP5868838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012282145A JP5868838B2 (en) 2012-12-26 2012-12-26 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012282145A JP5868838B2 (en) 2012-12-26 2012-12-26 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2014126641A JP2014126641A (en) 2014-07-07
JP5868838B2 true JP5868838B2 (en) 2016-02-24

Family

ID=51406200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012282145A Expired - Fee Related JP5868838B2 (en) 2012-12-26 2012-12-26 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5868838B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7443847B2 (en) * 2020-03-16 2024-03-06 京セラドキュメントソリューションズ株式会社 Electronic equipment, communication equipment, communication abnormality detection method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2532732B2 (en) * 1990-08-23 1996-09-11 三田工業株式会社 Transmission control device
JP2533228B2 (en) * 1990-08-23 1996-09-11 三田工業株式会社 Operation unit control device
JPH07276743A (en) * 1994-04-12 1995-10-24 Canon Inc Image recording apparatus
JP5166006B2 (en) * 2007-11-26 2013-03-21 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP2011203454A (en) * 2010-03-25 2011-10-13 Fuji Xerox Co Ltd Image forming apparatus and program

Also Published As

Publication number Publication date
JP2014126641A (en) 2014-07-07

Similar Documents

Publication Publication Date Title
JP4242884B2 (en) Sheet conveying apparatus, and document conveying apparatus and image processing apparatus provided with the same
US7756463B2 (en) Image recording apparatus and its control method
US8561985B2 (en) Conveying device, image forming apparatus, and program
JP2006312538A (en) Sheet carrying device and image forming device
JP2015031890A (en) Fault monitoring system and image forming apparatus
US10384895B2 (en) Image forming apparatus, image forming system and detecting method of abnormal feeding
JP5868838B2 (en) Image forming apparatus
JP2020015562A (en) Image forming device
JP2007232952A (en) Image forming device
US8654384B2 (en) Image forming apparatus and image forming system
JP2018184264A (en) Paper feeding device and image forming apparatus
JP5840632B2 (en) Image forming apparatus
JP5882250B2 (en) Image forming apparatus and paper feed roller wear detection method
JP2013210506A (en) Driving device and image forming apparatus
JP5624968B2 (en) Image forming apparatus
US20220004134A1 (en) Image forming apparatus
JP5826352B2 (en) Image forming apparatus
JP5859084B2 (en) Image forming apparatus
JP2015006736A (en) Image forming apparatus, notification method, and program
US9274478B1 (en) Image forming apparatus and message display method for presenting multiple status conditions of the image forming apparatus
JP4189589B2 (en) Paper feeder
JP5875549B2 (en) Compound machine
JP2019196263A (en) Image formation system
US20230127482A1 (en) Management system and image forming apparatus
EP3669233B1 (en) Adjusting a pickup time of a printing medium when a transfer delay occurs or is anticipated to occur

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160106

R150 Certificate of patent or registration of utility model

Ref document number: 5868838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees