Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4357366B2 - Automatic dispensing device - Google Patents
[go: Go Back, main page]

JP4357366B2 - Automatic dispensing device - Google Patents

Automatic dispensing device Download PDF

Info

Publication number
JP4357366B2
JP4357366B2 JP2004163796A JP2004163796A JP4357366B2 JP 4357366 B2 JP4357366 B2 JP 4357366B2 JP 2004163796 A JP2004163796 A JP 2004163796A JP 2004163796 A JP2004163796 A JP 2004163796A JP 4357366 B2 JP4357366 B2 JP 4357366B2
Authority
JP
Japan
Prior art keywords
medicine
cassette
feeder
base
routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2004163796A
Other languages
Japanese (ja)
Other versions
JP2005342123A (en
Inventor
司郎 大村
俊治 大ヶ谷
義人 大村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tosho Inc
Original Assignee
Tosho Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2004163796A priority Critical patent/JP4357366B2/en
Application filed by Tosho Inc filed Critical Tosho Inc
Priority to DK13193893.8T priority patent/DK2719368T3/en
Priority to PCT/JP2004/019236 priority patent/WO2005065627A1/en
Priority to US10/584,979 priority patent/US7747345B2/en
Priority to EP13193893.8A priority patent/EP2719368B1/en
Priority to DK04807593.1T priority patent/DK1704844T3/en
Priority to EP04807593.1A priority patent/EP1704844B1/en
Publication of JP2005342123A publication Critical patent/JP2005342123A/en
Application granted granted Critical
Publication of JP4357366B2 publication Critical patent/JP4357366B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • G06F19/00

Landscapes

  • Basic Packing Technique (AREA)
  • Warehouses Or Storage Devices (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Description

この発明は、各種の薬剤を収容しておき処方箋や調剤指示に応じて所望の薬剤を分包等のために自動排出する自動調剤装置に関し、詳しくは、薬剤を排出可能に収容する薬剤カセットをベース部へ着脱したときに照合を行う自動調剤装置に関する。   TECHNICAL FIELD The present invention relates to an automatic dispensing device that stores various drugs and automatically discharges a desired drug for packaging and the like in accordance with a prescription or a dispensing instruction. The present invention relates to an automatic dispensing device that performs collation when attached to and detached from a base portion.

錠剤分包機や注射薬払出装置などの自動調剤装置では、錠剤フィーダ等の薬剤カセットに各種の薬剤を種類分けして収容しておき、処方箋やそれに基づく調剤指示に従って所望の薬剤を所望の量だけ取り出せるようになっている。また、多くの機種で、薬剤カセットへの薬剤補充が容易に行えるよう薬剤カセットが着脱可能となっているが、その際に装着先を誤ることの無いよう、薬剤容器の装着先を対応するものに限定する手段が付加されている。   In automatic dispensing devices such as tablet dispensing machines and injection drug dispensing devices, various drugs are classified and stored in drug cassettes such as tablet feeders, and only the desired amount of drugs are stored according to prescriptions and dispensing instructions based on them. It can be taken out. In many models, the medicine cassette can be attached and detached so that the medicine cassette can be easily replenished. A means for limiting to is added.

そのような手段として、キー(突子)と溝(穴)との位置合わせ等を利用した機械的なものもあるが、コストや,柔軟性,拡張性,小形化といった観点から、次の識別情報読取方式が主流になりつつある。すなわち、それぞれの薬剤カセットに異なる識別番号を付しておいて、それを電気的に又は磁気的に読み取り、その読取結果と予め設定されている照合データとを照合して、不一致時には警報を発するようになっている。さらに、照合する際に広狭の多重チェックを行うことにより、識別情報読取方式を採用していても薬剤カセットの適正配置がより確実に維持されるようになった調剤システムもある(例えば特許文献1参照)。   As such means, there is a mechanical method using the alignment of the key (projection) and the groove (hole), but from the viewpoint of cost, flexibility, expandability, miniaturization, etc. Information reading methods are becoming mainstream. That is, a different identification number is assigned to each medicine cassette, it is read electrically or magnetically, the result of reading is compared with preset collation data, and an alarm is issued when there is a mismatch. It is like that. Furthermore, there is a dispensing system in which proper arrangement of the medicine cassette is more reliably maintained even when the identification information reading method is adopted by performing wide and narrow multiple checks when collating (for example, Patent Document 1). reference).

自動調剤装置の典型例である錠剤分包機10を図示したので、それを引用して更なる説明を行う。図9は、錠剤分包機10及びそれに多数組み込まれている薬剤フィーダ13の機械的構造を示し、(a)が錠剤分包機10の外観斜視図、(b)が錠剤分包機10の内部構造を示す模式図、(c)が薬剤フィーダ13の左側面図、(d)が正面図、(e)が縦断左側面図、(f)が薬剤フィーダ13の作動部に対する制御ブロック図である。また、図10は、自動調剤装置の制御系の全体構造を示すブロック図であり、図11は、制御用データの構造を示し、(a)が薬品マスタテーブルにおけるレコード構造図、(b)が薬剤排出指令の電文構造図である。   A tablet packaging machine 10, which is a typical example of an automatic dispensing device, is illustrated, and will be further described with reference to it. FIG. 9 shows the mechanical structure of the tablet packaging machine 10 and the drug feeder 13 incorporated therein. (A) is an external perspective view of the tablet packaging machine 10, and (b) is the internal structure of the tablet packaging machine 10. 4C is a left side view of the medicine feeder 13, FIG. 4D is a front view, FIG. 5E is a longitudinal left side view, and FIG. 5F is a control block diagram for the operation unit of the medicine feeder 13. FIG. FIG. 10 is a block diagram showing the overall structure of the control system of the automatic dispensing apparatus, FIG. 11 shows the structure of control data, (a) is a record structure diagram in the medicine master table, and (b) is a record structure diagram. It is a message structure figure of medicine discharge directions.

この錠剤分包機10は(図9(a),(b)参照)、各種の薬剤1(円板状薬剤,玉剤,カプセル剤,円筒状薬剤,錠剤等)を種類分けして収容した多数の薬剤フィーダ13と、これらの薬剤フィーダ13から排出された薬剤1を収集する薬剤収集機構14,15と、この薬剤収集機構14,15から受けた薬剤1を包装する包装装置17と、マイクロプロセッサシステム等からなるコントローラ18(錠剤分包機メインコントローラ、分包機本体の主制御装置)とを具えている。そして、コントローラ18の制御下、処方箋データや派生した調剤指示データ等に応じて該当する薬剤フィーダ13から必要個数の薬剤1を排出させ、それを薬剤収集機構14,15で収集して下方の薬剤投入部16(収集薬剤投入口)へ送り込み、更に包装装置17で分包する。分包は服用単位や施用単位で区分しながら包装帯2(分包紙)で包装するようになっている。   This tablet packaging machine 10 (see FIGS. 9 (a) and 9 (b)) contains a large number of various drugs 1 (disc-shaped drugs, balls, capsules, cylindrical drugs, tablets, etc.) classified and stored. Medicine feeder 13, medicine collection mechanisms 14 and 15 for collecting medicine 1 discharged from these medicine feeders 13, packaging device 17 for packaging medicine 1 received from the medicine collection mechanisms 14 and 15, and microprocessor A controller 18 (tablet packaging machine main controller, main controller of the packaging machine main body) comprising a system or the like is provided. Then, under the control of the controller 18, the required number of medicines 1 are discharged from the corresponding medicine feeder 13 in accordance with prescription data, derived dispensing instruction data, etc., and collected by the medicine collecting mechanisms 14 and 15, and the lower medicines are collected. The product is fed into the input unit 16 (collected medicine input port) and further packaged by the packaging device 17. The sachets are packaged by the wrapping band 2 (packaging paper) while being divided into dosage units and application units.

詳述すると、錠剤分包機10の筐体内には、上の方に薬品庫11(薬品棚部、薬剤収納庫格納部)が設けられるとともに、下の方に包装装置17が設けられ、さらに、これらの間を薬剤収集機構としての導管14(ダクト,シュート,案内路,上部薬剤収集経路)及び収集部材15(ホッパ状部材,漏斗状部材,下部薬剤収集経路)が連絡しているが、薬品庫11には、個々にスライドしうる複数の薬剤フィーダ格納庫12(薬剤収納庫)が横に並べて配設され、それぞれの薬剤フィーダ格納庫12には、数個から数十個の着脱式の薬剤フィーダ13が縦横に且つ前後に並べて格納されている。そのため、薬品庫11における各薬剤フィーダ13の格納位置すなわちフィーダ格納アドレスは、列アドレスと段アドレスと板アドレスとの三つ組みで決められる。列アドレスは、横方向の並び位置であり、具体的には薬剤フィーダ格納庫12の番号である。段アドレスは、縦方向の並び位置であり、具体的には薬剤フィーダ13の装備先の棚板の番号である。板アドレスは、前後方向の即ち奥行き方向の並び位置であり、具体的には装備先の棚板における薬剤フィーダ13の順番である。なお、図示は割愛したが、薬剤フィーダ13が円筒状配置の場合も、薬剤フィーダ格納庫12の番号が一意であればフィーダ格納アドレスが同様に決まる。   More specifically, in the case of the tablet packaging machine 10, a medicine container 11 (medicine shelf part, medicine container storage part) is provided on the upper side, and a packaging device 17 is provided on the lower side. Between these, a conduit 14 (duct, chute, guide path, upper drug collecting path) and a collecting member 15 (hopper-like member, funnel-shaped member, lower drug collecting path) as a drug collecting mechanism communicate with each other. A plurality of medicine feeder storages 12 (medicine storages) that can be slid individually are arranged side by side in the storage 11, and each medicine feeder storage 12 has several to several tens of detachable medicine feeders. 13 are stored side by side vertically and horizontally. Therefore, the storage position of each medicine feeder 13 in the medicine cabinet 11, that is, the feeder storage address, is determined by a triple combination of a column address, a column address, and a plate address. The column address is a horizontal arrangement position, and is specifically the number of the medicine feeder storage 12. The column address is the position in the vertical direction, and specifically, the number of the shelf board on which the medicine feeder 13 is equipped. The board address is an arrangement position in the front-rear direction, that is, in the depth direction, and specifically the order of the medicine feeders 13 on the shelf board of the equipment destination. Although illustration is omitted, even when the medicine feeder 13 has a cylindrical arrangement, the feeder storage address is similarly determined if the number of the medicine feeder storage 12 is unique.

各薬剤フィーダ13は(図9(c)〜(e)参照)、多数の薬剤1を排出可能に収容する薬剤カセット20と、この薬剤カセット20を着脱可能に支持してその排出駆動を行うベース部30とに大別され、指定錠数だけ薬剤1を排出するようになっている。そのうち、ベース部30は(図9(f)参照)、駆動源としてのモータ13jや,排出薬剤の落下検出手段としての排出センサ33,カセット着脱の検出手段としての着脱センサ34などを内蔵しており、これらが個別の棚内配線62にて棚制御回路61に接続されているので、薬剤フィーダ格納庫12の棚板に対し常態では固定的に取り付けられる。これに対し、薬剤フィーダ13のうち薬剤カセット20は、薬剤補充作業の容易化のため、着脱式のものとなっている。   Each drug feeder 13 (see FIGS. 9C to 9E) includes a drug cassette 20 that accommodates a large number of drugs 1 so as to be discharged, and a base that detachably supports the drug cassette 20 and discharges the drug cassette 20. The medicine 30 is roughly divided into parts 30 and the medicine 1 is discharged by the designated number of tablets. Among them, the base unit 30 (see FIG. 9 (f)) incorporates a motor 13j as a drive source, a discharge sensor 33 as a drop detection unit for discharged medicine, an attachment / detachment sensor 34 as a cassette attachment / detachment detection unit, and the like. Since these are connected to the shelf control circuit 61 by individual intra-shelf wirings 62, they are fixedly attached to the shelf board of the medicine feeder storage 12 in a normal state. On the other hand, the medicine cassette 20 of the medicine feeder 13 is a detachable type for facilitating medicine replenishment work.

また、この錠剤分包機10には(図9(a)(b)参照)、筐体から前方へ引き出し可能に構成された手撒きユニット10aと、筐体内に配置されて手撒きユニット10aから薬剤を受け取る図示しない作動部材とを具えた薬剤手撒き装置が、組み込まれている。手撒きユニット10aには縦横に区切られた複数の区画室が形成されているため、各1日分の薬剤を複数回に分けて手撒きする際、1日分ずつ区分するのにも、全日数を通じて1日における各回分ずつ区分するのにも、適している。これは、薬剤フィーダ13に割り当てられていない薬剤を薬剤フィーダ13に割り当てられている薬剤と一緒に分包するときに用いられ、手撒きユニット10a内のコンベアの間欠駆動等によって手撒き薬剤の逐次排出を行うようになっている(例えば特許文献2参照)。   The tablet packaging machine 10 (see FIGS. 9 (a) and 9 (b)) includes a hand handling unit 10a configured to be able to be pulled forward from the housing, and a medicine disposed from the hand handling unit 10a in the housing. A drug handing device comprising an actuating member (not shown) for receiving the is incorporated. Since the hand handling unit 10a is formed with a plurality of compartments divided vertically and horizontally, when the medicine for each day is divided into a plurality of times, It is also suitable to divide each batch in a day through the number of days. This is used when a medicine that is not assigned to the medicine feeder 13 is packaged together with a medicine that is assigned to the medicine feeder 13, and the sequential handing of medicines is performed by intermittent driving of the conveyor in the hand handling unit 10a. The discharge is performed (see, for example, Patent Document 2).

このような錠剤分包機10の自動調剤動作を統合管理するため、錠剤分包機10に添えて或いは成る可く近くに配置して(図9(a)参照)、上位卓9(調剤制御装置)も設置される。上位卓9は、錠剤分包機10が単体の最小システムであれば一対一なので錠剤分包機10と一体的に設置されることが多いが、錠剤分包機10が複数台・多数台の中規模・大規模システムの場合、一台の上位卓9が複数台・多数台の錠剤分包機10を管理するので、すなわち一対多または少数対多数の管理体制なので、錠剤分包機10から分離した独立状態で設置されることが多い(図10参照)。自動調剤装置が単独で用いられるスタンドアローンシステムでは、処方箋の内容を電子データ化した処方箋データや派生した調剤データが付属の図示しない入力装置で上位卓9に入力されるようになっているだけであるが、医局のいわゆる処方オーダーエントリシステムや薬局のホストコンピュータに上位卓9が接続されているネットワーク利用システムでは、例えば(図10の波線部分を参照)、処方オーダーエントリシステムで作成された処方箋データが、途中の処方電文コンバータでデータ形式変換等を施され、さらに薬局ホストコンピュータでのデータ解析によって自動調剤可能なデータからなる調剤データに変換され、そのうち上位卓9の管理下の錠剤分包機10に関するものだけ上位卓9に送りつけられるようになっている。   In order to manage the automatic dispensing operation of such a tablet packaging machine 10 in an integrated manner, it is arranged along with or close to the tablet packaging machine 10 (see FIG. 9 (a)), and the upper table 9 (dispensing control device). Will also be installed. Since the upper table 9 is one-to-one if the tablet packaging machine 10 is a single minimum system, it is often installed integrally with the tablet packaging machine 10, but there are a plurality of tablet packaging machines 10. In the case of a large-scale system, a single upper table 9 manages a plurality of and many tablet sachets 10, that is, a one-to-many or a few-to-many management system. Often (see FIG. 10). In a stand-alone system in which an automatic dispensing device is used alone, prescription data obtained by converting the contents of the prescription into electronic data and derived dispensing data are simply input to the upper desk 9 by an attached input device (not shown). For example, in a so-called prescription order entry system of a medical office or a network using system in which a host table 9 is connected to a host computer of a pharmacy (see the wavy line in FIG. 10), for example, prescription data created by the prescription order entry system However, the data format conversion is performed by the prescription telegram converter in the middle, and further converted into dispensing data consisting of data that can be automatically dispensed by data analysis in the pharmacy host computer, of which the tablet dispenser 10 under the control of the upper table 9 Only those related to the upper table 9 can be sent.

それらの処方箋データ又は派生した調剤データに基づいて薬剤排出指令を作成するために、上位卓9は(図10参照)、薬品マスタテーブルを記憶保持したコンピュータ例えばいわゆるノートパソコンやデスクトップ型パーソナルコンピュータからなり、電文形式で作成した薬剤排出指令を適宜な通信アダプタ経由で錠剤分包機10に分配送信するようになっている。薬品マスタテーブルは(図11(a)参照)、薬品コードを主キーにして検索される多数のレコードからなり、各レコードには、薬品名や剤形などの薬品情報が含まれている他、錠剤分包機10を識別するための「号機ID」や、該当する薬剤を収容した薬剤カセット20に付されたカセット識別情報と照合するため各ベース部30に割り振られた「照合データ」、上述した列アドレスと段アドレスと板アドレスとからなる「フィーダ格納アドレス」、カセット装着の有無やカセットの動作可否などを示す「カセット状態」といった項目が含まれている。さらに、将来の機能拡張に備えてゼロクリアされたまま使用されていない拡張用未使用領域も確保されている。   In order to create a medicine discharge command based on the prescription data or the derived dispensing data, the upper table 9 (see FIG. 10) is composed of a computer storing a medicine master table such as a so-called notebook personal computer or desktop personal computer. The medicine discharge command created in a telegram format is distributed and transmitted to the tablet packaging machine 10 via an appropriate communication adapter. The medicine master table (see FIG. 11 (a)) consists of a large number of records searched with the medicine code as the main key, and each record contains medicine information such as medicine name and dosage form, “Matching machine ID” for identifying the tablet packaging machine 10 and “collation data” allocated to each base unit 30 for collation with the cassette identification information attached to the medicine cassette 20 containing the corresponding medicine, as described above. Items such as a “feeder storage address” composed of a column address, a column address, and a plate address, and “cassette status” indicating whether or not a cassette is mounted and whether or not the cassette is operable are included. Furthermore, an unused area for expansion that is not used while being cleared to zero for future function expansion is also secured.

上位卓9から錠剤分包機10に送信される薬剤排出指令の電文には(図11(b)参照)、処方箋で指示された薬剤の排出錠数等の他、その薬剤を収容している薬剤フィーダ13に薬剤排出を行わせるために、電文の宛先として、錠剤分包機10を特定するためのn号機ID(nは整数1〜Nの何れか)と、その錠剤分包機10内の薬剤フィーダ13を特定するためのフィーダ格納アドレス(上述した薬剤フィーダ格納庫に係る薬剤フィーダ格納アドレス)とが含められるようになっている。
この薬剤排出指令を受信するために、錠剤分包機10は(図10参照)、装置内通信手段60が機外に拡張されて上位卓9の通信アダプタに接続されている。装置内通信手段60は例えばIEEEのRS485の規格に準拠したLANであり、これには、上述したコントローラ18や、上述したように棚内配線62を介して複数個の薬剤フィーダ13の動作制御を行う棚制御回路61、手撒きユニット10aの動作制御を行う手撒き制御回路64が接続されている。棚制御回路61は、大抵、薬品庫11内の棚毎に設けられるので、各錠剤分包機10に複数個・多数個が存在する。
In the medicine discharge command message transmitted from the upper table 9 to the tablet packaging machine 10 (see FIG. 11B), in addition to the number of tablets discharged by the prescription, the medicine containing the medicine In order to cause the feeder 13 to discharge the medicine, the n-unit ID (n is one of integers 1 to N) for specifying the tablet packaging machine 10 and the medicine feeder in the tablet packaging machine 10 as the destination of the message 13 is included in the feeder storage address (the medicine feeder storage address related to the medicine feeder storage described above).
In order to receive this medicine discharge command, the tablet packaging machine 10 (see FIG. 10) has the in-device communication means 60 extended outside and connected to the communication adapter of the upper desk 9. The intra-apparatus communication means 60 is, for example, a LAN compliant with the IEEE RS485 standard. For this, the operation control of the plurality of medicine feeders 13 is performed via the controller 18 described above and the intra-shelf wiring 62 as described above. A shelf control circuit 61 and a hand control circuit 64 for controlling the operation of the hand unit 10a are connected. Since the shelf control circuit 61 is usually provided for each shelf in the medicine cabinet 11, there are a plurality and a plurality of each of the tablet packaging machines 10.

特開2002−272812号公報JP 2002-272812 A 特開平06−080103号公報Japanese Patent Laid-Open No. 06-080103

[未公開特許出願1]特願2004−000408号
ところで、薬剤の種類が多いと、薬剤フィーダ等の格納数も多くなり、数百以上になると、照合データの初期設定・準備も容易ではないため、薬剤フィーダが多数・多様でも照合データの準備や剤形への適合確立が容易になるよう改良された自動調剤装置もある(未公開特許出願1)。これは、薬剤を排出可能に収容する薬剤カセットと、この薬剤カセットを着脱可能に支持してその排出駆動を行うベース部と、このベース部を多数格納した薬剤フィーダ格納庫と、前記ベース部それぞれに付設され前記薬剤カセットに付された識別情報を読み取る読取装置と、その読取結果と予め記憶していた照合データとを比較する照合手段とを備えた自動調剤装置において、前記ベース部それぞれにマイクロプロセッサ及びメモリ又はメモリ内蔵のマイクロプロセッサを搭載し、それらに前記照合手段および照合データを分散して組み込んだ、というものである。このように薬剤フィーダ毎に薬剤カセットの照合をベース部で処理しうるようにしたことにより、照合対象の対応関係が目視等で直截的に確認できるものになるので、そうでない場合より照合データの準備が容易になっている。
[Unpublished Patent Application 1] Japanese Patent Application No. 2004-000408 By the way, if there are many kinds of medicines, the number of medicine feeders stored will increase, and if it exceeds several hundreds, initial setting / preparation of collation data is not easy. There is also an automatic dispensing device that has been improved so that it is easy to prepare collation data and establish conformity to a dosage form even if there are many and various drug feeders (unpublished patent application 1). This includes a medicine cassette for detachably storing a medicine, a base part that supports the medicine cassette so as to be detachable and drives to eject the medicine cassette, a medicine feeder storage that stores a large number of the base parts, and each of the base parts. In the automatic dispensing apparatus provided with a reader for reading the identification information attached to the medicine cassette and a collating means for comparing the read result with the collation data stored in advance, a microprocessor is provided in each of the base portions. And a memory or a microprocessor with a built-in memory, and the collation means and collation data are distributed and incorporated therein. In this way, since the matching of the medicine cassette can be processed in the base unit for each medicine feeder, the correspondence of the object to be collated can be confirmed directly by visual observation or the like. Preparation is easier.

しかしながら、照合データの準備が容易になるからといって、フィーダ格納アドレスの使用を全面的にやめて、薬剤カセットの識別や特定を照合データだけで行うようにしたり、薬剤カセットをベース部に装着しただけで薬剤排出を許すようにするのは、安全性が重視される調剤分野においては遣りすぎの感が否めず、装置の動作性能や既存システムとの互換性にも犠牲を強いるおそれがある。すなわち、先ず安全性については、薬剤排出や分包動作が自動化され、さらに薬剤カセットの照合まで自動化されても、補充薬剤の誤りチェックまで自動化されている訳でなく、また薬剤カセットの脱着を伴う薬剤補充作業は依然として人手に委ねられているので、補充頻度が高くてマンネリ化しやすい薬剤カセットの場合、薬剤カセット装着先のベース部を固定しておいた方がより安全である。   However, because preparation of collation data becomes easier, the use of feeder storage addresses is completely stopped, and the identification and identification of drug cassettes can be performed using only collation data, or drug cassettes are mounted on the base unit. Only allowing drug discharge in the dispensing field where safety is important cannot be denied, and there is a risk of compromising the operation performance of the apparatus and compatibility with existing systems. That is, as for safety, the drug discharge and packaging operations are automated, and even the verification of the drug cassette is automated, but the error check of the supplemented drug is not automated, and the drug cassette is attached and detached. Since the medicine replenishment operation is still entrusted manually, it is safer to fix the base portion of the medicine cassette mounting destination in the case of a medicine cassette that is frequently replenished and easily spilled.

また、装置の動作性能については、フィーダ格納アドレスを用いると薬剤の落下時間をきめ細かく推定することができるが、照合データだけではそれができないため何時でも最長時間を見込んでおかなければならないので、薬剤排出から包装開始までに無駄な待ち時間が入り込む場合が多くなり、その分だけ分包速度・能率が低下する。
さらに、既存システムとの互換性については、上述したように既存システムでは上位卓(調剤制御装置)から錠剤分包機(薬剤分包機)へ送信される電文における宛先として照合データでなくフィーダ格納アドレスが用いられているため、フィーダ格納アドレスの使用を全面的にやめると、互換性の確保が難しい。
As for the operation performance of the device, the feeder storage address can be used to estimate the drop time of the drug in detail, but since it cannot be done only with the verification data, the maximum time must be taken into account at any time. In many cases, a wasteful waiting time is introduced from the discharge to the start of packaging, and the packaging speed and efficiency decrease accordingly.
Furthermore, as for the compatibility with the existing system, as described above, in the existing system, a feeder storage address is used as a destination in a message transmitted from the upper table (dispensing control device) to the tablet packaging machine (drug packaging machine) instead of the collation data. Since it is used, it is difficult to ensure compatibility if the use of feeder storage addresses is completely stopped.

一方、従来の錠剤分包機では、薬品庫に収納されていない薬剤を自動分包するとき、上述した手撒きユニットが利用されるが、手撒き作業は面倒で手間も掛かるので出来れば避けたい。そして、手撒き作業の頻度を下げる手法として、薬品庫の外にも幾つかの薬剤カセットを用意し、それらには従来であれば手撒きの対象となっていた薬剤を種類ごとに収容しておき、必要に応じて錠剤分包機のベース部に付け替えることが考えられる。このような薬剤カセット(薬剤フィーダ)については、上述した使用頻度の高い薬剤カセット(薬剤フィーダ)と異なり、補充頻度よりもベース部への付け替え頻度の方が高いので、ベース部への付け替え即ちベース部と薬剤カセットとの対応関係の更新を簡単かつ的確に行えること(以下、本明細書では可換性と呼ぶ)が重視される。
そこで、薬剤カセットの照合に基づく安全性と可換性との両立を図りつつ、装置の動作性能や既存システムとの互換性に関する犠牲を最小にとどめる態様で、薬品庫に収納されていない薬剤の自動分包を容易に行えるようにすることが、重要な技術課題となる。
On the other hand, in the conventional tablet packaging machine, the above-described manual handling unit is used when automatically packaging the medicine not stored in the medicine cabinet. However, the manual handling work is cumbersome and time-consuming, and should be avoided if possible. And as a technique to reduce the frequency of manual work, several medicine cassettes are prepared outside the medicine cabinet, and in those cases, medicines that were conventionally targeted for handing are stored for each type. It is conceivable to replace the base part of the tablet packaging machine as necessary. For such a medicine cassette (medicine feeder), unlike the above-described frequently used medicine cassette (medicine feeder), the replacement frequency to the base portion is higher than the replenishment frequency. It is important to be able to easily and accurately update the correspondence relationship between the unit and the medicine cassette (hereinafter referred to as commutability).
Therefore, while maintaining both safety and commutability based on the matching of the medicine cassettes, it is possible to minimize the sacrifices related to the operation performance of the equipment and compatibility with existing systems, and the medicines that are not stored in the medicine cabinet. Making it easy to perform automatic packaging is an important technical issue.

本発明の自動調剤装置は(解決手段1)、このような課題を解決するために創案されたものであり、薬剤を排出可能に収容する薬剤カセットと、この薬剤カセットを着脱可能に支持してその排出駆動を行うベース部と、このベース部を多数装備した薬剤フィーダ格納庫と、前記ベース部それぞれに付設され前記薬剤カセットに付された識別情報を読み取る読取装置と、その読取結果と予め記憶していた照合データとを比較する照合手段と、処方箋データ又は派生した調剤データに基づき薬剤排出指令を作成して前記ベース部の排出駆動の制御に供する調剤制御装置とを備えた自動調剤装置において、前記調剤制御装置が、前記薬剤排出指令の作成に際して前記ベース部を多数個からなる第一群と少数個からなる第二群とに分けてそのうち前記第一群のものに宛てた指令には宛先として前記薬剤フィーダ格納庫に係る薬剤フィーダ格納アドレスを含ませ前記第二群のものに宛てた指令には宛先として前記照合データを含ませるものであることを特徴とする。   The automatic dispensing device of the present invention (Solution means 1) has been devised to solve such a problem, and includes a medicine cassette that accommodates the medicine so that the medicine can be discharged, and detachably supports the medicine cassette. A base part that performs the discharge drive, a medicine feeder storage equipped with a large number of the base parts, a reading device that reads identification information attached to each of the base parts and attached to the medicine cassette, and the reading result are stored in advance. In the automatic dispensing device comprising the matching means for comparing the matching data, and the dispensing control device for creating the medicine discharge command based on the prescription data or the derived dispensing data and for controlling the discharge drive of the base part, The dispensing control device divides the base portion into a first group consisting of a large number and a second group consisting of a small number when creating the medicine discharge command. A command addressed to one group includes a medicine feeder storage address related to the medicine feeder storage as a destination, and a command addressed to the second group includes the matching data as a destination. And

また、本発明の自動調剤装置は(解決手段2)、上記解決手段1の自動調剤装置であって、前記ベース部それぞれにマイクロプロセッサ及びメモリ又はメモリ内蔵のマイクロプロセッサを搭載し、それらに前記照合手段および前記照合データを分散して組み込むとともに、前記マイクロプロセッサのうち前記第二群に付設されたものには前記読取装置で読み取った識別情報を前記照合データに上書き記憶する上書手段を組み込んでこの上書手段を動作させ、且つ、前記マイクロプロセッサのうち前記第一群に付設されたものには前記上書手段を組み込まないか組み込んでも動作させないようにしたことを特徴とする。   The automatic dispensing apparatus of the present invention is (Solution means 2), which is the automatic dispensing apparatus of the above-mentioned Solution means 1, wherein a microprocessor and a memory or a microprocessor with a built-in memory are mounted on each of the base parts, and the collation is performed on them. And the collation data are incorporated in a distributed manner, and the superscript means for overwriting the collation data with the identification information read by the reader is incorporated in the microprocessor attached to the second group. The overwriting means is operated, and the one attached to the first group of the microprocessors is not incorporated or does not operate even if it is incorporated.

さらに、本発明の自動調剤装置は(解決手段3)、上記解決手段1,2の自動調剤装置であって、前記ベース部それぞれに点灯可能な表示器を付設し、これら表示器のうち所望の何れかを点灯させるに際しそれ以外に近隣の表示器も幾つか点灯させるようにしたことを特徴とする。   Furthermore, the automatic dispensing device of the present invention (Solution 3) is an automatic dispensing device of the above Solution 1 and 2, wherein each base unit is provided with an indicator that can be turned on, and a desired one of these indicators is provided. When any one of them is turned on, several neighboring indicators are also turned on.

このような本発明の自動調剤装置にあっては(解決手段1)、第一群のベース部に宛てた薬剤排出指令の電文には宛先として従来と同様に薬剤フィーダ格納アドレスが含められる一方、第二群のベース部に宛てた薬剤排出指令の電文には宛先として従来と異なり照合データが含められるようにしたことにより、使用頻度が高くて薬剤カセットの照合に基づく安全性が重視される薬剤フィーダは第一群に振り分け、使用頻度が低くて薬剤カセットの照合に基づく可換性が重視される薬剤フィーダは第二群に振り分けることで、薬剤カセットの照合に基づく安全性と可換性との両立を図ることができる。   In such an automatic dispensing device of the present invention (solution 1), the medicine feeder storage address is included in the telegram of the medicine discharge command addressed to the base portion of the first group as in the conventional manner, Unlike the conventional case, collation data is included in the telegram of the medicine discharge command addressed to the base portion of the second group, so that the medicine is frequently used and safety is important based on the collation of the medicine cassette. The feeders are assigned to the first group, and the drug feeders that are used infrequently and the exchangeability based on the verification of the drug cassette is important are allocated to the second group. Can be achieved.

また、大部分の薬剤排出に関してフィーダ格納アドレスが利用されるので、装置の動作性能の低下はほんの僅かにすぎない。さらに、本発明は、フィーダ格納アドレス利用のシステムを部分的に変更や拡張することで具現化できるので、既存システムとの互換性確保も容易である。
したがって、この発明によれば、薬品庫に収納されていない薬剤の自動分包を容易に行える自動調剤装置を、薬剤カセットの照合に基づく安全性と可換性との両立を図りつつ、装置の動作性能や既存システムとの互換性に関する犠牲を最小にとどめる態様で、実現することができる。
Also, since the feeder storage address is utilized for most drug discharges, there is only a slight degradation in the operating performance of the device. Furthermore, since the present invention can be realized by partially changing or expanding a system that uses feeder storage addresses, it is easy to ensure compatibility with existing systems.
Therefore, according to the present invention, an automatic dispensing device that can easily perform automatic packaging of a medicine that is not stored in a medicine cabinet, while achieving both safety and commutability based on collation of the medicine cassette, This can be realized in a manner that minimizes the sacrifice of operation performance and compatibility with existing systems.

また、本発明の自動調剤装置にあっては(解決手段2)、照合機能を薬剤フィーダ毎にベース部で処理できるようにしたマイクロプロセッサ利用の分散設置手法を、照合データの上書手段にも拡張適用したことにより、照合機能ばかりかその照合に用いる照合データの更新も薬剤フィーダ毎にベース部で処理することができるようになっている。これにより、宛先として照合データを含んでいる電文を受信して薬剤排出を行う第二群の薬剤フィーダに係る可換性が更に向上する。もっとも、上書手段の組み込み先は、可換性の重視される第二群に属する薬剤フィーダに付設されたマイクロプロセッサに限定されているので、安全性の重視される第一群に属する多くの薬剤フィーダは、影響を受けることなく、宛先としてフィーダ格納アドレスを含んでいる電文を受信して薬剤排出を行うので、安全性が維持される。   Further, in the automatic dispensing apparatus of the present invention (Solution 2), a distributed installation method using microprocessors that enables the collation function to be processed by the base unit for each medicine feeder is also used for the overwriting means of the collation data. As a result of the extended application, not only the collation function but also the collation data used for collation can be updated by the base unit for each medicine feeder. This further improves the commutability of the second group of medicine feeders that receive a message containing collation data as a destination and discharge the medicine. However, since the overwriting means is limited to the microprocessor attached to the medicine feeder belonging to the second group where commutability is regarded as important, many of them belong to the first group where safety is regarded as important. Since the medicine feeder is not affected and receives a message containing the feeder storage address as a destination and discharges the medicine, safety is maintained.

さらに、本発明の自動調剤装置にあっては(解決手段3)、薬剤カセット装着先のベース部を案内するとき等に、所望のベース部に付設された表示器を点灯させるとともに、その際それ以外に近隣の表示器も幾つか点灯させるようにしたことにより、表示が目立つので、カセット装着先を見付けやすくなる。   Further, in the automatic dispensing device of the present invention (Solution means 3), when guiding the base part of the medicine cassette mounting destination, the indicator attached to the desired base part is turned on, In addition, since some of the nearby indicators are also lit, the display is conspicuous, making it easy to find the cassette mounting destination.

このような本発明の薬剤フィーダ及び自動調剤装置について、これを実施するための具体的な形態を、以下の実施例1〜2により説明する。
図1〜6に示した実施例1は、上述した解決手段1〜3(出願当初の請求項1〜3)を総て具現化したものであり、図7〜8に示した実施例2は、その変形例である。
なお、それらの図示に際しては、簡明化等のため、ボルト等の締結具,ヒンジ等の連結具,シャッター等の流通路開閉部材,モータドライバ等の詳細回路などは図示を割愛し、発明の説明に必要なものや関連するものを中心に図示した。また、それらの図示に際し従来と同様の構成要素には、同一の符号を付して示したので、以下、従来との相違点を中心に説明する。
About the chemical | medical agent feeder and automatic dispensing apparatus of such this invention, the specific form for implementing this is demonstrated by the following Examples 1-2.
The first embodiment shown in FIGS. 1 to 6 embodies all of the above-described solving means 1 to 3 (claims 1 to 3 as originally filed), and the second embodiment shown in FIGS. This is a modified example.
In the drawings, for the sake of simplicity, fasteners such as bolts, coupling tools such as hinges, flow passage opening and closing members such as shutters, detailed circuits such as motor drivers, etc. are not shown, and the description of the invention is omitted. The figure mainly shows what is necessary and related. In addition, since the same reference numerals are given to the same components as those in the prior art in the illustration, the following description will focus on differences from the prior art.

本発明の薬剤フィーダ及び自動調剤装置の実施例1について、その具体的な構成を、図面を引用して説明する。図1は、自動調剤装置の機械的な全体構造を示し、(a)がその外観斜視図、(b)が錠剤分包機100の右側面図、(c)が錠剤分包機100の内部構造を示す模式図である。また、図2は、錠剤分包機100に多数組み込まれている薬剤フィーダ13,130の構造を示し、(a)が左側面図、(b)が正面図、(c)が縦断左側面図、(d)が薬剤カセット20の底面図、(e)がベース部30の平面図、(f)及び(g)がベース部30に分散設置された各マイクロプロセッサ40の主要機能を示すブロック図である。   About the Example 1 of the chemical | medical agent feeder and automatic dispensing apparatus of this invention, the specific structure is demonstrated with reference to drawing. FIG. 1 shows the overall mechanical structure of an automatic dispensing device, where (a) is a perspective view of the appearance thereof, (b) is a right side view of the tablet packaging machine 100, and (c) is an internal structure of the tablet packaging machine 100. It is a schematic diagram shown. 2 shows the structure of the drug feeders 13 and 130 incorporated in the tablet packaging machine 100 in a large number, (a) is a left side view, (b) is a front view, and (c) is a longitudinal left side view, (D) is a bottom view of the medicine cassette 20, (e) is a plan view of the base portion 30, and (f) and (g) are block diagrams showing the main functions of the microprocessors 40 distributedly installed on the base portion 30. is there.

そのうち図2(f)は、第一群に属する多数のベース部30(即ち薬品庫11内の薬剤フィーダ13のベース部30)に付設されたマイクロプロセッサの機能ブロック図であり、同図(g)は、第二群に属する少数のベース部30(即ち可換フィーダ格納庫110内の薬剤フィーダ130のベース部30)に付設されたマイクロプロセッサ40の機能ブロック図である。さらに、図3は、自動調剤装置の制御系の全体構造を示すブロック図であり、図4は、制御用データの構造を示し、(a)が薬品マスタテーブルにおけるレコード構造図、(b)及び(c)が薬剤排出指令の電文構造図である。そのうち図3(b)は、第一群に宛てた指令であり、薬剤フィーダ格納アドレスが含まれている。同図(c)は、第二群に宛てた指令であり、照合データが含まれている。また、図5は、制御系における棚制御回路161,163(錠剤分包機サブコントローラ)の機能ブロック図である。   2 (f) is a functional block diagram of a microprocessor attached to a large number of base portions 30 belonging to the first group (that is, the base portion 30 of the medicine feeder 13 in the medicine storage 11). ) Is a functional block diagram of the microprocessor 40 attached to a small number of base units 30 belonging to the second group (that is, the base unit 30 of the medicine feeder 130 in the replaceable feeder storage 110). 3 is a block diagram showing the overall structure of the control system of the automatic dispensing apparatus, FIG. 4 shows the structure of control data, (a) is a record structure diagram in the medicine master table, (b) and (C) is a message structure diagram of a medicine discharge command. Among them, FIG. 3B is a command addressed to the first group and includes a medicine feeder storage address. FIG. 5C shows a command addressed to the second group, which includes verification data. FIG. 5 is a functional block diagram of the shelf control circuits 161 and 163 (tablet packaging machine sub-controller) in the control system.

この実施例1の自動調剤装置が、既述した従来の自動調剤装置と相違する主な点は、錠剤分包機10に代わる錠剤分包機100について可換フィーダ格納庫110及び保管棚120が追加された点と、薬剤フィーダ13について各々のベース部30にマイクロプロセッサ40が搭載されるとともに各マイクロプロセッサ40に照合手段および照合データが分散して組み込まれた点と、上位卓9に代わる上位卓190(調剤制御装置)が部分的に機能拡張されて薬剤フィーダ13のベース部30の群分けにも適合するようになった点である。また、それらに伴い、棚制御回路61が一部改造されて棚制御回路161になるとともに、新たな棚制御回路163が追加されている。コントローラ18も群分けに適合するよう一部改造されてコントローラ180になっている。   The main difference between the automatic dispensing apparatus of the first embodiment and the conventional automatic dispensing apparatus described above is that a replaceable feeder hangar 110 and a storage shelf 120 are added to a tablet packaging machine 100 instead of the tablet packaging machine 10. In addition, the microprocessor 40 is mounted on each base portion 30 of the medicine feeder 13 and collation means and collation data are distributed and incorporated in each microprocessor 40, and an upper table 190 (instead of the upper table 9). The dispensing control device) has been partially expanded in function and adapted to the grouping of the base portion 30 of the medicine feeder 13. Accordingly, the shelf control circuit 61 is partly modified to become a shelf control circuit 161 and a new shelf control circuit 163 is added. The controller 18 is also partially modified to be a controller 180 so as to be suitable for the grouping.

先ず(図1参照)、錠剤分包機100の追加部分を説明すると、可換フィーダ格納庫110は、薬品庫11の右側面に形成された窓状の開口に組み入れられている。常態ではそこが透明扉で塞がれているが、扉把手111に手を掛けて透明扉を押し上げると、開口が解放されて可換フィーダ格納庫110に薬剤カセット20を出し入れできるようになっている。薬剤フィーダ格納庫12には、多数の例えば数百個の薬剤フィーダ13が格納されているが、可換フィーダ格納庫110には、それよりも少数の例えば数十個の薬剤フィーダ130が格納されるようになっている。薬剤フィーダ格納庫12に多数個が装備されている薬剤フィーダ13のベース部30は第一群に分類され、可換フィーダ格納庫110に少数個しか装備されていない薬剤フィーダ130のベース部30は第二群に分類されている。   First (see FIG. 1), an additional portion of the tablet packaging machine 100 will be described. The replaceable feeder storage 110 is incorporated in a window-like opening formed on the right side surface of the medicine storage 11. Normally, the door is closed with a transparent door, but when the transparent handle is pushed up by placing a hand on the door handle 111, the opening is released so that the medicine cassette 20 can be taken in and out of the replaceable feeder storage 110. . A large number of, for example, several hundreds of drug feeders 13 are stored in the medicine feeder storage 12, but a small number of, for example, several tens of drug feeders 130 are stored in the replaceable feeder storage 110. It has become. The base part 30 of the medicine feeder 13 equipped with a large number in the medicine feeder storage 12 is classified into the first group, and the base part 30 of the medicine feeder 130 equipped with only a few in the replaceable feeder storage 110 is the second part. It is classified into a group.

薬剤フィーダ130も機械的構造や基本機能は薬剤フィーダ13と同じなので、以下、区別する必要のないときは符号「13」を付して纏め、区別するときは符号「13」と符号「130」とを付して区別する。すなわち、薬剤フィーダ130は、薬剤を排出可能に収容する薬剤カセット20と、この薬剤カセット20を着脱可能に支持してその排出駆動を行うベース部30とを備えたものであり、上位卓190からの薬剤排出指令に従って指定錠数だけ薬剤カセット20から薬剤1を排出し、それを導管14同様の導管140経由で収集部材15へ落下させるようになっている。薬剤フィーダ13と薬剤フィーダ130との相違点は、後で詳述するように照合機能に関する付加機能のプログラムが異なることである。   Since the medicine feeder 130 has the same mechanical structure and basic functions as the medicine feeder 13, hereinafter, when it is not necessary to distinguish, the medicine feeder 130 is put together with reference numeral “13”, and when distinguished, the reference numeral “13” and reference numeral “130”. To distinguish. That is, the medicine feeder 130 is provided with a medicine cassette 20 that removably accommodates medicine, and a base portion 30 that detachably supports the medicine cassette 20 and drives its discharge. The medicine 1 is discharged from the medicine cassette 20 by the designated number of tablets in accordance with the medicine discharge command of the above, and dropped into the collecting member 15 via the conduit 140 similar to the conduit 14. The difference between the medicine feeder 13 and the medicine feeder 130 is that the program of the additional function related to the collation function is different as will be described in detail later.

保管棚120は、錠剤分包機100とは別体の単純な棚であり、多数個の例えば数十個〜数百個の薬剤カセット20を収納しておけるようになっている。これらの薬剤カセット20は、可換フィーダ格納庫110に装備されているベース部30に装着して用いられるものであり、ベース部30に装着されて第二群の薬剤フィーダ130を構成するという意味では第二群に属するが、ベース部30から取り外されたときには、保管棚120に収納されて待機するようになっている。そのため、第二群では、可換フィーダ格納庫110だけでなく保管棚120も見ると、ベース部30の個数より薬剤カセット20の個数が多くなっている。これに対し、第一群では、薬品庫11を見ると、薬剤カセット20の個数がベース部30の個数と同じか少なくなっている。保管棚120は、上位卓190の台や,その他の作業台を兼ねることが多いが、そうでなくても良く、錠剤分包機100と一対一で設けても良く或いは錠剤分包機100の台数より少数しか設けなくても多数設けても良い。   The storage shelf 120 is a simple shelf separate from the tablet packaging machine 100, and can store a large number of, for example, tens to hundreds of drug cassettes 20. These medicine cassettes 20 are used by being attached to the base part 30 equipped in the replaceable feeder storage 110, and in the sense that they are attached to the base part 30 to constitute the second group of medicine feeders 130. Although belonging to the second group, when it is removed from the base portion 30, it is stored in the storage shelf 120 and waits. Therefore, in the second group, when not only the replaceable feeder storage 110 but also the storage shelf 120 is viewed, the number of drug cassettes 20 is greater than the number of base portions 30. On the other hand, in the first group, when looking at the medicine cabinet 11, the number of medicine cassettes 20 is the same as or less than the number of base portions 30. In many cases, the storage shelf 120 also serves as a table for the upper table 190 and other work tables. A small number or a large number may be provided.

次に(図2参照)、薬剤フィーダ13,130は何れも着脱式の薬剤カセット20と固定式のベース部30とからなるが、これらについては多少の重複があっても詳述する。
薬剤カセット20は、蓋13aの付いた容器部13b(カップ,薬剤収容部,薬剤容器)と、隔壁13d(成形羽根,翼状突起,整列部材)の周設された整列盤13c(ロータ,整列部材,排出用部材)とが、枠板13e(着脱時結合部)に取り付けられていて、筒部13g(着脱式伝動部材)を介して整列盤13cが回転させられると、容器部13b内の薬剤1が隔壁13dの間へ次々に入って整列するとともに、排出口13fから逐次一錠づつ落下するようになっている。
Next (see FIG. 2), each of the medicine feeders 13 and 130 includes a detachable medicine cassette 20 and a fixed base portion 30, which will be described in detail even if there is some overlap.
The drug cassette 20 includes a container 13b (cup, drug container, drug container) with a lid 13a and an alignment board 13c (rotor, alignment member) provided with a partition 13d (molded blade, wing-like protrusion, alignment member). , The discharge member) is attached to the frame plate 13e (the detachable coupling portion), and when the alignment plate 13c is rotated via the cylinder portion 13g (detachable transmission member), the medicine in the container portion 13b 1 enters one after another between the partition walls 13d and is aligned, and falls one by one from the discharge port 13f.

ベース部30は、薬剤フィーダ格納庫12に取り付けられたベース13k(基本の固定部材)と、これに固設されたモータ13j(駆動源)と、その回転軸に連結されたスプライン軸13i(着脱式伝動部材)とを具えており、薬剤カセット20の着脱を容易に行えるよう、装着に伴ってスプライン軸13iが筒部13gに嵌入し、その状態ではモータ13jの回転がスプライン軸13iを介して筒部13gに伝達されるようになっている。ベース13kには貫通口13h(薬剤の落下路)も形成されており、これは薬剤カセット20の装着時に排出口13fと連通するようになっている。   The base unit 30 includes a base 13k (basic fixing member) attached to the medicine feeder storage 12, a motor 13j (drive source) fixed thereto, and a spline shaft 13i (detachable) connected to the rotation shaft thereof. The spline shaft 13i is fitted into the cylindrical portion 13g with the attachment so that the medicine cassette 20 can be easily attached and detached. In this state, the rotation of the motor 13j is cylindrical via the spline shaft 13i. It is transmitted to the part 13g. The base 13k is also formed with a through-hole 13h (medicine drop path), which communicates with the discharge port 13f when the drug cassette 20 is mounted.

このようなベース部30を多数装備した錠剤分包機100では(図1(c)参照)、薬剤フィーダ格納庫12には上下に延びた導管14が組み込まれるとともに、可換フィーダ格納庫110にも上下に延びた導管140が組み込まれており、各薬剤フィーダ13,130の排出口13fは、ベース13kの貫通口13h及び適宜の延長管路等を経て、それぞれ近くの導管14,140に連通している。そして、薬剤フィーダ13,130から排出された薬剤1が、貫通口13hを経て導管14,140へ導かれ、導管14,140内を自然落下して、収集部材15へ案内されるようになっている。収集部材15は、薬品庫11の下方であって包装装置17の上方にあたるところに組み込まれ、上部開口が総ての導管14の下端をカバーするほどに大きく開く一方、下部開口が包装装置17の薬剤投入部16に向けて絞られており、何れの導管14,140によって案内された薬剤1でも下部開口へ向けて集めて包装装置17へ送り込むようになっている。   In the tablet packaging machine 100 equipped with a large number of such base portions 30 (see FIG. 1 (c)), the drug feeder storage 12 incorporates a vertically extending conduit 14, and the replaceable feeder storage 110 also moves up and down. An extended conduit 140 is incorporated, and the discharge port 13f of each of the drug feeders 13 and 130 communicates with the nearby conduits 14 and 140 via the through-hole 13h of the base 13k and an appropriate extension line, respectively. . Then, the medicine 1 discharged from the medicine feeders 13 and 130 is guided to the conduits 14 and 140 through the through-holes 13h, spontaneously falls in the conduits 14 and 140, and is guided to the collecting member 15. Yes. The collecting member 15 is incorporated below the chemical container 11 and above the packaging device 17, and opens wide enough that the upper opening covers the lower ends of all the conduits 14, while the lower opening is the packaging device 17. It is squeezed toward the medicine charging section 16, and the medicine 1 guided by any of the conduits 14 and 140 is collected toward the lower opening and sent to the packaging device 17.

図示は割愛したが、導管14,140や収集部材15における薬剤収集経路には落下薬剤を一時貯留しておくためのシャッター部材が組み込まれており、幾つかの薬剤フィーダ13,130から排出され一緒に分包すべき薬剤1は、各導管14,140から収集部材15内へ落下するタイミングや、収集部材15の下方の出口から包装装置17の薬剤投入部16へ投入されるタイミングを揃えるのが可能なようになっている。このような薬剤収集経路を経て、薬剤1は、包装装置17によって包装帯2に分包される。包装装置17は、包装帯2を所定長ずつ送り出すとともに加熱シーリングしながら分包を行う。このように、薬剤の自動分包に際し、薬剤1が適宜の薬剤フィーダ13から収集機構14,15を経て包装装置17へ一錠またはその倍数ごとに供給されるようになっている。   Although illustration is omitted, a shutter member for temporarily storing the dropped drug is incorporated in the drug collection paths in the conduits 14 and 140 and the collection member 15, which are discharged from several drug feeders 13 and 130 together. The medicines 1 to be packaged are arranged at the same timing when they fall into the collecting member 15 from the respective conduits 14 and 140 and when they are put into the medicine feeding part 16 of the packaging device 17 from the outlet below the collecting member 15. It is possible. Through such a medicine collection route, the medicine 1 is packaged into the packaging band 2 by the packaging device 17. The packaging device 17 delivers the packaging band 2 by a predetermined length and performs packaging while heating and sealing. As described above, when the medicine is automatically packaged, the medicine 1 is supplied from the appropriate medicine feeder 13 through the collecting mechanisms 14 and 15 to the packaging device 17 in one tablet or multiples thereof.

各薬剤フィーダ13,130には(図2参照)、更に、ベース部30に装着した薬剤カセット20が適切なものか否かを確認するために、識別情報を読み取って照合を行う照合手段も付設されている。すなわち、薬剤カセット20には、識別情報を保持する識別情報担体21が付けられ、ベース部30には、識別情報担体21から識別情報を読み取る読取装置31と、メモリを内蔵したワンチップタイプのマイクロプロセッサ40とが付設されている。識別情報担体21は、白か黒のマークが例えば11個一列に並んだ読取面を持つシールであり、薬剤カセット20の下面に貼付されている。読取装置31は、識別情報担体21のマークと同数の反射型フォトセンサを同じく一列に配置したものであり、ベース部30の上面に設けられている。そして、ベース部30に薬剤カセット20を装着した状態では、読取装置31と識別情報担体21とが読取可能に対向するようになっている。   Each of the drug feeders 13 and 130 (see FIG. 2) is further provided with a verification means for reading and verifying the identification information in order to confirm whether or not the drug cassette 20 mounted on the base unit 30 is appropriate. Has been. That is, an identification information carrier 21 that holds identification information is attached to the medicine cassette 20, and a reading device 31 that reads the identification information from the identification information carrier 21 and a one-chip type micro that has a memory built in the base portion 30. A processor 40 is attached. The identification information carrier 21 is a seal having a reading surface in which, for example, 11 white or black marks are arranged in a line, and is attached to the lower surface of the medicine cassette 20. The reading device 31 has the same number of reflective photosensors as the marks on the identification information carrier 21 arranged in a row, and is provided on the upper surface of the base portion 30. In a state where the medicine cassette 20 is mounted on the base portion 30, the reading device 31 and the identification information carrier 21 face each other so as to be readable.

読取装置31の読取結果を用いた照合を各々の薬剤フィーダ13,130で具体的にはベース部30で行うために、読取装置31は一緒に付設されているマイクロプロセッサ40に接続されており、そのマイクロプロセッサ40のメモリ50に照合データ51が記憶され、その照合データ51と読取装置31の読取結果とを比較する照合ルーチン47がマイクロプロセッサ40にインストールされている(図2(f),(g)参照)。マイクロプロセッサ40には、更に、棚内配線62を拡張した棚内配線162を介して棚制御回路161,163と信号送受を行うために、IOルーチン41がインストールされている。   In order to perform collation using the reading result of the reading device 31 in each medicine feeder 13, 130, specifically, in the base unit 30, the reading device 31 is connected to a microprocessor 40 attached together, Collation data 51 is stored in the memory 50 of the microprocessor 40, and a collation routine 47 for comparing the collation data 51 with the reading result of the reading device 31 is installed in the microprocessor 40 (FIG. 2 (f), ( g)). Further, an IO routine 41 is installed in the microprocessor 40 in order to perform signal transmission / reception with the shelf control circuits 161 and 163 via the in-shelf wiring 162 obtained by extending the in-shelf wiring 62.

さらに、ベース部30には(図2参照)、例えば緑色LEDからなり点灯可能な表示器32が、視認しやすく設けられている。表示器32は、第一群の薬剤フィーダ13のベース部30では通信可能状態や薬剤排出不能状態などを示すのに用いられるが、第二群の薬剤フィーダ130のベース部30では、付け替えるべき薬剤カセット20の装着箇所を案内するのに用いられる。図示した表示器32は各ベース部30に一個であるが、例えば色の異なる複数個の表示器32をベース部30に付設して、機能に応じて使い分けるようにしても良い。その他、ベース部30には、貫通口13hにおける薬剤1の通過を検出する排出センサ33や、薬剤カセット20がベース部30に装着されているか否かを検出する例えばメカニカルスイッチ等の着脱センサ34が、付設されている。照合機能の拡張機能を作動させるときに操作する手動スイッチ35も、小さな穴の中などに隠された状態で、設けられている。   Furthermore, the base unit 30 (see FIG. 2) is provided with a display 32 that is made of, for example, a green LED and can be turned on easily. The display 32 is used to indicate a communicable state, a medicine discharge impossible state, and the like in the base part 30 of the first group of medicine feeders 13, but in the base part 30 of the second group of medicine feeders 130, the medicine to be replaced is used. It is used to guide the mounting location of the cassette 20. The number of the display devices 32 shown in the figure is one for each base unit 30. However, for example, a plurality of display devices 32 having different colors may be attached to the base unit 30 and used depending on the function. In addition, the base unit 30 includes a discharge sensor 33 that detects passage of the medicine 1 through the through-hole 13h, and an attachment / detachment sensor 34 such as a mechanical switch that detects whether or not the medicine cassette 20 is mounted on the base part 30. It is attached. A manual switch 35 that is operated when the extended function of the collation function is activated is also provided in a state of being hidden in a small hole or the like.

これら(32,33,34,35)も、読取装置31やモータ13jと同様、マイクロプロセッサ40に接続されていて、その制御を受けるようになっている。そのうち表示器32や,排出センサ33,着脱センサ34,モータ13jは、それらと棚制御回路161,163との間に棚内配線162だけでなくマイクロプロセッサ40も介在しているが、IOルーチン41の信号転送処理によって、棚内配線62で棚制御回路61の直接制御を受けていたときとほぼ同様に、棚制御回路161,163と信号を送受して棚制御回路161,163の制御に従うようになっている。読取装置31の読取結果は、上述の如く照合ルーチン47に引き渡されるようになっており、手動スイッチ35の操作状態は、後述の退避回復ルーチン47aや上書ルーチン47bに引き渡されるようになっている。   These (32, 33, 34, 35) are also connected to the microprocessor 40 and are controlled by them, like the reading device 31 and the motor 13j. Among them, the display 32, the discharge sensor 33, the attachment / detachment sensor 34, and the motor 13j have not only the in-shelf wiring 162 but also the microprocessor 40 between them and the shelf control circuits 161 and 163. As in the case of receiving the direct control of the shelf control circuit 61 by the in-shelf wiring 62, the signal transfer process in FIG. 3 sends and receives signals to and from the shelf control circuits 161 and 163 so as to follow the control of the shelf control circuits 161 and 163. It has become. The reading result of the reading device 31 is delivered to the collation routine 47 as described above, and the operation state of the manual switch 35 is delivered to an evacuation recovery routine 47a and an overwriting routine 47b described later. .

マイクロプロセッサ40の機能を詳述すると(図2(f),(g)参照)、照合ルーチン47は、薬剤フィーダ13でも薬剤フィーダ130でも、ベース部30に薬剤カセット20が装着されたとき、あるいは装着時に加えて装着継続中にも適宜、照合データ51に予め記憶していた照合データ51と読取装置31の読取結果とを比較するものである。照合データ51は、読取装置31の読取結果と比較すればそれらが一致するか否かが直ちに判明するよう、識別情報担体21のマークと同じ例えば11ビットのデータになっている。そして、その比較結果が不一致のとき、照合ルーチン47は、該当するベース部30の排出駆動を止めるため、その旨の通知信号をIOルーチン41及び棚内配線162経由で棚制御回路161,163に送出するようになっている。一方、識別情報担体21の読取結果とメモリ50の照合データ51との比較結果が一致しているときには、該当するベース部30の排出駆動を可能とするため、その旨の通知信号をIOルーチン41及び棚内配線162経由で棚制御回路161,163に送出するようになっている。   The function of the microprocessor 40 will be described in detail (see FIGS. 2 (f) and 2 (g)). The collation routine 47 is performed when the medicine cassette 20 is mounted on the base 30 in the medicine feeder 13 or the medicine feeder 130, or The collation data 51 stored in the collation data 51 in advance and the reading result of the reading device 31 are appropriately compared with each other during the mounting and during the mounting. The collation data 51 is, for example, 11-bit data that is the same as the mark of the identification information carrier 21 so that it can be immediately determined whether or not they match if compared with the reading result of the reading device 31. When the comparison result does not match, the matching routine 47 sends a notification signal to that effect to the shelf control circuits 161 and 163 via the IO routine 41 and the in-shelf wiring 162 in order to stop the discharge driving of the corresponding base unit 30. It is supposed to be sent out. On the other hand, when the comparison result between the reading result of the identification information carrier 21 and the comparison data 51 of the memory 50 matches, the IO base 41 sends a notification signal to that effect in order to enable the corresponding base unit 30 to be discharged. In addition, the information is sent to the shelf control circuits 161 and 163 via the in-shelf wiring 162.

メモリ50への照合データ51の書込は、汎用のROMライタや専用のライタからなるデータ書込治具を用い、その治具に単独のメモリ50を一時装着して指定アドレスに指定データを書き込むことで行っても良いが、上位卓190の薬品マスタテーブルに登録されている照合データを上位卓190からマイクロプロセッサ40にダウンロードすることでも行えるようになっている。また、可換性の重視される第二群に属する薬剤フィーダ130の場合、ベース部30に薬剤カセット20を装着してその識別情報をメモリ50に転写できれば便利であり誤記もないので、薬剤フィーダ130のベース部30のマイクロプロセッサ40には(図2(g)参照)、上述した照合ルーチン47に加えて、上書ルーチン47bもインストールされており、そのプログラム処理によって、手動スイッチ35が操作されると、そのときベース部30に装着されている薬剤カセット20の識別情報担体21から読取装置31で識別情報を読み取り、読み取った識別情報を照合データ51に上書き記憶するようになっている。   The verification data 51 is written to the memory 50 using a data writing jig composed of a general-purpose ROM writer or a dedicated writer, and a single memory 50 is temporarily mounted on the jig and the specified data is written to a specified address. However, the verification data registered in the medicine master table of the upper desk 190 can be downloaded from the upper desk 190 to the microprocessor 40. Further, in the case of the medicine feeder 130 belonging to the second group where commutability is regarded as important, it is convenient and error-free if the medicine cassette 20 is attached to the base portion 30 and the identification information can be transferred to the memory 50. In addition to the above-described collation routine 47, an overwriting routine 47b is also installed in the microprocessor 40 of the 130 base unit 30 (see FIG. 2G), and the manual switch 35 is operated by the program processing. Then, the identification information is read by the reading device 31 from the identification information carrier 21 of the medicine cassette 20 mounted on the base 30 at that time, and the read identification information is overwritten and stored in the collation data 51.

これに対し、安全性の重視される第一群に属する薬剤フィーダ13の場合、そのベース部30のマイクロプロセッサ40には(図2(f)参照)、上述した照合ルーチン47に加えて、照合手段の機能を一時停止させる照合回避手段としての退避回復ルーチン47aがインストールされており、それが使用する退避データ52の領域もメモリ50に確保されている。退避回復ルーチン47aは、手動スイッチ35が操作されると、照合データ51の現在値を退避データ52に転写してから照合データ51をゼロクリアし、手動スイッチ35が更にもう一度操作されると、退避データ52に退避しておいた値を照合データ51に書き戻すようになっている。それに対応して、照合ルーチン47は、照合データ51がゼロクリアされている間、比較処理・照合処理を行わないようになっている。   On the other hand, in the case of the medicine feeder 13 belonging to the first group where safety is important, the microprocessor 40 of the base unit 30 (see FIG. 2 (f)), in addition to the above-described verification routine 47, verification A save / recovery routine 47a as a check avoidance means for temporarily stopping the function of the means is installed, and an area of save data 52 used by the save / recovery routine 47a is also secured in the memory 50. When the manual switch 35 is operated, the evacuation recovery routine 47a transfers the current value of the collation data 51 to the evacuation data 52 and then clears the collation data 51 to zero. When the manual switch 35 is further operated again, the evacuation data The value saved in 52 is written back to the collation data 51. Correspondingly, the collation routine 47 does not perform comparison processing / collation processing while the collation data 51 is cleared to zero.

このように、錠剤分包機100にあっては、多数装備されている各ベース部30に付設されたマイクロプロセッサ40のうち第一群に付設されたものには、照合手段に加えて照合回避手段が組み込まれ、これらは動作しうるが、上書手段は組み込まれていない。また、マイクロプロセッサ40のうち第二群に付設されたものには、照合手段に加えて上書手段が組み込まれ、これらは動作しうるが照合回避手段は組み込まれていない。さらに、照合回避手段は、照合データの退避手段および回復手段を含んだものであり、上書手段は、読取装置で読み取った識別情報を照合データに上書き記憶するものとなっている。   As described above, in the tablet packaging machine 100, the collation avoidance means in addition to the collation means are included in the ones attached to the first group among the microprocessors 40 attached to the respective base units 30 equipped in large numbers. Are incorporated and these can operate, but no overriding means are incorporated. Further, in the microprocessor 40 attached to the second group, the overwriting means is incorporated in addition to the collating means, and these can operate but the collation avoiding means is not incorporated. Further, the collation avoiding means includes collation data saving means and recovery means, and the overwriting means overwrites and stores the identification information read by the reader on the collation data.

一方(図3参照)、上位卓190は、ベース部30の群分けに対応して薬剤排出指令を使い分けるものとなっているが、その機能拡張に際して、上述の錠剤分包機100だけの場合に限らずそれと既述の錠剤分包機10とが混在している場合でも統合管理できるように工夫されている。具体的には(図4(a)参照)、薬品マスタテーブルの各レコードにおいて、従来は拡張用に確保され未使用であった拡張用未使用領域の一部が拡張機能用項目「ACフラグ」に割り当てられ、該当する薬剤カセット20が第一群の薬剤フィーダ13のものであるときにはACフラグがオフにされ、該当する薬剤カセット20が第二群の薬剤フィーダ130のものであるときにはACフラグがオンにされている。この薬品マスタテーブル拡張作業は、錠剤分包機100の設置時に初期化作業としてテーブル編集プログラム等を利用して行われるが、既設の錠剤分包機10についてはテーブル更新作業を省けるよう、ACフラグのオフ値は拡張用未使用領域のゼロクリア値と同じになっている。   On the other hand (see FIG. 3), the upper desk 190 uses different medicine discharge commands corresponding to the grouping of the base unit 30, but it is limited to the case of only the above-described tablet packaging machine 100 when expanding its function. It is devised so that it can be integratedly managed even when it is mixed with the above-described tablet packaging machine 10. Specifically, in each record of the medicine master table (see FIG. 4A), a part of the unused area for expansion that has been reserved and unused in the past is an item “AC flag” for the extended function. The AC flag is turned off when the corresponding medicine cassette 20 belongs to the first group of medicine feeders 13, and the AC flag is turned off when the corresponding medicine cassette 20 belongs to the second group of medicine feeders 130. Turned on. This medicine master table expansion work is performed using a table editing program or the like as an initialization work when the tablet packaging machine 100 is installed, but the AC flag is turned off for the existing tablet packaging machine 10 so that the table updating work can be omitted. The value is the same as the zero clear value of the unused area for expansion.

また(図4(b)参照)、上位卓190は、第一群の薬剤フィーダ13に宛てて薬剤排出指令を作成するときには、従来の上位卓9と同様に薬品マスタテーブルから抽出したフィーダ格納アドレス(薬剤フィーダ格納庫に係る薬剤フィーダ格納アドレス)を宛先に含ませて指令を作成し、更にそれにオフのACフラグを付加するようになっている。さらに(図4(c)参照)、上位卓190は、第二群の薬剤フィーダ130に宛てて薬剤排出指令を作成するときには、従来の上位卓9と異なり薬品マスタテーブルからフィーダ格納アドレスでなく照合データ(カセット識別情報との比較データ)を抽出して、これを宛先に含ませて指令を作成し、更にそれにオンのACフラグを付加するようになっている。   Further, (see FIG. 4B), when the upper desk 190 creates a medicine discharge command addressed to the first group of medicine feeders 13, the feeder storage address extracted from the medicine master table as in the conventional upper desk 9 A command is created by including (drug feeder storage address related to the medicine feeder storage) as a destination, and an off AC flag is added thereto. Further (see FIG. 4 (c)), when creating a medicine discharge command addressed to the second group of medicine feeders 130, the upper table 190, unlike the conventional upper table 9, checks not the feeder storage address from the medicine master table. Data (comparison data with cassette identification information) is extracted, this is included in the destination, a command is created, and an ON AC flag is added thereto.

各種の薬剤を収容した薬剤カセット20が第一群と第二群の何れに属するかは、ACフラグで判別されるので、各薬剤カセット20に付される識別情報の内容は群分けに拘束されないが、動作チェックの容易化等のため、この例では、値“1”〜“500”の識別情報は第一群に割り当て、値“501”〜“2000”の識別情報は第二群に割り当てている。なお、値“0”は、照合回避時の照合データ51のゼロクリア値と重なるので、薬剤カセット20の識別情報には使われない。また、ベース部30は第一群が多数で第二群が少数であるが、薬剤カセット20については、第二群のものが付け替えて使用されるので、第二群が多数であっても差し支えない。   Since the AC flag determines whether the medicine cassette 20 containing various medicines belongs to the first group or the second group, the content of the identification information attached to each medicine cassette 20 is not restricted by grouping. However, in order to facilitate the operation check, in this example, identification information of values “1” to “500” is assigned to the first group, and identification information of values “501” to “2000” is assigned to the second group. ing. Since the value “0” overlaps with the zero clear value of the collation data 51 at the time of avoiding collation, it is not used for the identification information of the medicine cassette 20. Further, the base unit 30 has a large number of the first group and a small number of the second group. However, since the medicine cassette 20 is used by replacing the second group, there may be a large number of the second group. Absent.

棚制御回路161は(図5参照)、やはりマイクロプロセッサ等からなり、個別の棚内配線162を介して数個〜数十個の薬剤フィーダ13(第一群のベース部30)を制御するために、通信手段としての通信ルーチン42aと、薬剤排出の有無や適否を検知する排出検知ルーチン43と、ポートテーブル44aにアクセスするテーブル検索ルーチン44と、カセット着脱検知手段としての着脱検知ルーチン45と、送信手段としての情報送信ルーチン46と、排出駆動制御手段としての排出制御ルーチン48とが、インストールされている。   The shelf control circuit 161 (see FIG. 5) is also composed of a microprocessor or the like, and controls several to several tens of drug feeders 13 (the first group of base units 30) via individual intra-shelf wirings 162. In addition, a communication routine 42a as a communication means, a discharge detection routine 43 for detecting the presence / absence or suitability of medicine discharge, a table search routine 44 for accessing the port table 44a, a detachment detection routine 45 as a cassette detachment detection means, An information transmission routine 46 as transmission means and a discharge control routine 48 as discharge drive control means are installed.

通信ルーチン42aは、装置内通信手段60を介して、上位卓190や場合によってはコントローラ180から指令を受信するとともに、上位卓190等へステータスやデータを送信するものである。受け取る指令には薬剤排出指令や情報アップロード指令などがあるが、ここでは薬剤排出指令の処理について詳述する。通信ルーチン42aは、薬剤排出指令を受信すると、それに含まれているACフラグをチェックして、ACフラグがオンであれば指令を無視するが、ACフラグがオフの場合は、その指令をテーブル検索ルーチン44に引き渡すようになっている。   The communication routine 42a receives commands from the upper desk 190 or the controller 180 in some cases via the in-device communication means 60, and transmits status and data to the upper desk 190 and the like. The received command includes a drug discharge command and an information upload command. Here, the processing of the drug discharge command will be described in detail. When the communication routine 42a receives the medicine discharge command, it checks the AC flag included therein and ignores the command if the AC flag is on. If the AC flag is off, the command is searched for a table. The routine 44 is handed over.

テーブル検索ルーチン44は、通信ルーチン42aから受けた薬剤排出指令からフィーダ格納アドレスを抽出し、それをキーにしてポートテーブル44aを検索する。ポートテーブル44aには、棚制御回路161の制御下にある薬剤フィーダ13の個数だけ有効なレコードがあり、各レコードには、フィーダ格納アドレスとカセット脱着状態とIOポート番号といった項目が含まれている。このポートテーブル44aにおいてフィーダ格納アドレスが薬剤排出指令のそれと一致するレコードからIOポート番号を抽出することにより、テーブル検索ルーチン44は、排出動作させるべき薬剤フィーダ13を、具体的には信号送出先の棚内配線162及びマイクロプロセッサ40を、特定する。そして、その薬剤フィーダ13に薬剤カセット20が装着されていれば、薬剤排出指令を排出制御ルーチン48に引き渡し、装着されていなければ情報送信ルーチン46に指示してカセット非装着の報告を上げさせるようになっている。   The table search routine 44 extracts a feeder storage address from the medicine discharge command received from the communication routine 42a, and searches the port table 44a using it as a key. In the port table 44a, there are records as many as the number of medicine feeders 13 under the control of the shelf control circuit 161, and each record includes items such as a feeder storage address, a cassette detachment state, and an IO port number. . By extracting the IO port number from the record whose feeder storage address matches that of the medicine discharge command in this port table 44a, the table search routine 44 specifies the medicine feeder 13 to be discharged, specifically the signal destination. The in-shelf wiring 162 and the microprocessor 40 are specified. If the medicine cassette 20 is attached to the medicine feeder 13, the medicine discharge command is delivered to the discharge control routine 48. If not, the information transmission routine 46 is instructed to raise a cassette non-attachment report. It has become.

着脱検知ルーチン45は、薬剤フィーダ13のベース部30に対する薬剤カセット20の着脱状態を監視して、それの状態が変わる度にポートテーブル44aの該当項目を更新するものである。具体的には、薬剤フィーダ13のベース部30の着脱センサ34の検出出力をマイクロプロセッサ40経由で入力して、その検出値の変化に基づき又は着脱時の有意信号出力に基づき、ベース部30に薬剤カセット20が装着されたこと、及びベース部30から薬剤カセット20が取り外されたことを検知し、その旨の情報をポートテーブル44aにおけるカセット脱着状態の項目に書き込むとともに、情報送信ルーチン46に指示してカセット脱着の報告を上げさせるようになっている。   The attachment / detachment detection routine 45 monitors the attachment / detachment state of the medicine cassette 20 with respect to the base portion 30 of the medicine feeder 13, and updates the corresponding item in the port table 44a every time the state changes. Specifically, the detection output of the attachment / detachment sensor 34 of the base part 30 of the medicine feeder 13 is input via the microprocessor 40, and the base part 30 is supplied based on the change in the detection value or the significant signal output at the time of attachment / detachment. It is detected that the medicine cassette 20 has been attached and that the medicine cassette 20 has been removed from the base portion 30, and information to that effect is written in the item of the cassette removal state in the port table 44a and an instruction is sent to the information transmission routine 46 As a result, reports of cassette removal are raised.

排出制御ルーチン48は、テーブル検索ルーチン44から薬剤排出指令とIOポート番号を受け取ると、そのIOポート番号で特定される棚内配線162及びマイクロプロセッサ40を介して、該当する薬剤フィーダ13のモータ13jを回転させ、薬剤排出指令で指定された錠数・個数だけ薬剤1が排出されたのを排出センサ33の検出にて確認したらモータ13jを停止させるようになっている。該当する薬剤フィーダ13の排出センサ33の検出は、そのベース部30に付設されているマイクロプロセッサ40及び接続されている棚内配線162を介して、排出検知ルーチン43により入力され、排出検知ルーチン43から排出制御ルーチン48に引き渡されるようになっている。また、排出制御ルーチン48は、薬剤フィーダ13のマイクロプロセッサ40の照合ルーチン47から棚内配線162を介して照合不成立の通知を受けたとき及びその後は、薬剤排出指令を受け取っても、モータ13jを回転させないようになっている。照合ルーチン47から照合成立の通知を受けたとき及びその後は、薬剤排出指令を受け取ると、それに応じて、薬剤排出指令に従うモータ13jの回転を再開するようになっている。   Upon receiving the medicine discharge command and the IO port number from the table search routine 44, the discharge control routine 48 receives the motor 13j of the corresponding medicine feeder 13 via the in-shelf wiring 162 and the microprocessor 40 specified by the IO port number. And the motor 13j is stopped when it is confirmed by the detection of the discharge sensor 33 that the drug 1 has been discharged by the number and the number of tablets designated by the drug discharge command. The detection of the discharge sensor 33 of the corresponding medicine feeder 13 is input by the discharge detection routine 43 via the microprocessor 40 attached to the base portion 30 and the connected in-shelf wiring 162, and the discharge detection routine 43 To the discharge control routine 48. Further, when the discharge control routine 48 receives a notification that the verification is not established from the verification routine 47 of the microprocessor 40 of the drug feeder 13 via the in-shelf wiring 162, and thereafter, even if a drug discharge command is received, the motor 13j is turned on. It is designed not to rotate. When receiving a notification of verification completion from the verification routine 47 and thereafter, upon receiving a drug discharge command, the rotation of the motor 13j according to the drug discharge command is resumed accordingly.

棚制御回路163も(図5参照)、棚制御回路161同様、マイクロプロセッサ等からなり、通信手段としての通信ルーチン42bと、薬剤排出の有無や適否を検知する排出検知ルーチン43と、ポートテーブル44bにアクセスするテーブル検索ルーチン44と、カセット着脱検知手段としての着脱検知ルーチン45と、送信手段としての情報送信ルーチン46と、排出駆動制御手段としての排出制御ルーチン48とが、インストールされている。制御下の数個〜数十個のマイクロプロセッサ40と個別の棚内配線162を介して信号送受可能に接続されているのも棚制御回路161と同じであるが、棚制御回路161と異なり制御対象が薬剤フィーダ130(第二群のベース部30)なので、通信ルーチン42bやポートテーブル44bが通信ルーチン42aやポートテーブル44aと一部異なっている。   Similarly to the shelf control circuit 161, the shelf control circuit 163 is composed of a microprocessor or the like, and includes a communication routine 42b as a communication means, a discharge detection routine 43 for detecting whether or not medicine is discharged, and a port table 44b. A table search routine 44 for accessing the data, a detachment detection routine 45 as a cassette detachment detection means, an information transmission routine 46 as a transmission means, and a discharge control routine 48 as a discharge drive control means are installed. It is the same as the shelf control circuit 161 that it is connected to several to several tens of microprocessors 40 under control so as to be able to send and receive signals via individual in-shelf wirings 162, but unlike the shelf control circuit 161, it is controlled. Since the target is the medicine feeder 130 (second group base unit 30), the communication routine 42b and the port table 44b are partially different from the communication routine 42a and the port table 44a.

詳述すると、通信ルーチン42bは、装置内通信手段60を介して、上位卓190や場合によってはコントローラ180から指令を受信するとともに、上位卓190等へステータスやデータを送信するものであり、受け取る指令に薬剤排出指令や情報アップロード指令などがある。ここまでは通信ルーチン42aと同様であるが、処理する薬剤排出指令が通信ルーチン42aと異なる。すなわち、通信ルーチン42bは、薬剤排出指令を受信すると、それに含まれているACフラグをチェックして、ACフラグがオフであれば指令を無視するが、ACフラグがオンの場合は、その指令をテーブル検索ルーチン44に引き渡すのである。これにより、薬剤排出指令がACフラグのオン/オフに応じて通信ルーチン42a/42bひいては第一群の薬剤フィーダ13/第二群の薬剤フィーダ130に振り分けられるようになっている。   More specifically, the communication routine 42b receives commands from the upper table 190 or the controller 180 in some cases via the in-device communication means 60, and transmits and receives status and data to the upper table 190 and the like. The commands include a medicine discharge command and an information upload command. The process so far is similar to the communication routine 42a, but the medicine discharge command to be processed is different from the communication routine 42a. That is, when the communication routine 42b receives the medicine discharge command, the communication routine 42b checks the AC flag included therein and ignores the command if the AC flag is off. If the AC flag is on, the communication routine 42b It is handed over to the table search routine 44. As a result, the medicine discharge command is distributed to the communication routines 42a / 42b and the first group of medicine feeders 13 / second group of medicine feeders 130 in accordance with ON / OFF of the AC flag.

ポートテーブル44bは、ACフラグがオフになっている薬剤排出指令の宛先にはフィーダ格納アドレスでなく照合データが含められていることに対応して、各レコードに照合データとカセット脱着状態とIOポート番号といった項目が含まれている。ポートテーブル44bには、棚制御回路163の制御下にある薬剤フィーダ130(より具体的には第二群のベース部30)の個数だけ有効なレコードがある。
そして、これを検索するテーブル検索ルーチン44は、通信ルーチン42bから受けた薬剤排出指令から照合データを抽出し、それをキーにしてポートテーブル44bを検索するようになっている。
Corresponding to the fact that collation data is included in the destination of the medicine discharge command for which the AC flag is off, not the feeder storage address, the port table 44b includes collation data, cassette detachment status, and IO port in each record. Items such as numbers are included. There are as many records in the port table 44b as the number of medicine feeders 130 (more specifically, the second group of base units 30) under the control of the shelf control circuit 163.
Then, the table search routine 44 that searches for this extracts the collation data from the medicine discharge command received from the communication routine 42b, and searches the port table 44b using it as a key.

その検索が成功して、ポートテーブル44bにおいて照合データが薬剤排出指令のそれと一致するレコードからIOポート番号が抽出できたとき、テーブル検索ルーチン44は、上述したように、排出動作させるべき薬剤フィーダ130(より具体的には信号送出先の棚内配線162及びマイクロプロセッサ40)を特定し、更にその薬剤フィーダ130に薬剤カセット20が装着されていれば、薬剤排出指令を排出制御ルーチン48に引き渡すようになっている。これに対し、特定した薬剤フィーダ130に薬剤カセット20が装着されていないときには、特定した薬剤フィーダ130のベース部30に付設された表示器32をカセット装着先ベース案内のために点灯させ、所望の薬剤カセット20が装着されたら、表示器32を消灯させて、薬剤排出指令を排出制御ルーチン48に引き渡すようになっている。   When the search is successful and the IO port number can be extracted from the record whose collation data matches that of the medicine discharge command in the port table 44b, the table search routine 44, as described above, the medicine feeder 130 to be discharged. (More specifically, the signal transmission destination in-shelf wiring 162 and the microprocessor 40) are specified, and if the medicine cassette 20 is attached to the medicine feeder 130, the medicine discharge command is delivered to the discharge control routine 48. It has become. On the other hand, when the medicine cassette 20 is not attached to the specified medicine feeder 130, the indicator 32 attached to the base portion 30 of the specified medicine feeder 130 is lit to guide the cassette attachment destination base, When the medicine cassette 20 is mounted, the display 32 is turned off, and a medicine discharge command is delivered to the discharge control routine 48.

ポートテーブル44bの検索が失敗したとき、テーブル検索ルーチン44は、ポートテーブル44bの各レコードのうち更新時期の最も古いものを選出して、その照合データを薬剤排出指令のそれで書き換え更新するとともに、その照合データを、該当レコードに含まれているIOポート番号で特定される薬剤フィーダ130のベース部30のマイクロプロセッサ40に送出して、そのマイクロプロセッサ40の照合データ51を更新させるようになっている。さらに、特定した薬剤フィーダ130のベース部30に付設された表示器32をカセット装着先ベース案内のために点灯させ、所望の薬剤カセット20が装着されたら又は所望の薬剤カセット20に付け替えられたら、表示器32を消灯させて、薬剤排出指令を排出制御ルーチン48に引き渡すようになっている。   When the search of the port table 44b fails, the table search routine 44 selects the record with the oldest update time from each record of the port table 44b, rewrites and updates the collation data with that of the medicine discharge command, and The collation data is sent to the microprocessor 40 of the base unit 30 of the medicine feeder 130 specified by the IO port number included in the corresponding record, and the collation data 51 of the microprocessor 40 is updated. . Further, the indicator 32 attached to the base portion 30 of the specified medicine feeder 130 is turned on for guiding the cassette mounting destination base, and when the desired medicine cassette 20 is attached or replaced with the desired medicine cassette 20, The display 32 is turned off, and the medicine discharge command is delivered to the discharge control routine 48.

テーブル検索ルーチン44は、ベース部30に付設された表示器32のうち所望の何れかをカセット装着先ベース案内のために点灯させるとき、目立つよう、それ以外に近隣の表示器32も幾つか点灯させるようになっている。点灯パターンは、いろいろあるが、この例では、同じ棚板の表示器32を一斉に点灯させた後、遠くのものから順に消灯させて、点灯箇所を所望の表示器32のところに絞り込む、というパターンを繰り返すようになっている。なお、このようなカセット装着先ベース案内の点灯は、可換フィーダ格納庫110に格納され可換性の重視される第二群の薬剤フィーダ130にとって重要であるが、薬剤フィーダ格納庫12に格納され安全性の重視される第一群の薬剤フィーダ13にとっても薬剤補充時等に役立つ機能である。薬剤カセット20の装着や付け替えを促すとき、テーブル検索ルーチン44は、表示器32を点灯させる他、その旨の表示を依頼する電文を情報送信ルーチン46に指示してコントローラ180や上位卓190に上げさせるようにもなっている。   When the table search routine 44 lights any one of the indicators 32 attached to the base unit 30 for guiding the cassette mounting destination base, other neighboring indicators 32 are also lit. It is supposed to let you. Although there are various lighting patterns, in this example, after the indicators 32 on the same shelf are turned on all at once, they are turned off in order from the farther away, and the lighting location is narrowed down to the desired indicator 32. The pattern is repeated. Such lighting of the cassette mounting destination base guide is important for the second group of medicine feeders 130 which are stored in the exchangeable feeder storage 110 and the exchangeability is important, but are stored in the medicine feeder storage 12 for safety. This function is also useful for the first group of medicine feeders 13 where importance is placed on sex when supplementing medicines. When urging the user to attach or change the medicine cassette 20, the table search routine 44 turns on the display 32 and instructs the information transmission routine 46 to send a message requesting the display to the controller 180 or the upper desk 190. It is supposed to let you.

コントローラ180(錠剤分包機メインコントローラ)は、上位卓190から下された薬剤排出指令を監視しており、薬剤排出指令のACフラグがオフで宛先にフィーダ格納アドレスが含まれているときには、コントローラ18同様、薬剤フィーダ13からの薬剤落下時間をフィーダ格納アドレス中の段アドレス等から推定して、薬剤収集経路14,15のシャッター開閉タイミングや包装装置17の動作タイミング等を可変するが、薬剤排出指令のACフラグがオンで宛先に照合データが含まれフィーダ格納アドレスが含まれていないときには、コントローラ18と異なり、薬剤フィーダ130からの薬剤落下時間の推定値に、可換フィーダ格納庫110に装備されている各ベース部30(即ち第二群の薬剤フィーダ130のベース部30)の薬剤落下時間のうち最も長いものを採用するようになっている。   The controller 180 (tablet packaging machine main controller) monitors the medicine discharge command issued from the high-level console 190. When the AC flag of the medicine discharge command is OFF and the feeder storage address is included in the destination, the controller 18 Similarly, the medicine fall time from the medicine feeder 13 is estimated from the stage address in the feeder storage address, and the shutter opening / closing timing of the medicine collection paths 14 and 15 and the operation timing of the packaging device 17 are varied. Unlike the controller 18, the estimated value of the medicine drop time from the medicine feeder 130 is installed in the replaceable feeder storage 110 when the AC flag is ON and the collation data is included in the destination and the feeder storage address is not included. Each base portion 30 (that is, the base portion 30 of the second group of medicine feeders 130) It is adapted to adopt the longest of the drug fall time.

この実施例1の薬剤フィーダ及び自動調剤装置について、その使用態様及び動作を、図面を引用して説明する。図6は、(a)〜(g)何れも可換フィーダ格納庫における表示器の点灯例であり、点滅状態を時系列で示している。   About the chemical | medical agent feeder and automatic dispensing apparatus of this Example 1, the use aspect and operation | movement are demonstrated referring drawings. FIGS. 6A to 6G are lighting examples of the indicator in the interchangeable feeder hangar, and show blinking states in time series.

上位卓190の管理下にある錠剤分包機10や錠剤分包機100に関係する処方箋データ又は派生した調剤データが上位卓190に入力されると、上位卓190は、薬品マスタテーブルを参照して、薬剤排出指令を作成し、それを装置内通信手段60経由で錠剤分包機10や錠剤分包機100に送信する。薬剤排出指令が錠剤分包機10宛の場合や錠剤分包機100のうち薬剤フィーダ格納庫12に格納されている第一群の薬剤フィーダ13に宛てたものである場合、薬剤排出指令はオフのACフラグが付加されていることを除けば従来と同じであり、分包対象の薬剤は薬品庫11に自動排出可能に収容されているのが常態なので、錠剤分包機100でも錠剤分包機10と同様に自動で錠剤分包が行われる。   When prescription data or derived dispensing data related to the tablet packaging machine 10 or the tablet packaging machine 100 under the control of the upper table 190 is input to the upper table 190, the upper table 190 refers to the medicine master table, A medicine discharge command is created and transmitted to the tablet packaging machine 10 and the tablet packaging machine 100 via the in-device communication means 60. When the medicine discharge command is addressed to the tablet packing machine 10 or when the medicine discharge command is addressed to the first group of drug feeders 13 stored in the drug feeder storage 12 in the tablet packing machine 100, the drug discharge command is set to the off AC flag. Is the same as the conventional one, except that the medicine to be packaged is normally stored in the medicine cabinet 11 so that it can be automatically discharged, so that the tablet packaging machine 100 is the same as the tablet packaging machine 10. Tablets are automatically packaged.

すなわち、薬剤排出指令が上位卓190から錠剤分包機100に送信されると、そのACフラグがオフなので、薬剤排出指令は、棚制御回路161にて受信されて、テーブル検索ルーチン44によるポートテーブル44aの検索に供される。そして、それで特定された薬剤フィーダ13のマイクロプロセッサ40と棚制御回路161の排出制御ルーチン48等の協動によって、薬剤排出指令で指定された薬剤1が指定錠数だけ薬剤フィーダ13から落下排出される。その薬剤1は、薬剤収集経路14,15を経て包装装置17の薬剤投入部16に投入され、包装装置17によって包装帯2に分包される。その際、薬剤排出指令がコントローラ180によっても監視されており、シャッター開閉等による薬剤1の落下タイミングや包装装置17による包装タイミングが、薬剤排出指令に宛先として含まれているフィーダ格納アドレスに応じて最適に調整される。   That is, when the medicine discharge command is transmitted from the upper desk 190 to the tablet packaging machine 100, the AC flag is turned off, so that the medicine discharge command is received by the shelf control circuit 161 and the port table 44a by the table search routine 44 is received. Served for search. Then, by the cooperation of the microprocessor 40 of the specified medicine feeder 13 and the discharge control routine 48 of the shelf control circuit 161 and the like, the medicine 1 designated by the medicine discharge command is dropped and discharged from the medicine feeder 13 by the specified number of tablets. The The medicine 1 is put into the medicine feeding section 16 of the packaging device 17 through the medicine collection paths 14 and 15 and is packaged in the packaging band 2 by the packaging device 17. At that time, the medicine discharge command is also monitored by the controller 180, and the drop timing of the medicine 1 due to opening and closing of the shutter and the packaging timing by the packaging device 17 are in accordance with the feeder storage address included as the destination in the medicine discharge command. It is adjusted optimally.

また、排出対象の薬剤フィーダ13の薬剤カセット20が空になったり装着されていないときには、着脱検知ルーチン45等での検知結果や情報送信ルーチン46での状態報告に基づいて、コントローラ180や上位卓190により薬剤補充やカセット装着を促すアラーム表示等が出される。それに応じて作業者が適宜な薬剤カセット20をベース部30に装着すると、そのベース部30では、その薬剤カセット20の識別情報担体21が読取装置31にて読み取られ、その識別情報とマイクロプロセッサ40のメモリ50に記憶されている照合データ51とが照合ルーチン47によって比較され、一致しなければ排出動作が止められるので、薬剤カセット20の誤装着による不適切な分包は未然に防止される。   Further, when the medicine cassette 20 of the medicine feeder 13 to be discharged is empty or not attached, the controller 180 and the upper table are based on the detection result in the attachment / detachment detection routine 45 and the status report in the information transmission routine 46. In 190, an alarm display or the like for prompting drug replenishment or cassette loading is issued. In response to this, when the operator attaches an appropriate medicine cassette 20 to the base portion 30, the identification information carrier 21 of the medicine cassette 20 is read by the reading device 31 in the base portion 30, and the identification information and the microprocessor 40 are read. The collation data 47 is compared with the collation data 51 stored in the memory 50. If they do not coincide with each other, the discharging operation is stopped, so that inappropriate packaging due to erroneous mounting of the medicine cassette 20 is prevented.

一方、薬剤排出指令が錠剤分包機100のうち可換フィーダ格納庫110に格納されている第二群の薬剤フィーダ130に宛てたものである場合、薬剤排出指令にはオンのACフラグが付加されるとともに、薬剤排出指令の宛先には、薬剤カセット20の識別情報と比較される照合データが含められる。この場合、薬剤排出指令が上位卓190から錠剤分包機100に送信されると、そのACフラグがオンなので、薬剤排出指令は、棚制御回路163にて受信されて、テーブル検索ルーチン44によるポートテーブル44bの検索に供される。そして、それで特定された薬剤フィーダ130のベース部30に、薬剤排出指令で指定された識別情報を持った薬剤カセット20が装着されていれば、その薬剤フィーダ130のマイクロプロセッサ40と棚制御回路163の排出制御ルーチン48等の協動によって、薬剤排出指令で指定された薬剤1が指定錠数だけ薬剤フィーダ130から落下排出される。その薬剤1は、薬剤フィーダ13のときと同様、薬剤収集経路140,15を経て包装装置17の薬剤投入部16に投入され、包装装置17によって包装帯2に分包されるが、その際のコントローラ180による落下タイミングや包装タイミングの調整は、薬剤フィーダ130のうち最長の薬剤落下時間を用いて、安全側にされる。   On the other hand, when the medicine discharge command is addressed to the second group of medicine feeders 130 stored in the replaceable feeder storage 110 in the tablet packaging machine 100, an ON AC flag is added to the medicine discharge command. At the same time, collation data to be compared with the identification information of the medicine cassette 20 is included in the destination of the medicine discharge command. In this case, when the medicine discharge command is transmitted from the upper desk 190 to the tablet packaging machine 100, the AC flag is turned on, so that the medicine discharge command is received by the shelf control circuit 163 and the port table by the table search routine 44 is received. 44b is used for the search. If the medicine cassette 20 having the identification information specified by the medicine discharge command is attached to the base portion 30 of the medicine feeder 130 specified by the medicine feeder 130, the microprocessor 40 and the shelf control circuit 163 of the medicine feeder 130 are attached. By the cooperation of the discharge control routine 48 and the like, the medicine 1 designated by the medicine discharge command is dropped and discharged from the medicine feeder 130 by the designated number of tablets. As in the case of the drug feeder 13, the drug 1 is loaded into the drug loading unit 16 of the packaging device 17 through the drug collection paths 140 and 15 and is packaged in the packaging band 2 by the packaging device 17. The adjustment of the drop timing and the packaging timing by the controller 180 is performed on the safe side using the longest drug drop time of the drug feeder 130.

また、薬剤排出指令に含められた照合データと一致する識別情報を持った薬剤カセット20が可換フィーダ格納庫110内のどのベース部30にも装着されていないときには、棚制御回路163のテーブル検索ルーチン44の電文送出に応じて、コントローラ180や上位卓190により薬剤カセット20の装着や付け替えを促すアラーム表示が出される。また、それと並行して、棚制御回路163のテーブル検索ルーチン44により、カセット装着先ベース案内の点灯が行われる。具体例で説明するために(図6参照)、可換フィーダ格納庫110において同じ棚板上に8個の薬剤フィーダ130が並んでおり、そのうちの左から4番目のところが薬剤カセット20の付け替え対象になったとする(図6において中抜き矢印の指すところを参照)。   Further, when the medicine cassette 20 having the identification information matching the collation data included in the medicine discharge command is not attached to any base part 30 in the replaceable feeder storage 110, the table search routine of the shelf control circuit 163 In response to the 44 message transmission, the controller 180 or the upper desk 190 issues an alarm display prompting the user to attach or change the medicine cassette 20. At the same time, the cassette loading destination base guidance is turned on by the table search routine 44 of the shelf control circuit 163. In order to explain with a specific example (see FIG. 6), eight medicine feeders 130 are arranged on the same shelf in the exchangeable feeder storage 110, and the fourth place from the left is the replacement target of the medicine cassette 20. (See the point indicated by the hollow arrow in FIG. 6).

この場合、先ず棚板上の全8個の薬剤フィーダ130のベース部30の表示器32が一斉に点灯し(図6(a)参照)、一定時間後に最も遠い右端の表示器32が消灯し(図6(b)参照)、次の一定時間後に左から1番目と7番目の表示器32が消灯し(図6(c)参照)、それから一定時間後に左から2番目と6番目の表示器32が消灯し(図6(d)参照)、更に一定時間後に左から3番目と5番目の表示器32が消灯する(図6(e)参照)。付け替え対象のところにある左から4番目の表示器32は、消灯することなく点灯し続け、そこから所望外の薬剤カセット20が取り外されても(図6(f)参照)、点灯箇所を所望の表示器32のところに絞り込む点灯パターンが繰り返される。   In this case, first, the indicators 32 of the base unit 30 of all eight drug feeders 130 on the shelf board are turned on all at once (see FIG. 6A), and the farthest rightmost indicator 32 is turned off after a certain time. (See FIG. 6 (b)), the first and seventh displays 32 from the left turn off after the next fixed time (see FIG. 6 (c)), and then the second and sixth displays from the left after a fixed time. The device 32 is turned off (see FIG. 6D), and the third and fifth display devices 32 from the left are turned off after a predetermined time (see FIG. 6E). The fourth display 32 from the left in the place to be replaced continues to be lit without being turned off, and even if an undesired medicine cassette 20 is removed therefrom (see FIG. 6 (f)), the lit location is desired. The lighting pattern narrowed down to the display 32 is repeated.

そして、薬剤排出指令の照合データと一致する識別情報を持った薬剤カセット20が、作業者によって保管棚120から取り出され、付け替え対象である左から4番目のベース部30に装着されると、総ての表示器32が消灯する(図6(g)参照)。それから、確認のため、そのベース部30の手動スイッチ35が操作されると、そのベース部30に付設されているマイクロプロセッサ40では、上書ルーチン47bによって照合データ51が上書き更新される。また、棚制御回路163では、ポートテーブル44bの該当レコードの照合データ項目が上書き更新される。こうして、保管棚120に保管されている多数の薬剤カセット20も薬剤排出を自動で行える状態となる。なお、薬剤フィーダ格納庫12や可換フィーダ格納庫110ばかりか保管棚120の薬剤カセット20にも収容されていない薬剤については従来通り手撒きユニット10aを用いることになるが、その頻度は極めて少ない。   When the medicine cassette 20 having the identification information that matches the collation data of the medicine discharge command is taken out from the storage shelf 120 by the operator and attached to the fourth base part 30 from the left that is the replacement target, All the display devices 32 are turned off (see FIG. 6G). Then, when the manual switch 35 of the base unit 30 is operated for confirmation, the verification data 51 is overwritten and updated by the overwriting routine 47b in the microprocessor 40 attached to the base unit 30. In the shelf control circuit 163, the collation data item of the corresponding record in the port table 44b is overwritten and updated. Thus, a large number of medicine cassettes 20 stored in the storage shelf 120 can be automatically discharged. For the medicines not only stored in the medicine cassette 20 of the storage shelf 120 as well as the medicine feeder storage box 12 and the replaceable feeder storage box 110, the hand handling unit 10a is used as usual, but the frequency is extremely low.

以上は、自動分包が適正に行われているときの説明であるが、薬剤フィーダ格納庫12に格納されている第一群の薬剤フィーダ13は個数が多いうえ、剤種や剤形が多岐に及ぶため、一部の薬剤フィーダ13に遅れや割れといった想定外の異常が発生することもある。このような排出異常は初期運用の稼動立上げや新薬の採用時に発生しやすいが、運用中に発生することもあり、その場合、カセット20やベース部30に不具合があるのか或いは薬剤フィーダ13と薬剤1との相性が悪いからなのか等を調べる異常診断を手動で行うために、先ず、対象となる薬剤フィーダ13のベース部30の手動スイッチ35を操作する。   The above is an explanation when the automatic packaging is properly performed. However, the first group of drug feeders 13 stored in the drug feeder storage 12 is large in number and has a wide variety of drug types and dosage forms. Therefore, unexpected abnormalities such as delays and cracks may occur in some medicine feeders 13. Such a discharge abnormality is likely to occur during the start-up of the initial operation or the adoption of a new drug, but it may also occur during the operation, in which case there is a problem with the cassette 20 or the base unit 30 or the drug feeder 13 In order to manually perform an abnormality diagnosis to check whether the compatibility with the drug 1 is poor, first, the manual switch 35 of the base unit 30 of the target drug feeder 13 is operated.

そうすると、そのベース部30に付設されているマイクロプロセッサ40の退避回復ルーチン47aによって照合データ51が退避データ52に待避させられるとともに照合データ51がゼロクリアされるので、その薬剤フィーダ13では、照合ルーチン47による照合機能が停止して、薬剤カセット20の照合が回避されるとともに、異常発生元を報せるために該当ベース部30の表示器32が点灯する。薬剤カセット20の照合が回避されると、手動操作によるカセット20やベース部30の動作確認などを、上位卓190等からアラームが発せられることや、上位卓190等がデータ集計を誤るのこと等を避けながら、行うことができる。   Then, the collation data 51 is saved in the save data 52 and the collation data 51 is cleared to zero by the save / recovery routine 47 a of the microprocessor 40 attached to the base unit 30. The collation function is stopped, the collation of the medicine cassette 20 is avoided, and the indicator 32 of the corresponding base unit 30 is lit to report the source of the abnormality. When collation of the medicine cassette 20 is avoided, an alarm is issued from the upper desk 190 or the like for the operation check of the cassette 20 or the base unit 30 by manual operation, or the upper desk 190 or the like erroneously collects data. Can be done while avoiding.

また、異常の発生した薬剤カセット20を一時的に別のベース部30に装着して動作確認したいときには、その一時装着先のベース部30の手動スイッチ35を操作して、そこでの照合が回避されるようにする。一時装着先のベース部30でも、薬剤カセット20の照合が回避されると、上位卓190等の管理外で手動操作が可能になったことを報せるために、そこの表示器32が点灯する。この場合も、一時装着先のベース部30の照合機能に関して照合データ51が退避データ52に一時退避させられ、薬剤カセット20の識別情報担体21に対する読取装置31での読取は行われても、照合ルーチン47による照合は行われない。そのため、一時装着先のベース部30の表示器32が点灯している間は、同じ薬剤カセット20即ち異常の発生した薬剤カセット20が表示器32点灯中のベース部30に一時装着可能となる。   Further, when it is desired to temporarily check the operation by mounting the medicine cassette 20 in which an abnormality has occurred on another base unit 30, the manual switch 35 of the base unit 30 at the temporary mounting destination is operated to avoid collation there. So that Even in the base unit 30 at the temporary mounting destination, when the collation of the medicine cassette 20 is avoided, the indicator 32 there lights up in order to report that manual operation is possible outside the management of the upper desk 190 or the like. . Also in this case, the collation data 51 is temporarily saved in the save data 52 with respect to the collation function of the base unit 30 at the temporary mounting destination, and the collation data 51 is read by the reading device 31 with respect to the identification information carrier 21 of the medicine cassette 20. Verification by the routine 47 is not performed. For this reason, while the indicator 32 of the base part 30 as the temporary attachment destination is lit, the same medicine cassette 20, that is, the medicine cassette 20 in which an abnormality has occurred, can be temporarily attached to the base part 30 whose indicator 32 is lit.

異常診断が済んだら、対象のベース部30の手動スイッチ35を再び操作する。そうすると、そのベース部30に付設されているマイクロプロセッサ40の退避回復ルーチン47aによって、退避データ52に待避させられていた値が照合データ51に戻されるので、その薬剤フィーダ13では、照合ルーチン47による照合機能が回復して、薬剤カセット20の照合が再開される。
こうして、安全性の重視される第一群の薬剤フィーダ13について、薬剤カセットの付け替えテスト等が、薬品マスタテーブルの書換なしで簡単かつ安全に行われる。
When the abnormality diagnosis is completed, the manual switch 35 of the target base unit 30 is operated again. Then, the value saved in the saved data 52 is returned to the collation data 51 by the save / recovery routine 47 a of the microprocessor 40 attached to the base unit 30. The collation function is restored, and collation of the medicine cassette 20 is resumed.
Thus, for the first group of medicine feeders 13 where safety is important, a medicine cassette replacement test or the like can be easily and safely performed without rewriting the medicine master table.

ここで、一時装着先のベース部30でも照合を回避させる必要性について付言すると、薬剤カセットの配置移動作業は、異常発生元のベース部30から他の一時装着先のベース部30へ薬剤カセット20を付け替えて異常診断を試行する作業であり、大抵、最終的な適正配置を得るには一時装着先を変えての移動確認作業を数回ほど繰り返すことが行われており、このような作業をより簡単に確実に且つすばやく行うのに、一時装着先のベース部30に対する操作だけで照合を回避できることが、役立っている。また、照合回避手段を照合データ51の退避データ52への待避と退避データ52から照合データ51への回復とで構成したことは、一時装着先の退避データを簡易に元の照合データに戻すことのできる有用な機能である。   Here, to add that it is necessary to avoid collation even in the base part 30 at the temporary attachment destination, the medicine cassette placement and movement operation is performed from the base part 30 at the abnormality occurrence source to the base part 30 at the other temporary attachment destination. In order to obtain the final proper placement, the movement check work with changing the temporary attachment destination is often repeated several times. In order to carry out more easily and reliably and quickly, it is useful to be able to avoid collation only by an operation on the base portion 30 at the temporary attachment destination. Further, the collation avoiding means is configured by saving the collation data 51 to the save data 52 and recovering the save data 52 to the collation data 51, so that the save data at the temporary mounting destination can be easily returned to the original collation data. This is a useful function.

また、一般に落下高さに比例し弾みやすい錠剤としては、糖衣錠等の表面の硬度の硬い錠剤や、一定の形状に圧縮成形した裸錠で低圧の圧縮成形の錠剤等が挙げられるが、これらに関しては、落下高さの比較的低い位置に薬剤カセット20を装着配置することで、異常発生を抑制できることが多い。その反対の特質を持った錠剤は、落下高さの比較的高い位置の配置であっても異常が発生しにくい。薬剤カセットの配置移動を伴う異常診断は、そのような薬剤の特質も勘案して試行錯誤される。   In general, examples of tablets that are easy to bounce in proportion to the drop height include tablets with a hard surface such as sugar-coated tablets, and tablets with low-pressure compression molding that are bare tablets compressed into a certain shape. In many cases, the occurrence of abnormality can be suppressed by mounting and arranging the medicine cassette 20 at a relatively low drop height. Tablets with the opposite characteristics are less likely to cause abnormalities even when placed at a relatively high drop height. The abnormality diagnosis accompanied by the movement of the medicine cassette is trial and error in consideration of the characteristics of such medicine.

さらに、自動排出のため薬剤フィーダ13に収容される薬剤は病院ごとに異なっており、そのような薬剤のうち特定の又は一部の病院でしか自動排出に採用されない病院ごと採用薬については、薬品マスタテーブルへのデータ設定は行えても、錠剤分包機等の調剤システムの設置を担うメーカには錠剤形の薬品サンプルが無いまま、錠剤分包機の設置や立ち上げ等を行わなければならないこともある。その場合、メーカは、病院ごと採用薬などを収容するための薬剤フィーダ13を例えば「あいうえお」順で薬剤フィーダ格納庫12に配置しながら、フィーダ格納アドレスや照合データ等を薬品マスタテーブルに登録することで、錠剤分包機の初期設定等を行う。そして、錠剤分包機の納品時等に、その錠剤形と異常発生の頻度をみながら、適宜配置換えをスピーディーに的確に行う現地微調整を行わなければならず、従来は、かなりの経験則も必要としていた。しかし、この発明の薬剤フィーダ及び自動調剤装置にあっては、上述したような照合回避状態での薬剤カセット配置移動作業にて簡単に異常診断の確認作業を行うことができる。   Furthermore, the medicines accommodated in the medicine feeder 13 for automatic discharge are different for each hospital, and among such drugs, the drugs adopted for each hospital that are adopted for automatic discharge only at a specific or some hospitals are Even if data can be set in the master table, the manufacturer responsible for setting up a dispensing system such as a tablet packing machine may need to install or start up a tablet packing machine without a tablet-shaped chemical sample. is there. In this case, the manufacturer registers the feeder storage address, collation data, and the like in the medicine master table while arranging the medicine feeder 13 for accommodating the medicines adopted for each hospital in the medicine feeder storage 12 in the order of “Aiueo”, for example. Then, the initial setting of the tablet packaging machine is performed. And at the time of delivery of the tablet packaging machine, etc., it is necessary to make local fine adjustments to speed up and change the position appropriately and appropriately while looking at the tablet shape and the frequency of occurrence of abnormalities. I needed it. However, in the medicine feeder and the automatic dispensing device according to the present invention, it is possible to easily perform the abnormality diagnosis confirmation work by the medicine cassette arrangement moving work in the state of avoiding collation as described above.

本発明の薬剤フィーダ及び自動調剤装置の実施例2について、その具体的な構成を、図面を引用して説明する。図7は、制御系の全体構造を示すブロック図であり、図8は、(a),(b)何れもベース部30に分散設置された各マイクロプロセッサ40の主要機能を示すブロック図であり、(a)が薬品庫11内の薬剤フィーダ13のベース部30に付設された第一群のマイクロプロセッサ40の機能ブロック図、(b)が可換フィーダ格納庫110内の薬剤フィーダ130のベース部30に付設された第二群のマイクロプロセッサ40の機能ブロック図である。   About the Example 2 of the chemical | medical agent feeder and automatic dispensing apparatus of this invention, the specific structure is demonstrated with reference to drawing. FIG. 7 is a block diagram showing the overall structure of the control system, and FIG. 8 is a block diagram showing the main functions of the microprocessors 40 distributedly installed in the base unit 30 in both (a) and (b). (A) is a functional block diagram of the first group of microprocessors 40 attached to the base part 30 of the medicine feeder 13 in the medicine storage 11, and (b) is the base part of the medicine feeder 130 in the replaceable feeder storage 110. FIG. 3 is a functional block diagram of a second group of microprocessors 40 attached to 30;

この自動調剤装置が上述した実施例1のものと相違するのは、棚制御回路161,163が省かれて錠剤分包機100が錠剤分包機200になった点と(図7参照)、第一群の薬剤フィーダ13のベース部30のマイクロプロセッサ40における照合回避手段が、退避回復ルーチン47a及び退避データ52から、照合手段の動作内容切換フラグの更新手段であるフラグ更新ルーチン47c及び切換フラグ53になった点である(図8(a)参照)。   This automatic dispensing apparatus is different from that of the first embodiment described above in that the shelf control circuits 161 and 163 are omitted and the tablet packaging machine 100 is changed to a tablet packaging machine 200 (see FIG. 7). The collation avoiding means in the microprocessor 40 of the base unit 30 of the group of medicine feeders 13 changes from the save recovery routine 47a and the save data 52 to the flag update routine 47c and the switch flag 53, which are update means for the operation content switching flag of the collating means. (Refer to FIG. 8A).

棚制御回路161が無くなった代わりに、通信ルーチン42aと排出検知ルーチン43と着脱検知ルーチン45と情報送信ルーチン46と排出制御ルーチン48とが、第一群の薬剤フィーダ13のベース部30に付設されているマイクロプロセッサ40に、移設されている(図8(a)参照)。これらのルーチンは、モータ13j等の作動部材を直接制御するよう多少は改造されているが、棚制御回路161にインストールされていたときと同じ機能をマイクロプロセッサ40でも発揮するようになっている。また、それらのルーチンがマイクロプロセッサ40毎にインストールされて、IOポート番号の選出が不要になっているので、テーブル検索ルーチン44やポートテーブル44aはインストールされず、通信ルーチン42aは該当マイクロプロセッサ40の付設先ベース部30のフィーダ格納アドレスに宛てられた薬剤排出指令だけを受信して他のルーチンに引き渡すようになっている。   Instead of eliminating the shelf control circuit 161, a communication routine 42a, a discharge detection routine 43, a detachment detection routine 45, an information transmission routine 46, and a discharge control routine 48 are attached to the base portion 30 of the first group of medicine feeders 13. (See FIG. 8A). These routines are slightly modified so as to directly control the operating members such as the motor 13j. However, the same functions as those installed in the shelf control circuit 161 are also exhibited in the microprocessor 40. Since these routines are installed for each microprocessor 40 and selection of the IO port number is not required, the table search routine 44 and the port table 44a are not installed, and the communication routine 42a is used for the corresponding microprocessor 40. Only the medicine discharge command addressed to the feeder storage address of the attachment destination base unit 30 is received and delivered to another routine.

棚制御回路163が無くなった代わりに、通信ルーチン42bと排出検知ルーチン43と着脱検知ルーチン45と情報送信ルーチン46と排出制御ルーチン48とが、第二群の薬剤フィーダ130のベース部30に付設されているマイクロプロセッサ40に、移設されている(図8(b)参照)。これらのルーチンも、モータ13j等の作動部材を直接制御するよう多少は改造されているが、棚制御回路163にインストールされていたときと同じ機能をマイクロプロセッサ40でも発揮するようになっている。また、それらのルーチンがマイクロプロセッサ40毎にインストールされて、IOポート番号の選出が不要になっているので、テーブル検索ルーチン44やポートテーブル44bはインストールされず、通信ルーチン42bは該当マイクロプロセッサ40の照合データ51と一致する照合データを宛先に含んでいる薬剤排出指令だけを受信して他のルーチンに引き渡すようになっている。   Instead of eliminating the shelf control circuit 163, a communication routine 42b, a discharge detection routine 43, a detachment detection routine 45, an information transmission routine 46, and a discharge control routine 48 are attached to the base portion 30 of the second group of medicine feeders 130. The microprocessor 40 is relocated (see FIG. 8B). These routines are also slightly modified so as to directly control the operating members such as the motor 13j. However, the same function as that installed in the shelf control circuit 163 is also exhibited by the microprocessor 40. Since these routines are installed for each microprocessor 40 and selection of the IO port number is not required, the table search routine 44 and the port table 44b are not installed, and the communication routine 42b is used for the corresponding microprocessor 40. Only a medicine discharge command that contains collation data matching the collation data 51 is received and delivered to another routine.

なお、テーブル検索ルーチン44が担っていた機能のうち、薬剤カセット20の装着や付け替えを促すために、その旨の表示を上位卓190に依頼する機能や、所望の表示器32及びその近隣の表示器32を点灯させてカセット装着先ベースを案内する機能は、コントローラ180に移設されている。
第一群のマイクロプロセッサ40にインストールされたフラグ更新ルーチン47cは、手動スイッチ35が操作される度に、メモリ50の切換フラグ53を反転させるようになっている。それに対応して、照合ルーチン47は、切換フラグ53の値に応じて選択的に比較処理・照合処理を行うようになっている。
Of the functions performed by the table search routine 44, in order to prompt the user to attach or change the medicine cassette 20, a function for requesting the display to that effect to the upper desk 190, or the display of the desired display 32 and its vicinity. The function of turning on the device 32 and guiding the cassette mounting base is transferred to the controller 180.
The flag update routine 47c installed in the first group of microprocessors 40 inverts the switching flag 53 of the memory 50 every time the manual switch 35 is operated. Correspondingly, the collation routine 47 selectively performs comparison processing / collation processing according to the value of the switching flag 53.

この場合、錠剤分包機200には、棚制御回路161,163が無いが、その機能がマイクロプロセッサ40やコントローラ180に分散されているため、錠剤分包機100と同等の機能が具わっているので、繰り返しとなる説明は割愛するが、錠剤分包機200も、上述した錠剤分包機100と同様に、上位卓190の管理下で各種薬剤の自動分包を行うことができる。
また、この自動調剤装置にあっては、従来の錠剤分包機10と新規な錠剤分包機100及び錠剤分包機200とが混在したシステムであっても、上位卓190にて不都合なく統合管理することができる。
In this case, the tablet packaging machine 200 does not have the shelf control circuits 161 and 163, but since the functions are distributed to the microprocessor 40 and the controller 180, the tablet packaging machine 200 has the same function as the tablet packaging machine 100. Although the repeated description is omitted, the tablet packaging machine 200 can perform automatic packaging of various medicines under the control of the upper table 190, similarly to the tablet packaging machine 100 described above.
Further, in this automatic dispensing device, even a system in which the conventional tablet packaging machine 10, the new tablet packaging machine 100, and the tablet packaging machine 200 are mixed, can be integrated and managed by the upper desk 190 without any inconvenience. Can do.

[その他]
なお、マイクロプロセッサ40は、ワンチップタイプに限られる訳でなく、メモリ50が外付けされるものでも良い。メモリ50は、不揮発性のものが好ましいが、そうでなくても良く、例えばバッテリ付きメモリ等でも良い。
また、装置内通信手段60やその他の通信手段たとえば装置間通信手段等は、複数・多数の装置やユニット間でデータの送受ができれば、イーサネット(登録商標)やTCP/IP等の一般的な通信規約に則ったものでもそれ以外の独自規格のものでも良く、有線方式でも無線方式でも良く、マルチドロップ方式でもそうでなくても良い。
[Others]
Note that the microprocessor 40 is not limited to the one-chip type, and the memory 50 may be externally attached. The memory 50 is preferably non-volatile, but it may not be, for example, a battery-equipped memory.
In-device communication means 60 and other communication means such as inter-device communication means can be used for general communication such as Ethernet (registered trademark) and TCP / IP as long as data can be transmitted and received between a plurality of devices and units. It may be in accordance with the regulations or other proprietary standards, may be wired or wireless, and may or may not be multidrop.

さらに、上記の実施例では、可換フィーダ格納庫110を錠剤分包機100,200の右側面に設けたが、可換フィーダ格納庫110は左側面や正面など他の部位に設けても良い。
また、上記の実施例では、錠剤分包機10,100,200は錠剤の自動分包のみを行うようになっていたが、これに限られる訳でなく、カプセル剤など他の薬剤を分包するのでも良い。錠剤分包機10,100,200に散薬分包機構を組み合わせるのも可能である。
Furthermore, in the above-described embodiment, the replaceable feeder storage 110 is provided on the right side of the tablet packaging machines 100 and 200. However, the replaceable feeder storage 110 may be provided on other parts such as the left side and the front.
In the above embodiment, the tablet packaging machines 10, 100, and 200 perform only automatic packaging of tablets. However, the present invention is not limited to this, and other drugs such as capsules are packaged. It's okay. It is also possible to combine the powder packing mechanism with the tablet packing machine 10, 100, 200.

本発明の実施例1について、自動調剤装置の機械的な全体構造を示し、(a)がその外観斜視図、(b)が錠剤分包機の右側面図、(c)が錠剤分包機の内部構造を示す模式図である。1 shows the overall mechanical structure of an automatic dispensing device according to Example 1 of the present invention, where (a) is an external perspective view, (b) is a right side view of a tablet packaging machine, and (c) is the inside of a tablet packaging machine. It is a schematic diagram which shows a structure. 錠剤分包機に多数組み込まれている薬剤フィーダの構造を示し、(a)が左側面図、(b)が正面図、(c)が縦断左側面図、(d)が薬剤カセットの底面図、(e)がベース部の平面図、(f)及び(g)がベース部に分散設置された各マイクロプロセッサの要部機能を示すブロック図であり、(f)が第一群に属する多数のベース部に付設されたマイクロプロセッサの機能ブロック図、(g)が第二群に属する少数のベース部に付設されたマイクロプロセッサの機能ブロック図である。The structure of the medicine feeder incorporated in many tablet packing machines is shown, (a) is a left side view, (b) is a front view, (c) is a longitudinal left side view, (d) is a bottom view of the medicine cassette, (E) is a plan view of the base part, (f) and (g) are block diagrams showing the functions of the main parts of the respective microprocessors distributed and installed in the base part, and (f) is a large number belonging to the first group. FIG. 4 is a functional block diagram of a microprocessor attached to a base portion, and FIG. 4G is a functional block diagram of a microprocessor attached to a small number of base portions belonging to a second group. 自動調剤装置の制御系の全体構造を示すブロック図である。It is a block diagram which shows the whole structure of the control system of an automatic dispensing apparatus. 制御用データの構造を示し、(a)が薬品マスタテーブルにおけるレコード構造図、(b)及び(c)が薬剤排出指令の電文構造図であり、(b)が第一群に宛てるべく薬剤フィーダ格納アドレスを含ませた指令、(c)が第二群に宛てるべく照合データを含ませた指令である。The structure of the control data is shown, (a) is a record structure diagram in the medicine master table, (b) and (c) are message structure diagrams of the medicine discharge command, and (b) is a medicine to be addressed to the first group. A command including a feeder storage address and a command (c) including collation data to be addressed to the second group. 制御系における錠剤分包機サブコントローラの機能ブロック図である。It is a functional block diagram of the tablet packing machine sub-controller in the control system. (a)〜(g)何れも可換フィーダ格納庫における表示器の点灯例である。(A)-(g) are all the lighting examples of the indicator in the interchangeable feeder hangar. 本発明の実施例2について、制御系の全体構造を示すブロック図である。It is a block diagram which shows the whole structure of a control system about Example 2 of this invention. (a),(b)何れもベース部に分散設置された各マイクロプロセッサの要部機能を示すブロック図であり、(a)が第一群のマイクロプロセッサの機能ブロック図、(b)が第二群のマイクロプロセッサの機能ブロック図である。(A), (b) is a block diagram which shows the principal part function of each microprocessor distributedly installed in the base part, (a) is a functional block diagram of the first group of microprocessors, (b) is the first It is a functional block diagram of two groups of microprocessors. 従来の薬剤フィーダ及び自動調剤装置の機械的構造を示し、(a)が錠剤分包機の外観斜視図、(b)が錠剤分包機の内部構造を示す模式図、(c)が薬剤フィーダの左側面図、(d)が正面図、(e)が縦断左側面図、(f)が薬剤フィーダの作動部に対する制御ブロック図である。The mechanical structure of the conventional chemical | medical agent feeder and an automatic dispensing apparatus is shown, (a) is an external appearance perspective view of a tablet packaging machine, (b) is a schematic diagram which shows the internal structure of a tablet packaging machine, (c) is the left side of a chemical | medical agent feeder. (D) is a front view, (e) is a longitudinal left side view, and (f) is a control block diagram for the operating part of the medicine feeder. 自動調剤装置の制御系の全体構造を示すブロック図である。It is a block diagram which shows the whole structure of the control system of an automatic dispensing apparatus. 制御用データの構造を示し、(a)が薬品マスタテーブルにおけるレコード構造図、(b)が薬剤排出指令の電文構造図である。The structure of the data for control is shown, (a) is the record structure diagram in the medicine master table, (b) is the message structure diagram of the medicine discharge command.

符号の説明Explanation of symbols

1 薬剤(円板状薬剤、玉剤、カプセル剤、円筒状薬剤、錠剤)
2 包装帯(分包紙)
9 上位卓(自動調剤装置における調剤制御装置)
10 錠剤分包機(自動調剤装置における本体部、調剤機器)
10a 手撒きユニット
11 薬品庫(薬品棚部、薬剤収納庫格納部)
12 薬剤フィーダ格納庫(薬剤収納庫)
13 薬剤フィーダ(薬剤カセット及びベース部)
13a 蓋(薬剤カセットの蓋部)
13b 容器部(カセット、カップ、薬剤収容部、薬剤容器)
13c 整列盤(カセット、ロータ、整列部材、排出用部材)
13d 隔壁(カセット、成形羽根、翼状突起、整列部材)
13e 枠板(カセットにおけるベース部への着脱部)
13f 排出口(カセットにおける薬剤の落下口)
13g 筒部(カセットにおける着脱式伝動部材)
13h 貫通口(ベース部における薬剤の落下路)
13i スプライン軸(ベース部における着脱式伝動部材)
13j モータ(ベース部における駆動源)
13k ベース(ベース部における基本の固定部材)
14 導管(ダクト、シュート、案内路、上部薬剤収集経路)
15 収集部材(ホッパ状・漏斗状部材、下部薬剤収集経路)
16 薬剤投入部(収集薬剤投入口)
17 包装装置
18 コントローラ(錠剤分包機メインコントローラ)
19 操作パネル
20 薬剤カセット(薬剤フィーダ)
21 識別情報担体(識別情報を印刷した貼付部材)
30 ベース部(薬剤フィーダ)
31 読取装置(反射型フォトセンサ群)
32 表示器(色の異なる複数のLED)
33 排出センサ(排出薬剤の落下検出手段)
34 着脱センサ(カセット着脱の検出手段)
35 手動スイッチ(照合回避手段や上書手段の起動用操作部材)
40 マイクロプロセッサ
41 IOルーチン(信号等の入出力手段)
42a,42b 通信ルーチン(通信手段)
43 排出検知ルーチン(薬剤排出の有無・適否の検知手段)
44 テーブル検索ルーチン(履歴情報の蓄積手段)
45 着脱検知ルーチン(カセット着脱の検知手段)
46 情報送信ルーチン(送信手段)
47 照合ルーチン(照合手段)
47a 退避回復ルーチン(照合回避手段)
47b 上書ルーチン(上書手段)
47c フラグ更新ルーチン(照合回避手段)
48 排出制御ルーチン(排出駆動の制御手段)
50 メモリ(内蔵メモリ、外付けメモリ)
51 照合データ(照合手段)
52 退避データ(照合回避手段)
53 切換フラグ(照合回避手段)
60 装置内通信手段(LAN、有線・無線の通信手段)
61 棚制御回路(薬剤フィーダのベースに対する錠剤分包機サブコントローラ)
62 棚内配線(スター結線、個別配線)
64 手撒き制御回路(手撒きユニットに対する錠剤分包機サブコントローラ)
100 錠剤分包機(自動調剤装置における本体部、調剤機器)
110 可換フィーダ格納庫(第二群に属するベース部の装備箇所)
111 扉把手(透明扉の開閉用操作子)
120 保管棚(第二群に属する薬剤カセットの待機場所)
130 薬剤フィーダ(第二群に属する薬剤カセット及びベース部)
140 導管(ダクト、シュート、案内路、上部薬剤収集経路)
161 棚制御回路(第一群のベースに対する錠剤分包機サブコントローラ)
162 棚内配線(スター結線、個別配線)
163 棚制御回路(第二群のベースに対する錠剤分包機サブコントローラ)
180 コントローラ(錠剤分包機メインコントローラ)
190 上位卓(自動調剤装置における調剤制御装置)
200 錠剤分包機(自動調剤装置における本体部、調剤機器)
1 drugs (disc-shaped drugs, balls, capsules, cylindrical drugs, tablets)
2 Wrapping band (wrapping paper)
9 Host table (Dispensing control device in automatic dispensing device)
10 Tablet packaging machine (main part, dispensing equipment in automatic dispensing equipment)
10a Handmade unit 11 Chemical storage (medical shelf, drug storage compartment)
12 Drug feeder storage (drug storage)
13 Drug feeder (drug cassette and base)
13a Lid (drug cassette lid)
13b Container part (cassette, cup, medicine container, medicine container)
13c Alignment board (cassette, rotor, alignment member, discharge member)
13d Bulkhead (cassette, molding blade, wing projection, alignment member)
13e Frame plate (attachment / detachment part to base part in cassette)
13f Discharge port (drug drop port in cassette)
13g Tube part (detachable transmission member in the cassette)
13h Through-hole (drug path of drug at base)
13i spline shaft (detachable transmission member at base)
13j motor (drive source in base)
13k base (basic fixing member at base)
14 Conduit (duct, chute, guideway, upper drug collection route)
15 Collection member (hopper-like / funnel-like member, lower drug collection route)
16 Drug input part (collected drug input)
17 Packaging device 18 Controller (Tablet main machine controller)
19 Operation panel 20 Drug cassette (drug feeder)
21 Identification information carrier (affixing member printed with identification information)
30 Base part (medicine feeder)
31 Reader (Reflective photo sensor group)
32 Display (Multiple LEDs with different colors)
33 Discharge sensor (Dropping medicine fall detection means)
34 Attaching / detaching sensor (cassette attaching / detaching detection means)
35 Manual switch (operation member for starting collation avoidance means and overwriting means)
40 Microprocessor 41 IO routine (input / output means such as signals)
42a, 42b Communication routine (communication means)
43 Discharge detection routine (Drug detection / presence detection means)
44 Table search routine (history information storage means)
45 Attachment / detachment detection routine (cassette attachment / detachment detection means)
46 Information transmission routine (transmission means)
47 Verification routine (verification means)
47a Evacuation recovery routine (verification avoidance means)
47b Overwriting routine (overwriting means)
47c Flag update routine (collation avoidance means)
48 Discharge Control Routine (Discharge Drive Control Unit)
50 memory (internal memory, external memory)
51 Verification data (verification means)
52 Evacuation data (verification avoidance means)
53 switching flag (collation avoidance means)
60 In-device communication means (LAN, wired / wireless communication means)
61 Shelf control circuit (Tablet sub-controller for the base of the medicine feeder)
62 Shelf wiring (star connection, individual wiring)
64 Hand-wound control circuit (Tablet sub-controller for hand-wound unit)
100 Tablet packaging machine (main body part, dispensing equipment in automatic dispensing equipment)
110 Exchangeable feeder hangar (equipment point of base part belonging to the second group)
111 Door handle (Operator for opening and closing the transparent door)
120 Storage shelf (standby place for medicine cassettes belonging to the second group)
130 Drug feeder (drug cassette and base part belonging to the second group)
140 Conduit (duct, chute, guideway, upper drug collection route)
161 Shelf control circuit (tablet sub-controller for the first group base)
162 In-shelf wiring (star connection, individual wiring)
163 Shelf control circuit (tablet sub-controller for second group base)
180 controller (main controller for tablet packaging machine)
190 Host table (Dispensing control device in automatic dispensing device)
200 Tablet packaging machine (main body part, dispensing device in automatic dispensing device)

Claims (3)

薬剤を排出可能に収容する薬剤カセットと、この薬剤カセットを着脱可能に支持してその排出駆動を行うベース部と、このベース部を多数装備した薬剤フィーダ格納庫と、前記ベース部それぞれに付設され前記薬剤カセットに付された識別情報を読み取る読取装置と、その読取結果と予め記憶していた照合データとを比較する照合手段と、処方箋データ又は派生した調剤データに基づき薬剤排出指令を作成して前記ベース部の排出駆動の制御に供する調剤制御装置とを備えた自動調剤装置において、前記調剤制御装置が、前記薬剤排出指令の作成に際して前記ベース部を多数個からなる第一群と少数個からなる第二群とに分けてそのうち前記第一群のものに宛てた指令には宛先として前記薬剤フィーダ格納庫に係る薬剤フィーダ格納アドレスを含ませ前記第二群のものに宛てた指令には宛先として前記照合データを含ませるものであることを特徴とする自動調剤装置。   A medicine cassette that removably accommodates medicine, a base part that detachably supports the medicine cassette, and a discharge drive thereof, a medicine feeder storage equipped with a large number of the base parts, and a base part attached to each of the base parts A reading device that reads the identification information attached to the medicine cassette, collation means that compares the reading result with the collation data stored in advance, and a medicine discharge command based on prescription data or derived dispensing data, In an automatic dispensing device provided with a dispensing control device for controlling the discharge drive of the base portion, the dispensing control device comprises a first group consisting of a large number of the base portions and a small number of the base portions when creating the medicine discharge command. The medicine feeder storage address related to the medicine feeder storage as a destination for commands addressed to those of the first group divided into the second group Automatic dispensing apparatus, characterized in that the command was addressed to those of the second group include those which contain the matching data as the destination. 前記ベース部それぞれにマイクロプロセッサ及びメモリ又はメモリ内蔵のマイクロプロセッサを搭載し、それらに前記照合手段および前記照合データを分散して組み込むとともに、前記マイクロプロセッサのうち前記第二群に付設されたものには前記読取装置で読み取った識別情報を前記照合データに上書き記憶する上書手段を組み込んでこの上書手段を動作させ、且つ、前記マイクロプロセッサのうち前記第一群に付設されたものには前記上書手段を組み込まないか組み込んでも動作させないようにしたことを特徴とする請求項1記載の自動調剤装置。   A microprocessor and a memory or a microprocessor with a built-in memory are mounted on each of the base units, and the verification unit and the verification data are distributed and incorporated therein, and the microprocessor is attached to the second group. Incorporates an overwriting means for overwriting and storing the identification information read by the reading device in the collation data, and operates the overwriting means, and the one attached to the first group among the microprocessors 2. The automatic dispensing apparatus according to claim 1, wherein the overwriting means is not incorporated or is not operated even if incorporated. 前記ベース部それぞれに点灯可能な表示器を付設し、これら表示器のうち所望の何れかを点灯させるに際しそれ以外に近隣の表示器も幾つか点灯させるようにしたことを特徴とする請求項1又は請求項2に記載された自動調剤装置。   2. An indicator that can be lit is attached to each of the base portions, and when any desired one of these indicators is lit, several neighboring indicators are also lit. Or the automatic dispensing apparatus described in Claim 2.
JP2004163796A 2004-01-05 2004-06-01 Automatic dispensing device Expired - Lifetime JP4357366B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2004163796A JP4357366B2 (en) 2004-06-01 2004-06-01 Automatic dispensing device
PCT/JP2004/019236 WO2005065627A1 (en) 2004-01-05 2004-12-22 Automatic dispensation device and medicine feeder
US10/584,979 US7747345B2 (en) 2004-01-05 2004-12-22 Automatic drug dispenser and drug feeder
EP13193893.8A EP2719368B1 (en) 2004-01-05 2004-12-22 Drug feeder and assembly thereof
DK13193893.8T DK2719368T3 (en) 2004-01-05 2004-12-22 Drug dispenser and device therefore
DK04807593.1T DK1704844T3 (en) 2004-01-05 2004-12-22 AUTOMATIC ADMINISTRATOR AND PHARMACEUTICAL SUPPLY
EP04807593.1A EP1704844B1 (en) 2004-01-05 2004-12-22 Automatic dispensation device and medicine feeder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004163796A JP4357366B2 (en) 2004-06-01 2004-06-01 Automatic dispensing device

Publications (2)

Publication Number Publication Date
JP2005342123A JP2005342123A (en) 2005-12-15
JP4357366B2 true JP4357366B2 (en) 2009-11-04

Family

ID=35495033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004163796A Expired - Lifetime JP4357366B2 (en) 2004-01-05 2004-06-01 Automatic dispensing device

Country Status (1)

Country Link
JP (1) JP4357366B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3133564B1 (en) * 2007-10-23 2019-01-09 Yuyama Mfg. Co., Ltd. Drug delivery system, and drug delivery device
JP2009119246A (en) * 2007-10-23 2009-06-04 Yuyama Manufacturing Co Ltd Drug delivery device, and drug delivery system
ITMO20080063A1 (en) 2008-03-05 2009-09-06 Inovapak Srl EQUIPMENT AND METHODS FOR PRODUCING CONTAINERS
JP4759606B2 (en) * 2008-09-30 2011-08-31 小林クリエイト株式会社 Control method and control device for continuous test tube preparation device
JP2011083357A (en) * 2009-10-14 2011-04-28 Tosho Inc Tablet dividing device
KR102215154B1 (en) * 2013-12-02 2021-02-10 가부시키가이샤 유야마 세이사쿠쇼 Medicine dispensing system and medicine dispensing method
JP6788963B2 (en) * 2015-11-20 2020-11-25 株式会社タカゾノテクノロジー Dispensing equipment and article storage equipment
CN110745434B (en) * 2019-05-05 2025-01-17 药鲁班(杭州)医疗科技有限公司 An automatic dispensing system for traditional Chinese medicine prescriptions
JP7552146B2 (en) * 2019-08-28 2024-09-18 小野薬品工業株式会社 Tablets containing ivabradine
JP7460084B2 (en) * 2021-03-17 2024-04-02 株式会社トーショー drug packaging machine

Also Published As

Publication number Publication date
JP2005342123A (en) 2005-12-15

Similar Documents

Publication Publication Date Title
US7747345B2 (en) Automatic drug dispenser and drug feeder
JP7445843B2 (en) Drug dispensing device, drug dispensing program
JP7846427B2 (en) Chemical dispensing device, chemical dispensing program
JP4484527B2 (en) Automatic dispensing device
JP4390140B2 (en) Drug feeder and automatic dispensing device
JP4357366B2 (en) Automatic dispensing device
KR101379990B1 (en) Drug delivery system, and drug delivery device
EP2082718B1 (en) Tablet distribution apparatus for auxiliary trays and driving method thereof
US5709063A (en) Tablet packing machine
JP6590108B2 (en) Drug dispensing device
JP2015142815A5 (en)
JP2009119246A5 (en)
JP2967039B2 (en) Tablet packaging apparatus and continuous packaging method using the same
JP6914488B2 (en) Drug packaging machine
JP2857587B2 (en) Tablet packaging device
JPH11245902A (en) Tablet subdividing apparatus and continuously subdividing method using its apparatus
KR200274354Y1 (en) Device searching cassette used in tablet count system
JP2024019144A (en) Medicine dispensing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090804

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090804

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4357366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150814

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term