JP2016163947A - Module and printer - Google Patents

Module and printer Download PDF

Info

Publication number
JP2016163947A
JP2016163947A JP2015044382A JP2015044382A JP2016163947A JP 2016163947 A JP2016163947 A JP 2016163947A JP 2015044382 A JP2015044382 A JP 2015044382A JP 2015044382 A JP2015044382 A JP 2015044382A JP 2016163947 A JP2016163947 A JP 2016163947A
Authority
JP
Japan
Prior art keywords
wiring
sheet
memory
circuit board
fiscal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015044382A
Other languages
Japanese (ja)
Inventor
俊明 渡辺
Toshiaki Watanabe
俊明 渡辺
司 阿部
Tsukasa Abe
司 阿部
雄史 ▲高▼見澤
雄史 ▲高▼見澤
Yuji Takamizawa
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015044382A priority Critical patent/JP2016163947A/en
Publication of JP2016163947A publication Critical patent/JP2016163947A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a printer which can detect an unauthorized access by using a wiring sheet.SOLUTION: A printer 1 comprises: a memory board 15 provided with a fiscal memory 18; a wiring sheet 16 provided with first wiring 21 and wrapping the memory board 15; a memory board side RTC 42 detecting disconnection of the first wiring 21; and a flexible cable 27 connecting the memory board 15 and a fiscal control board 7. The wiring sheet 16 includes a second protrusion part 103 (sheet part) folded at a position overlapping with the memory board 15. The second protrusion part 103 includes a first slit 65 surrounded by the first wiring 21. The flexible cable 27 is routed to the outside of the wiring sheet 16 via the first slit 65. When the second protrusion part 103 is forcibly opened, the flexible cable 27 interferes therewith to break an opening edge of the first slit 65 in the second protrusion part 103 and disconnection is generated.SELECTED DRAWING: Figure 7

Description

本発明は、メモリーが実装された回路基板に対する不正なアクセスを検出できるモジュールおよびプリンターに関する。   The present invention relates to a module and a printer that can detect unauthorized access to a circuit board on which a memory is mounted.

電子部品に対する外部からの不正なアクセスを検出するために、配線が張り巡らされた配線シートで電子部品を囲む技術が特許文献1に記載されている。配線シートが破られると配線が切断されるので、断線の発生に基づいて不正なアクセスを検出できる。   In order to detect unauthorized access from outside to the electronic component, Japanese Patent Application Laid-Open No. 2004-133867 describes a technique of surrounding the electronic component with a wiring sheet in which wiring is stretched. Since the wiring is cut when the wiring sheet is broken, unauthorized access can be detected based on the occurrence of the disconnection.

特開2009−093401号公報JP 2009-093401 A

近年、プリンターの高機能化が進み、プリンター内の電子機器に重要な情報を記憶するリンターも多く存在し、盗難・紛失事故に遭った場合の情報漏えいに対する防御手段が望まれる。特に、フィスカルプリンターは販売取引に関するフィスカル情報をフィスカルメモリーに記憶保持する。フィスカル情報は税務処理などに用いられる情報であり、その改ざんは許されない。従って、フィスカルプリンターでは、フィスカルメモリーに対する外部からの不正なアクセスを防止する必要がある。また、フィスカルプリンターでは、不正なアクセスがあった場合に、このアクセスを検出可能とする必要がある。   In recent years, as printers have become more sophisticated, there are many printers that store important information in electronic devices in the printer, and a means of protecting against information leakage in the event of a theft or loss is desired. In particular, the fiscal printer stores fiscal information relating to sales transactions in a fiscal memory. Fiscal information is information used for tax processing, etc., and its tampering is not allowed. Therefore, it is necessary for the fiscal printer to prevent unauthorized access to the fiscal memory from the outside. Also, the fiscal printer needs to be able to detect this access when there is an unauthorized access.

ここで、フィスカルメモリーを搭載した回路基板を配線シートで包み込んでモジュールとし、これによりフィスカルメモリーに対する不正なアクセスを防止し、かつ、不正なアクセスを検出可能とすることが考えられる。しかし、配線シートを折り畳んで回路基板を包み込んだ場合には、折り畳まれていた配線シートを開くことにより、配線シートを破らなくても回路基板上のフィスカルメモリーにアクセス可能となることがある。配線シートが開かれた場合には、配線が切断されないので、断線の発生に基づいて不正なアクセスを検出することができない。   Here, it is conceivable that a circuit board on which a fiscal memory is mounted is wrapped in a wiring sheet to form a module, thereby preventing unauthorized access to the fiscal memory and detecting unauthorized access. However, when the wiring sheet is folded and the circuit board is wrapped, by opening the folded wiring sheet, the fiscal memory on the circuit board may be accessible without breaking the wiring sheet. When the wiring sheet is opened, the wiring is not cut, so that unauthorized access cannot be detected based on the occurrence of the disconnection.

本発明の課題は、このような点に鑑みて、配線シートを用いて確実に不正なアクセスを検出できるモジュールおよびプリンターを提供することにある。   In view of the above, an object of the present invention is to provide a module and a printer that can reliably detect unauthorized access using a wiring sheet.

上記の課題を解決するために、本発明のモジュールは、メモリーを備える第1回路基板と、第2回路基板と、配線を備え、前記第1回路基板を包み込む配線シートと、前記配線の異常を検出する検出部と、前記第1回路基板と前記第2回路基板とを接続するケーブルと、を有し、前記配線シートは、前記第1回路基板の厚さ方向から見た場合に当該第1回路基板と重なる位置に折り畳まれた第1シート部分を備え、前記第1シート部分は、前記配線に囲まれた第1スリットを備え、前記ケーブルは、前記第1回路基板から、前記第1スリットを挿通されて、前記第2回路基板に接続されることを特徴とする。   In order to solve the above problems, a module of the present invention includes a first circuit board having a memory, a second circuit board, a wiring sheet that includes wiring, and wraps around the first circuit board, and an abnormality in the wiring. A detection unit for detecting, and a cable for connecting the first circuit board and the second circuit board, and the wiring sheet is the first when viewed from the thickness direction of the first circuit board. A first sheet portion folded at a position overlapping with the circuit board; the first sheet portion including a first slit surrounded by the wiring; and the cable extending from the first circuit board to the first slit. And is connected to the second circuit board.

本発明では、メモリーを備える第1回路基板が配線シートで包み込まれているので、メモリーに不正にアクセスしようとする者は、配線シートを破るか、または、折り畳まれた状態の配線シートを開いて第1回路基板からメモリーを露出させる必要がある。ここで、配線シートが破られる場合には、配線が切断されるので、検出部が配線の異常を検出する。一方、折り畳まれた配線シートが開かれる場合には、第1シート部分を開く際に、第1シート部分と第1スリットを貫通したケーブルが干渉するので、第1シート部分を開くことができない。また、第1シート部分を無理に開くと、ケーブルとの干渉によって、第1シート部分における第1スリットの開口縁が破損する。この結果、第1スリットの開口縁を這っている配線が切断するので、検出部が配線の異常を検出する。従って、配線の異常に基づいて、メモリーに対する不正なアクセスを確実に検出できる。   In the present invention, since the first circuit board having the memory is wrapped in the wiring sheet, a person who tries to access the memory illegally breaks the wiring sheet or opens the folded wiring sheet. It is necessary to expose the memory from the first circuit board. Here, when the wiring sheet is torn, the wiring is cut, so that the detection unit detects an abnormality in the wiring. On the other hand, when the folded wiring sheet is opened, the first sheet portion cannot be opened because the cable passing through the first slit and the first slit interferes when the first sheet portion is opened. When the first sheet portion is forcibly opened, the opening edge of the first slit in the first sheet portion is broken due to interference with the cable. As a result, since the wiring covering the opening edge of the first slit is cut, the detection unit detects the abnormality of the wiring. Therefore, unauthorized access to the memory can be reliably detected based on the wiring abnormality.

本発明において、前記配線シートは、前記第1回路基板と前記第1シート部分の間に折り畳まれた第2シート部分を備え、前記第2シート部分は、前記配線に囲まれた第2スリットを備え、前記ケーブルは、前記第1回路基板から、前記第2スリットおよび前記第1スリットを介して、前記配線シートの外側に導出されるものとすることができる。このようにすれば、メモリーを露出させようとして第2シート部分を開く際に、第2シート部分と第2スリットを貫通したケーブルが干渉するので、第2シート部分を開くことができない。また、第2シート部分を無理に開くと、ケーブルとの干渉によって、第2シート部分における第2スリットの開口縁が破損する。この結果、第2スリットの開口縁を這っている配線が切断するので、検出部が配線の異常を検出する。従って、配線の異常に基づいて、メモリーに対する不正なアクセスを確実に検出できる。   In the present invention, the wiring sheet includes a second sheet portion folded between the first circuit board and the first sheet portion, and the second sheet portion includes a second slit surrounded by the wiring. The cable may be led out of the wiring sheet from the first circuit board through the second slit and the first slit. In this way, when the second sheet portion is opened in order to expose the memory, the cable passing through the second sheet portion and the second slit interferes, so that the second sheet portion cannot be opened. If the second sheet portion is forcibly opened, the opening edge of the second slit in the second sheet portion is damaged due to interference with the cable. As a result, since the wiring covering the opening edge of the second slit is cut, the detection unit detects the abnormality of the wiring. Therefore, unauthorized access to the memory can be reliably detected based on the wiring abnormality.

本発明において、前記配線シートは、前記第1回路基板と前記第2シート部分の間に折り畳まれた第3シート部分を備え、前記ケーブルは、前記第1回路基板と前記第3シート部分の間から、前記第2スリットおよび前記第1スリットを介して前記配線シートの外側に導出されるものとすることができる。このようにすれば、ケーブルが引っ張られたときに、断線を発生させて、メモリーに対する不正なアクセスを検出できる。すなわち、ケーブルが第1回路基板から離れる方向に引っ張られると、ケーブルが第3シート部分を第1回路基板から離間する方向に移動させる。これにより、第3シート部分の外側に位置する第2シート部分が第1回路基板から離間する方向に移動するので、ケーブルとの干渉によって第2スリットの開口縁が破損しやすくなる。また、ケーブルが第3シート部分を第1回路基板から離間する方向に移動させると、第3シート部分の外側に位置する第1シート部分が第1回路基板から離間する方向に移動するので、ケーブルとの干渉によって第1スリットの開口縁が破損しやすくなる。   In the present invention, the wiring sheet includes a third sheet portion folded between the first circuit board and the second sheet portion, and the cable is provided between the first circuit board and the third sheet portion. To the outside of the wiring sheet through the second slit and the first slit. In this way, when the cable is pulled, a disconnection is generated, and unauthorized access to the memory can be detected. That is, when the cable is pulled in a direction away from the first circuit board, the cable moves the third sheet portion in a direction away from the first circuit board. As a result, the second sheet portion located outside the third sheet portion moves in a direction away from the first circuit board, so that the opening edge of the second slit is likely to be damaged due to interference with the cable. Further, when the cable moves the third sheet portion in the direction away from the first circuit board, the first sheet portion located outside the third sheet portion moves in the direction away from the first circuit board. The opening edge of the first slit is likely to be damaged by the interference.

本発明において、前記検出部は、前記配線の異常を記録する記憶部を備え、前記第1回路基板に実装されるものとすることができる。このようにすれば、検出部にアクセスする場合にも、配線シートを破いて検出部を露出させる必要がある。よって、検出部の記憶部に記録された配線の異常の記録を改ざんすることが困難となる。また、記憶部を備える検出部は第1回路基板に搭載されるので、メモリーが搭載された第1回路基板の側で、不正なアクセスを検出できる。   In the present invention, the detection unit may include a storage unit that records the abnormality of the wiring, and may be mounted on the first circuit board. If it does in this way, also when accessing a detection part, it is necessary to tear a wiring sheet and to expose a detection part. Therefore, it becomes difficult to falsify the record of the wiring abnormality recorded in the storage unit of the detection unit. In addition, since the detection unit including the storage unit is mounted on the first circuit board, unauthorized access can be detected on the side of the first circuit board on which the memory is mounted.

本発明において、前記第2回路基板は、電池を備え、前記配線シートは、前記第1回路基板に接続されており、前記検出部には、前記ケーブルおよび前記配線を介して前記電池から電力が供給されるものとすることができる。このようにすれば、検出部は、配線の通電状態を監視することにより配線の異常を検出できる。また、このようにすれば、ケーブルが第1回路基板または第2回路基板から取り外された場合にも、断線が発生した場合と同様に、検出部に供給される電力が途絶える。従って、検出部は、不正なアクセスによってケーブルが第1回路基板または第2回路基板から取り外されたことを検出できる。   In the present invention, the second circuit board includes a battery, the wiring sheet is connected to the first circuit board, and electric power is supplied to the detection unit from the battery via the cable and the wiring. Can be supplied. If it does in this way, the detection part can detect abnormality of wiring by monitoring the energization state of wiring. In this way, even when the cable is detached from the first circuit board or the second circuit board, the power supplied to the detection unit is interrupted as in the case where the disconnection occurs. Therefore, the detection unit can detect that the cable has been removed from the first circuit board or the second circuit board due to unauthorized access.

本発明において、前記検出部は、RTCとすることができる。RTCの中には、アラームなどを設定するために揮発性のレジスター(記憶部)を備えるものがある。かかるRTCを利用すれば、断線が発生したときにレジスターに記憶保持されていた値が消失するので、配線の異常を記録できる。また、RTCの中には、RTCに供給される電力の電圧が所定の電圧よりも低くなったときに低電圧状態に陥ったことを記録するレジスター(記憶部)を有するものがある。このようなRTCを利用しても、配線の異常を記録できる。ここで、RTCは汎用品であり、廉価である。従って、装置の製造コストを抑制できる。また、RTCは消費電力が小さいので、電池から供給される電力により長期間に渡って動作する。従って、検出部をRTCとすれば、長期間に渡って不正なアクセスを検出できる。   In the present invention, the detection unit may be an RTC. Some RTCs include a volatile register (storage unit) for setting an alarm or the like. If such an RTC is used, the value stored in the register when the disconnection occurs is lost, so that a wiring abnormality can be recorded. Some RTCs have a register (storage unit) that records that a low voltage state has been entered when the voltage of power supplied to the RTC is lower than a predetermined voltage. Even when such an RTC is used, wiring abnormality can be recorded. Here, the RTC is a general-purpose product and is inexpensive. Therefore, the manufacturing cost of the apparatus can be suppressed. In addition, since the RTC has low power consumption, it operates over a long period of time by the power supplied from the battery. Therefore, if the detection unit is an RTC, unauthorized access can be detected over a long period of time.

次に、本発明のプリンターは、上記のモジュールと、レシート発行用の印刷データに基づいて印刷を実行する印刷部と、を備え、前記第2回路基板は、前記レシート発行用の印刷データに基づいてフィスカル情報を生成するフィスカル情報生成部と、前記フィスカル情報を前記メモリーに記憶保持させるために当該フィスカル情報を前記第1回路基板に送信する送信部と、を備えることを特徴とする。   Next, a printer of the present invention includes the above-described module and a printing unit that executes printing based on print data for issuing a receipt, and the second circuit board is based on the print data for issuing a receipt. A fiscal information generating unit that generates the fiscal information; and a transmitting unit that transmits the fiscal information to the first circuit board in order to store the fiscal information in the memory.

本発明のプリンターによれば、印刷部やフィスカル情報生成部を第1回路基板に実装した場合と比較して、第1回路基板に実装する電子部品の部品点数を少なくできる。これにより、第1回路基板を小さくできるので、配線シートによって第1回路基板を包み込む作業が容易となる。また、第1回路基板を包み込む配線シートを小さくできるので、配線シートの製造コストを抑制できる。   According to the printer of the present invention, the number of electronic components mounted on the first circuit board can be reduced as compared with the case where the printing unit and the fiscal information generation unit are mounted on the first circuit board. Thereby, since the first circuit board can be made small, the operation of wrapping the first circuit board with the wiring sheet is facilitated. Moreover, since the wiring sheet which wraps the 1st circuit board can be made small, the manufacturing cost of a wiring sheet can be suppressed.

本発明を適用したフィスカルプリンターの斜視図である。1 is a perspective view of a fiscal printer to which the present invention is applied. フィスカルモジュールを引き出したフィスカルプリンターの斜視図である。It is a perspective view of the fiscal printer which pulled out the fiscal module. フィスカルモジュールの説明図である。It is explanatory drawing of a fiscal module. フィスカルモジュールの制御系を示す概略ブロック図である。It is a schematic block diagram which shows the control system of a fiscal module. 配線シートの説明図である。It is explanatory drawing of a wiring sheet. 配線シートによるメモリー基板の包み込み動作の説明図である。It is explanatory drawing of the wrapping operation | movement of the memory substrate by a wiring sheet. 配線シートによるメモリー基板の包み込み動作の説明図である。It is explanatory drawing of the wrapping operation | movement of the memory substrate by a wiring sheet.

以下に、図面を参照して、本発明を適用したプリンターの実施の形態を説明する。   Embodiments of a printer to which the present invention is applied will be described below with reference to the drawings.

図1(a)は、本実施の形態に係るプリンターを前方の斜め上方から見た場合の外観斜視図であり、図1(b)はプリンターを後方の斜め上方から見た場合の外観斜視図である。図2はプリンターに装着されるモジュールを引き出した状態において、プリンターを後方の斜め上方から見た場合の外観斜視図である。図3(a)はモジュールに収納されたメモリーモジュールの説明図であり、図3(b)はメモリーモジュールの断面図であり、図3(c)はメモリーモジュールが備えるメモリー基板およびフレキシブルケーブルの斜視図である。図3(c)では、メモリー基板に実装されたEJメモリーやフィスカルメモリーなどの電子部品を省略して示す。図4はモジュールの制御系を示す概略ブロック図である。   FIG. 1A is an external perspective view when the printer according to the present embodiment is viewed from an obliquely upper front, and FIG. 1B is an external perspective view when the printer is viewed from an obliquely upper rear. It is. FIG. 2 is an external perspective view of the printer when viewed from an obliquely upper rear side in a state where a module to be mounted on the printer is pulled out. 3A is an explanatory diagram of the memory module housed in the module, FIG. 3B is a cross-sectional view of the memory module, and FIG. 3C is a perspective view of the memory substrate and the flexible cable provided in the memory module. FIG. In FIG. 3C, electronic components such as an EJ memory and a fiscal memory mounted on a memory substrate are omitted. FIG. 4 is a schematic block diagram showing a module control system.

プリンター1(フィスカルプリンター)は、POS端末等に接続される会計用のプリンターである。プリンター1は、販売取引に関する印刷情報をレシートに印刷して印刷後のレシートを発行する機能と、レシートの内容をEJ(電子ジャーナル)情報として記憶保持する機能と、販売取引に関する情報から課税額などを算出したフィスカル情報を記憶保持する機能を備える。図1に示すように、プリンター1は、プリンター本体2と、プリンター本体2の底部に着脱可能に固定されたフィスカルモジュール3(モジュール)を備える。   The printer 1 (fiscal printer) is a printer for accounting connected to a POS terminal or the like. The printer 1 has a function of printing print information relating to sales transactions on a receipt and issuing a printed receipt, a function of storing and holding the contents of receipts as EJ (electronic journal) information, and taxation amounts from information relating to sales transactions. It has a function to store and hold the fiscal information calculated. As shown in FIG. 1, the printer 1 includes a printer main body 2 and a fiscal module 3 (module) fixed to the bottom of the printer main body 2 in a detachable manner.

図1および図2に示すように、プリンター本体2は、その上面の前側に配置された開閉蓋10と、その上面の後側に配置された開閉蓋11を備える。開閉蓋10と開閉蓋11の間には、プリンター1の幅方向に延びるレシート排出口12が設けられる。レシート排出口12の側方には、スライドボタン13が配置される。プリンター本体2の内部には、図示を省略する印刷ヘッド(印刷部)や記録紙の搬送機構が搭載される。また、プリンター本体2の内部には記録紙の収納部が設けられる。スライドボタン13を操作すると、開閉蓋11のロックが外れて、開閉蓋11を開けることが可能になる。開閉蓋11を開けると、記録紙の収納部が露出する。従って、記録紙の交換等を行うことが可能となる。開閉蓋10を開けると、インクリボンの交換などを行うことが可能である。   As shown in FIGS. 1 and 2, the printer body 2 includes an opening / closing lid 10 disposed on the front side of the upper surface and an opening / closing lid 11 disposed on the rear side of the upper surface. A receipt discharge port 12 extending in the width direction of the printer 1 is provided between the opening / closing lid 10 and the opening / closing lid 11. A slide button 13 is disposed on the side of the receipt outlet 12. Inside the printer main body 2, a print head (printing unit) (not shown) and a recording paper transport mechanism are mounted. A recording paper storage unit is provided inside the printer main body 2. When the slide button 13 is operated, the opening / closing lid 11 is unlocked and the opening / closing lid 11 can be opened. When the opening / closing lid 11 is opened, the storage section for the recording paper is exposed. Accordingly, the recording paper can be exchanged. When the opening / closing lid 10 is opened, the ink ribbon can be exchanged.

フィスカルモジュール3は、図2に示すように、直方体形状をしたケース4を備える。ケース4の上には、フレーム5が固定される。図3(a)に示すように、ケース4には、プリンター制御基板6、フィスカル制御基板7(メモリー制御基板)、および、メモリーモジュール8が積層された状態で収納される。フィスカルモジュール3は、フレーム5に固定された状態で、プリンター本体2の底部に装着される。フィスカルモジュール3には、POS端末とは別のホストコンピューターを接続するための各種のコネクター9を備える。   As shown in FIG. 2, the fiscal module 3 includes a case 4 having a rectangular parallelepiped shape. A frame 5 is fixed on the case 4. As shown in FIG. 3A, the case 4 stores a printer control board 6, a fiscal control board 7 (memory control board), and a memory module 8 in a stacked state. The fiscal module 3 is attached to the bottom of the printer body 2 while being fixed to the frame 5. The fiscal module 3 includes various connectors 9 for connecting a host computer different from the POS terminal.

図3(b)に示すように、メモリーモジュール8は、メモリー基板15と、メモリー基板15を包み込む状態に折り畳まれた配線シート16を備える。図4に示すように、メモリー基板15には、EJ情報を記憶保持するEJメモリー17、フィスカル情報を記憶保持するフィスカルメモリー18などの電子部品が実装される。配線シート16には、第1配線21および第2配線22が張り巡らされている。また、メモリーモジュール8は、図3(a)、(b)に示すように、配線シート16により包み込まれたメモリー基板15を収納する箱体25と、配線シート16により包み込まれたメモリー基板15をモールドするモールド部26を備える。モールド部26は箱体25に充填されたエポキシ樹脂などの封止剤により形成される。   As shown in FIG. 3B, the memory module 8 includes a memory substrate 15 and a wiring sheet 16 that is folded so as to enclose the memory substrate 15. As shown in FIG. 4, electronic components such as an EJ memory 17 that stores and holds EJ information and a fiscal memory 18 that stores and holds fiscal information are mounted on the memory board 15. A first wiring 21 and a second wiring 22 are stretched around the wiring sheet 16. Further, as shown in FIGS. 3A and 3B, the memory module 8 includes a box body 25 for storing the memory substrate 15 wrapped by the wiring sheet 16 and a memory substrate 15 wrapped by the wiring sheet 16. A mold part 26 for molding is provided. The mold part 26 is formed by a sealing agent such as an epoxy resin filled in the box body 25.

図3(c)に示すように、メモリー基板15には第1コネクター19が実装される。第1コネクター19にはフレキシブルケーブル27が接続される。また、メモリー基板15には第2コネクター20が実装されている。第2コネクター20は、配線シート16(第1配線21および第2配線22)をメモリー基板15に接続するためのコネクターである。図3(b)に示すように、フレキシブルケーブル27は、メモリー基板15と配線シート16の間、および、折り畳まれた配線シート16の間を引き回された後に、配線シート16から外側に引き出され、さらに、モールド部26の外側に引き出される。   As shown in FIG. 3C, the first connector 19 is mounted on the memory board 15. A flexible cable 27 is connected to the first connector 19. A second connector 20 is mounted on the memory board 15. The second connector 20 is a connector for connecting the wiring sheet 16 (first wiring 21 and second wiring 22) to the memory substrate 15. As shown in FIG. 3B, the flexible cable 27 is drawn out from the wiring sheet 16 after being routed between the memory board 15 and the wiring sheet 16 and between the folded wiring sheet 16. Further, it is pulled out of the mold part 26.

ここで、図3(a)に示すように、プリンター制御基板6は、メモリーモジュール8の下方に重ねて配置される。フィスカル制御基板7は、メモリーモジュール8の上方に重ねて配置される。メモリー基板15から引き出されたフレキシブルケーブル27はフィスカル制御基板7に接続される。フィスカル制御基板7とプリンター制御基板6は、これらの間に設けられたフレキシブルケーブル28(図4参照)により接続される。   Here, as shown in FIG. 3A, the printer control board 6 is disposed below the memory module 8. The fiscal control board 7 is disposed above the memory module 8. The flexible cable 27 drawn from the memory board 15 is connected to the fiscal control board 7. The fiscal control board 7 and the printer control board 6 are connected by a flexible cable 28 (see FIG. 4) provided between them.

(フィスカルモジュールの制御系)
図4に示すように、フィスカルモジュール3は、プリンター制御基板6、フィスカル制御基板7、および、メモリー基板15を有する。
(Fiscal module control system)
As shown in FIG. 4, the fiscal module 3 includes a printer control board 6, a fiscal control board 7, and a memory board 15.

プリンター制御基板6にはプリンター制御用CPU31が実装される。フィスカル制御基板7には、フィスカル制御用主CPU33、プログラム改ざん確認用CPU34、ROM35、RAM36、フィスカル制御基板側RTC(リアルタイムクロック)37が実装される。また、フィスカル制御基板7には、バックアップ用の電池38が搭載される。メモリー基板15には、フィスカル制御用副CPU41、EJメモリー17、フィスカルメモリー18、メモリー基板側RTC42、および、配線シート接続部43が実装される。EJメモリー17およびフィスカルメモリー18は不揮発性メモリーである。EJメモリー17にはEJ情報が記憶保持され、フィスカルメモリー18にはフィスカル情報が記憶保持される。   A printer control CPU 31 is mounted on the printer control board 6. On the fiscal control board 7, a fiscal control main CPU 33, a program tampering confirmation CPU 34, a ROM 35, a RAM 36, and a fiscal control board side RTC (real time clock) 37 are mounted. A backup battery 38 is mounted on the fiscal control board 7. On the memory board 15, a fiscal control sub CPU 41, an EJ memory 17, a fiscal memory 18, a memory board side RTC 42, and a wiring sheet connection portion 43 are mounted. The EJ memory 17 and the fiscal memory 18 are nonvolatile memories. The EJ memory 17 stores and holds EJ information, and the fiscal memory 18 stores and holds fiscal information.

プリンター制御基板6は、フレキシブルケーブル28を介してフィスカル制御基板7と通信可能に接続される。プリンター制御用CPU31は、フィスカル制御基板7のフィスカル制御用主CPU33を介してプリンター本体2と通信可能である。プリンター制御用CPU31は、プリンター本体2の印刷ヘッドや搬送機構を駆動制御する。   The printer control board 6 is communicably connected to the fiscal control board 7 via a flexible cable 28. The printer control CPU 31 can communicate with the printer main body 2 via the fiscal control main CPU 33 of the fiscal control board 7. The printer control CPU 31 drives and controls the print head and the transport mechanism of the printer main body 2.

フィスカル制御基板7のフィスカル制御用主CPU33はEJメモリー17およびフィスカルメモリー18に対する情報の書き込みを行うためのフィスカル制御を行う。フィスカル制御用主CPU33は、POS端末から供給されたレシート印刷用の印刷データに基づいてEJ情報を生成するEJ情報生成部45と、外部の機器から供給された印刷データに基づいてフィスカル情報を生成するフィスカル情報生成部46と、生成されたEJ情報およびフィスカル情報を記録コマンドとともにメモリー基板15に送信する送信部47を備える。   The main CPU 33 for fiscal control of the fiscal control board 7 performs fiscal control for writing information to the EJ memory 17 and the fiscal memory 18. The main CPU 33 for fiscal control generates EJ information based on print data supplied from a POS terminal and generates EJ information based on print data supplied from an external device. A fiscal information generation unit 46 that transmits the generated EJ information and fiscal information to the memory board 15 together with a recording command.

また、フィスカル制御用主CPU33は、フィスカル制御を行うためのフィスカル制御プログラムが改ざんされたことをプログラム改ざん確認用CPU34により検出した場合に、プリンター1の動作を停止させる。   The fiscal control main CPU 33 stops the operation of the printer 1 when the program alteration confirmation CPU 34 detects that the fiscal control program for performing the fiscal control has been altered.

さらに、フィスカル制御用主CPU33は、メモリー基板15に対する不正なアクセスの有無を確認する不正アクセス確認コマンドを所定のタイミングでフィスカル制御用副CPU41に送信する。また、フィスカル制御用主CPU33は、不正アクセス確認コマンドへの返信としてフィスカル制御用副CPU41から不正なアクセスがあった旨の通報を受けた場合に、プリンター1の動作を停止させる。   Further, the fiscal control main CPU 33 transmits an unauthorized access confirmation command for confirming the presence or absence of unauthorized access to the memory board 15 to the fiscal control sub CPU 41 at a predetermined timing. Also, the fiscal control main CPU 33 stops the operation of the printer 1 when receiving a report from the fiscal control sub CPU 41 that there has been unauthorized access as a reply to the unauthorized access confirmation command.

プログラム改ざん確認用CPU34は、フィスカル制御プログラムが改ざんされていないことを確認するための改ざん確認動作を行う。改ざん確認動作では、プログラム改ざん確認用CPU34は、プリンター1が起動する毎に、ROM35に記憶されている基本フィスカル制御プログラムとRAM36に展開されたフィスカル制御プログラムを比較する。また、プログラム改ざん確認用CPU34は、2つの制御プログラムの内容が一致しない場合には、プログラムの改ざんを検出したことをフィスカル制御用主CPU33に通報する。   The program alteration confirmation CPU 34 performs an alteration confirmation operation for confirming that the fiscal control program has not been altered. In the alteration confirmation operation, the program alteration confirmation CPU 34 compares the basic fiscal control program stored in the ROM 35 with the fiscal control program developed in the RAM 36 every time the printer 1 is activated. If the contents of the two control programs do not match, the program alteration confirmation CPU 34 notifies the fiscal control main CPU 33 that the alteration of the program has been detected.

フィスカル制御基板側RTC37は、プログラム改ざん確認用CPU34に時間情報を供給する。   The fiscal control board side RTC 37 supplies time information to the program alteration confirmation CPU 34.

電池38は、フィスカル制御基板側RTC37や、プリンター1の設定情報を保持するSRAMなど、バックアップ電力の供給が必要な電子部品(図示せず)に電力を供給する。電池38は、例えば、充電可能なボタン型のものである。また、電池38は、メモリー基板15に実装されたメモリー基板側RTC42にもバックアップ電力を供給する。なお、フィスカル制御用主CPU33、プリンター制御用CPU31、フィスカル制御用副CPU41には、フィスカル制御基板7に接接される外部の電源から電力が供給される。   The battery 38 supplies power to an electronic component (not shown) that needs to be supplied with backup power, such as the RTC 37 on the fiscal control board side or the SRAM that holds the setting information of the printer 1. The battery 38 is, for example, a button type that can be charged. The battery 38 also supplies backup power to the memory board side RTC 42 mounted on the memory board 15. It should be noted that power is supplied to the fiscal control main CPU 33, printer control CPU 31, and fiscal control sub CPU 41 from an external power source connected to the fiscal control board 7.

メモリー基板15は、第1コネクター19に接続されたフレキシブルケーブル27によりフィスカル制御基板7に接続される。フィスカル制御用副CPU41は、フィスカル制御用主CPU33からの記録コマンドに基づいて、フィスカル制御用主CPU33から供給されるEJ情報をEJメモリー17に書き込む。また、フィスカル制御用副CPU41は、フィスカル制御用主CPU33からの記録コマンドに基づいて、フィスカル制御用主CPU33から供給されるフィスカル情報をフィスカルメモリー18に書き込む。   The memory board 15 is connected to the fiscal control board 7 by a flexible cable 27 connected to the first connector 19. The fiscal control sub CPU 41 writes the EJ information supplied from the fiscal control main CPU 33 in the EJ memory 17 based on the recording command from the fiscal control main CPU 33. Further, the fiscal control sub CPU 41 writes the fiscal information supplied from the fiscal control main CPU 33 in the fiscal memory 18 based on the recording command from the fiscal control main CPU 33.

また、フィスカル制御用副CPU41はNVメモリー(不揮発性メモリー:第2記憶部)51と、複数桁の乱数を発生させる乱数発生部52と、乱数発生部52が発生させた乱数をNVメモリー51およびメモリー基板側RTC42に記憶保持させる設定部53を備える。   The fiscal control sub-CPU 41 includes an NV memory (nonvolatile memory: second storage unit) 51, a random number generation unit 52 that generates a random number of multiple digits, and a random number generated by the random number generation unit 52. A setting unit 53 for storing and holding the memory board side RTC 42 is provided.

ここで、フィスカルモジュール3は、動作モードとして、レシートの印刷制御動作およびフィスカル制御動作を行う通常モードと、各種の設定を行うための設定モードを備える。コネクター9に接続された外部の機器からフィスカル制御用主CPU33に設定モード移行コマンドが入力されると、フィスカルモジュール3は通常モードから設定モードに移行する。設定モードは、プリンター1をユーザーに出荷する前の工程等で、プリンター1の初期設定を行うために用いられる動作モードである。従って、設定モード移行コマンドは、プリンター1を使用するユーザーが知り得ないコマンドである。   Here, the fiscal module 3 includes, as operation modes, a normal mode for performing a receipt print control operation and a fiscal control operation, and a setting mode for performing various settings. When a setting mode shift command is input from the external device connected to the connector 9 to the fiscal control main CPU 33, the fiscal module 3 shifts from the normal mode to the setting mode. The setting mode is an operation mode used for initial setting of the printer 1 in a process before the printer 1 is shipped to the user. Therefore, the setting mode shift command is a command that the user who uses the printer 1 cannot know.

設定モードでは、NVメモリー51とメモリー基板側RTC42に不正なアクセスを検出するための鍵(乱数)を設定する初期設定動作が行われる。初期設定動作では、コネクター9に接続された外部の機器からフィスカル制御用主CPU33に乱数発生コマンドが入力される。フィスカル制御用主CPU33は、入力された乱数発生コマンドをフィスカル制御用副CPU41に送信する。乱数発生コマンドを受信したフィスカル制御用副CPU41では、乱数発生部52が乱数を発生させる。また、設定部53が、この乱数を鍵として、NVメモリー51およびメモリー基板側RTC42に記憶保持させる。初期設定が終了すると、プリンター1は通常モードに戻され、しかる後に出荷される。   In the setting mode, an initial setting operation for setting a key (random number) for detecting unauthorized access to the NV memory 51 and the memory board side RTC 42 is performed. In the initial setting operation, a random number generation command is input from the external device connected to the connector 9 to the fiscal control main CPU 33. The fiscal control main CPU 33 transmits the input random number generation command to the fiscal control sub CPU 41. In the fiscal control sub CPU 41 that has received the random number generation command, the random number generation unit 52 generates a random number. Further, the setting unit 53 stores and holds the random number in the NV memory 51 and the memory substrate side RTC 42 using the random number as a key. When the initial setting is completed, the printer 1 is returned to the normal mode and then shipped.

メモリー基板側RTC42は、このメモリー基板側RTC42に供給される電力の電圧が所定の電圧以下の低電圧状態となったことを検出して記録する1ビットの第1レジスター55(低電圧検出部)を備える。第1レジスター55は、揮発性のメモリーであり、一般的なRTCが備えるものである。また、メモリー基板側RTC42は複数ビットの第2レジスター56を備える。第2レジスター56は、揮発性のメモリーであり、アラームの時刻などを設定するための記憶領域として一般的なRTCが備えるものである。フィスカル制御用副CPU41の設定部53は、この第2レジスター56に、鍵(乱数)を記憶保持させる。メモリー基板側RTC42には、フィスカル制御基板7に搭載された電池38から、フレキシブルケーブル27、配線シート16、および、配線シート接続部43をこの順番に介して、電力が供給される。   The memory board side RTC 42 detects and records that the voltage of the power supplied to the memory board side RTC 42 is in a low voltage state equal to or lower than a predetermined voltage, and records it in a 1-bit first register 55 (low voltage detection unit). Is provided. The first register 55 is a volatile memory, and is provided in a general RTC. The memory board side RTC 42 includes a second register 56 having a plurality of bits. The second register 56 is a volatile memory, and is provided in a general RTC as a storage area for setting an alarm time and the like. The setting unit 53 of the fiscal control sub-CPU 41 stores and holds a key (random number) in the second register 56. The memory board-side RTC 42 is supplied with electric power from the battery 38 mounted on the fiscal control board 7 through the flexible cable 27, the wiring sheet 16, and the wiring sheet connecting portion 43 in this order.

ここで、配線シート16は、そのシート面に密に張り巡らされた第1配線21、第2配線22を備える。各配線21、22は、配線シート16が平面に展開されているときに互いに離間する第1配線部分61および第2配線部分62を備える。第1配線部分61および第2配線部分62は、配線シート16がメモリー基板15を包み込む状態に折り畳まれると接続される。第1配線部分61および第2配線部分62が接続されると、各配線21、22は、それぞれが1本の配線として導通可能となる。   Here, the wiring sheet 16 includes a first wiring 21 and a second wiring 22 that are tightly stretched on the sheet surface. Each of the wirings 21 and 22 includes a first wiring part 61 and a second wiring part 62 that are separated from each other when the wiring sheet 16 is developed in a plane. The first wiring portion 61 and the second wiring portion 62 are connected when the wiring sheet 16 is folded so as to enclose the memory substrate 15. When the first wiring portion 61 and the second wiring portion 62 are connected, each of the wirings 21 and 22 can be conducted as one wiring.

より具体的には、各配線21、22は、配線シート16が平面に展開されているときに互いに離間する第1配線部分61および第2配線部分62と、第1配線部分61および第2配線部分62から離間する導通用配線63を備える。配線シート16が折り畳まれると、各配線21、22は、第1配線部分61が形成された配線シート16のシート部分と、導通用配線63が形成された配線シート16のシート部分が積層される。これにより、第1配線部分61の一方の端に設けられた第1配線部分接続部61aと導通用配線63が重なって接続される。また、配線シート16が折り畳まれると、各配線21、22は、第2配線部分62が形成された配線シート16のシート部分と、導通用配線63が形成された配線シート16のシート部分が積層される。これにより、第2配線部分62の一方の端に設けられた第2配線部分接続部62aと導通用配線63が重なって接続される。この結果、各配線21、22は、それぞれの第1配線部分61と第2配線部分62が導通用配線63を介して接続され、それぞれが導通可能な一本の配線となる。   More specifically, each of the wirings 21 and 22 includes a first wiring part 61 and a second wiring part 62 that are separated from each other when the wiring sheet 16 is developed in a plane, and a first wiring part 61 and a second wiring. Conductive wiring 63 spaced from the portion 62 is provided. When the wiring sheet 16 is folded, each of the wirings 21 and 22 is laminated with a sheet portion of the wiring sheet 16 in which the first wiring portion 61 is formed and a sheet portion of the wiring sheet 16 in which the conductive wiring 63 is formed. . As a result, the first wiring portion connecting portion 61 a provided at one end of the first wiring portion 61 and the conduction wiring 63 are overlapped and connected. Further, when the wiring sheet 16 is folded, each of the wirings 21 and 22 is laminated with the sheet portion of the wiring sheet 16 in which the second wiring portion 62 is formed and the sheet portion of the wiring sheet 16 in which the conductive wiring 63 is formed. Is done. As a result, the second wiring portion connecting portion 62 a provided at one end of the second wiring portion 62 and the conduction wiring 63 are overlapped and connected. As a result, each of the wirings 21 and 22 is connected to the first wiring portion 61 and the second wiring portion 62 via the conductive wiring 63, and becomes a single wiring that can conduct each.

また、配線シート16は、第1配線21に囲まれた領域に第1スリット65および第2スリット66を備える。第1スリット65と第2スリット66は、メモリー基板15の基板面に重なる位置に折り畳まれる配線シート16の2枚のシート部分のそれぞれに設けられている。第1スリット65および第2スリット66にはメモリー基板15に接続されたフレキシブルケーブル27が貫通する。すなわち、フレキシブルケーブル27は、第1スリット65および第2スリット66を介して配線シート16の内側から配線シート16の外側に引き出されてフィスカル制御基板7に接続される。   In addition, the wiring sheet 16 includes a first slit 65 and a second slit 66 in a region surrounded by the first wiring 21. The first slit 65 and the second slit 66 are provided in each of the two sheet portions of the wiring sheet 16 that is folded to a position overlapping the substrate surface of the memory substrate 15. The flexible cable 27 connected to the memory substrate 15 passes through the first slit 65 and the second slit 66. That is, the flexible cable 27 is drawn from the inside of the wiring sheet 16 to the outside of the wiring sheet 16 through the first slit 65 and the second slit 66 and connected to the fiscal control board 7.

さらに、配線シート16は、1本の配線となった第1配線21の一方の端をメモリー基板15に接続するための第1端子71と、第1配線21の他方の端をメモリー基板15に接続するための第2端子72を備える。また、配線シート16は、1本の配線となった第2配線22の一方の端をメモリー基板15に接続するための第3端子73と、第2配線22の他方の端をメモリー基板15に接続するための第4端子74を備える。なお、配線シート16の具体的な構成例、および、配線シート16によるメモリー基板15の具体的な包み込み構造は、後述する。   Further, the wiring sheet 16 has a first terminal 71 for connecting one end of the first wiring 21 that is a single wiring to the memory substrate 15, and the other end of the first wiring 21 to the memory substrate 15. A second terminal 72 is provided for connection. In addition, the wiring sheet 16 has a third terminal 73 for connecting one end of the second wiring 22, which is a single wiring, to the memory substrate 15, and the other end of the second wiring 22 to the memory substrate 15. A fourth terminal 74 is provided for connection. A specific configuration example of the wiring sheet 16 and a specific wrapping structure of the memory substrate 15 by the wiring sheet 16 will be described later.

次に、メモリー基板15における配線シート接続部43は、配線シート16の第1端子71〜第4端子74が接続される第2コネクター20を有する。第2コネクター20は、第1端子71が接続される第1メモリー基板側端子75、第2端子72が接続される第2メモリー基板側端子76、第3端子73が接続される第3メモリー基板側端子77、第4端子74が接続される第4メモリー基板側端子78を備える。   Next, the wiring sheet connecting portion 43 in the memory substrate 15 includes the second connector 20 to which the first terminal 71 to the fourth terminal 74 of the wiring sheet 16 are connected. The second connector 20 includes a first memory board side terminal 75 to which the first terminal 71 is connected, a second memory board side terminal 76 to which the second terminal 72 is connected, and a third memory board to which the third terminal 73 is connected. A fourth memory board side terminal 78 to which the side terminal 77 and the fourth terminal 74 are connected is provided.

第1端子部75には、第1基板側配線81が接続される。第1基板側配線81は、フレキシブルケーブル27を介してフィスカル制御基板7に搭載された電池38に接続される。第2メモリー基板側端子76には、第2基板側配線82とFET83を介して、メモリー基板側RTC42が接続される。より具体的には、FET83のドレインDに第2メモリー基板側端子76から延びる第2基板側配線82が接続され、ソースSにメモリー基板側RTC42が接続される。   The first substrate side wiring 81 is connected to the first terminal portion 75. The first board side wiring 81 is connected to the battery 38 mounted on the fiscal control board 7 via the flexible cable 27. The memory substrate side RTC 42 is connected to the second memory substrate side terminal 76 via the second substrate side wiring 82 and the FET 83. More specifically, the second substrate side wiring 82 extending from the second memory substrate side terminal 76 is connected to the drain D of the FET 83, and the memory substrate side RTC 42 is connected to the source S.

第3メモリー基板側端子77からは第3基板側配線84が延びる。第3基板側配線84は、抵抗85を介して第2基板側配線82に接続されるとともに、FET83のゲートGに接続されている。従って、FET83のドレインDとゲートGは抵抗85を介して接続される。第4メモリー基板側端子78は接地される。   A third substrate side wiring 84 extends from the third memory substrate side terminal 77. The third substrate side wiring 84 is connected to the second substrate side wiring 82 through the resistor 85 and is also connected to the gate G of the FET 83. Therefore, the drain D and the gate G of the FET 83 are connected via the resistor 85. The fourth memory board side terminal 78 is grounded.

配線シート接続部43の回路構成によれば、電池38からの電力は、フレキシブルケーブル27、第1基板側配線81、第1配線21、第2基板側配線82およびFET83を介してメモリー基板側RTC42に供給される。ここで、フレキシブルケーブル27がメモリー基板15またはフィスカル制御基板7から引き抜かれた場合、および、第1配線21や第2配線22が断線した場合等の配線に異常が発生した場合には、FET83に印加される電圧が低下してFET83がオフとなる。これにより、メモリー基板側RTC42は低電圧状態を検出し、第1レジスター55に記憶保持していた値を消失させる。また、メモリー基板側RTC42は、電力供給の遮断により、第2レジスター56に記憶保持していた鍵(乱数)を消失させる。従って、メモリー基板側RTC42は、フレキシブルケーブル27がメモリー基板15またはフィスカル制御基板7から引き抜かれたことを検出する検出部として機能する。また、メモリー基板側RTC42は、第1配線21および第2配線22の断線を検出する検出部として機能する。   According to the circuit configuration of the wiring sheet connecting portion 43, the power from the battery 38 is supplied to the memory substrate side RTC 42 via the flexible cable 27, the first substrate side wiring 81, the first wiring 21, the second substrate side wiring 82, and the FET 83. To be supplied. Here, when the flexible cable 27 is pulled out from the memory board 15 or the fiscal control board 7 and when an abnormality occurs in the wiring such as when the first wiring 21 or the second wiring 22 is disconnected, the FET 83 The applied voltage is reduced and the FET 83 is turned off. Thereby, the memory board side RTC 42 detects the low voltage state, and the value stored and held in the first register 55 is lost. Further, the RTC 42 on the memory board side erases the key (random number) stored and held in the second register 56 by cutting off the power supply. Therefore, the RTC 42 on the memory board side functions as a detection unit that detects that the flexible cable 27 is pulled out from the memory board 15 or the fiscal control board 7. Further, the memory substrate side RTC 42 functions as a detection unit that detects disconnection of the first wiring 21 and the second wiring 22.

ここで、フィスカル制御用副CPU41は、フィスカル制御用主CPU33からの不正アクセス確認コマンドを受信すると、メモリー基板15に対する不正なアクセスの有無を確認する不正アクセス確認動作を行う。不正アクセス確認動作では、フィスカル制御用副CPU41は、メモリー基板側RTC42の第2レジスター56に記憶保持された鍵(乱数)と自己のNVメモリー51に記憶保持された鍵(乱数)を比較する。そして、フィスカル制御用副CPU41は、第2レジスター56に記憶保持された鍵とNVメモリー51に記憶保持された鍵が相違する場合には、フィスカル制御用主CPU33に、メモリー基板15に対する不正なアクセスがあった旨を通報する。   Here, when receiving the unauthorized access confirmation command from the fiscal control main CPU 33, the fiscal control sub CPU 41 performs an unauthorized access confirmation operation for confirming the presence or absence of unauthorized access to the memory board 15. In the unauthorized access confirmation operation, the fiscal control sub CPU 41 compares the key (random number) stored and held in the second register 56 of the RTC 42 on the memory board side with the key (random number) stored and held in its own NV memory 51. If the key stored in the second register 56 is different from the key stored in the NV memory 51, the fiscal control sub-CPU 41 makes an illegal access to the memory control board 15 to the fiscal control main CPU 33. Report that there was.

なお、不正アクセス確認動作として、メモリー基板側RTC42の第2レジスター56に記憶保持された乱数と自己のNVメモリー51に記憶保持された乱数を比較する動作と並行して、フィスカル制御用副CPU41は、第1レジスター55を参照してもよい。この場合には、フィスカル制御用副CPU41は、第1レジスター55に記憶保持された情報が消失している場合、第2レジスター56に記憶された乱数とNVメモリー51に記憶保持された乱数が相違している場合、または、第1レジスター55に記憶保持された情報が消失し、かつ、第2レジスター56に記憶された乱数とNVメモリー51に記憶保持された乱数が相違している場合に、フィスカル制御用主CPU33にメモリー基板15に対する不正なアクセスがあった旨を通報する。   As an unauthorized access confirmation operation, in parallel with the operation of comparing the random number stored in the second register 56 of the RTC 42 on the memory board side with the random number stored in the own NV memory 51, the secondary CPU 41 for fiscal control The first register 55 may be referred to. In this case, when the information stored in the first register 55 is lost, the secondary CPU 41 for fiscal control differs between the random number stored in the second register 56 and the random number stored in the NV memory 51. Or when the information stored in the first register 55 is lost and the random number stored in the second register 56 is different from the random number stored in the NV memory 51, The fiscal control main CPU 33 is notified that there has been an unauthorized access to the memory board 15.

(不正検出動作)
プリンター1に電源が投入されると、プログラム改ざん確認用CPU34は、改ざん確認動作を行う。改ざん確認動作により、ROM35に記憶される基本フィスカル制御プログラムとRAM36に記憶されるフィスカル制御プログラムが一致しない場合には、プログラム改ざん確認用CPU34は、フィスカル制御用主CPU33にプログラムが改ざんされた旨を通報する。かかる通報を受けたフィスカル制御用主CPU33は、プリンター1の動作を停止させる。
(Unauthorized detection operation)
When the printer 1 is turned on, the program alteration confirmation CPU 34 performs an alteration confirmation operation. If the basic fiscal control program stored in the ROM 35 and the fiscal control program stored in the RAM 36 do not match due to the alteration confirmation operation, the program alteration confirmation CPU 34 informs the fiscal control main CPU 33 that the program has been altered. report. Receiving the notification, the fiscal control main CPU 33 stops the operation of the printer 1.

また、フィスカルプリンター1に電源が投入されると、フィスカル制御用主CPU33は、フィスカル制御用副CPU41に不正アクセス確認コマンドを送信する。不正アクセス確認コマンドを受信したフィスカル制御用副CPU41は不正アクセス確認動作を行う。ここで、メモリー基板側RTC42の第2レジスター56に記憶された鍵(乱数)とNVメモリー51に記憶保持された鍵(乱数)が相違する場合には、フィスカル制御用副CPU41は、フィスカル制御用主CPU33にフィスカル制御基板7に対する不正なアクセスがあった旨を通報する。かかる通報を受けたフィスカル制御用主CPU33は、プリンター1の動作を停止させる。   When the power of the fiscal printer 1 is turned on, the fiscal control main CPU 33 transmits an unauthorized access confirmation command to the fiscal control sub CPU 41. The fiscal control sub-CPU 41 that has received the unauthorized access confirmation command performs an unauthorized access confirmation operation. Here, if the key (random number) stored in the second register 56 of the RTC 42 on the memory board side is different from the key (random number) stored and held in the NV memory 51, the fiscal control sub-CPU 41 The main CPU 33 is notified that there has been unauthorized access to the fiscal control board 7. Receiving the notification, the fiscal control main CPU 33 stops the operation of the printer 1.

メモリー基板側RTC42の第2レジスター56に記憶された乱数とNVメモリー51に記憶保持された乱数が相違する場合は、メモリー基板側RTC42への電力の供給が断たれ、第2レジスター56に記憶保持された情報が消失した場合である。   If the random number stored in the second register 56 of the memory board side RTC 42 and the random number stored and held in the NV memory 51 are different, the power supply to the memory board side RTC 42 is cut off and stored in the second register 56. This is a case where the recorded information is lost.

このような状態は、フレキシブルケーブル27がフィスカル制御基板7またはメモリー基板15から引き抜かれることにより引き起こされる。従って、不正アクセス確認動作により、フレキシブルケーブル27を引き抜いて行われたメモリー基板15への不正なアクセスを検出できる。   Such a state is caused by the flexible cable 27 being pulled out from the fiscal control board 7 or the memory board 15. Therefore, the unauthorized access confirmation operation can detect unauthorized access to the memory board 15 that is performed by pulling out the flexible cable 27.

また、第2レジスター56に記憶保持された情報が消失した状態は、配線シート16の第1配線21および第2配線22の少なくとも一方に断線が発生した場合に引き起こされる。   The state in which the information stored and held in the second register 56 is lost is caused when a break occurs in at least one of the first wiring 21 and the second wiring 22 of the wiring sheet 16.

ここで、第1配線21および第2配線22の少なくとも一方の断線は、メモリー基板15を露出させようとして配線シート16を開いた場合に発生する。すなわち、配線シート16を開くと、第1配線21の第1配線部分61、第2配線部分62および導通用配線63が離間して、これらの間の電気的な接続が解除される。これにより第1配線21は断線する。また、配線シート16を開くと、第2配線22の第1配線部分61、第2配線部分62および導通用配線63が離間して、これらの間の電気的な接続が解除される。これにより第2配線22は断線する。従って、不正アクセス確認動作により、配線シート16を開いて行われたメモリー基板15への不正なアクセスを検出できる。   Here, the disconnection of at least one of the first wiring 21 and the second wiring 22 occurs when the wiring sheet 16 is opened so as to expose the memory substrate 15. That is, when the wiring sheet 16 is opened, the first wiring portion 61, the second wiring portion 62, and the conduction wiring 63 of the first wiring 21 are separated from each other, and the electrical connection therebetween is released. As a result, the first wiring 21 is disconnected. When the wiring sheet 16 is opened, the first wiring portion 61, the second wiring portion 62, and the conductive wiring 63 of the second wiring 22 are separated from each other, and the electrical connection therebetween is released. As a result, the second wiring 22 is disconnected. Therefore, the unauthorized access confirmation operation can detect unauthorized access to the memory board 15 performed by opening the wiring sheet 16.

また、第1配線21および第2配線22の少なくとも一方の断線は、メモリー基板15を露出させる際に配線シート16が破損した場合にも発生する。   Further, disconnection of at least one of the first wiring 21 and the second wiring 22 also occurs when the wiring sheet 16 is damaged when the memory substrate 15 is exposed.

配線シート16が破損する場合とは、例えば、配線シート16が刃物で切断された場合である。配線シート16を切断すると、配線シート16に張り巡らされた第1配線21または第2配線22が切断されるので、第1配線21または第2配線22が断線する。従って、不正アクセス確認動作により、配線シート16を切断して行われたメモリー基板15への不正なアクセスを検出できる。   The case where the wiring sheet 16 is damaged is, for example, the case where the wiring sheet 16 is cut with a blade. When the wiring sheet 16 is cut, the first wiring 21 or the second wiring 22 stretched around the wiring sheet 16 is cut, so that the first wiring 21 or the second wiring 22 is disconnected. Therefore, the unauthorized access confirmation operation can detect unauthorized access to the memory board 15 performed by cutting the wiring sheet 16.

また、折り畳まれている配線シート16を開いてメモリー基板15を露出させようとする場合にも、配線シート16が破損する。すなわち、詳細を後述するように、本例では、メモリー基板15から引き出されたフレキシブルケーブル27を、配線シート16において折り畳まれたときに重なる2枚のシート部分に設けた2つのスリット65、66を貫通させて当該配線シート16の外側に引き出している(導出している)。従って、配線シート16を開いてメモリー基板15を露出させようとすると、フレキシブルケーブル27が配線シート16における各スリット65、66の開口縁と干渉して、この開口縁を破損させる。これにより、各スリット65、66の開口縁を這っている第1配線21または第2配線22が切断されるので、第1配線21または第2配線22が断線する。従って、不正アクセス確認動作により、配線シート16を無理に開いて行われたメモリー基板15への不正なアクセスを検出できる。   In addition, when the folded wiring sheet 16 is opened to expose the memory substrate 15, the wiring sheet 16 is damaged. That is, as will be described in detail later, in this example, two slits 65 and 66 provided in two sheet portions that overlap when the flexible cable 27 drawn from the memory substrate 15 is folded in the wiring sheet 16 are provided. It is penetrated and pulled out to the outside of the wiring sheet 16 (derived). Therefore, when the wiring sheet 16 is opened to expose the memory substrate 15, the flexible cable 27 interferes with the opening edges of the slits 65 and 66 in the wiring sheet 16 and breaks the opening edges. As a result, the first wiring 21 or the second wiring 22 covering the opening edges of the slits 65 and 66 is cut, so that the first wiring 21 or the second wiring 22 is disconnected. Therefore, the unauthorized access confirmation operation can detect unauthorized access to the memory board 15 that is performed by forcibly opening the wiring sheet 16.

ここで、メモリー基板側RTC42の第2レジスター56に記憶保持された鍵が消失した後に、消失した鍵を再び第2レジスター56に記憶保持させることは困難である。すなわち、第2レジスター56に記憶保持される鍵は複数桁の乱数であり、鍵の消失の後に消失前の値と同一の値を推定することは容易ではない。また、乱数は、配線シート16に包まれたメモリー基板15に搭載されたフィスカル制御用副CPU41により生成されたものなので、配線シート16の外部から(フィスカル制御基板7の側から)予めその乱数を知ることができない。従って、消失した乱数と同一の値の再現は困難である。よって、メモリー基板側RTC42の第2レジスター56に記憶保持された鍵(乱数)とNVメモリー51に記憶保持された鍵(乱数)を比較する不正アクセス確認動作によって、メモリー基板15に対する不正なアクセスがあったことを確実に捕捉できる。   Here, after the key stored in the second register 56 of the RTC 42 on the memory board side disappears, it is difficult to store the lost key in the second register 56 again. That is, the key stored and held in the second register 56 is a multi-digit random number, and it is not easy to estimate the same value as the value before disappearance after the key disappearance. Further, since the random number is generated by the fiscal control sub CPU 41 mounted on the memory board 15 wrapped in the wiring sheet 16, the random number is previously obtained from the outside of the wiring sheet 16 (from the fiscal control board 7 side). I can't know. Therefore, it is difficult to reproduce the same value as the lost random number. Therefore, unauthorized access to the memory substrate 15 is prevented by the unauthorized access confirmation operation that compares the key (random number) stored in the second register 56 of the RTC 42 on the memory substrate side with the key (random number) stored in the NV memory 51. It is possible to reliably capture what happened.

なお、本例では、不正なアクセスの検出および記録にレジスターを備えるRTC(メモリー基板側RTC42)を用いている。レジスターを備えるRTCは汎用品であり、廉価なので、装置の製造コストを抑制できる。また、RTCは消費電力が小さいので、電池38から供給される電力により長期間に渡って動作する。従って、長期間に渡って不正なアクセスを検出できる。   In this example, an RTC (memory substrate side RTC 42) provided with a register is used for detection and recording of unauthorized access. An RTC equipped with a register is a general-purpose product and is inexpensive, so that the manufacturing cost of the apparatus can be suppressed. Further, since the RTC consumes little power, it operates over a long period of time using the power supplied from the battery 38. Therefore, unauthorized access can be detected over a long period of time.

また、本例では、フィスカル制御基板7に、EJ情報生成部45およびフィスカル情報生成部46を備えるフィスカル制御用主CPU33を実装している。従って、フィスカル制御用主CPU33をメモリー基板15の側に実装した場合と比較して、メモリー基板15に実装する電子部品の部品点数を少なくできる。これにより、メモリー基板15を小さくできるので、配線シート16によってメモリー基板15を包み込む作業が容易となる。また、メモリー基板15を包み込む配線シート16を小さくできるので、配線シート16の製造コストを抑制できる。   In this example, the fiscal control main CPU 33 including the EJ information generation unit 45 and the fiscal information generation unit 46 is mounted on the fiscal control board 7. Therefore, the number of electronic components mounted on the memory board 15 can be reduced as compared with the case where the fiscal control main CPU 33 is mounted on the memory board 15 side. Thereby, since the memory substrate 15 can be made small, the work of wrapping the memory substrate 15 with the wiring sheet 16 becomes easy. Further, since the wiring sheet 16 that wraps around the memory substrate 15 can be made small, the manufacturing cost of the wiring sheet 16 can be suppressed.

なお、フレキシブルケーブル27がメモリー基板15またはフィスカル制御基板7から引き抜かれたことを検出する検出部、および、第1配線21および第2配線22の断線を検出する検出部を、フィスカル制御基板7の側に設けることもできる。この場合には、メモリー基板側RTC42を省略してフィスカル制御基板7に新たなRTCを実装し、フレキシブルケーブル27を介して配線シート接続部43を新たなRTCに接続すればよい。また、この場合には、新たなRTCから時刻情報をプログラム改ざん確認用CPU34に供給すれば、新たなRTCがフィスカル制御基板側RTC37を兼ねることができる。   Note that a detection unit that detects that the flexible cable 27 is pulled out from the memory substrate 15 or the fiscal control board 7 and a detection unit that detects disconnection of the first wiring 21 and the second wiring 22 are provided on the fiscal control board 7. It can also be provided on the side. In this case, the RTC 42 on the memory board side may be omitted, a new RTC may be mounted on the fiscal control board 7, and the wiring sheet connecting portion 43 may be connected to the new RTC via the flexible cable 27. In this case, if the time information is supplied from the new RTC to the program alteration confirmation CPU 34, the new RTC can also serve as the RTC 37 on the fiscal control board side.

(配線シートの具体的な構成例)
次に、図3、図4、図5を参照して、配線シート16の具体的な構成例を説明する。図5(a)は平面に展開した配線シート16の平面図であり、図5(b)は配線シート16の一部分を拡大した部分拡大図である。以下の説明では、図5(a)に示すように、第1スリット65および第2スリット66が延びている方向を配線シート16の幅方向X(左右方向X)とし、幅方向Xと直交する方向を配線シート16の前後方向Yとし、幅方向Xおよび前後方向Yと直交する方向を配線シート16の上下方向Zとする。また、第1スリット65が設けられている側を第1方向X1、第2スリット66が設けられている側を第2方向X2とする。さらに、配線シートに16において、メモリー基板15に接続される突出部(第4突出部105)が設けられている側を前方向Y1、その反対方向を後方向Y2とする。
(Specific configuration example of wiring sheet)
Next, a specific configuration example of the wiring sheet 16 will be described with reference to FIGS. 3, 4, and 5. FIG. 5A is a plan view of the wiring sheet 16 developed on a plane, and FIG. 5B is a partially enlarged view of a part of the wiring sheet 16. In the following description, as shown in FIG. 5A, the direction in which the first slit 65 and the second slit 66 extend is defined as the width direction X (left-right direction X) of the wiring sheet 16 and is orthogonal to the width direction X. The direction is the front-rear direction Y of the wiring sheet 16, and the direction orthogonal to the width direction X and the front-rear direction Y is the vertical direction Z of the wiring sheet 16. The side on which the first slit 65 is provided is defined as a first direction X1, and the side on which the second slit 66 is provided is defined as a second direction X2. Further, in the wiring sheet 16, the side on which the protruding portion (fourth protruding portion 105) connected to the memory substrate 15 is provided is a front direction Y 1, and the opposite direction is a rear direction Y 2.

ここで、メモリー基板15は平面形状が矩形である。メモリー基板15の第1面15aには第1コネクター19と第2コネクター20が実装される。   Here, the memory substrate 15 has a rectangular planar shape. A first connector 19 and a second connector 20 are mounted on the first surface 15 a of the memory substrate 15.

(第1配線および第2配線の概要)
配線シート16には、配線シート16がメモリー基板15を包み込む状態に折り畳まれたときに通電可能な一本の配線となる第1配線21および第2配線22が設けられている。第1配線21および第2配線22のそれぞれは、図5(b)に示すように、配線シート16上に狭いピッチで実装される。
(Outline of the first wiring and the second wiring)
The wiring sheet 16 is provided with a first wiring 21 and a second wiring 22 that are one wiring that can be energized when the wiring sheet 16 is folded so as to wrap the memory substrate 15. Each of the first wiring 21 and the second wiring 22 is mounted on the wiring sheet 16 at a narrow pitch, as shown in FIG.

図4に示すように、各配線21、22は、配線シート16が平面に展開されているときに互いに離間する第1配線部分61および第2配線部分62と、第1配線部分61および第2配線部分62から離間する導通用配線63を備える。第1配線21における第1配線部分61の一方の端部には導通用配線63との接続部となる第1配線部分接続部61aが設けられ、他方の端部には第1端子71が設けられる。第1配線21における第2配線部分62の一方の端部には導通用配線63との接続部となる第2配線部分接続部62aが設けられ、他方の端部には第2端子72が設けられる。同様に、第2配線22における第1配線部分61の一方の端部には導通用配線63との接続部となる第1配線部分接続部61aが設けられ、他方の端部には第3端子73が設けられる。第2配線22における第2配線部分62の一方の端部には導通用配線63との接続部となる第2配線部分接続部62aが設けられ、他方の端部には第4端子74が設けられる。   As shown in FIG. 4, each of the wirings 21 and 22 includes a first wiring part 61 and a second wiring part 62 that are separated from each other when the wiring sheet 16 is spread on a plane, and a first wiring part 61 and a second wiring part 62. Conductive wiring 63 spaced from the wiring portion 62 is provided. A first wiring portion connection portion 61 a that is a connection portion with the conduction wiring 63 is provided at one end portion of the first wiring portion 61 in the first wiring 21, and a first terminal 71 is provided at the other end portion. It is done. A second wiring portion connection portion 62 a that is a connection portion with the conduction wiring 63 is provided at one end portion of the second wiring portion 62 in the first wiring 21, and a second terminal 72 is provided at the other end portion. It is done. Similarly, the first wiring portion 61 of the second wiring 22 is provided with a first wiring portion connecting portion 61a serving as a connecting portion with the conductive wiring 63 at the one end portion, and the third terminal is provided at the other end portion. 73 is provided. A second wiring portion connection portion 62 a that is a connection portion with the conductive wiring 63 is provided at one end portion of the second wiring portion 62 in the second wiring 22, and a fourth terminal 74 is provided at the other end portion. It is done.

ここで、配線シート16は、一般的なフレキシブルプリント配線基板と同様に、プラスチックシートの基材に各配線21、22を備えるものである。各配線21、22は、第1配線部分接続部61a、第2配線部分接続部62a、導通用配線63、および、端子を除き、プラスチックシートにより被覆されている。   Here, the wiring sheet 16 is provided with the wirings 21 and 22 on a base material of a plastic sheet, like a general flexible printed wiring board. Each of the wires 21 and 22 is covered with a plastic sheet except for the first wire portion connecting portion 61a, the second wire portion connecting portion 62a, the conductive wire 63, and the terminal.

(配線シートの構成)
図5(a)に示すように、配線シート16は、幅方向Xの中央部分に、メモリー基板15の幅よりも広い幅広部101を備える。また、配線シート16は、幅広部101の幅方向Xの中央部分から前方向Y1に突出する矩形の第1突出部102と、幅広部101の前後方向Yの途中部分から第1方向X1に突出する矩形の第2突出部103と、幅広部101の前後方向Yの途中部分から第2方向X2に突出する矩形の第3突出部104を備える。さらに、配線シート16は、第1突出部102の前端縁における第2方向X2の側に寄った部分から前方向Y1に狭い幅で突出する第4突出部105を備える。第4突出部105の先端部分には、第1〜第4端子71〜74が設けられる。各端子は、幅方向Xの第1方向X1から第2方向に向って第1端子71、第2端子72、第4端子74、第3端子73の順番に配列される。各端子71〜74は前後方向Yに延びる。
(Configuration of wiring sheet)
As shown in FIG. 5A, the wiring sheet 16 includes a wide portion 101 wider than the width of the memory substrate 15 in the center portion in the width direction X. In addition, the wiring sheet 16 protrudes in the first direction X1 from a rectangular first protrusion 102 that protrudes in the front direction Y1 from the central portion in the width direction X of the wide portion 101, and in the middle in the front-rear direction Y of the wide portion 101. And a rectangular third protrusion 104 that protrudes in the second direction X2 from a middle portion in the front-rear direction Y of the wide portion 101. Furthermore, the wiring sheet 16 includes a fourth protrusion 105 that protrudes with a narrow width in the front direction Y1 from a portion of the front end edge of the first protrusion 102 that is closer to the second direction X2. First to fourth terminals 71 to 74 are provided at the tip portion of the fourth protrusion 105. Each terminal is arranged in the order of the first terminal 71, the second terminal 72, the fourth terminal 74, and the third terminal 73 from the first direction X1 in the width direction X toward the second direction. Each terminal 71 to 74 extends in the front-rear direction Y.

第1配線21は、第2端子72と第4端子74の間を通過して前後方向Yに延びる仮想線L0の右側(第1方向X1側)に形成される。第1配線21の第1配線部分61は、幅広部101の前側部分および第1突出部102に形成される。第1配線部分61の第1配線部分接続部61aは、幅広部101の第1方向X1の端縁部分の前側に形成される。第1配線21の第2配線部分62は、幅広部101の後側部分および第2突出部103に形成される。第2配線部分62の第2配線部分接続部62aは、幅広部101の第1方向X1の端縁部分の後側に形成される。第1配線21の導通用配線63は、幅広部101の第1方向X1の端縁部分であって、前後方向Yで第1配線部分接続部61aと第2配線部分接続部62aの間に設けられる。   The first wiring 21 is formed on the right side (first direction X1 side) of the imaginary line L0 that passes between the second terminal 72 and the fourth terminal 74 and extends in the front-rear direction Y. The first wiring portion 61 of the first wiring 21 is formed on the front portion of the wide portion 101 and the first protruding portion 102. The first wiring portion connection portion 61 a of the first wiring portion 61 is formed on the front side of the edge portion of the wide portion 101 in the first direction X1. The second wiring portion 62 of the first wiring 21 is formed on the rear portion of the wide portion 101 and the second protruding portion 103. The second wiring portion connection portion 62a of the second wiring portion 62 is formed on the rear side of the edge portion of the wide portion 101 in the first direction X1. The conductive wiring 63 of the first wiring 21 is an edge portion in the first direction X1 of the wide portion 101 and is provided between the first wiring partial connection portion 61a and the second wiring partial connection portion 62a in the front-rear direction Y. It is done.

第2配線22は、仮想線L0の左側(第2方向X2側)に形成される。第2配線22の第1配線部分61は、幅広部101の前側部分および第1突出部102に形成される。第1配線部分61の第1配線部分接続部61aは、幅広部101の第2方向X2の端縁部分の前側に形成される。第2配線22の第2配線部分62は、幅広部101の後側部分および第3突出部104に形成される。第2配線部分62の第2配線部分接続部62aは、幅広部101の第2方向X2の端縁部分の後側に形成される。第2配線22の導通用配線63は、幅広部101の第2方向X2の端縁部分であって、前後方向Yで第1配線部分接続部61aと第2配線部分接続部62aの間に設けられる。   The second wiring 22 is formed on the left side (second direction X2 side) of the virtual line L0. The first wiring portion 61 of the second wiring 22 is formed on the front portion of the wide portion 101 and the first protruding portion 102. The first wiring portion connecting portion 61a of the first wiring portion 61 is formed on the front side of the edge portion of the wide portion 101 in the second direction X2. The second wiring portion 62 of the second wiring 22 is formed on the rear portion of the wide portion 101 and the third protruding portion 104. The second wiring portion connection portion 62a of the second wiring portion 62 is formed on the rear side of the edge portion of the wide portion 101 in the second direction X2. The conductive wiring 63 of the second wiring 22 is an edge portion in the second direction X2 of the wide portion 101 and is provided between the first wiring partial connection portion 61a and the second wiring partial connection portion 62a in the front-rear direction Y. It is done.

各配線21、22における第1配線部分接続部61a、第2配線部分接続部62a、および、導通用配線63は、前後方向Yに延びる帯状に設けられる。各配線21、22における第1配線部分接続部61a、第2配線部分接続部62a、および、導通用配線63は、各配線21、22の他の部分と比較して広い幅を備える。   The first wiring portion connection portion 61a, the second wiring portion connection portion 62a, and the conduction wiring 63 in each wiring 21 and 22 are provided in a strip shape extending in the front-rear direction Y. The first wiring portion connection portion 61 a, the second wiring portion connection portion 62 a, and the conduction wiring 63 in each wiring 21, 22 have a wider width than the other portions of each wiring 21, 22.

第2突出部103の前側部分には、第1スリット65が形成される。第1スリット65は幅方向Xに一定幅で延びる。第1スリット65は第1配線21の第1配線部分61により囲まれる。すなわち、配線シート16における第1スリット65の開口縁65aには、第1配線21の第1配線部分61を形成する配線が第1スリット65を囲むように這う。第3突出部104の前側部分には、第2スリット66が形成される。第2スリット66は幅方向Xに一定幅で延びる。第2スリット66は第2配線22の第1配線部分61により囲まれる。すなわち、配線シート16における第2スリット66の開口縁66aには、第2配線22の第1配線部分61を形成する配線が第2スリット66を囲むように這う。   A first slit 65 is formed in the front portion of the second protrusion 103. The first slit 65 extends in the width direction X with a constant width. The first slit 65 is surrounded by the first wiring portion 61 of the first wiring 21. That is, the wiring that forms the first wiring portion 61 of the first wiring 21 surrounds the first slit 65 at the opening edge 65 a of the first slit 65 in the wiring sheet 16. A second slit 66 is formed in the front portion of the third protrusion 104. The second slit 66 extends in the width direction X with a constant width. The second slit 66 is surrounded by the first wiring portion 61 of the second wiring 22. That is, the wiring forming the first wiring part 61 of the second wiring 22 surrounds the opening slit 66 a of the second slit 66 in the wiring sheet 16 so as to surround the second slit 66.

(配線シートによるメモリー基板の包み込み構造)
図6は配線シート16を折り畳んで第1配線21および第2配線22のそれぞれを通電可能な一本の配線とする折り畳み動作の説明図である。図7は、配線シート16を折り畳みながら配線シート16の外側にフレキシブルケーブル27を引き回すフレキシブルケーブル27の引き回し動作の説明図である。
(Wrapping structure of memory board by wiring sheet)
FIG. 6 is an explanatory view of a folding operation in which the wiring sheet 16 is folded to make each of the first wiring 21 and the second wiring 22 a single wiring that can be energized. FIG. 7 is an explanatory diagram of the routing operation of the flexible cable 27 for routing the flexible cable 27 to the outside of the wiring sheet 16 while folding the wiring sheet 16.

配線シート16によってメモリー基板15を包み込む際には、まず、メモリー基板15の第1コネクター19にフレキシブルケーブル27を接続する。また、メモリー基板15の第2コネクター20に配線シート16の第4突出部分(第1〜第4端子71〜74)を差し込む。   When the memory board 15 is wrapped with the wiring sheet 16, first, the flexible cable 27 is connected to the first connector 19 of the memory board 15. Further, the fourth projecting portions (first to fourth terminals 71 to 74) of the wiring sheet 16 are inserted into the second connector 20 of the memory substrate 15.

そして、図6(a)に示すように、第1コネクター19および第2コネクター20が実装されたメモリー基板15の第1面15aを上方に向けて、メモリー基板15を幅広部101の前側の幅方向Xの中央に乗せる。また、この際に、メモリー基板15においてフレキシブルケーブル27などが接続される端縁と反対側の端縁を、第1折り畳み線L1に沿って配置する。第1折り畳み線L1は、配線シート16における第1配線21の第1配線部分接続部61aと第1配線21の導通用配線63の間、および、第2配線22の第1配線部分接続部61aと第2配線22の導通用配線63の間を通過して幅方向Xに延びる仮想線である。第1折り畳み線L1は、幅広部101における第1配線21の第1配線部分61が形成される領域と、幅広部101における第2配線22の第1配線部分61が形成される領域を横切って延びる。   6A, the first surface 15a of the memory board 15 on which the first connector 19 and the second connector 20 are mounted is directed upward, and the memory board 15 is positioned on the front side of the wide portion 101. Place in the center of direction X. At this time, the end of the memory substrate 15 opposite to the end to which the flexible cable 27 or the like is connected is disposed along the first fold line L1. The first folding line L1 is formed between the first wiring portion connection portion 61a of the first wiring 21 and the conduction wiring 63 of the first wiring 21 and the first wiring portion connection portion 61a of the second wiring 22 in the wiring sheet 16. And an imaginary line extending in the width direction X through the conductive line 63 of the second wiring 22. The first fold line L1 crosses the region where the first wiring portion 61 of the first wiring 21 in the wide portion 101 is formed and the region where the first wiring portion 61 of the second wiring 22 in the wide portion 101 is formed. Extend.

ここで、メモリー基板15を配線シート16に載せた状態では、図6(a)に示すように、第1配線21の第1配線部分接続部61aおよび第2配線22の第1配線部分接続部61aは、幅方向Xでメモリー基板15から外れた位置にある。   Here, in the state where the memory substrate 15 is placed on the wiring sheet 16, as shown in FIG. 6A, the first wiring portion connecting portion 61 a of the first wiring 21 and the first wiring portion connecting portion of the second wiring 22. 61 a is located at a position away from the memory substrate 15 in the width direction X.

次に、図6(a)において矢印で示すように、配線シート16においてメモリー基板15を載せた部分を、メモリー基板15とともに、第1折り畳み線L1に沿って後方Y2に折り畳む。配線シート16が第1折り畳み線L1に沿って折り畳まれると、フレキシブルケーブル27は、メモリー基板15から後方Y2に向かって引き出された状態となる。また、配線シート16が第1折り畳み線L1に沿って折り畳まれると、図6(b)に示すように、第1配線21の第1配線部分接続部61aと、第1配線21の導通用配線63が上下方向Zで重なって電気的に接続される。同様に、第2配線22の第1配線部分接続部61aと、第2配線22の導通用配線63が上下方向Zで重なって電気的に接続される。そして、メモリー基板15は、2つに折り畳まれた配線シート16により上下方向Zから挟まれた状態となる。   Next, as indicated by an arrow in FIG. 6A, the portion of the wiring sheet 16 on which the memory substrate 15 is placed is folded together with the memory substrate 15 to the rear Y2 along the first fold line L1. When the wiring sheet 16 is folded along the first fold line L1, the flexible cable 27 is pulled out from the memory substrate 15 toward the rear Y2. Further, when the wiring sheet 16 is folded along the first fold line L1, as shown in FIG. 6B, the first wiring 21 connecting portion 61a of the first wiring 21 and the conductive wiring of the first wiring 21 63 are electrically connected by overlapping in the vertical direction Z. Similarly, the first wiring partial connection portion 61a of the second wiring 22 and the conduction wiring 63 of the second wiring 22 are electrically connected by overlapping in the vertical direction Z. The memory substrate 15 is sandwiched from the up-down direction Z by the wiring sheet 16 folded in two.

ここで、第1突出部102の幅寸法は、メモリー基板15の幅寸法よりも長いが、幅方向Xにおける第1配線21の導通用配線63と第2配線22の導通用配線63の間の距離よりも短い。従って、配線シート16を第1折り畳み線L1に沿って折り曲げたときに、第1配線21の導通用配線63の後側部分と第2配線22の導通用配線63の後側部分は第1突出部102によって覆われず、上方に露出した状態となる。   Here, the width dimension of the first protrusion 102 is longer than the width dimension of the memory substrate 15, but between the conduction wiring 63 of the first wiring 21 and the conduction wiring 63 of the second wiring 22 in the width direction X. Shorter than distance. Therefore, when the wiring sheet 16 is bent along the first fold line L1, the rear portion of the conductive wire 63 of the first wire 21 and the rear portion of the conductive wire 63 of the second wire 22 are projected first. It is not covered by the portion 102 and is exposed upward.

その後、図6(b)において矢印で示すように、配線シート16の幅広部101の後側部分を、第2折り畳み線L2に沿って前方Y1に折り曲げる。第2折り畳み線L2は、配線シート16における第1配線21の第2配線部分接続部62aと第1配線21の導通用配線63の間、および、第2配線22の第2配線部分接続部62aと第2配線22の導通用配線63の間を通過して幅方向Xに延びる仮想線である。第2折り畳み線L2は、幅広部101における第1配線21の第2配線部分62が形成される領域と、幅広部101における第2配線22の第2配線部分62が形成される領域を横切って延び   Thereafter, as indicated by an arrow in FIG. 6B, the rear side portion of the wide portion 101 of the wiring sheet 16 is folded forward Y1 along the second fold line L2. The second fold line L2 is formed between the second wiring portion connecting portion 62a of the first wiring 21 and the conductive wiring 63 of the first wiring 21 and the second wiring portion connecting portion 62a of the second wiring 22 in the wiring sheet 16. And an imaginary line extending in the width direction X through the conductive line 63 of the second wiring 22. The second folding line L2 crosses the region where the second wiring portion 62 of the first wiring 21 in the wide portion 101 is formed and the region where the second wiring portion 62 of the second wiring 22 in the wide portion 101 is formed. Extension

配線シート16が第2折り畳み線L2に沿って折り畳まれると、図6(c)に示すように、フレキシブルケーブル27も配線シート16と一緒に前方Y1に折り曲げられる。これにより、フレキシブルケーブル27は、折り曲げによって積層される2枚のシート部分(シート部分110およびシート部分111)の間を引き回される。また、メモリー基板15は、折り畳まれた配線シート16により、前後方向Yおよび上下方向Zから覆われた状態となる。   When the wiring sheet 16 is folded along the second fold line L2, the flexible cable 27 is also folded forward Y1 together with the wiring sheet 16, as shown in FIG. As a result, the flexible cable 27 is routed between two sheet portions (the sheet portion 110 and the sheet portion 111) that are stacked by bending. Further, the memory substrate 15 is covered with the folded wiring sheet 16 from the front-rear direction Y and the vertical direction Z.

さらに、配線シート16が第2折り畳み線L2に沿って折り畳まれると、第1配線21の第2配線部分接続部62aと、第1配線21の導通用配線63の後側部分が上下方向Zで重なって電気的に接続される。同様に、第2配線22の第2配線部分接続部62aと、第2配線22の導通用配線63の後側部分が上下方向Zで重なって電気的に接続される。これにより、第1配線21は、その第1配線部分61と第2配線部分62が導通用配線63を介して電気的に接続されて導通可能な1本の配線となる。同様に、第2配線22は、その第1配線部分61と第2配線部分62が導通用配線63を介して電気的に接続されて導通可能な1本の配線となる。   Further, when the wiring sheet 16 is folded along the second fold line L2, the second wiring portion connecting portion 62a of the first wiring 21 and the rear portion of the conductive wiring 63 of the first wiring 21 are in the vertical direction Z. Overlapping and electrically connected. Similarly, the second wiring part connection portion 62a of the second wiring 22 and the rear side part of the conduction wiring 63 of the second wiring 22 are electrically connected by overlapping in the vertical direction Z. As a result, the first wiring 21 becomes one wiring that can be conducted by electrically connecting the first wiring portion 61 and the second wiring portion 62 through the conduction wiring 63. Similarly, the second wiring 22 is a single wiring in which the first wiring portion 61 and the second wiring portion 62 are electrically connected via the conductive wiring 63 and can be conducted.

ここで、配線シート16を第1折り畳み線L1に沿って折り曲げる際に、第1配線21の第1配線部分接続部61aと第1配線21の導通用配線63の間、および、第2配線22の第1配線部分接続部61aと第2配線22の導通用配線63の間に導電性の両面テープ106を介在させておく。また、配線シート16を第2折り畳み線L2に沿って折り曲げる際に、第1配線21の第2配線部分接続部62aと第1配線21の導通用配線63の間、および、第2配線22の第2配線部分接続部62aと第2配線22の導通用配線63の間に、導電性の両面テープ(接続部材)106を介在させておく。   Here, when the wiring sheet 16 is folded along the first fold line L1, the second wiring 22 is connected between the first wiring portion connecting portion 61a of the first wiring 21 and the conductive wiring 63 of the first wiring 21. A conductive double-sided tape 106 is interposed between the first wiring part connecting portion 61 a and the conductive wiring 63 of the second wiring 22. Further, when the wiring sheet 16 is bent along the second fold line L2, the second wiring portion connection portion 62a of the first wiring 21 and the conductive wiring 63 of the first wiring 21 and the second wiring 22 A conductive double-sided tape (connecting member) 106 is interposed between the second wiring portion connecting portion 62 a and the conductive wiring 63 of the second wiring 22.

具体的には、図6(a)および図6(b)に点線で示すように、包み込み動作を行う前に、第1配線21の導通用配線63に沿って導電性の両面テープ106を貼り付け、かつ、第2配線22の導通用配線63に沿って導電性の両面テープ106を貼り付けておく。その後に、配線シート16を第1折り畳み線L1に沿って折り曲げ、さらに、配線シート16を第2折り畳み線L2に沿って折り曲げる。このようにすれば、第1配線21の第1配線部分接続部61aと第1配線21の導通用配線63の間の電気的な接続が確実なものとなる。また、第2配線22の第1配線部分接続部61aと第2配線22の導通用配線63の間の電気的な接続が確実なものとなる。さらに、第1配線21の第2配線部分接続部62aと第1配線21の導通用配線63の間の電気的な接続が確実なものとなる。また、第2配線22の第2配線部分接続部62aと第2配線22の導通用配線63の間の電気的な接続が確実なものとなる。従って、第1配線21を確実に導通可能な1本の配線とすることができる。また、第2配線22を確実に導通可能な1本の配線とすることができる。さらに、折り曲げによって積層された配線シート16のシート部分を接着できるので、積層されたシート部分が離間することを防止できる。   Specifically, as shown by the dotted lines in FIGS. 6A and 6B, the conductive double-sided tape 106 is applied along the conductive wiring 63 of the first wiring 21 before performing the wrapping operation. At the same time, a conductive double-sided tape 106 is attached along the conductive wiring 63 of the second wiring 22. Thereafter, the wiring sheet 16 is folded along the first fold line L1, and further, the wiring sheet 16 is folded along the second fold line L2. In this way, the electrical connection between the first wiring part connecting portion 61a of the first wiring 21 and the conductive wiring 63 of the first wiring 21 is ensured. In addition, the electrical connection between the first wiring partial connection portion 61a of the second wiring 22 and the conductive wiring 63 of the second wiring 22 is ensured. Further, the electrical connection between the second wiring partial connection portion 62a of the first wiring 21 and the conductive wiring 63 of the first wiring 21 is ensured. In addition, the electrical connection between the second wiring portion connecting portion 62a of the second wiring 22 and the conductive wiring 63 of the second wiring 22 is ensured. Therefore, the first wiring 21 can be a single wiring that can be reliably conducted. Further, the second wiring 22 can be a single wiring that can be reliably conducted. Furthermore, since the sheet portions of the wiring sheet 16 laminated by bending can be bonded, it is possible to prevent the laminated sheet portions from being separated.

配線シート16が第2折り畳み線L2に沿って折り畳まれた状態では、図6(c)に示すように、フレキシブルケーブル27は、前方Y1に折り畳まれた幅広部101の端縁111aから露出して前方Y1に延びる。ここで、前方Y1に折り畳まれた幅広部101の端縁111aは、第1スリット65および第2スリット66よりも僅かに後方Y2に位置する。   In a state in which the wiring sheet 16 is folded along the second fold line L2, as shown in FIG. 6C, the flexible cable 27 is exposed from the edge 111a of the wide portion 101 folded in the front Y1. Extends forward Y1. Here, the edge 111 a of the wide portion 101 folded in the front Y <b> 1 is positioned slightly in the rear Y <b> 2 with respect to the first slit 65 and the second slit 66.

次に、図7(a)に示すように、配線シート16を第3折り畳み線L3に沿って右側(第1方向X1)に折り畳む。第3折り畳み線L3は、幅広部101において、第2配線22の第1配線部分接続部61a、導通用配線63および第2配線部分接続部62aよりも内側に位置しており、メモリー基板15の左側(第2方向X2)の端縁に沿って延びている。従って、配線シート16は、第3突出部104と共に、幅広部101において第2配線22の第1配線部分接続部61a、導通用配線63、および、第2配線部分接続部62aが形成されている端縁部分が折り曲げられる。   Next, as shown in FIG. 7A, the wiring sheet 16 is folded rightward (first direction X1) along the third fold line L3. The third fold line L3 is located inside the first wiring part connection part 61a, the conduction wiring 63, and the second wiring part connection part 62a of the second wiring 22 in the wide part 101, and It extends along the edge on the left side (second direction X2). Accordingly, the wiring sheet 16 is formed with the first protruding portion 104 and the first wiring portion connecting portion 61 a of the second wiring 22, the conductive wiring 63, and the second wiring portion connecting portion 62 a in the wide portion 101. The edge portion is bent.

ここで、折り曲げた部分を、上下方向Zから見た場合にメモリー基板15の基板面と重なる位置に配置する際に、第3突出部104に形成された第2スリット66にフレキシブルケーブル27を貫通させる。   Here, when the bent portion is arranged at a position overlapping the substrate surface of the memory substrate 15 when viewed from the vertical direction Z, the flexible cable 27 is passed through the second slit 66 formed in the third protrusion 104. Let

その後、図7(b)に矢印で示すように、配線シート16を第4折り畳み線L4に沿って左側(第2方向X2)に折り曲げる。第4折り畳み線L4は、幅広部101において、第1配線21の第1配線部分接続部61a、導通用配線63および第2配線部分接続部62aよりも内側に位置しており、メモリー基板15の右側(第1方向X1)の端縁に沿って延びる。従って、配線シート16は、第2突出部103と共に、幅広部101において第1配線21の第1配線部分接続部61a、導通用配線63、および、第2配線部分接続部62aが形成されている端縁部分が折り曲げられる。   Thereafter, as shown by an arrow in FIG. 7B, the wiring sheet 16 is bent leftward (second direction X2) along the fourth fold line L4. The fourth fold line L4 is located inside the first wiring portion connection portion 61a, the conduction wiring 63, and the second wiring portion connection portion 62a of the first wiring 21 in the wide portion 101. It extends along the edge on the right side (first direction X1). Accordingly, the wiring sheet 16 is formed with the second protrusion 103 and the first wiring portion connection portion 61 a of the first wiring 21, the conductive wiring 63, and the second wiring portion connection portion 62 a in the wide portion 101. The edge portion is bent.

ここで、図7(c)に示すように、折り曲げた部分を、上下方向Zから見た場合にメモリー基板15の基板面と重なる位置に配置する際に、第2突出部103に形成された第1スリット65にフレキシブルケーブル27を貫通させる。   Here, as shown in FIG. 7C, the bent portion is formed in the second protrusion 103 when the bent portion is arranged at a position overlapping the substrate surface of the memory substrate 15 when viewed in the vertical direction Z. The flexible cable 27 is passed through the first slit 65.

以上より、配線シート16によるメモリー基板15の包み込みが完了する。配線シート16によるメモリー基板15の包み込みが完了した状態では、図7(d)に示すように、上方から見た場合にメモリー基板15の基板面と重なる位置において、配線シート16の第2突出部103と第3突出部104が各スリット65、66を貫通するフレキシブルケーブル27によって編まれた状態となる。   As described above, the wrapping of the memory substrate 15 by the wiring sheet 16 is completed. In the state where the wrapping of the memory substrate 15 by the wiring sheet 16 is completed, as shown in FIG. 7D, the second protruding portion of the wiring sheet 16 is located at a position overlapping the substrate surface of the memory substrate 15 when viewed from above. 103 and the 3rd protrusion part 104 will be in the state knitted by the flexible cable 27 which penetrates each slit 65,66.

配線シート16によって包み込まれたメモリー基板15は、図3(b)に示すように、箱体25に収納され、箱体25に充填される封止剤によってモールドされる。モールドに際して、フレキシブルケーブル27は、モールド部26から外側に引き出される。フレキシブルケーブル27においてモールドから引き出された端部はフィスカル制御基板7に接続される。なお、フレキシブルケーブル27の長さは、配線シート16の前後方向Yの長さより短く、幅広部101と第1突出部102を足した前後方向Yの長さより長い方が望ましい。   As shown in FIG. 3B, the memory substrate 15 encapsulated by the wiring sheet 16 is accommodated in the box 25 and molded with a sealant filled in the box 25. At the time of molding, the flexible cable 27 is pulled out from the mold portion 26. An end portion of the flexible cable 27 drawn from the mold is connected to the fiscal control board 7. The length of the flexible cable 27 is preferably shorter than the length of the wiring sheet 16 in the front-rear direction Y and longer than the length of the front-rear direction Y including the wide portion 101 and the first protrusion 102.

(配線シートによる効果)
本例では、配線シート16が刃物などにより切断された場合に、配線シート16に張り巡らされた第1配線21または第2配線22に断線が発生する。また、配線シート16を開くと、第1配線21における第1配線部分61、第2配線部分62および導通用配線63が離間して、第1配線21が断線する。また、配線シート16を開くと、第2配線22における第1配線部分61、第2配線部分62および導通用配線63が離間して、第2配線22が断線する。
(Effects of wiring sheet)
In this example, when the wiring sheet 16 is cut by a blade or the like, the first wiring 21 or the second wiring 22 stretched around the wiring sheet 16 is disconnected. When the wiring sheet 16 is opened, the first wiring portion 61, the second wiring portion 62, and the conduction wiring 63 in the first wiring 21 are separated from each other, and the first wiring 21 is disconnected. When the wiring sheet 16 is opened, the first wiring portion 61, the second wiring portion 62, and the conduction wiring 63 in the second wiring 22 are separated from each other, and the second wiring 22 is disconnected.

さらに、配線シート16を開こうとすると、配線シート16とフレキシブルケーブル27が干渉する。従って、配線シート16を無理に開くと、フレキシブルケーブル27が貫通している第1スリット65の開口縁65aおよび第2スリット66の開口縁66aが破損して、第1配線21および第2配線22が断線する。   Furthermore, when the wiring sheet 16 is opened, the wiring sheet 16 and the flexible cable 27 interfere with each other. Therefore, when the wiring sheet 16 is forcibly opened, the opening edge 65a of the first slit 65 and the opening edge 66a of the second slit 66 through which the flexible cable 27 passes are damaged, and the first wiring 21 and the second wiring 22 are damaged. Breaks.

また、本例では、フレキシブルケーブル27がシート部分111の内側を引き回された後に、第3突出部104の第2スリット66および第2突出部103の第1スリット65を介して配線シート16の外側に引き出されている(図7(a)〜図7(d)参照)。従って、フレキシブルケーブル27が引っ張られたときに、各配線21、22に断線を発生させやすい。   Further, in this example, after the flexible cable 27 is routed inside the sheet portion 111, the wiring sheet 16 is connected via the second slit 66 of the third protrusion 104 and the first slit 65 of the second protrusion 103. It is pulled out to the outside (see FIGS. 7A to 7D). Accordingly, when the flexible cable 27 is pulled, the wires 21 and 22 are easily disconnected.

すなわち、フレキシブルケーブル27がこのように引き回されていれば、フレキシブルケーブル27がメモリー基板15から離れる方向に引っ張られたときに、シート部分111をメモリー基板15から離間する方向に移動させる。ここで、シート部分111がメモリー基板15から離間する方向に移動すると、その外側に位置する第3突出部104がメモリー基板15から離間する方向に移動するので、第3突出部104では、フレキシブルケーブル27との干渉によって第2スリット66の開口縁66aに破損が発生しやすくなる。また、シート部分111がメモリー基板15から離間する方向に移動すると、その外側に位置する第2突出部103がメモリー基板15から離間する方向に移動する。従って、第2突出部103では、フレキシブルケーブル27との干渉によって第1スリット65の開口縁65aに破損が発生しやすくなる。   That is, if the flexible cable 27 is routed in this way, the sheet portion 111 is moved away from the memory substrate 15 when the flexible cable 27 is pulled away from the memory substrate 15. Here, when the sheet portion 111 moves in a direction away from the memory substrate 15, the third protrusion 104 located outside thereof moves in a direction away from the memory substrate 15. 27, the opening edge 66a of the second slit 66 is easily damaged. Further, when the sheet portion 111 moves in a direction away from the memory substrate 15, the second protrusion 103 located outside thereof moves in a direction away from the memory substrate 15. Therefore, in the second protrusion 103, the opening edge 65a of the first slit 65 is likely to be damaged due to the interference with the flexible cable 27.

なお、各配線21、22における第1配線部分61の第1配線部分接続部61aと導通用配線63を一体に形成し、配線シート16を折り畳んだときに、これらを一体とした接続部分と第2配線部分62の第2配線部分接続部62aを重ね合わせて接続するようにしてもよい。この逆に、各配線21、22における第2配線部分62の第2配線部分接続部62aと導通用配線63を一体に形成し、配線シート16を折り畳んだときに、これらを一体とした接続部分と第1配線部分61の第2配線部分接続部62aを重ね合わせて接続するようにしてもよい。   In addition, when the first wiring portion connecting portion 61a of the first wiring portion 61 and the conductive wiring 63 are integrally formed in each of the wirings 21 and 22, and the wiring sheet 16 is folded, the first connecting portion and the first connecting portion are integrated. The second wiring part connecting portions 62a of the two wiring parts 62 may be overlapped and connected. On the contrary, when the wiring sheet 16 is folded when the second wiring portion connecting portion 62a of the second wiring portion 62 and the conductive wiring 63 are integrally formed in each of the wirings 21 and 22, the connecting portions are integrated with each other. And the second wiring part connecting part 62a of the first wiring part 61 may be overlapped and connected.

また、両面テープ106の替わりに、導電性を有する接着剤を用いてもよい。   Further, instead of the double-sided tape 106, a conductive adhesive may be used.

1・・プリンター、2・・プリンター本体、3・・フィスカルモジュール、4・・ケース、5・・フレーム、6・・プリンター制御基板、7・・フィスカル制御基板(第2回路基板)、8・・メモリーモジュール、9・・コネクター、10・・開閉蓋、11・・開閉蓋、12・・レシート排出口、13・・スライドボタン、15・・メモリー基板(第1回路基板)、15a・・第1面、16・・配線シート、17・・EJメモリー、18・・フィスカルメモリー(メモリー)、19・・第1コネクター、20・・第2コネクター、21・・第1配線(配線)、22・・第2配線(配線)、25・・箱体、26・・モールド部、27・・フレキシブルケーブル(ケーブル)、28・・フレキシブルケーブル、31・・プリンター制御用CPU、33・・フィスカル制御用主CPU、34・・プログラム改ざん確認用CPU、35・・ROM、36・・RAM、37・・フィスカル制御基板側RTC、38・・電池、41・・フィスカル制御用副CPU、42・・メモリー基板側RTC(検出部)、43・・配線シート接続部、45・・EJ情報生成部、46・・フィスカル情報生成部、47・・送信部、51・・NVメモリー、52・・乱数発生部、53・・設定部、55・・第1レジスター、56・・第2レジスター、61・・第1配線部分、61a・・第1配線部分接続部、62・・第2配線部分、62a・・第2配線部分接続部、63・・導通用配線、65・・第1スリット、66・・第2スリット、71〜74・・第1〜第4端子、75〜78・・第1〜第4メモリー基板側端子、81・・第1基板側配線、82・・第2基板側配線、83・・FET、84・・第3基板側配線、85・・抵抗、101・・幅広部、102・・第1突出部、103・・第2突出部(第1シート部分)、104・・第3突出部(第2シート部分)、105・・第4突出部、106・・両面テープ、110・・シート部分、111・・シート部分(第3シート部分)、D・・ドレイン、G・・ゲート、S・・ソース、L0・・仮想線、L1〜L4・・第1〜第4折り畳み線、X・・幅方向、Y・・前後方向、Z・・上下方向 1 ・ ・ Printer, 2 ・ Printer body, 3 ・ Fiscal module, 4 ・ Case, 5 ・ ・ Frame, 6 ・ Printer control board, 7 ・ Fiscal control board (second circuit board), 8 ・ ・Memory module, 9 ... Connector, 10 ... Open / close lid, 11 ... Open / close lid, 12 ... Receipt outlet, 13 ... Slide button, 15 ... Memory board (first circuit board), 15a ... 1st Surface, 16 ... Wiring sheet, 17 ... EJ memory, 18 ... Fiscal memory (memory), 19 ... First connector, 20 ... Second connector, 21 ... First wiring (wiring), 22 ... 2nd wiring (wiring), 25 ... Box, 26 ... Mold part, 27 ... Flexible cable (cable), 28 ... Flexible cable, 31 ... Printer control CPU, 3 .... Fiscal control main CPU, 34 ... Program falsification confirmation CPU, 35.ROM, 36.RAM, 37.Fiscal control board side RTC, 38 ... Battery, 41 ... Fiscal control sub CPU 42 .. Memory board side RTC (detection unit) 43.. Wiring sheet connection unit 45.. EJ information generation unit 46. Fiscal information generation unit 47.. Transmission unit 51.. NV memory 52 ..Random number generator 53, Setting unit 55, First register 56, Second register 61, First wiring part 61a, First wiring part connection part 62, Second wiring Part 62a ··· second wiring part connecting part 63 ··· wiring for conduction 65 ·· first slit 66 · · second slit 71 to 74 · · first to fourth terminals 75 to 78 · · · First to fourth memory board side 81 .... first substrate side wiring, 82 ... second substrate side wiring, 83 ... FET, 84 ... third substrate side wiring, 85 ... resistance, 101 ... wide part, 102 ... first Projection part 103 ... Second projection part (first sheet part) 104 ... Third projection part (second sheet part) 105 ... Fourth projection part 106 ... Double-sided tape 110 ... Sheet part 111..Sheet part (third sheet part), D..drain, G..gate, S..source, L0..imaginary line, L1-L4..first to fourth folding lines, X .. Width direction, Y ·· Front / rear direction, Z ·· Up / down direction

Claims (7)

メモリーを備える第1回路基板と、
第2回路基板と、
配線を備え、前記第1回路基板を包み込む配線シートと、
前記配線の異常を検出する検出部と、
前記第1回路基板と前記第2回路基板とを接続するケーブルと、を有し、
前記配線シートは、前記第1回路基板の厚さ方向から見た場合に当該第1回路基板と重なる位置に折り畳まれた第1シート部分を備え、
前記第1シート部分は、前記配線に囲まれた第1スリットを備え、
前記ケーブルは、前記第1回路基板から、前記第1スリットを挿通されて、前記第2回路基板に接続されることを特徴とするモジュール。
A first circuit board comprising a memory;
A second circuit board;
A wiring sheet comprising wiring and enclosing the first circuit board;
A detection unit for detecting an abnormality in the wiring;
A cable connecting the first circuit board and the second circuit board;
The wiring sheet includes a first sheet portion folded at a position overlapping the first circuit board when viewed from the thickness direction of the first circuit board,
The first sheet portion includes a first slit surrounded by the wiring,
The module, wherein the cable is inserted from the first circuit board through the first slit and connected to the second circuit board.
請求項1において、
前記配線シートは、前記第1回路基板と前記第1シート部分の間に折り畳まれた第2シート部分を備え、
前記第2シート部分は、前記配線に囲まれた第2スリットを備え、
前記ケーブルは、前記第1回路基板から、前記第2スリットおよび前記第1スリットを介して、前記配線シートの外側に導出されることを特徴とするモジュール。
In claim 1,
The wiring sheet includes a second sheet portion folded between the first circuit board and the first sheet portion,
The second sheet portion includes a second slit surrounded by the wiring,
The module is characterized in that the cable is led out of the wiring sheet from the first circuit board through the second slit and the first slit.
請求項2において、
前記配線シートは、前記第1回路基板と前記第2シート部分の間に折り畳まれた第3シート部分を備え、
前記ケーブルは、前記第1回路基板と前記第3シート部分の間から、前記第2スリットおよび前記第1スリットを介して前記配線シートの外側に導出されることを特徴とするモジュール。
In claim 2,
The wiring sheet includes a third sheet portion folded between the first circuit board and the second sheet portion,
The module, wherein the cable is led out of the wiring sheet from between the first circuit board and the third sheet portion through the second slit and the first slit.
請求項1ないし3のうちのいずれかの項において、
前記検出部は、前記配線の異常を記録する記憶部を備え、前記第1回路基板に実装されることを特徴とするモジュール。
In any one of claims 1 to 3,
The module, wherein the detection unit includes a storage unit that records the abnormality of the wiring and is mounted on the first circuit board.
請求項4において、
前記第2回路基板は、電池を備え、
前記配線シートは、前記第1回路基板に接続されており、
前記検出部には、前記ケーブルおよび前記配線を介して前記電池から電力が供給されることを特徴とするモジュール。
In claim 4,
The second circuit board includes a battery.
The wiring sheet is connected to the first circuit board;
The detection unit is supplied with power from the battery via the cable and the wiring.
請求項5において、
前記検出部は、RTCであることを特徴とするモジュール。
In claim 5,
The detection unit is an RTC.
請求項1ないし6のうちのいずれかの項のモジュールと、
レシート発行用の印刷データに基づいて印刷を実行する印刷部と、を備え、
前記第2回路基板は、前記レシート発行用の印刷データに基づいてフィスカル情報を生成するフィスカル情報生成部と、前記フィスカル情報を前記メモリーに記憶保持させるために当該フィスカル情報を前記第1回路基板に送信する送信部と、を備えることを特徴とするプリンター。
A module according to any one of claims 1 to 6;
A printing unit that executes printing based on print data for issuing a receipt,
The second circuit board includes a fiscal information generating unit that generates fiscal information based on the print data for issuing the receipt, and the fiscal information is stored in the first circuit board in order to store the fiscal information in the memory. A printer comprising: a transmission unit for transmitting.
JP2015044382A 2015-03-06 2015-03-06 Module and printer Pending JP2016163947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015044382A JP2016163947A (en) 2015-03-06 2015-03-06 Module and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015044382A JP2016163947A (en) 2015-03-06 2015-03-06 Module and printer

Publications (1)

Publication Number Publication Date
JP2016163947A true JP2016163947A (en) 2016-09-08

Family

ID=56876401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015044382A Pending JP2016163947A (en) 2015-03-06 2015-03-06 Module and printer

Country Status (1)

Country Link
JP (1) JP2016163947A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021199510A1 (en) * 2020-03-31 2021-10-07 パナソニックIpマネジメント株式会社 Connection substrate, information processing device, and protection method for electronic circuit
JP6948611B1 (en) * 2021-06-30 2021-10-13 パナソニックIpマネジメント株式会社 Information processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021199510A1 (en) * 2020-03-31 2021-10-07 パナソニックIpマネジメント株式会社 Connection substrate, information processing device, and protection method for electronic circuit
JP2021163018A (en) * 2020-03-31 2021-10-11 パナソニックIpマネジメント株式会社 Information processing apparatus
JP6948611B1 (en) * 2021-06-30 2021-10-13 パナソニックIpマネジメント株式会社 Information processing device

Similar Documents

Publication Publication Date Title
US8661270B2 (en) Electronic apparatus and method of controlling electronic apparatus
JP2011005853A (en) Irregularity prevention device, method of controlling irregularity prevention device, and fiscal printer to which method is applied
JP2016163947A (en) Module and printer
JP2016164705A (en) Module, printer and control method of module
JP2016163946A (en) Module and printer
JP2016163945A (en) Module, printer and control method of module
JP5360563B2 (en) Print label production device
JP2001242951A (en) Terminal equipment
JP6327054B2 (en) Fiscal printer
CN106171050A (en) Printed base plate and card reader
JP2017094609A (en) Fiscal printer
JP5449430B2 (en) Magnetic card reader and electronic device
JP6840010B2 (en) Card reader
CN204632013U (en) fiscal printer
JP5083666B2 (en) Game machine
JP4978112B2 (en) Fiscal unit and printer
CN218866475U (en) Password device
JP4893172B2 (en) Sealing structure and recording device
KR200480291Y1 (en) Cover device of apparatus for preventing physical probing in banking terminal
JP2008046954A (en) Fiscal unit and printer
JP2011116043A (en) Structure of housing of data storage device, and printer
US8403687B2 (en) Data storage device and printing apparatus including the same
JP2011119564A (en) Data storage device, and printing device equipped with the same
KR200478802Y1 (en) Card read module of apparatus for preventing physical probing in banking terminal
KR200478773Y1 (en) Card information reading and transmitting device of apparatus for preventing physical probing in banking terminal