JPH11139402A - Medicine packaging machine - Google Patents

Medicine packaging machine

Info

Publication number
JPH11139402A
JPH11139402A JP25843298A JP25843298A JPH11139402A JP H11139402 A JPH11139402 A JP H11139402A JP 25843298 A JP25843298 A JP 25843298A JP 25843298 A JP25843298 A JP 25843298A JP H11139402 A JPH11139402 A JP H11139402A
Authority
JP
Japan
Prior art keywords
data
medicine
packaging
control
packaging machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25843298A
Other languages
Japanese (ja)
Other versions
JP3030286B2 (en
Inventor
Manabu Haraguchi
学 原口
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP10258432A priority Critical patent/JP3030286B2/en
Publication of JPH11139402A publication Critical patent/JPH11139402A/en
Application granted granted Critical
Publication of JP3030286B2 publication Critical patent/JP3030286B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Basic Packing Technique (AREA)

Abstract

PROBLEM TO BE SOLVED: To make control possible for every kind of medicine without regard to whether or not the medicine can be packaged by a packaging machine by a method wherein a control apparatus is provided so that packaging is executed with kinds of medicine to be prescribed discriminated in accordance with information regarding kinds of medicine, the number of medicines, and suitableness of the medicine for packaging. SOLUTION: In a control apparatus, a control device 13 on the operating machine side and a control device 14 on the packaging machine 11 side are connected with a transmission line 17 with interfaces 15 and 16 interposed respectively. The control device 13 registers names, abbreviation codes and code numbers for all of medicines handled at a pharmacist's office. At the same time, medicines suitable for packaging by the packaging machine 11 and medicines unsuitable for packaging by the packaging machine are discriminated and inputted by means of ten-key input. Powdered medicine that cannot be packaged in subdivision packs by the packaging machine 11 but are packaged in subdivision packs by another packaging machine for exclusive use for powdered medicine or by manual operation is inputted only for inventory control. Then, packaging control is made by the control device 14, based on control data transmitted from the control device 13.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は病院等に於いて、患者毎
に異る処方箋に基づき一種類または数種類の薬剤を選択
的に包装できる薬剤包装機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medicine packaging machine which can selectively pack one or several kinds of medicines based on a prescription different for each patient in a hospital or the like.

【0002】[0002]

【従来の技術】薬剤包装機は、例えば特公昭56−48
362号公報や特開昭54−38887号公報で開示さ
れているように予め薬品種及び薬数をキー入力すること
でこの入力データに基づく分包を連続して作成する構成
である。したがって処方箋に基づき薬品種及び薬数を入
力するために、薬剤包装機の制御装置は薬品の在庫管理
や各患者の薬歴管理にも適用されるのであるが、斯る機
能を有した薬剤包装機は末だ存在しない。
2. Description of the Related Art Pharmaceutical packaging machines are disclosed, for example, in JP-B-56-48.
As disclosed in Japanese Patent Application Laid-Open No. 362-362 and Japanese Patent Application Laid-Open No. 54-38887, the type of medicine and the number of medicines are input in advance by keying to continuously create packages based on the input data. Therefore, in order to input the type and number of medicines based on the prescription, the control device of the medicine packaging machine is also applied to the medicine inventory management and the medicine history management of each patient. The machine does not exist.

【0003】[0003]

【発明が解決しようとする課題】しかして多種類の薬品
を選択的に分包する薬剤包装機は、現在のところ錠剤が
主で水剤及び散剤等は分包できず、そのため病院の薬局
オペレータは各診療科より送られてくる処方箋から薬剤
包装機で分包可能な薬品のみを選別して入力することで
分包を行っている。よって従来の薬剤包装機では処方箋
にて服用が指示される全ての薬品種を入力することがで
きないために、薬局における全薬品の在庫管理や各患者
の薬歴管理を行うのは現状のままでは不可能である。
However, at present, the medicine packaging machine for selectively packing various kinds of medicines is mainly composed of tablets and cannot pack liquid medicines and powdered medicines. Performs packaging by selecting and inputting only drugs that can be packaged by a drug packaging machine from prescriptions sent from each medical department. Therefore, since it is not possible to input all the types of medicines instructed by the prescription with the conventional medicine packaging machine, inventory management of all medicines at the pharmacy and management of the medical history of each patient remain as they are. Impossible.

【0004】本発明は、薬剤包装機で分包不可能な種類
を含めた薬局の全薬品種の管理が可能なシステムにおけ
る薬剤包装機を提供するものである。
The present invention provides a medicine packaging machine in a system capable of managing all kinds of medicines in pharmacies, including those that cannot be packaged by the medicine packaging machine.

【0005】[0005]

【課題を解決するための手段】本発明は、投薬すべき薬
剤の薬品種、薬数、及び各薬品種毎の包装可否情報によ
り投薬すべき薬品種と判別された薬剤を包装する薬剤包
装機である。
According to the present invention, there is provided a medicine packaging machine for packaging a medicine which is determined to be a medicine to be dispensed based on the kind of medicine to be dispensed, the number of medicines, and packaging availability information for each kind of medicine. It is.

【0006】[0006]

【作用】本発明の薬剤包装機は上記の構成により、薬剤
包装機での包装の可否の如何に拘ず、薬品の全てを管理
することができるシステムにおいて、その全ての薬品種
のうちで投薬すべき薬品種と判別された薬剤を包装する
ことができるものである。
According to the drug packaging machine of the present invention having the above-described configuration, in a system capable of managing all the drugs regardless of whether or not packaging is possible with the drug packaging machine, the medicine is packaged among all the drug types. The medicine identified as the kind of medicine to be used can be packed.

【0007】[0007]

【実施例】図1は薬剤包装機の外観図を示し、操作器
(10)と包装機(11)とから構成されている。操作
器(10)はキー入力部(12)のキー操作により処方
データを作成して包装機(11)に転送し、包装機(1
1)は転送された処方データにより包装動作を行う。
FIG. 1 is an external view of a medicine packaging machine, which comprises an operating device (10) and a packaging machine (11). The operation device (10) creates prescription data by key operation of the key input section (12), transfers the data to the packaging machine (11), and stores the prescription data in the packaging machine (1).
1) performs a packaging operation based on the transferred prescription data.

【0008】図2は包装機(11)の構成を示し、上部
にタブレットケース収納部(1)が形成されており、そ
の下方にホッパ(2)及びシャッタ(3)と薬剤包装機
構(4)が配置されている。タブレットケース収納部
(1)には錠剤の種類に応じてタブレットケース(5)
…(5)が載置されており、タブレットケース(5)…
(5)は所定の摘出信号の入力により駆動して錠剤を摘
出し、図示しない落下通路を通してホッパ(2)へ導入
するように構成されている。薬剤包装機構(4)は、熱
溶着が可能で予め二つ折りにされた包装紙(6)を巻回
したローラ(7)、テンションローラ(8)、そして包
装紙(6)を縦にヒートシールして連続した小袋を形成
する縦ヒートシール機構(9)、更に錠剤が投入された
小袋の上部開口を密封する横ヒートシール機構(1
0)、及び送りローラ(11)とから構成されている。
そして送りローラ(11)は間欠的に駆動して包装紙
(6)を搬送し、搬送停止時に縦ヒートシールによる分
包袋の形成・シャッタ(3)の開放による分包袋への錠
剤投入・横ヒートシールによる分包袋の密封の各動作が
成される。
FIG. 2 shows the structure of the packaging machine (11), in which a tablet case storage part (1) is formed at the upper part, and a hopper (2) and a shutter (3) and a medicine packaging mechanism (4) are formed below the tablet case storage part. Is arranged. The tablet case storage section (1) has a tablet case (5) according to the type of tablet.
… (5) is placed and the tablet case (5)…
In (5), the tablet is driven by input of a predetermined extraction signal to extract the tablet, and is introduced into the hopper (2) through a falling passage (not shown). The medicine wrapping mechanism (4) includes a roller (7), a tension roller (8), around which a wrapping paper (6) that can be thermally welded and folded in advance is wound, and heat-sealing the wrapping paper (6) vertically. And a horizontal heat sealing mechanism (1) for sealing the upper opening of the pouch filled with tablets.
0) and a feed roller (11).
Then, the feed roller (11) is intermittently driven to convey the wrapping paper (6), and when the conveyance is stopped, formation of a sachet by vertical heat sealing, opening of the shutter (3), feeding of tablets into the sachet, Each operation of sealing the sachet by the horizontal heat seal is performed.

【0009】図3は本発明による薬剤包装機の制御装置
を示し、(13)は操作器(10)側の制御装置、(1
4)は包装機(11)側の制御装置で、送信データをシ
リアル変換して且つ受信データをパラレル変換するイン
ターフェイス(15)(16)を介し伝送線(17)に
よって接続されている。制御装置(13)は、中央処理
装置(18)と、操作器(10)側の制御手順をプログ
ラムしたシステムメモリ(19)と、キー入力部(1
2)の操作を検出してキー入力信号を発生するキーボー
ドインターフェイス(20)と、CRT(22)の表示
制御を行うコントローラ(21)と、薬品種毎に対応す
る薬品ファイルメモリM11〜M1n及び処方データメモリ
21〜M2nと、制御データメモリM3と、レジスタR3
4とを具備している。そして制御装置(14)は、包
装機(11)側の制御手順をプログラムしたシステムメ
モリ(25)と、包装機(11)の包装動作を制御する
包装機コントローラ(28)と、中央処理装置(24)
と、メモリM4と、制御カウンタ(27)と、レジスタ
1・R2とを具備している。
FIG. 3 shows a control device of the medicine packaging machine according to the present invention, wherein (13) is a control device on the operation device (10) side, and (1)
4) is a control device on the side of the packaging machine (11), which is connected by a transmission line (17) via interfaces (15) and (16) for converting transmission data into serial data and receiving data into parallel data. The control device (13) includes a central processing unit (18), a system memory (19) in which a control procedure of the operation device (10) is programmed, and a key input unit (1).
A keyboard interface to detect the operation of 2) for generating a key input signal (20), and CRT (controller for controlling the display 22) (21), chemicals file memory M 11 ~M 1n corresponding to each drug varieties and a prescription data memory M 21 ~M 2n, the control data memory M 3, register R 3 ·
R 4 . The control device (14) includes a system memory (25) programmed with a control procedure of the packaging machine (11), a packaging machine controller (28) for controlling the packaging operation of the packaging machine (11), and a central processing unit ( 24)
, A memory M 4 , a control counter (27), and registers R 1 and R 2 .

【0010】図4は、制御装置(13)が薬品ファイル
メモリM11〜M1nに薬局で扱う全ての薬品の名称・略称
コード及びコード番号を登録するときの動作を示すフロ
ーチャートで、キー入力部(12)の登録開始を表わす
ファンクションキーの操作にて処理が開始される。N0
ステップでは、キー入力部(12)のテンキーの操作に
て薬品種についての任意のコード番号が入力される。こ
のとき登録すべき薬品が包装機(11)で分包可能で、
何れかのタブレットケース(5)…(5)に充填してい
る場合には、テンキーにて「0」以外のコード番号が入
力され、また包装機(11)で分包不可能な散剤或いは
水剤の場合にはテンキーによって「0」が入力される。
1ステップはキー入力されたコード番号データを薬品
ファイルメモリM11〜M1nにストアするものである。薬
品種毎に対応する薬品ファイルメモリM11〜M1nは、夫
々図5に示すように記憶領域m7・m8・m9・m10を有
しており、薬品毎のコード番号データは記憶領域m7
ストアする。そしてN2ステップで当該薬品種に関して
の略称がキー入力されると、N3ステップではこの略称
が既に登録されている他の薬品の略称と重複しないかを
判定して、重複しない場合にはN4ステップで略称コー
ドを対応する記憶部M11〜M1nの記憶領域m8にストア
する。例えば「A錠」という名称の薬品について略称と
して「A」が入力されたとすると、文字「A」を表わす
キャラクタコードが記憶領域m8にストアされる。一方
重複している場合にはN3ステップからN2ステップとな
ってコードが再度キー入力されるのを待機する。しかし
てN5ステップで当該薬品種の薬品名がキー入力される
と、N6ステップで薬品名を構成する各文字を夫々キャ
ラクタコードによって記憶領域m9にストアする。斯る
処理を薬品種毎に繰り返して薬品ファイルメモリM11
1nにコード番号データ・略称コード及び薬品名を登録
し、N7ステップでキー入力部(12)の登録終了を表
わすファンクションキーが操作されたことを検出すると
登録動作を終了する。
[0010] Figure 4 is a flow chart showing the operation when the control device (13) to register the names and abbreviations codes and code numbers of all chemicals handled in pharmacy drug file memory M 11 ~M 1n, a key input unit The process is started by operating the function key indicating the start of registration in (12). N 0
In the step, an arbitrary code number for the drug type is input by operating the numeric keypad of the key input unit (12). At this time, the medicine to be registered can be packaged by the packaging machine (11).
If any of the tablet cases (5) ... (5) are filled, a code number other than "0" is entered using the numeric keypad, and powder or water that cannot be packaged by the packaging machine (11). In the case of a medicine, "0" is inputted by the ten keys.
N 1 step is to store the code number data keyed medicals file memory M 11 ~M 1n. Pharmaceutical file memory M 11 ~M 1n corresponding to each drug varieties, has a storage area m 7 · m 8 · m 9 · m 10 as shown in respectively Figure 5, code number data for each chemical storage store in the region m 7. When the abbreviation regarding the drug varieties with N 2 step is key input, it is determined whether or not to overlap with abbreviations of other chemicals this abbreviation is already registered in the N 3 step, when non-overlapping N the abbreviation code in four steps to store in the storage area m 8 of the corresponding memory unit M 11 ~M 1n. For example, if "A" is input as abbreviation for chemicals entitled "A tablet", the character code representing the letter "A" is stored in the storage area m 8. On the other hand if the overlap waits for the code becomes N 2 Step from N 3 step is again the key input. Thus the medicine name of the drug varieties N 5 steps are keyed, and stores in the storage area m 9 by each character each character code constituting the chemical name N 6 steps. Chemical file memory M 11 by repeating the斯Ru process for each medicine varieties -
The code number data, the abbreviation code, and the medicine name are registered in M 1n , and when it is detected in step N 7 that the function key indicating the end of the registration of the key input section (12) has been operated, the registration operation ends.

【0011】制御装置(14)は制御装置(13)より
送信される制御データに基づき包装制御を行うが、制御
装置(13)(14)間の転送モードは制御装置(1
4)が制御装置(13)へ転送要求信号を送信すること
で始まる。このとき制御装置(14)は包装制御を行っ
ていない状態で定期的にこの転送要求信号を出力するも
のである。図6は制御装置(13)の通常の動作を示す
フローチャートで、薬品ファイルメモリM11〜M1nへの
登録動作以外では常にこのフローチャートに基づく処理
を実行している。N10ステップはレジスタR3には
「1」をストアして転送番号を1にセットし、且つレジ
スタR4には「0」をストアし、N11ステップでは制御
装置(14)からの転送要求信号の有無を判定し、転送
要求信号が出力されていないとN12ステップでキー入力
の有無を判定する。キー入力部(12)が操作されて、
朝・昼・夕・就寝前毎に投薬する薬品の略称及び薬数と
服用する日数がキー入力されると、N13ステップでは図
7のフォーマットにしたがってこのキー入力内容に基づ
く処方データを作成して何れかの処方データメモリM21
〜M2nに記憶するが、以下処方データメモリM21に記憶
するものとする。
The control device (14) performs packaging control based on control data transmitted from the control device (13). The transfer mode between the control devices (13) and (14) is controlled by the control device (1).
4) starts by transmitting a transfer request signal to the control device (13). At this time, the control device (14) periodically outputs the transfer request signal without performing the packaging control. Figure 6 is a flowchart showing a normal operation of the control unit (13), is always running a process based on this flowchart is outside the registration operation to the drug file memory M 11 ~M 1n. N 10 step is to register R 3 is set to 1 the forwarding number to store "1", and the register R 4 stores "0", the transfer request from the control unit (14) in the N 11 step determines the presence of the signal, it determines the presence or absence of the key input at N 12 step a transfer request signal is not output. When the key input unit (12) is operated,
When the number of days that dose abbreviated and drugs number of chemicals to be dosed before each morning, noon and evening, sleep is key input, the N 13 step to create a prescription data based on the key entry in accordance with the format of FIG. 7 Any prescription data memory M 21
MM 2n , but hereinafter stored in the prescription data memory M 21 .

【0012】図8はN13ステップでの動作を説明するフ
ローチャートである。n0ステップで薬品の略称がキー
入力されると、n1ステップでは薬品ファイルメモリM
11〜M1nを索引して何れの薬品がキー入力されたかを判
定してn2ステップとなる。しかしながら何れの薬品フ
ァイルメモリM11〜M1nにもキー入力された略称と同じ
略称がストアされていないと、n0ステップに復帰して
再度の略称入力を待機する。n2ステップは、キー入力
された略称に一致する薬品のコード番号及び薬品名を薬
品ファイルメモリM11〜M1nより読み取って、夫々処方
データメモリM 21の記憶領域m5・m6にストアする。そ
してn3ステップでその薬品の朝・昼・夕・就寝前毎の
薬数が入力されると、n4ステップでは処方データメモ
リM21の記憶領域m2の0〜3までの各アドレスに朝・
昼・夕・就寝前毎の薬数データを書込み、n5ステップ
でキー入力があると、n6ステップではキー入力の内容
が薬品に関する略称であるか或いは服用日数であるかを
判定する。1分包中に複数種の錠剤を包装する場合には
略称が再度入力されるために、n1ステップに復帰して
同様な処理が繰り返されて、処方データメモリM21には
この略称に一致する薬品のコード番号・薬品名・薬数が
ストアされる。しかして1分包中に包装すべき薬品及び
その薬数の設定が終了して、服用日数がn5ステップで
入力されると、n6ステップからn7ステップとなって処
方データメモリM21の記憶領域m1に日数データをスト
アする。n8ステップは、日数データの入力により朝・
昼・夕・就寝前毎の総分包数を演算して、処方データメ
モリM21の記憶領域m3の各アドレス0〜3までにスト
アする。n9ステップでは、レジスタR3にストアしてい
る転送番号を処方データメモリM21の記憶領域m4に書
込み、n10ステップでレジスタR3の内容を1加算計数
して転送番号を1つ進めてN11ステップに移行する。そ
して転送要求信号が送信されていない状態で再び処方デ
ータのキー入力があると、メモリM22に処方データをス
トアするが、このとき処方データメモリM22の記憶領域
4にはレジスタR3の内容が1加算されているために、
1つ進められた転送番号がストアされる。
FIG. 8 shows N13An explanation of the operation in steps
It is a low chart. n0Abbreviation of drug is key in step
When entered, n1In the step, the medicine file memory M
11~ M1nTo determine which drug was keyed in.
Set nTwoBecome a step. However, any chemicals
File memory M11~ M1nIs the same as the abbreviation keyed in
If the abbreviation is not stored, n0Return to the step
Wait for the abbreviation input again. nTwoStep is key input
Enter the code number and name of the drug that matches the
Product file memory M11~ M1nRead more and prescribe each
Data memory M twenty oneStorage area mFive・ M6Store in So
Then nThreeStep by step the morning, noon, evening and before bedtime
When the number of drugs is entered, nFourStep with prescription data memo
Re Mtwenty oneStorage area mTwoMorning to each address from 0 to 3
Write medicine number data for each day, evening and before bedtime, nFiveSteps
When there is a key input at6In step, the contents of key input
Is an abbreviation for a drug or the number of days taken
judge. When packaging multiple types of tablets in one package
Since the abbreviation is entered again, n1Return to the step
A similar process is repeated, and the prescription data memory Mtwenty oneTo
If the code number, drug name, and number of drugs that match this abbreviation are
Stored. And the medicines to be packed in one package
After setting the number of medicines, the number of days taken is nFiveIn steps
When entered, n6Step to n7Become a step
Data memory Mtwenty oneStorage area m1Days data
A. n8Steps are entered in the morning and day
Calculate the total number of packages for each day, evening, and before bedtime
Mori Mtwenty oneStorage area mThreeOf each address 0 to 3
A. n9In the step, register RThreeStored in
Prescription data memory Mtwenty oneStorage area mFourWritten on
NTenRegister R by stepThreeAdd 1 to the contents of
The transfer number by 111Move to step. So
The prescription data again without transmitting the transfer request signal.
Data input, the memory Mtwenty twoPrescription data
At this time, the prescription data memory Mtwenty twoStorage area
mFourHas a register RThreeIs added by 1,
The transfer number advanced by one is stored.

【0013】図9はかかるキー入力時におけるCRT
(22)の表示内容を示しており、オペレータのキー入
力にて指定される薬品名及びこの薬品の朝・昼・夕・就
寝前毎の剤数と日数は表示部(31)(32)(33)
で夫々表示し、そして略称に基づき薬品ファイルメモリ
11〜M1nより読取ったコード番号は表示部(34)で
表示する。この第9図に示す入力例では、朝・昼・夕毎
にA錠・B錠・C錠を一錠づつ7日分分包し、朝・昼・
夕・就寝前毎にE散剤を一単位づつ7日分分包すること
がキー入力されたことを示している。尚、散薬であるE
散剤は、包装機(11)にては分包不可能で他の散薬専
用の包装機或いは手作業により分包されるが、在庫管理
のために入力される。したがって処方データメモリM21
のNo.1からNo.4までの各記憶領域m5には夫々
A・B・C・Eの各薬品のコード番号データが書込ま
れ、且つNo.1からNo.3までの薬数データをスト
アする各記憶領域m2の朝・昼・夕・就寝前に対応する
アドレス0〜2には夫々薬数データ「1」が書込まれる
と共にアドレス3には「0」が書込まれ、No.4の記
憶領域m2の各アドレス0〜3には夫々「1」が書込ま
れ、記憶領域m1には日数データ「7」が書込まれる。
そして薬数データと日数データの入力により、朝・昼・
夕・就寝前毎の総分包数を演算して記憶領域m3の各ア
ドレス0〜3までにストアすると共に、CRT(22)
の表示部(35)に表示する。またE散剤は、包装機
(11)で分包不可能なためコード番号としては「0」
が処方データメモリM21にストアされているが、CRT
(22)の表示部(34)はE散剤については「…」を
表示して分包不能であることを示している。
FIG. 9 shows a CRT at the time of such key input.
The display content of (22) is shown, and the name of the medicine designated by the operator's key input and the number of medicines and the number of days of this medicine every morning, noon, evening, and before going to bed are displayed on the display unit (31) (32) ( 33)
In each displayed, and the code number read from the drug file memory M 11 ~M 1n based on abbreviations are displayed on the display unit (34). In the input example shown in FIG. 9, tablets A, B, and C are packaged in the morning, noon, and evening, one tablet at a time, for seven days.
This indicates that a key input was made to pack the E powder one unit for 7 days every evening and before bedtime. In addition, E which is powder
The powder is not packaged by the packaging machine (11) and is packaged by another packaging machine dedicated to powdering or manually, but is input for inventory management. Therefore, the prescription data memory M 21
No. No. 1 to No. Each storage area m 5 to 4 code number data of each drug each A · B · C · E is written, and No. No. 1 to No. Each storage area m 2 in the morning, noon and evening, going to bed address 0-2 corresponding to before you store the medicine the number of data of up to 3 to address 3 together with the respective medicine the number of data "1" is written "0 Is written, and No. Each address 0-3 of the storage area m 2 4 respectively "1" is written, the number of days the data "7" is written in the storage area m 1.
And by inputting the number of medicine data and the number of days data,
The total number of parcels for each evening and before bedtime is calculated and stored in each address 0 to 3 of the storage area m3, and the CRT (22)
Is displayed on the display section (35). In addition, since the E powder cannot be packaged by the packaging machine (11), the code number is "0".
Although There has been stored in the prescription data memory M 21, CRT
The display unit (34) of (22) displays "..." for the E powder to indicate that packaging is not possible.

【0014】このようにして処方データを作成してN11
ステップに復帰し、制御装置(14)から転送要求信号
が送信されているのを検出すると、N14ステップとなっ
てレジスタR4の内容が「0」以外の値であるかを判定
する。レジスタR4は、包装機(11)が包装動作中で
あると、このときの包装動作の基となる処方データの転
送番号をストアしている。したがって現在、包装機(1
1)が包装動作を停止しているとレジスタR4の内容が
「0」のために、N19ステップに移行して処方データの
有無を判定する。そして前述のN13ステップの処理によ
り処方データメモリM21に処方データをストアしている
と、N20ステップとなって処方データメモリM21の記憶
領域m4にストアされている転送番号をレジスタR4に書
込み、N21ステップで制御装置(14)に転送する処方
データを第11図のフォーマットにしたがって制御デー
タに変換する。尚、何れか二つ以上の処方データメモリ
21〜M2nに処方データがストアされていると、記憶領
域m4にストアされている転送番号の小さい処方データ
を選定する。
In this way, the prescription data is created and N 11
Returns to step determines the transfer request signal from the control unit (14) detects that the is being sent, whether the contents of register R 4 is a N 14 step is a value other than "0". Register R 4 is the packaging machine (11) when is in the packaging operation, and stores the forwarding number in the prescription data on which to base the packaging operation at this time. Therefore, the packaging machine (1
For 1) the contents of the register R 4 has stopped packaging operation of "0", determines the presence or absence of prescription data shifts to N 19 step. When the the process of the above-described N 13 steps are storing prescription data to the prescription data memory M 21, the register transfer number becomes N 20 step being stored in the storage area m 4 prescription data memory M 21 R 4 to write, to convert the prescription data to be transferred to the control unit (14) in N 21 step control data according to the format of Figure 11. Note that any two or more prescription data to the prescription data memory M 21 ~M 2n is the is stored, selects a small prescription data of forwarding number that is stored in the storage area m 4.

【0015】図10は制御データ作成のフローチャート
を示しており、n20ステップは処方データをストアして
いるメモリM21〜M2nを選定し、且つ選定したメモリM
21の各記憶領域m5・m2で先頭の記憶領域m5・m2を指
定する。n21ステップは、処方データメモリM21の記憶
領域m5にストアしている薬品のコード番号データを制
御データメモリM3の記憶領域m5’に書込む。制御デー
タメモリM3は、処方データメモリM21〜M2nの記憶領
域m2・m3・m5に対応して記憶領域m2’・m 3’・
5’を具備している。n22ステップは、記憶領域m5
にストアしたコード番号データが「0」かを判定し、
「0」以外の場合はn23ステップとなって、処方データ
メモリM21の記憶領域m2の各アドレス0〜3にストア
している朝・昼・夕・就寝前毎の薬数データを、制御デ
ータメモリM3の記憶領域m2’の各アドレス0〜3にス
トアする。また「0」の場合は、n24ステップで制御デ
ータメモリM3の記憶領域m2’の各アドレス0〜3には
夫々「0」を書込む。n25ステップは、処方データメモ
リM21の記憶領域m5・m2を夫々シフトし、n26ステッ
プは処方データメモリM21の全ての記憶領域m5を指定
したかを判定する。かかるn21ステップからn26ステッ
プまでの処理を繰り返して、n20ステップで選定した処
方データメモリM21の記憶領域m5にストアされている
薬品のコード番号データを制御データメモリM3に移し
換えると共に、コード番号データが「0」以外の場合は
その薬品種の薬数データをそのまま制御データメモリM
3に書込み、「0」の場合はその薬品種の薬数データを
「0」に修正して制御データメモリM3に書込む。した
がって図9に示す入力例では、制御データメモリM3
No.1からNo.3までの記憶領域m5’にはA・B
・C各錠剤のコード番号データ、No.4の記憶領域m
5’にはE散剤に対応して「0」が夫々書込まれ、また
制御データメモリM3のNo.1からNo.3までの各
記憶領域m2’のアドレス0〜2までには「1」そして
アドレス3には「0」が書込まれるとともに、No.4
の記憶領域m2’の0〜3までの各アドレスには「0」
が夫々書込まれる。
FIG. 10 is a flowchart for creating control data.
And n20Step stores prescription data
Memory Mtwenty one~ M2nAnd the selected memory M
twenty oneEach storage area mFive・ MTwoIs the first storage area mFive・ MTwoThe finger
Set. ntwenty oneThe step is a prescription data memory Mtwenty oneMemory of
Area mFiveControl the code number data of drugs stored in
Control data memory MThreeStorage area mFive’. Control day
Data memory MThreeIs the prescription data memory Mtwenty one~ M2nMemory of
Area mTwo・ MThree・ MFiveStorage area m corresponding toTwo’· M Three
mFive’. ntwenty twoStep is storage area mFive
Judge whether the code number data stored in the
N other than "0"twenty threeStep by step, prescription data
Memory Mtwenty oneStorage area mTwoStore at each address 0-3
Data on the number of medicines for each morning, noon, evening,
Data memory MThreeStorage area mTwo’Each address 0-3
To torre. In the case of "0", ntwenty fourControl data in steps
Data memory MThreeStorage area mTwo’Each address 0-3
Write "0" for each. ntwenty fiveStep is a prescription data memo
Re Mtwenty oneStorage area mFive・ MTwoRespectively, and n26Step
Is the prescription data memory Mtwenty oneAll storage areas mFiveSpecify
It is determined whether it has been done. Such ntwenty oneStep to n26Step
Repeat the process up to20Process selected in step
Data memory Mtwenty oneStorage area mFiveStored in
Control code memory M for drug code number dataThreeMoved to
When the code number data is other than "0"
The control data memory M stores the drug number data of the drug type as it is.
ThreeAnd if it is "0", the drug count data for that drug type
Corrected to "0" to change the control data memory MThreeWrite to. did
Therefore, in the input example shown in FIG.Threeof
No. No. 1 to No. Storage area m up to 3Five’Contains A and B
C: Code number data of each tablet, No. Storage area m of 4
Five'Is written with “0” corresponding to E powder,
Control data memory MThreeNo. No. 1 to No. Up to 3 each
Storage area mTwo’Address 0 to 2 is“ 1 ”and
“0” is written in the address 3 and “No. 4
Storage area mTwo"0" for each address from 0 to 3
Are written respectively.

【0016】n27ステップは、n20ステップで選定した
処方データメモリM21の記憶部の記憶領域m3における
先頭のアドレス0を指定するとともに、制御データメモ
リM3の各記憶領域m2’及びm3’のうちのアドレス0
を夫々指定する。n28ステップは、各記憶領域m2’の
アドレス0に夫々ストアしている薬品種毎の薬数データ
の論理和が「0」であるかを判定する。このとき各記憶
領域m2’のアドレス0にストアしている薬数データの
少なくとも一つが「0」以外であると、n29ステップで
記憶領域m3のアドレス0にストアしている朝について
の総分包数データを、制御データメモリM3の記憶領域
3’のアドレス0に書込む。また各記憶領域m2’のア
ドレス0にストアしている薬数データが全て「0」であ
ると、n30ステップで制御データメモリM3の記憶領域
3’のアドレス0に「0」を書込む。n31ステップ
は、n27ステップで選定した処方データメモリM2の記
憶部の記憶領域m3におけるアドレスを0から1にシフ
トするとともに、制御データメモリM3の各記憶領域
2’のアドレスを全て0から1にシフトし、n32ステ
ップは処方データメモリM2の記憶領域m3のアドレスが
オーバーしたかを判定して、アドレスが3以内のうちは
28ステップに移行する。そしてn28ステップからn32
ステップまでの処理にて制御データメモリM3の各記憶
領域m2’の各アドレス1にストアしている薬品種毎の
薬数データの論理和が「0」であるかで昼の総分包数デ
ータの修正の要否を判定し「0」以外の場合は修正の要
なしとして記憶領域m3のアドレス1にストアしている
データを記憶領域m3’のアドレス1に書込み、「0」
の場合は記憶領域m3’のアドレス1に「0」を書込ん
で総分包数データを修正する。同様に、夕及び就寝前に
ついての総分包数も夫々n28ステップからn32ステップ
までの処理により修正が判定されて、制御データメモリ
3の記憶領域m3’のアドレス2及び3には夫々所定の
データが書込まれる。そして処方データメモリM2のア
ドレスが記憶領域m3を越えると、n32ステップからN
22ステップとなる。したがって本例の処方入力に依れ
ば、就寝前の服用はE散剤のみであり、制御データメモ
リM3における各記憶領域m2’のアドレス3にストアさ
れているデータの論理和は「0」のために、記憶領域m
3’のアドレス3には修正値である「0」が書込まれ
る。
The step n 27 designates the first address 0 in the storage area m 3 of the storage section of the prescription data memory M 21 selected in the step n 20 , and the respective storage areas m 2 ′ and m 2 ′ of the control data memory M 3. Address 0 of m 3 '
Are specified respectively. n 28 step determines whether the logical OR of the drug data quantity for each drug varieties respectively store the address 0 in each storage area m 2 'is "0". At this time, if at least one of the drug number data stored in the address 0 of each storage area m 2 ′ is other than “0”, the data for the morning stored in the address 0 of the storage area m 3 in n 29 steps is obtained. The total package number data is written to the address 0 of the storage area m 3 ′ of the control data memory M 3 . The 'If it is the address 0 in the store to drugs number data are all "0", the storage area m 3 of n 30 control at step data memory M 3' each storage area m 2 to "0" in the address 0 of the Write. n 31 steps, with an address in the storage area m 3 of the storage unit of the prescription data memory M 2 that was selected in n 27 step shifts from 0 to 1, the address of each storage area m 2 'of the control data memory M 3 all shifts from 0 to 1, n 32 step is to determine whether the address of the storage area m 3 of prescription data memory M 2 is over, the address of within 3 shifts to n 28 step. And from n 28 steps to n 32
In the process up to the step, whether the logical sum of the drug number data for each drug type stored in each address 1 of each storage area m 2 ′ of the control data memory M 3 is “0”, the total package in the daytime write to address 1 of determining the necessity of several data modification "0" other than the storage area m 3 data are stored in the address 1 of the storage area m 3 as principal without modification in the case of '"0"
For modifies the total number of packets data write the "0" in the address 1 of the storage area m 3 '. Similarly, the total number of packets for the previous evening and bedtime be determined corrected by the processing of the respective n 28 steps until n 32 step, the address 2 and 3 of the storage area m 3 'of the control data memory M 3 are Prescribed data is written respectively. When the address of the prescription data memory M 2 exceeds a storage area m 3, N from n 32 step
22 steps. Therefore, according to the prescription input of the present example, only the E powder is taken before going to bed, and the logical sum of the data stored in the address 3 of each storage area m 2 ′ in the control data memory M 3 is “0”. Storage area m
A correction value "0" is written to address 3 of 3 '.

【0017】N22ステップは、制御データメモリM3
記憶領域m3’のアドレス0〜3までにストアされてい
る朝・昼・夕・就寝前毎の総分包数が全て「0」かを判
定し、「0」の場合には包装機(11)で分包する必要
がないためN11ステップに復帰する。しかして朝・昼・
夕・就寝前の少なくとも何れか一つの総分包数が「0」
以外であると、包装機(11)で分包する必要があっ
て、N23ステップで制御データを制御装置(14)に転
送するが、このとき制御データはインターフェイス(1
5)でシリアル変換されて送信される。しかして転送終
了後、N11ステップに復帰するが、制御装置(14)は
制御データの受信により包装機(11)の包装制御を行
なっているために転送要求信号を出力しない。したがっ
て制御装置(13)はN12ステップでキー入力の有無を
繰り返し判定し、キー入力があるとN 13ステップとな
り、処方データをストアしていない何れかの処方データ
メモリM 21〜M2nにキー入力データをストアする。
Ntwenty twoThe step is a control data memory MThreeof
Storage area mThree’Stored at addresses 0-3
Whether the total number of packages in the morning, noon, evening, and before bedtime is all “0”
If it is "0", it is necessary to pack it with the packaging machine (11)
N because there is no11Return to step. Then morning, noon,
The total number of packages in at least one of the evening and before bedtime is “0”
If it is not the case, it is necessary to package it with the packaging machine (11).
And Ntwenty threeThe control data is transferred to the control device (14) in steps.
At this time, the control data is transmitted at the interface (1
The data is serial-converted in 5) and transmitted. And then the transfer ends
After completion, N11Returning to the step, the control device (14)
Controlling the packaging of the packaging machine (11) by receiving the control data
Does not output the transfer request signal. Accordingly
Control device (13) is N12Check if a key is pressed in steps
Repeated judgment, N when there is a key input 13Steps
Any prescription data that does not store prescription data
Memory M twenty one~ M2nStore the key input data in.

【0018】制御装置(14)の動作を図12のフロー
チャートによって説明する。N0’ステップで転送要求
信号を出力して制御データを受信すると、N1’ステッ
プからN2’ステップとなり制御データをメモリM4にス
トアする。メモリM4は、メモリM3の各記憶領域m2
・m3’・m5’に対応して記憶領域m2”・m3”・
5”を具備して、夫々薬数データ・総分包数データ・
薬品種のコード番号データをストアする。N3’ステッ
プは、1が加算されるごとに順次「0」から「3」まで
を繰り返し計数する3進の制御カウンタ(27)を
「0」にセットする。N 4’ステップは、メモリM4の記
憶領域m3”の内容が「0」かを判定する。記憶領域
3”は朝・昼・夕・就寝前に対応する0から3までの
4つのアドレスに夫々総分包数をストアしているが、こ
の場合、制御カウンタ(27)の内容CNは「0」のた
めにアドレス0が指定されて、朝の総分包数データが
「0」であるかが判定される。本例では朝服用の分包数
は7日分でありN5’ステップに移行する。N5’ステッ
プは、メモリM4の記憶領域m5”にストアしているコー
ド番号データをレジスタR1にストアし、記憶領域m2
にストアしている薬数データをレジスタR2にストアす
る。このとき記憶領域m2”に関しては、制御カウンタ
(27)の内容CNが「0」のために先ず記憶領域
2”のアドレス0にストアされている薬数データが読
出されてレジスタR2にストアされる。したがってレジ
スタR1にはA・B・C各錠剤のコード番号データが書
込まれ、レジスタR2にはこれら錠剤種について朝の分
包分の薬数データが書込まれる。N6’ステップはレジ
スタR2の内容が「0」かを判定するが、A・B・Cの
各錠剤種について少なくとも一つの錠剤種の薬数データ
が「0」以外にあるとN7’ステップとなって錠剤の摘
出動作となる。N7’ステップに於いて、包装機コント
ローラ(28)には薬数データが「0」以外にある錠剤
種についてのコード番号データがレジスタR1より読出
されて導入される。そして包装機コントローラ(28)
はA・B・Cの各種錠剤を収納したタブレットケース
(5)…(5)に対して摘出信号を出力する。したがっ
て摘出信号が導入されたタブレットケース(5)…
(5)は駆動して一錠の錠剤を摘出する。N8’ステッ
プでは、摘出動作を行った錠剤種についてその薬数デー
タより「1」を減算してN6’ステップに復帰する。本
例では、朝の分包にはA・B・Cの各種薬剤を一錠づつ
包装するためにレジスタR2にストアされているA・B
・Cの各種薬剤の薬数データは「0」となる。したがっ
て朝の1分包分の錠剤が摘出されてホッパー(2)に導
入され、次のN9’ステップで包装動作が成される。
9’ステップで包装機コントローラ(28)はシャッ
タ(3)・横ヒートシール機構(10)・縦ヒートシー
ル機構(9)に夫々制御信号を与えて錠剤投入・分包袋
密封・分包袋形成の各動作を制御し、しかる後、送りロ
ーラ(11)の駆動装置へ制御信号を与え包装紙(6)
を長手方向へ所定寸法移送させて朝服用分の分包の包装
動作を終了する。N10’ステップは、制御カウンタ(2
7)の内容「0」によりメモリM4の記憶領域m3”のア
ドレス0を指定して、そこにストアしているデータより
「1」を減算し、N11’ステップでは記憶領域m3”の
0〜3までの全てのアドレスのデータが「0」であるか
を判定する。この場合、朝服用分の分包が一つ終了して
記憶領域m3”のアドレス0のデータより「1」を減算
した段階であり、N12’ステップで制御カウンタ(2
7)の内容CNを「0」から「1」に進めてN4’ステ
ップに復帰する。そしてN4’ステップでは、制御カウ
ンタ(27)の内容が「1」のためにm3”のアドレス
1を指定してその内容が「0」かを判定するが、このと
きアドレス1の内容は「7」のためにN5’ステップに
移行して昼服用分の分包動作となる。
FIG. 12 is a flowchart showing the operation of the control device (14).
This will be described with reference to a chart. N0’Step forward request
When a signal is output and control data is received, N1
To NTwo′ Step and the control data is stored in the memory MFourNisu
To torre. Memory MFourIs the memory MThreeEach storage area mTwo
・ MThree’· MFive’Corresponding to the storage area mTwo”・ MThree"・
m FiveAnd the number of medicines, the total number of packages,
Stores the code number data of the drug type. NThree
Each time 1 is added, the order from "0" to "3"
Ternary control counter (27)
Set to "0". N Four’Step is the memory MFourNote
Storage area mThree"" Is "0". Storage area
mThree”Means 0 to 3 corresponding to morning, noon, evening and before bedtime
The total number of parcels is stored in each of the four addresses.
, The content CN of the control counter (27) is "0".
Address 0 is specified, and the total
It is determined whether it is “0”. In this example, the number of packages for morning use
Is for 7 days and NFiveGo to the 'step. NFive
Is the memory MFourStorage area mFiveCo. stored in
Register number data in register R1In the storage area mTwo"
Register the drug number data stored in the register RTwoStore in
You. At this time, the storage area mTwo”For the control counter
Since the content CN of (27) is "0", first, the storage area
mTwoThe drug number data stored at address 0 of
Issued register RTwoStored in Therefore cash register
Star R1Contains the code number data of each A, B, C tablet
Register RTwoIn the morning about these tablet types
Data on the number of medicines in the package is written. N6’Step is the cash register
Star RTwoIs determined to be "0".
Number data for at least one tablet type for each tablet type
Is N if it is other than "0"7’Step and pick the tablets
Out operation. N7’Step, the packaging machine control
Tablet with drug number data other than "0" on roller (28)
The code number data for the species is in register R1Read more
Being introduced. And packaging machine controller (28)
Is a tablet case containing A, B and C tablets
(5) An extraction signal is output for (5). Accordingly
Tablet case (5) into which the extraction signal was introduced
(5) is driven to extract one tablet. N8
The drug group has data on the number of
Subtract "1" from the data and N6Return to the 'step. Book
In the example, in the morning sachets, each tablet of A, B, C
Register R to wrapTwoA and B stored in
-The drug number data of various drugs of C is "0". Accordingly
1 tablet in the morning is extracted and guided to the hopper (2).
And the next N9The packaging operation is performed in the 'step.
N9′ Step, the packaging machine controller (28)
(3) · Horizontal heat seal mechanism (10) · Vertical heat seal
Control signal to each mechanism (9) to feed tablets and sachets
Control each operation of forming the sealing and sachets, and then
Control signal to the driving device of the roller (11), and wrapping paper (6)
Is transported to the specified length in the longitudinal direction, and the package for morning
End the operation. NTen'Step is a control counter (2
7) The contents of the memory MFourStorage area mThree"No
Designate dress 0, and from the data stored there
Subtract "1" and N11’Step is storage area mThree"of
Whether the data of all addresses from 0 to 3 is "0"
Is determined. In this case, one package for the morning dose is finished
Storage area mThreeSubtract "1" from data at address 0 "
At the stage where12'Control counter (2
7) Advance the content CN from “0” to “1” and set NFour
Return to the top. And NFour’Step, control cow
Because the content of the counter (27) is "1"ThreeAddress
Specify 1 to determine whether the content is "0".
Address 1 contains N for "7"Five’Step
The process shifts to a packing operation for lunch.

【0019】N5’ステップでは、記憶領域m5”にスト
アしているコード番号データをレジスタR1にストア
し、各記憶領域m2”のアドレス1にストアしている薬
数データをレジスタR2にストアする。そしてN6’ステ
ップからN7’ステップとなると、レジスタR2にストア
されている薬数データが「0」以外にある錠剤種につい
てタブレットケース(5)…(5)より錠剤を摘出し、
8’ステップではレジスタR2の薬数データより「1」
を減算する。本例では、昼服用分の分包もA・B・Cの
各種薬剤を一錠づつ包装するために、レジスタR2の薬
数データは全て「0」となりN6’ステップからN9’ス
テップとなる。N9’ステップでは、ホッパー(2)に
取り出した昼の一分包分の錠剤の包装動作を行い、
10’ステップでは、記憶領域m3”のアドレス1にス
トアしているデータから「1」を減算して、昼の一分包
動作が終了したことを記憶する。そしてN11’ステップ
からN 12’ステップとなると、制御カウンタ(27)の
内容CNを「1」から「2」に進める。したがって次の
4’ステップからは、制御カウンタ(27)の内容が
「2」のため記憶領域m5”・m2”はアドレス2が指定
されて夕の一分包動作についての処理となり、しかる
後、夕の分包についての処理を終了すると制御カウンタ
(27)の内容CNを「2」から「3」に進めてN4
ステップに復帰する。このとき記憶領域m3”のアドレ
ス3の内容は「0」であり、N4’ステップからN11
ステップとなる。即ち、本例の入力処方では、就寝前に
は包装機(11)で包装不能なE散剤を分包するため
に、就寝前の服用分についての包装動作は省略されたこ
とになる。そしてN12’ステップで制御カウンタ(2
7)の内容を「3」から「0」に進めて、再度、朝の分
包についての処理を行う。このようにしてメモリM4
記憶領域m3’のアドレス0〜3にストアされているデ
ータが全て「0」になるまで、朝・昼・夕の順序で分包
動作を繰り返す。しかして朝・昼・夕の7日分の7分包
づつの包装が終了すると、1入力処方についての包装が
終了したとしてN11’ステップからN0’ステップに復
帰する。そしてN0’ステップでは、次の包装動作に関
する処方データの転送要求信号を制御装置(13)に送
信する。
NFive’Step, the storage area mFiveStrike
Register code number data1To store
And each storage area mTwoDrug stored at address 1 of "
Register data in register RTwoStore in And N6
N from top7′ Step, register RTwoTo store
Tablet types for which the data on the number of
Tablets from tablet case (5) ... (5)
N8’Step, register RTwo"1"
Is subtracted. In this example, the package for lunch is also A, B, C
Register R for packaging various drugs one by one.TwoMedicine
Numerical data are all "0" and N6’Step to N9
It will be a step. N9’Step to the hopper (2)
Perform the wrapping operation of the tablets for one minute package taken out at noon,
NTen’Step, the storage area mThreeAddress 1
"1" is subtracted from the data being torred, and one day's package
The fact that the operation has been completed is stored. And N11’Step
To N 12′ Step, the control counter (27)
The content CN is advanced from “1” to “2”. So the next
NFourFrom the 'step, the content of the control counter (27) is
Storage area m for "2"Five”・ MTwo"Designates address 2.
It becomes the processing of the one-minute packing operation in the evening,
After that, when the processing for the evening package is completed, the control counter
The content CN of (27) is advanced from “2” to “3” and NFour
Return to step. At this time, the storage area mThreeAddress of "
The content of the resource 3 is "0" and NFour’Step to N11
Become a step. That is, in the input prescription of this example, before going to bed
Is for packaging E powder which cannot be packaged by packaging machine (11)
In addition, the packaging operation for the dose before bedtime was omitted.
And And N12'Control counter (2
Advance the contents of 7) from “3” to “0” and repeat the morning
Perform processing for the package. Thus, the memory MFourof
Storage area mThree'Stored in addresses 0 to 3 of
Until all data becomes "0", package in the order of morning, noon and evening
Repeat the operation. 7 days package for morning, noon and evening
When each package is completed, the packaging for one input prescription
N as finished11’Step to N0’Step back
Return. And N0’Step involves the next packaging operation.
To send a prescription data transfer request signal to the control device (13).
I believe.

【0020】そして制御装置(14)が転送要求信号を
出力しているのを、制御装置(13)がN11ステップで
検出すると、このときは処方データを制御装置(14)
に転送してレジスタR4には転送番号をストアしている
ためにN14ステップからN15ステップとなる。N15ステ
ップは、処方データメモリM21にストアしている薬品名
より対応する薬品ファイルメモリM11〜M1nを索引し、
16ステップで該メモリの薬数記憶領域m10に薬数の累
積を記録する。N17ステップでは処方データメモリM21
をクリアし、N18ステップではレジスタR4を「0」に
してN19ステップとなる。このように制御装置(13)
は、転送した制御データに基づく包装動作が終了したこ
とを、N11ステップでの転送要求信号の有無及びN14
テップでのレジスタR4の内容にて判断すると、包装の
終了した処方データに示される薬品種に対応した薬品フ
ァイルメモリM11〜M1nを指定して、その記憶領域m10
にストアしている累積薬数に当該薬品種の薬数データを
加算するものである。そして何れかの処方データメモリ
22〜M2nに処方データがストアされていると、再び制
御データを作成し且つ包装機(11)で包装可能な薬品
種の場合にこの制御データを制御装置(14)に転送す
る。また薬品ファイルメモリM11〜M1nにストアしてい
るデータは、キー入力部(12)の所定キーを操作して
かかるデータの表示を指示する表示指令を中央処理装置
(18)に入力することで、CRT(22)において表
示される。即ち、図6のフローチャートで、制御装置
(14)より転送要求信号が送信されておらず、そして
キー入力部(12)に処方入力が成されていない状態で
表示指令が発生したことをN24ステップで検出すると、
25ステップとなって薬品ファイルメモリM11〜M1n
ストアしているデータをCRTコントローラ(21)へ
導入し、CRT(22)は各薬品種毎のコード番号・略
称コード・薬品名・累積薬数を表示する。
Then, the control device (14) transmits a transfer request signal.
The control device (13) outputs N11In steps
Upon detection, the prescription data is transmitted to the control device (14).
To register RFourStores the forwarding number
N for14N from stepFifteenBecome a step. NFifteenStay
Is the prescription data memory Mtwenty oneName of drug stored in
More compatible drug file memory M11~ M1nAnd index
N16In step, the number of medicines storage area m of the memoryTenCumulative number of medicines
Record the product. N17In the step, the prescription data memory Mtwenty one
Clear and N18In the step, register RFourTo "0"
Then N19Become a step. Thus, the control device (13)
Indicates that the packaging operation based on the transferred control data has been completed.
And N11Presence or absence of transfer request signal in step and N14S
Register R at TepFourJudging by the content of
The drug type corresponding to the drug type indicated in the finished prescription data
File memory M11~ M1nTo specify the storage area mTen
The drug number data of the drug type is added to the cumulative drug number stored in
It is to be added. And any prescription data memory
Mtwenty two~ M2nIf prescription data is stored in
Chemicals that create control data and can be packaged by the packaging machine (11)
This control data is transferred to the control device (14) in the case of
You. Also, drug file memory M11~ M1nStored in
Is operated by operating a predetermined key of the key input unit (12).
A central processing unit issues a display command for displaying such data.
By inputting to (18), the table is displayed on the CRT (22).
Is shown. That is, in the flowchart of FIG.
(14) no transfer request signal is transmitted, and
In the state where the prescription input is not made in the key input section (12)
N that the display command has occurredtwenty fourWhen detected in a step,
N twenty fiveStep becomes the medicine file memory M11~ M1nTo
Stored data to CRT controller (21)
Introduced, CRT (22) is a code number for each chemical type
Displays the name code, drug name, and cumulative number of drugs.

【0021】[0021]

【発明の効果】本発明の薬剤包装機に依ると、上記の構
成により、薬剤包装機での包装の可否の如何に拘ず、薬
品の全てを管理することができるシステムにおいて、そ
の全ての薬品種のうちで投薬すべき薬品種と判別された
薬剤を包装することができる。
According to the medicine packaging machine of the present invention, with the above structure, in a system capable of managing all medicines regardless of whether or not packaging is possible with the medicine packaging machine, all the medicines are managed. A medicine determined to be a medicine to be administered among the species can be packaged.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に依る薬剤包装機の外観図である。FIG. 1 is an external view of a medicine packaging machine according to the present invention.

【図2】包装機の構成図である。FIG. 2 is a configuration diagram of a packaging machine.

【図3】本発明に依る制御装置の構成図である。FIG. 3 is a configuration diagram of a control device according to the present invention.

【図4】薬品ファイルメモリM11〜M1nへの登録動作を
示すフローチャートである。
4 is a flowchart showing a registration operation to the drug file memory M 11 ~M 1n.

【図5】薬品ファイルメモリM11〜M1nの記憶フォーマ
ットを示す図である。
5 is a diagram illustrating a storage format of the drug file memory M 11 ~M 1n.

【図6】制御装置(13)の動作を示すフローチャート
である。
FIG. 6 is a flowchart showing an operation of the control device (13).

【図7】処方データのフォーマットを示す図である。FIG. 7 is a diagram showing a format of prescription data.

【図8】処方データ作成処理を示すフローチャートであ
る。
FIG. 8 is a flowchart showing a prescription data creation process.

【図9】一処方の入力例を示す図である。FIG. 9 is a diagram showing an input example of one prescription.

【図10】制御データ作成処理を示すフローチャートで
ある。
FIG. 10 is a flowchart illustrating control data creation processing.

【図11】制御データメモリM3の記憶フォーマットを
示す図である。
11 is a diagram illustrating a storage format of the control data memory M 3.

【図12】制御装置(14)の動作を示すフローチャー
トである。
FIG. 12 is a flowchart showing the operation of the control device (14).

【符号の説明】[Explanation of symbols]

(10) 制御器 (11) 包装機 (12) キー入力部 (13)(14) 制御装置 M11〜M1n 薬品ファイルメモリ M21〜M2n 処方データメモリ M3 制御データメモリ(10) the controller (11) packaging machine (12) the key input section (13) (14) Control device M 11 ~M 1n chemicals file memory M 21 ~M 2n prescription data memory M 3 control data memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 投薬すべき薬剤の薬品種、薬数、及び各
薬品種毎の包装可否情報により投薬すべき薬品種と判別
された薬剤を包装する薬剤包装機。
1. A medicine packaging machine for packaging a medicine determined to be a medicine to be dispensed based on the medicine type, the number of medicines to be dispensed, and packaging availability information for each medicine kind.
JP10258432A 1998-09-11 1998-09-11 Drug packaging machine Expired - Lifetime JP3030286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10258432A JP3030286B2 (en) 1998-09-11 1998-09-11 Drug packaging machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10258432A JP3030286B2 (en) 1998-09-11 1998-09-11 Drug packaging machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24192891A Division JP2883478B2 (en) 1991-09-20 1991-09-20 Control device for drug packaging machine

Publications (2)

Publication Number Publication Date
JPH11139402A true JPH11139402A (en) 1999-05-25
JP3030286B2 JP3030286B2 (en) 2000-04-10

Family

ID=17320139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10258432A Expired - Lifetime JP3030286B2 (en) 1998-09-11 1998-09-11 Drug packaging machine

Country Status (1)

Country Link
JP (1) JP3030286B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001130502A (en) * 1999-11-01 2001-05-15 Yuyama Manufacturing Co Ltd Medicine subdividing/packaging equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001130502A (en) * 1999-11-01 2001-05-15 Yuyama Manufacturing Co Ltd Medicine subdividing/packaging equipment

Also Published As

Publication number Publication date
JP3030286B2 (en) 2000-04-10

Similar Documents

Publication Publication Date Title
JPS61232113A (en) Tablet packaging machine
JPH03628A (en) Dose packer
JP2001273367A (en) Stock control system for medicine
JP3030286B2 (en) Drug packaging machine
JP2883478B2 (en) Control device for drug packaging machine
JP2919579B2 (en) Inventory control device for drug packaging machine
JP2966798B2 (en) Control method of drug packaging system
JP2002334155A (en) System for controlling dispensation
JPH048282B2 (en)
JPS63125101A (en) Medicine packer
JP3519753B2 (en) Tablet packing machine
JP2810627B2 (en) Control device for drug packaging machine
JP4691343B2 (en) Dispensing management system
JPH07121721B2 (en) Control device for drug packaging machine
JP3021584B2 (en) Inventory control device for drug packaging machine
JPH0253283B2 (en)
JP7332854B2 (en) Medication support system, Medication support program
JP3519752B2 (en) Medicine bandage and tablet packing machine
JP7502631B2 (en) Dispensing support system, dispensing support program
JPH0360721B2 (en)
JPH0253281B2 (en)
JP2691858B2 (en) Dispensing control method
JPH0253282B2 (en)
JPH03629A (en) Dose packer
JP4110127B2 (en) Medicine bag printing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term