JPH0360721B2 - - Google Patents

Info

Publication number
JPH0360721B2
JPH0360721B2 JP5695884A JP5695884A JPH0360721B2 JP H0360721 B2 JPH0360721 B2 JP H0360721B2 JP 5695884 A JP5695884 A JP 5695884A JP 5695884 A JP5695884 A JP 5695884A JP H0360721 B2 JPH0360721 B2 JP H0360721B2
Authority
JP
Japan
Prior art keywords
data
tablet
packaging
address
drug
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
Application number
JP5695884A
Other languages
Japanese (ja)
Other versions
JPS60204430A (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 JP5695884A priority Critical patent/JPS60204430A/en
Publication of JPS60204430A publication Critical patent/JPS60204430A/en
Publication of JPH0360721B2 publication Critical patent/JPH0360721B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、朝、昼、夕等のように1日において
複数の服用時期が設定される処方データに基づき
薬剤の包装動作を行なう薬剤包装機に関する。
[Detailed description of the invention] (a) Industrial application field The present invention is directed to a drug packaging operation based on prescription data in which multiple dosing times are set in one day, such as morning, noon, and evening. Regarding packaging machines.

(ロ) 従来技術 一般に錠剤包装機は、例えば特公昭56−48362
号公報でみられるように、予め錠剤種及び剤数を
キー入力することで、この入力データに基づく分
包を連続して作成する構成である。しかして近
年、実公昭57−4981号公報のように分包袋の形成
と同時にこの袋に服用時期を印字するようになつ
てきており、そのため1日分でも服用時期に応じ
て複数の分包を作成することも可能となつてき
た。しかしながら従来の此種包装機は最初に包装
する服用時期は常に決まつており、例えば服用時
期が朝・昼・夕・就寝前の4通りがあるとすると
常に朝服用分の分包から包装動作を開始してい
た。したがつて例えば7日分の調剤を行なう場合
に、7日間全ての日について朝・昼・夕・就寝前
という具合に朝から順に分包するために、服用初
日の最初の服用時期が朝以外にあつてもこの分が
無駄に包装されていた。これを防止するには、朝
から始まる6日分を包装してから更に服用初日の
服用時期に応じて再度入力して分包しなればなら
ず非常に煩わしいものとなる。
(b) Prior art In general, tablet packaging machines are
As seen in the above publication, the tablet type and number of tablets are entered in advance using a key, and sachets are successively created based on this input data. However, in recent years, as shown in Japanese Utility Model Publication No. 57-4981, the dosing period has been printed on the sachets at the same time as they are formed, and as a result, multiple sachets have been created depending on the dosing period, even for one day. It has become possible to create . However, with conventional packaging machines of this kind, the first time to pack the dose is always determined. For example, if there are four times to take the dose: morning, noon, evening, and before bedtime, the packaging machine always starts with the morning dose. had started. Therefore, for example, when dispensing medication for 7 days, the first dose on the first day should be other than the morning in order to package it in order from morning to morning, afternoon, evening, and before bedtime for all 7 days. However, this amount was wasted in packaging. To prevent this, it is necessary to package six days' worth starting in the morning, and then re-input the dosing timing on the first day to separate the packets, which is extremely troublesome.

(ハ) 発明の目的 本発明は、服用初日の最初の服用時期(服用開
始時期)の分包から包装動作を開始可能な薬剤包
装機を提供するものである。
(C) Object of the Invention The present invention provides a drug packaging machine that can start the packaging operation from the first dose period (dose start time) on the first day of administration.

(ニ) 発明の構成 本発明は、朝・昼・夕というように1日で複数
の服用時期を有した処方データに基づき包装動作
を行なう錠剤包装機に於いて、入力された各服用
時期で服用する錠剤種データ及びその剤数データ
と服用日数が入力されると各服用期間毎の包装す
べき総分包数を算出して記憶し、入力された服用
初日の服用開始時期を先頭分包データとして記憶
し、更に服用初日において服用開始時期より前の
服用時期についての分包分を総分包数より差し引
いた修正総分包数を計算して記憶し、包装開始に
より先ず前記先頭分包データに示される服用開始
時期に関する前記錠剤種データ及び前記剤数デー
タにしたがつて包装動作を開始し、以後、順次服
用時期に沿つて各服用時期で設定された前記錠剤
種データ及び前記剤数データにしたがつて包装動
作を行ない、前記修正総分包数の包装終了により
停止する包装手段とで薬剤包装機を構成したもの
である。
(d) Structure of the Invention The present invention provides a tablet packaging machine that performs packaging operations based on prescription data having multiple dosing times in one day such as morning, noon, and evening. When the data on the type of tablet to be taken, the data on the number of tablets, and the number of days of taking are input, the total number of sachets to be packed for each dosing period is calculated and memorized, and the start time of dosing on the first day of dosing is entered as the first sachet. Furthermore, on the first day of dosing, the corrected total number of sachets is calculated by subtracting the number of sachets for the dosing time before the start time of dosing from the total number of sachets, and the number of sachets is calculated and stored. The packaging operation is started according to the tablet type data and the number of drugs data regarding the dosing start time indicated in the data, and thereafter, the tablet type data and the number of drugs set at each dosing time are sequentially set according to the dosing time. A drug packaging machine is constituted by a packaging means that performs a packaging operation according to the data and stops when packaging of the corrected total number of sachets is completed.

(ホ) 発明の実施例 第1図は錠剤包装機の外観図を示し、制御器1
0と包装機11とから構成されている。制御器1
0はキー入力部12のキー操作により処方データ
を作成して包装機11に転送し、包装機11は転
送された処方データにより包装動作を行なう。
(E) Embodiments of the invention FIG. 1 shows an external view of a tablet packaging machine, and the controller 1
0 and a packaging machine 11. Controller 1
0 creates prescription data by operating keys on the key input unit 12 and transfers it to the packaging machine 11, and the packaging machine 11 performs a packaging operation based on the transferred prescription data.

第2図は包装機11の構成を示し、上部にタブ
レツトケース収納部1が形成されており、その下
方にホツパ2及びシヤツタ3と錠剤包装機構4が
配置されている。タブレツトケース収納部1には
錠剤の種類に応じてタブレツトケース5…5が載
置されており、タブレツトケース5…5は所定の
摘出信号の入力により駆動して錠剤を摘出し、図
示しない落下通路を通してホツパ2へ導入するよ
うに構成されている。錠剤包装機構4は、熱溶着
が可能で予め二つ折りにされた包装紙6を巻回し
たローラ7、テンシヨンローラ8、包装紙6に服
用時期を印字するプリンタ30、そして包装紙6
を縦にヒートシールして連続した小袋を形成する
縦ヒートシール機構9、更に錠剤が投入された小
袋の上部開口を密封する横ヒートシール機構1
0、及び送りローラ11とから構成されている。
そして送りローラ11は間欠的に駆動して包装紙
6を搬送し、搬送停止時に縦ヒートシールによる
分包袋の形成・シヤツタ3の開放による分包袋へ
の錠剤投入・横ヒートシールによる分包袋の密封
の各動作が成される。
FIG. 2 shows the configuration of the packaging machine 11, in which a tablet case storage section 1 is formed in the upper part, and a hopper 2, a shutter 3, and a tablet packaging mechanism 4 are arranged below. Tablet cases 5...5 are placed in the tablet case storage section 1 according to the type of tablet, and the tablet cases 5...5 are driven by the input of a predetermined extraction signal to extract the tablet and extract the tablet as shown in the figure. The hopper 2 is configured to be introduced into the hopper 2 through a falling passage that does not have a drop path. The tablet packaging mechanism 4 includes a roller 7 around which a wrapping paper 6 which can be thermally welded and is folded in half in advance, a tension roller 8, a printer 30 that prints the dosing date on the wrapping paper 6, and the wrapping paper 6.
A vertical heat-sealing mechanism 9 vertically heat-seals the tablets to form a continuous pouch, and a horizontal heat-sealing mechanism 1 seals the upper opening of the pouch into which tablets are inserted.
0, and a feed roller 11.
Then, the feed roller 11 is driven intermittently to convey the wrapping paper 6, and when the conveyance is stopped, the packaging bag is formed by vertical heat sealing, the tablets are inserted into the packaging bag by opening the shutter 3, and the packaging paper is packaged by horizontal heat sealing. Each operation of sealing the bag is performed.

第3図は本発明による制御回路を示し、13は
制御器10側の制御回路部、14は包装機11側
の制御回路部で、送信データをシリアル変換する
と共に受信データをパラレル変換するインタフエ
イス15,16を介し伝送線17によつて接続さ
れている。制御回路部13は、中央処置装置18
と、当該システムの制御手順がプログラムされた
システムメモリ19と、キー入力部12の操作を
検出してキー入力信号を発生するキーボードイン
ターフエイス20と、CRTコントローラ21と、
キー入力された錠剤種及び剤数等の処方データを
記憶するバツフアメモリ23とから構成されてい
る。そして制御回路部14は、中央処理装置24
と、包装機11側の制御手順がプログラムされた
システムメモリ25と、制御回路部13から伝送
された処方データを記憶するバツフアメモリ26
と、制御カウンタ27と、包装機11の包装動作
を制御する包装機コントローラ28とプリンタイ
ンタフエイス29と、レジスタR1・R2とから構
成されている。
FIG. 3 shows a control circuit according to the present invention, where 13 is a control circuit section on the controller 10 side, and 14 is a control circuit section on the packaging machine 11 side, which is an interface that serially converts transmitted data and parallelly converts received data. 15 and 16 and are connected by a transmission line 17. The control circuit section 13 is connected to the central treatment device 18.
, a system memory 19 in which control procedures for the system are programmed, a keyboard interface 20 that detects operations on the key input section 12 and generates key input signals, and a CRT controller 21 .
It is composed of a buffer memory 23 that stores prescription data such as the type of tablet and the number of tablets entered by key. The control circuit section 14 then includes a central processing unit 24.
, a system memory 25 in which control procedures for the packaging machine 11 are programmed, and a buffer memory 26 that stores prescription data transmitted from the control circuit section 13.
, a control counter 27, a packaging machine controller 28 for controlling the packaging operation of the packaging machine 11, a printer interface 29, and registers R1 and R2 .

上記構成において、制御回路部14は制御回路
部13より伝送される処方データに基づき包装制
御を行なうが、制御回路部13,14間の転送モ
ードは制御回路部14が制御回路部13へ転送要
求信号を送信することで開始される。このとき制
御回路部14は包装制御を行なつていない状態で
定期的にこの転送要求信号を出力している。以
下、制御回路部13の動作を第4図のフローチヤ
ートによつて説明する。中央処理装置18はN1
ステツプで転送要求信号の有無を判定し、転送要
求信号が出力されていないとN2ステツプでキー
入力の有無を判定する。キー入力部12が操作さ
れて、朝・昼・夕・就寝前毎に分包する薬剤名及
びその剤数と日数がキー入力されると、N3ステ
ツプでは第7図のフオーマツトにしたがつてこの
キー入力内容に基づく処方データを作成してバツ
フアメモリ23に記憶する。第5図はN3ステツ
プの動作を説明するフローチヤートで、M1〜M5
は第7図のフオーマツトに示す各データをストア
するバツフアメモリ23の記憶領域を示してい
る。
In the above configuration, the control circuit section 14 performs packaging control based on the prescription data transmitted from the control circuit section 13, but in the transfer mode between the control circuit sections 13 and 14, the control circuit section 14 requests transfer to the control circuit section 13. It is initiated by sending a signal. At this time, the control circuit section 14 periodically outputs this transfer request signal without performing packaging control. The operation of the control circuit section 13 will be explained below with reference to the flowchart shown in FIG. The central processing unit 18 is N 1
The presence or absence of a transfer request signal is determined in step N2, and if the transfer request signal is not output, the presence or absence of a key input is determined in step N2 . When the key input section 12 is operated and the name of the medicine to be packaged in the morning, afternoon, evening, and before bedtime, as well as the number of medicines and the number of days, are inputted, the N3 step follows the format shown in Fig. 7. Prescription data based on this key input content is created and stored in the buffer memory 23. Figure 5 is a flowchart explaining the operation of the N3 step.
indicates a storage area of the buffer memory 23 in which each data shown in the format of FIG. 7 is stored.

第5図において先ずn0ステツプは、バツフアメ
モリ23の1バイトの記憶領域M1に日数データ
を書込むとともに、キー入力により指定された薬
品名をその錠剤種を示すコードに変換して3バイ
トの記憶領域M5に書込み、更に薬剤名の指定に
続いてキー入力されるその錠剤種の朝・昼・夕・
就寝前毎の剤数データを4バイトの記憶領域の0
〜3までの各アドレスに書込む。第8図はキー入
力モードでのCRT22の表示内容を示しており、
オペレータのキー入力による薬剤名及びこの薬剤
の朝・昼・夕・就寝前毎の剤数と日数は表示部3
1,32,33にて夫々表示し、そちて薬剤名に
対応する錠剤種コードは表示部34にて表示す
る。この第8図に示す入力例では、A錠・B錠・
C錠・D錠を夫々朝・昼・夕毎に一錠づつ7日分
分包することがキー入力されたわけである。した
がつてバツフアメモリ23のNo.1からNo.4までの
錠剤種コードをストアする各記憶領域M5には、
夫々A・B・C・Dの各錠剤に対応する錠剤種コ
ードが書込まれ、且つNo.1からNo.4までの剤数デ
ータをストアする各記憶領域M2の朝・昼・夕に
対応するアドレス0〜3には夫々剤数データ
「1」が書込まれ、そしてメモM1には日数データ
「7」が書込まれる。n1ステツプは、各メモリM2
のアドレス0の内容を判定するもので、少くとも
何れかのM2のアドレス0に書込まれている内容
が「0」以外であるとn2ステツプに移行する。第
8図に示す入力例では、A・B・C・Dの各錠剤
はともに朝服用分の分包には一錠づつ包装するた
めにn2ステツプとなる。n2ステツプはM3のアド
レス0にM1で記憶しているデータ「7」を書込
む。このようにして朝服用分の分包数は「7」で
あることが判明し、CRT22は表示部33に
「7」を表示する。尚、A・B・C・Dの各錠剤
に関して、例えば朝服用分の分包にはA錠のみを
包装して他は包装しなくても、A錠に対応する
M2のアドレス0には「0」以外の内容が記憶さ
れているためにn2ステツプに移行して朝分の分包
数は「7」に設定される。n4ステツプは各M2
M3のアドレスをシフトするが、この場合各M2
M3はアドレスが0から1にシフトされる。n5
テツプは、アドレスのシフトによりM3のアドレ
スが3からオーバーしていないかを判定し、オー
バーしていない場合にn1ステツプに復帰する。こ
のn1ステツプでは各M2のアドレス1の内容によ
り昼服用分の分包が必要かを判定し、n2ステツプ
で昼服用分の分包数「7」をM3のアドレス1に
書込み、n4ステツプで各M2とM3のアドレスを1
から2へシフトする。そしてn5ステツプからn1
テツプとなると、各M2のアドレス2の内容によ
り夕服用分の分包が必要かを判定し、n2ステツプ
で夕分の分包数「7」をM3のアドレス2に書込
み、n4ステツプで各M2とM3のアドレスを2から
3にシフトし、n5ステツプでM3がオーバーして
いないことを確認してn1ステツプとなる。本例で
は第8図に示すように就寝前には錠剤を服用しな
いために、各M2のアドレス3の内容は「0」で
n3ステツプに移行し、n3ステツプではM3のアド
レス3に「0」を書込む。したがつて就寝前の分
包数は「0」に設定される。しかしてn4ステツプ
では各M2とM3のアドレスをシフトするが、n5
テツプではM3のアドレスがオーバーしているた
めにn6ステツプとなる。
In FIG. 5, the n0 step first writes the number of days data into the 1-byte storage area M1 of the buffer memory 23, and converts the drug name specified by key input into a code indicating the tablet type. After writing to the memory area M5 , and then specifying the drug name, the tablet type (morning, noon, evening, etc.) is entered by key.
Data on the number of drugs taken each time before going to bed is stored at 0 in the 4-byte storage area.
Write to each address from ~3. Figure 8 shows the display contents of the CRT22 in key input mode.
The name of the drug and the number of doses and number of days for each morning, noon, evening, and bedtime of this drug are displayed on the display section 3 by key input by the operator.
1, 32, and 33, respectively, and the tablet type code corresponding to the drug name is displayed on the display section 34. In the input example shown in Fig. 8, A lock, B lock,
This means that the key input is to pack C tablets and D tablets, one tablet each in the morning, afternoon, and evening for 7 days. Therefore, each storage area M5 that stores tablet type codes No. 1 to No. 4 of the buffer memory 23 has the following information:
In the morning, noon, and evening of each storage area M2 , tablet type codes corresponding to tablets A, B, C, and D are written, and data on the number of tablets from No. 1 to No. 4 is stored. The drug number data "1" is written in the corresponding addresses 0 to 3, respectively, and the number of days data "7" is written in the memo M1 . n 1 step each memory M 2
The content of address 0 of M2 is determined, and if the content written to address 0 of at least one of M2 is other than "0", the process moves to step n2 . In the input example shown in FIG. 8, tablets A, B, C, and D are packaged one tablet at a time for morning use, so n2 steps are required. The n2 step writes data "7" stored in M1 to address 0 of M3 . In this way, it is determined that the number of packets for the morning dose is "7", and the CRT 22 displays "7" on the display section 33. In addition, regarding each tablet A, B, C, and D, for example, it is possible to package only A tablet in the morning dose and leave the others unpacked.
Since contents other than "0" are stored at address 0 of M2 , the process moves to step n2 and the number of parcels for the morning is set to "7". n 4 steps with each M 2
Shift the address of M 3 , but in this case each M 2 and
The address of M 3 is shifted from 0 to 1. The n5 step determines whether the address of M3 exceeds 3 by shifting the address, and if the address does not exceed 3, the process returns to the n1 step. In this n1 step, it is determined whether a daytime package is required based on the contents of address 1 of each M2 , and in the n2 step, the number of daytime packages ``7'' is written to address 1 of M3 . n 4 steps each M 2 and M 3 address 1
Shift from to 2. Then, from the n5 step to the n1 step, it is determined whether or not evening packets are necessary based on the contents of address 2 of each M2 , and in the n2 step, the number of evening packets ``7'' is transferred to M3 . Write to address 2, shift the address of each M 2 and M 3 from 2 to 3 in step n 4 , confirm that M 3 has not exceeded in step n 5 , and proceed to step n 1 . In this example, as shown in Figure 8, since we do not take tablets before bedtime, the content of address 3 of each M2 is "0".
The program moves to the n3 step, and in the n3 step, "0" is written to address 3 of M3. Therefore, the number of sachets before going to bed is set to "0". Thus, in the n4 step, the addresses of each M2 and M3 are shifted, but in the n5 step, the address of M3 is over, so the shift becomes a n6 step.

このようなn5までの処理にて、7日間の全てが
朝・昼・夕と夫々3分包づつ包装することがM3
に設定されたわけである。しかしながら初日の服
用開始が朝からではなく、昼或いは夕若しくは就
寝前からの場合にはM3の内容をキー操作により
修正する。かかる修正のキー入力があると、n6
テツプからn7ステツプとなつてM3の修正するア
ドレスを指定する。例えば初日の服用開始を昼か
らとすると朝服用分の分包数は「6」に修正する
必要がある。したがつてこの場合、朝服用分の修
正のキー入力があるとn7ステツプではM3のアド
レス0を指定し、修正キー入力に続いてテンキー
により入力される分包数データ「6」をn8ステツ
プで書込みn6ステツプに復帰する。かかる修正操
作によりCRT22の画面は第9図のようになる。
そして昼・夕の服用分も修正が必要な場合には、
修正のキー力と修正数のテンキー入力とにより
M3のアドレスを指定して修正値を書込む。しか
して修正が必要ないとき或いは修正を終了する
と、続いて朝・昼・夕・就寝前の何れかによる服
用開始時期をキー入力する。この場合、朝・昼・
夕・就寝前が夫々「1」・「2」・「3」・「4」に予
め決められており、例えば初日の服用開始が昼か
らのときは「2」がキー入力される。したがつて
n9ステツプでキー入力が成されるとn10ステツプ
ではバツフアメモリ23の記憶領域M4に先頭分
包データとして「2」を書込む。このようにして
処方データを作成するとN3ステツプからN1ステ
ツプに復帰するが、以下の説明では第9図に示す
入力例による処方データで説明する。N1ステツ
プで制御回路部14より転送要求信号が送信され
ているのを検出すると、N4ステツプに移行して
処方データの有無を判定する。包装のためのキー
入力が成されていると、前述のN3ステツプの処
理にてバツフアメモリ23には処方データがスト
アされており、N5ステツプでは伝送線17を通
して処方データを制御回路部14に転送するが、
このとき処方データはインターフエイス15にて
シリアル変換して送信される。N6ステツプでは
バツフアメモリ23の内容をクリアしてN1ステ
ツプに復帰する。
With this process up to n 5 , it is possible to pack 3 portions each for breakfast, lunch, and evening for all 7 days.M 3
This means that it was set to . However, if you start taking the drug on the first day not in the morning but in the afternoon, evening, or before going to bed, modify the contents of M3 by key operation. When there is a key input for such correction, the address to be corrected in M3 is specified in steps n6 to n7 . For example, if you start taking the drug at noon on the first day, the number of packets for the morning dose needs to be revised to "6". Therefore, in this case, when there is a key input to correct the morning dose, in the n7 step, address 0 of M3 is specified, and following the correction key input, the number of packets data "6" input using the numeric keypad is input to n. Write in 8 steps and return to 6 steps. Through this correction operation, the screen of the CRT 22 becomes as shown in FIG.
If you also need to adjust your lunch and dinner doses,
By pressing the correction key and inputting the number of corrections using the numeric keypad.
Specify the address of M3 and write the corrected value. When no correction is necessary or when the correction is completed, the user then key-inputs the time to start taking the drug: morning, noon, evening, or before going to bed. In this case, morning, afternoon,
Evening and before going to bed are predetermined as "1", "2", "3", and "4", respectively. For example, when the first day's medication is to start from noon, "2" is keyed in. Therefore
When a key input is made in step n9 , "2" is written in the storage area M4 of the buffer memory 23 as the first package data in step n10 . When the prescription data is created in this way, the process returns from the N3 step to the N1 step, and the following explanation will be made using prescription data based on the input example shown in FIG. When it is detected in step N1 that a transfer request signal is transmitted from the control circuit section 14, the process moves to step N4 to determine the presence or absence of prescription data. When the key input for packaging is completed, the prescription data is stored in the buffer memory 23 in the process of the above-mentioned step N3 , and the prescription data is sent to the control circuit section 14 through the transmission line 17 in the step N5 . Transfer, but
At this time, the prescription data is serially converted by the interface 15 and transmitted. At the N6 step, the contents of the buffer memory 23 are cleared and the process returns to the N1 step.

包装機11側の制御回路部14の動作を第6図
のフローチヤートによつて説明する。N1′ステツ
プで転送要求信号を出力して処方データを受信す
ると、N2′ステツプからN3′ステツプとなり処方
データをバツフアメモリ26にストアする。この
とき受信した処方データはインターフエイス16
でパラレル変換され、バツフアメモリ26はバツ
フアメモリ23の記憶領域M1〜M5に対応する記
憶領域M1′〜M5′にこの処方データをストアする。
N4′ステツプは制御カウンタ27の内容CNを
「1」とし、N5′ステツプでは制御カンタ27の
内容CNとM4′の値とを比較する。M4′は処方デー
タの先頭分包データをストアしており、この場合
先頭の分包は昼服用分からのために「2」をスト
アしている。したがつてN6′ステツプに移行して
制御カウンタ27は1が加算されてN5′ステツプ
に復帰する。このとき制御カウンタ27とM4′と
は一致しており、N7′ステツプとなつてM3′の内
容が「0」かを判定する。M3′は処方データの
朝・昼・夕・就寝前毎の総分包数をストアしてい
るが、このとき制御カウンタ27の内容CNは歩
進して「2」となつているためにM3′で昼の総分
包数をストアしているアドレス1が指定されてい
る。本例では昼服用分の分包数は7日分でM3′は
「7」をストアしているためにN3′ステツプとな
るN3′ステツプは、バツフアメモリ26の記憶領
域M5′にストアしている処方データの錠剤種コー
ドをレジスタR1にストアし、バツフアメモリ2
6の記憶領域M2′にストアしている剤数データを
レジスタR2にストアする。このときM2′に関して
は、制御カウンタ27が「2」を計数しているた
めに各M2′のアドレス1にストアされている剤数
データが読出されてレジスタR2にストアされる。
したがつてレジスタR1にはA・B・C・Dの各
錠剤の錠剤種コードが書込まれ、レジスタR2
はこれら錠剤種について昼の分包分の剤数データ
が書込まれる。N9′ステツプはレジスタR2の内容
が「0」かを判定するが、A・B・C・Dの各錠
剤種について少くとも一つの錠剤種の剤数データ
が「0」以外にあるとN10′ステツプとなつて錠剤
の摘出動作となる。N10′ステツプに於いて、包装
機コントローラ28には剤数データが「0」以外
にある錠剤種についての錠剤種コードがレジスタ
R1より読出されて導入される。そして包装機コ
ントローラ28はA・B・C・Dの各種錠剤を収
納したタブレツトケース5…5に対して摘出信号
を出力する。したがつて摘出信号が導入されたタ
ブレツトケース5…5は駆動して一錠の錠剤を摘
出する。N11′ステツプでは、摘出動作を行なつた
錠剤種についてその剤数データより「1」を減算
してN9′ステツプに復帰する。本例では、昼服用
分の分包にはA・B・C・Dの各種楽剤を一錠づ
つ包装するためにレジスタR2にストアされてい
るA・B・C・Dの各種楽剤の剤数データは
「0」となるためにN9′ステツプからN12′ステツプ
となる。したがつて昼の一分包分の錠剤が摘出さ
れてホツパー2へ導入されたことになる。N12′ス
テツプでは薬包印字プリンタ30に「昼」と印字
するための印字データを出力すると共に、プリン
タ30を駆動させて包装紙6への印字制御を行な
う。N13′ステツプで包装機コントローラ28はシ
ヤツタ3・横ヒートシール機構10・縦ヒートシ
ール機構9に夫々制御信号を与えて錠剤投入・分
包袋密封・分包袋形成の各動作を制御し、しかる
後、送りローラ11の駆動装置へ制御信号を与え
包装紙6を長手方向へ所定寸法移送させて昼服用
分の分包の包装動作を終了する。N14′ステツプ
は、バツフアメモリ26のM3′のアドレス1にス
トアーしているデータより「1」を減算し、
N15′ステツプではM3′の0〜3までの全てのアド
レスのデータが「0」であるかを判定する。この
場合、昼服用分の分包が一つ終了してM3′のアド
レス1のデータより「1」が減算されただけであ
り、N16′ステツプでM3′及び各M2′のアドレスを
1から2にシフトしてN7′ステツプに復帰する。
そしてN7′ステツプではM3′のアドレス2の内容
が「0」かを判定するが、このときアドレス2の
内容は「7」のためにN8′ステツプに移行して夕
服用分の分包動作となる。
The operation of the control circuit section 14 on the packaging machine 11 side will be explained with reference to the flowchart shown in FIG. When the transfer request signal is outputted and the prescription data is received in the N 1 ' step, the process moves from the N 2 ' step to the N 3 ' step and the prescription data is stored in the buffer memory 26. The prescription data received at this time is
Then, the buffer memory 26 stores this prescription data in storage areas M 1 ' to M 5 ' corresponding to the storage areas M 1 to M 5 of the buffer memory 23.
In the N 4 ' step, the content CN of the control counter 27 is set to "1", and in the N 5 ' step, the content CN of the control counter 27 is compared with the value of M 4 '. M 4 ′ stores the first package data of the prescription data, and in this case, the first package stores "2" for the daytime portion. Therefore, the process moves to the N 6 ' step, the control counter 27 is incremented by 1, and the process returns to the N 5 ' step. At this time, the control counter 27 and M 4 ' match, and at step N 7 ' it is determined whether the content of M 3 ' is "0". M3 ' stores the total number of packets for each morning, noon, evening, and before bedtime of the prescription data, but at this time, the content CN of the control counter 27 is incremented to "2". Address 1, which stores the total number of daytime packets, is specified in M 3 '. In this example, the number of packets for lunch is 7 days worth, and M 3 ′ stores “7”, so the N 3 ′ step, which becomes the N 3 ′ step, is stored in the storage area M 5 ′ of the buffer memory 26. Store the tablet type code of the stored prescription data in register R1 , and
The drug number data stored in the storage area M 2 ' of No. 6 is stored in the register R 2 . At this time, regarding M 2 ', since the control counter 27 is counting "2", the drug number data stored at address 1 of each M 2 ' is read out and stored in the register R2 .
Therefore, the tablet type code of each tablet A, B, C, and D is written in the register R1 , and the data on the number of tablets in the daytime packet for these tablet types is written in the register R2 . The N9 ' step determines whether the contents of register R2 are "0" or not, but if the number of tablets data for at least one tablet type is other than "0" for each tablet type A, B, C, and D. At the N 10 ' step, the tablet is extracted. In the N10 ' step, the tablet type code for the tablet type whose drug number data is other than "0" is registered in the packaging machine controller 28.
Read from R1 and introduced. Then, the packaging machine controller 28 outputs an extraction signal to the tablet cases 5...5 containing various tablets A, B, C, and D. Therefore, the tablet cases 5 to which the extraction signal has been introduced are driven to extract one tablet. In the N 11 ' step, "1" is subtracted from the tablet number data for the tablet type for which the extraction operation was performed, and the process returns to the N 9 ' step. In this example, in order to package each tablet of each tablet for the daytime meal, the various tablets A, B, C, and D are stored in register R2 . Since the data on the number of drugs becomes "0", the step changes from the N 9 ' step to the N 12 ' step. Therefore, one daytime packet of tablets has been extracted and introduced into the hopper 2. In the N12 ' step, print data for printing "daytime" is output to the medicine packaging printer 30, and the printer 30 is driven to control printing on the wrapping paper 6. At step N13 ', the packaging machine controller 28 gives control signals to the shutter 3, horizontal heat sealing mechanism 10, and vertical heat sealing mechanism 9, respectively, to control each operation of inserting tablets, sealing sachets, and forming sachets, Thereafter, a control signal is applied to the drive device of the feed roller 11 to transport the wrapping paper 6 by a predetermined length in the longitudinal direction, thereby completing the wrapping operation of the daytime packet. The N14 ' step subtracts "1" from the data stored at address 1 of M3' in the buffer memory 26 ,
In the N15 ' step, it is determined whether the data at all addresses 0 to 3 of M3 ' are "0". In this case, one daytime packet has been completed and "1" is simply subtracted from the data at address 1 of M 3 ', and in the N 16 ' step, the addresses of M 3 ' and each M 2 ' are is shifted from 1 to 2 and returns to the N 7 ' step.
Then, in the N 7 ' step, it is determined whether the content of address 2 of M 3 ' is "0", but at this time, the content of address 2 is "7", so the process moves to the N 8 ' step and the evening portion is stored. It becomes a wrapping motion.

N8′ステツプでは、M5′にストアしている錠剤
種コードをレジスタR1にストアし、各M2′のアド
レス2にてストアしている剤数データをレジスタ
R2にストアする。そしてN9′ステツプからN10′ス
テツプとなると、レジスタR2にストアされてい
る剤数がデータが「0」以外にある錠剤種につい
てタブレツトケース5…5より錠剤を摘出し、
N11′ステツプではレジスタR2の剤数データより
「1」を減算する。本例では、夕服用分の分包も
A・B・C・Dの各錠剤を一錠づつ包装するため
に、レジスタR2の剤数データは全て「0」とな
りN9′ステツプからN12′ステツプとなる。N12′ス
テツプでは包装紙に「夕」の印字を行ない、
N13′ステツプではホツパー2に取り出した夕の一
分包分の錠剤の包装動作を行ない、N14′ステツプ
ではM3′のアドレス2にストアしているデータか
ら「1」を減算して夕の一分包動作が終了したこ
とを記憶する。そしてN15′ステツプからN16′ステ
ツプとなるとM3′及び各M2′のアドレスを2から
3にシフトしてN7′ステツプに復帰する。しかし
て本例の処方データによると、就寝前には投薬し
ないためにM3′のアドレス3の内容は「0」であ
り、N7′ステツプからN15′ステツプとなる。した
がつて就寝前の服用分についての包装動作は省略
されたことになる。そしてN15′ステツプから
N16′ステツプとなると、M3′及び各M2′のアドレ
スを3から0にシフトしてN7′ステツプに復帰す
る。N7′ステツプではM3′のアドレス0の内容が
「6」のためにN8′ステツプに移行して朝分の分
包動作となる。
In the N 8 ′ step, the tablet type code stored in M 5 ′ is stored in register R 1 , and the drug number data stored in address 2 of each M 2 ′ is stored in the register.
Store in R 2 . Then, from the N9 ' step to the N10 ' step, tablets are extracted from tablet cases 5...5 for tablet types whose data is other than "0" for the number of drugs stored in register R2 ,
In step N11 ', "1" is subtracted from the drug number data in register R2 . In this example, since each tablet A, B, C, and D is packaged one by one for the evening dose, the data on the number of pills in register R2 is all "0", and from step N9 ' to N12 ' step. In the N 12 ′ step, “Yu” is printed on the wrapping paper.
In the N 13 ' step, the tablets taken out into the hopper 2 are packed, and in the N 14 ' step, "1" is subtracted from the data stored at address 2 of M 3 ', and the tablets are packed. It is memorized that the 1-pack operation has been completed. Then, when the step changes from the N 15 ' step to the N 16 ' step, the address of M 3 ' and each M 2 ' is shifted from 2 to 3, and the process returns to the N 7 ' step. According to the prescription data of this example, the content of address 3 of M 3 ' is "0" because the medication is not administered before going to bed, and the steps range from N 7 ' to N 15 '. Therefore, the packaging operation for the dose taken before bedtime is omitted. and from N 15 ′ step
At the N16 ' step, the addresses of M3 ' and each M2 ' are shifted from 3 to 0, and the process returns to the N7 ' step. At the N 7 ' step, the content of address 0 of M 3 ' is "6", so the process moves to the N 8 ' step, and the morning portion packaging operation is performed.

N8′ステツプでは、M5′にストアしている錠剤
種コードをレジスタR1にストアし、各M2′のアド
レス0にストアしている剤数データをレジスタ
R2にストアする。そしてA・B・C・Dの各種
薬剤をタブレツトケース5…5より一錠づつ取出
して朝服用分の一分包分の包装動作を行なう。ま
たN16′ステツプではM3′及び各M2′のアドレスを
0から1にシフトしてN7′ステツプに移行する。
このときM3′のアドレス1には「6」がストアさ
れており、以下昼服用分の2包目の分包動作とな
る。このようにして昼・夕・朝の順序で、バツフ
アメモリ26のM3′のアドレス0〜3にストアし
ている内容が全て「0」になるまで分包動作を繰
返す。したがつて先頭の分包は昼分から開始され
るために、朝服用分が6包そして昼服用分と夕服
用分が夫々7包つづ包装される。しかして夕服用
分の7包目の分包動作が終了してM3′のアドレス
0〜3にストアしている内容が全て「0」となる
と、1処方データに関しての包装動作が終了した
としてN15′ステツプからN1′ステツプに復帰する。
そしてN1′ステツプでは次の包装動作に関する処
方データの転送要求信号を制御回路部13に送信
する。
In the N 8 ′ step, the tablet type code stored in M 5 ′ is stored in register R 1 , and the drug number data stored in address 0 of each M 2 ′ is stored in the register.
Store in R 2 . Then, each drug A, B, C, and D is taken out one tablet at a time from the tablet cases 5, . Further, in the N 16 ' step, the addresses of M 3 ' and each M 2 ' are shifted from 0 to 1, and the process proceeds to the N 7 ' step.
At this time, "6" is stored in address 1 of M 3 ', and the second packaging operation for lunch will be performed. In this way, the packaging operation is repeated in the order of noon, evening, and morning until the contents stored in addresses 0 to 3 of M3 ' of the buffer memory 26 are all "0". Therefore, since the first package starts at noon, six packages are packed for the morning dose, and seven packages each for the lunch and evening doses. However, when the packaging operation for the 7th packet for the evening meal is completed and the contents stored in addresses 0 to 3 of M3 ' become all "0", it is assumed that the packaging operation for the 1st prescription data has finished. Return from N 15 ′ step to N 1 ′ step.
Then, in step N1 ', a prescription data transfer request signal regarding the next packaging operation is transmitted to the control circuit section 13.

このように本発明は、入力される服用初日の服
用開始時期を先頭分包データとして記憶するとと
もに、服用開始時期が朝以外の場合における分包
数の修正入力を可能にするものである。そして包
装時には先頭分包データに基づき最初に包装すべ
き服用時期の分包の頭出しを行ない、以後服用時
期毎に定められた分包数だけ順次包装するもので
ある。
In this manner, the present invention stores the entered dosing start time on the first day of dosing as the first packet data, and also allows correction input of the number of sachets when the dosing start time is other than in the morning. At the time of packaging, the first package to be packed is located based on the first package data, and the predetermined number of packages are then sequentially packaged for each dose period.

(ヘ) 発明の効果 本発明に依ると、服用初日の服用開始時期を先
頭分包データとして記憶し、包装時にはこの先頭
分包データに基づき最初に包装する分包の頭出し
を行なうために服用開始時期に沿つた包装を行な
うことができる。また服用開始時期が朝以外の場
合には分包数の修正入力を可能にしたために各服
用時期ごとの分包を過不足なく包装できる。しか
も先頭分包データ入力と修正入力によつてのみ分
包数の過不足を調整でき操作が非常に容易とな
る。
(f) Effects of the Invention According to the present invention, the start time of the first day of administration is stored as the first package data, and when packaging, the first package data is used to locate the first package to be packaged. Packaging can be done in line with the start time. In addition, if the starting time for taking the drug is other than the morning, it is possible to input the correct number of sachets, so it is possible to pack just the right amount of sachets for each dosing period. Moreover, the excess or deficiency in the number of sachets can be adjusted only by inputting the leading sachet data and making correction inputs, making the operation extremely easy.

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

第1図は本発明による錠剤包装機の外観図、第
2図は包装機の構成図、第3図は制御システム
図、第4図は制御器の動作を示すフローチヤー
ト、第5図は制御器の処方データ作成動作を示す
フローチヤート、第6図は包装機の動作を示すフ
ローチヤート、第7図は処方データのフオーマツ
トを示す図、第8図は処方入力例を示す図、第9
図は修正された処方入力例を示す図である。 10……制御器、11……包装機、12……キ
ー入力部、18……制御器側中央処理装置、23
……バツフアメモリ、24……包装機側中央処理
装置、26……バツフアメモリ。
Fig. 1 is an external view of a tablet packaging machine according to the present invention, Fig. 2 is a configuration diagram of the packaging machine, Fig. 3 is a control system diagram, Fig. 4 is a flowchart showing the operation of the controller, and Fig. 5 is a control diagram. 6 is a flowchart showing the operation of the packaging machine, FIG. 7 is a diagram showing the format of prescription data, FIG. 8 is a diagram showing an example of prescription input, and FIG. 9 is a flowchart showing the operation of the packaging machine.
The figure shows an example of a corrected prescription input. 10... Controller, 11... Packaging machine, 12... Key input section, 18... Controller side central processing unit, 23
...Buffer memory, 24...Packaging machine side central processing unit, 26...Buffer memory.

Claims (1)

【特許請求の範囲】 1 多数の薬剤種、剤数、および複数の服用時期
を有する処方データに基づき、薬剤を服用時期毎
に分包して包装動作を行なう薬剤包装機におい
て、 各服用時期で服用する薬剤種とその剤数を入力
する手段と、 服用時期毎に入力された薬剤種とその剤数を記
憶する手段と、 服用日数を入力する手段と、 各服用時期での服用日数分の総分包数の算出す
る手段と、 服用開始時期を入力する手段と、 該服用開始時期を記憶する手段と、 服用開始時期より前の分包数を上記総分包数か
ら差し引いて修正する手段とを備え、 服用開始時期から前記修正された総分包数の包
装を行なうことを特徴とする薬剤包装機。
[Scope of Claims] 1. A drug packaging machine that divides and packs drugs for each dosing time based on prescription data including a large number of drug types, a number of drugs, and a plurality of dosing times. A means for inputting the drug type and number of drugs to be taken, a means for memorizing the drug type and number of drugs entered for each dosing period, a means for inputting the number of days to be taken, and a means for inputting the number of days to be taken for each dosing period. A means for calculating the total number of sachets, a means for inputting the time to start taking the drug, a means for storing the time to start taking the medicine, and a means for correcting the number of sachets by subtracting the number of sachets before the time to start taking the medicine from the total number of sachets. A drug packaging machine, characterized in that it packs the corrected total number of packages from the start time of administration.
JP5695884A 1984-03-24 1984-03-24 Packaging machine for tablet Granted JPS60204430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5695884A JPS60204430A (en) 1984-03-24 1984-03-24 Packaging machine for tablet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5695884A JPS60204430A (en) 1984-03-24 1984-03-24 Packaging machine for tablet

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP8531790A Division JPH03628A (en) 1990-03-30 1990-03-30 Dose packer
JP8531890A Division JPH03629A (en) 1989-12-28 1990-03-30 Dose packer

Publications (2)

Publication Number Publication Date
JPS60204430A JPS60204430A (en) 1985-10-16
JPH0360721B2 true JPH0360721B2 (en) 1991-09-17

Family

ID=13042045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5695884A Granted JPS60204430A (en) 1984-03-24 1984-03-24 Packaging machine for tablet

Country Status (1)

Country Link
JP (1) JPS60204430A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196801U (en) * 1987-12-18 1989-06-27
JPH0196802U (en) * 1987-12-19 1989-06-27
JPH03628A (en) * 1990-03-30 1991-01-07 Sanyo Electric Co Ltd Dose packer

Also Published As

Publication number Publication date
JPS60204430A (en) 1985-10-16

Similar Documents

Publication Publication Date Title
JPH0335181B2 (en)
KR100457268B1 (en) Drug packaging machine and method for packaging drug
JPH0549534B2 (en)
US6397558B1 (en) Medication packing apparatus
JPH0360721B2 (en)
JPH048282B2 (en)
JP3519753B2 (en) Tablet packing machine
JPH0253283B2 (en)
JP4531881B2 (en) Medicine pack printing device
JP2810627B2 (en) Control device for drug packaging machine
JPH0253282B2 (en)
JPH03629A (en) Dose packer
JP2919579B2 (en) Inventory control device for drug packaging machine
JP2883478B2 (en) Control device for drug packaging machine
JP3030286B2 (en) Drug packaging machine
JPH0253281B2 (en)
JP2000085728A (en) Tablet packaging machine, and its cartridge printing method
JP2966798B2 (en) Control method of drug packaging system
JPH05147627A (en) Medicine package-printing emthod of tabletpacking machine
JPH0227216B2 (en)
JPH0444904A (en) Medicine packaging machine
JPH0227215B2 (en)
JP3519751B2 (en) Tablet packing machine
JPH07121721B2 (en) Control device for drug packaging machine
JPH06227524A (en) Medicine wrapper strip and wrapping machine for tablets of the strip

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term