JPS5851320B2 - How to return tickets using the automatic ticket checking machine computer - Google Patents
How to return tickets using the automatic ticket checking machine computerInfo
- Publication number
- JPS5851320B2 JPS5851320B2 JP54056556A JP5655679A JPS5851320B2 JP S5851320 B2 JPS5851320 B2 JP S5851320B2 JP 54056556 A JP54056556 A JP 54056556A JP 5655679 A JP5655679 A JP 5655679A JP S5851320 B2 JPS5851320 B2 JP S5851320B2
- Authority
- JP
- Japan
- Prior art keywords
- ticket
- detected
- value
- counter
- signal
- 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
Links
Landscapes
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Description
【発明の詳細な説明】
この発明は、出湯用自動検札装置において、回収される
券を投入した顧客が後から続いて投入された返却される
券を持って立ち去るということがないようにした券返却
方法、とくに自動検札装置用計算機による券返却方法に
関する。[Detailed Description of the Invention] The present invention provides an automatic hot spring ticket inspection device that prevents a customer who has inserted a ticket to be collected from leaving with a ticket that was subsequently inserted to be returned. The present invention relates to a ticket return method, particularly a ticket return method using a computer for an automatic ticket inspection device.
たとえば、鉄道の駅の出入口に設置される自動検札装置
は、一般に、普通乗車券および定期乗車券の両方を取り
扱うとともに、複数人が続いて普通乗車券あるいは定期
乗車券を投入することができるようになっている。For example, automatic ticket inspection machines installed at the entrances and exits of railway stations typically handle both regular tickets and commuter passes, and also allow multiple people to insert regular tickets or commuter passes in succession. It has become.
そして、出湯用自動検札装置は、普通乗車券を回収し、
定期乗車券を返却するようになっている。Then, the automatic ticket inspection device for hot springs collects the regular ticket,
Passengers are required to return their commuter passes.
このような自動検札装置に回収される普通乗車券に続い
て返却される定期乗車券が投入されると、普通乗車券を
投入した顧客が出口に到る前に定期券が返却口に到り、
普通乗車券を投入した顧客が誤って定期乗車券を持ち去
るということが生じる。When a commuter pass to be returned is inserted into such an automatic ticket inspection device after a regular ticket is collected, the commuter pass reaches the return slot before the customer who inserted the regular ticket reaches the exit. ,
A customer who has inserted a regular ticket may accidentally take away the commuter pass.
以上の不都合を防ぐために従来の自動検札装置は、投入
口に投入された券のうち返却する券と回収する券とを識
別手段で識別−し、識別した券の種類を投入口に投入さ
れた順に記憶手段に記憶し、返却する券をストア装置に
よって一時ストアし、記憶手段の記憶と出口付近に設け
た人間検知器の出す信号とに基づいてストア装置を制御
するようにしていた。In order to prevent the above-mentioned inconveniences, conventional automatic ticket inspection devices use identification means to identify which tickets are to be returned and which are to be collected among the tickets inserted into the slot, and the types of tickets that have been identified are determined by the types of tickets inserted into the slot. The tickets to be sequentially stored in the storage means and returned are temporarily stored by the storage device, and the storage device is controlled based on the memory in the storage device and the signal output from a human detector installed near the exit.
すなわち、回収する券に続いて返却される券が投入され
た場合には、返却される券を一時ストアし、回収する券
を投入した顧客が出口付近の人間検知器のところを通過
したときストアしていた券を返却口に送り出すようにし
、これによって客と券との対応をとり、回収される券を
投入した顧客が後から投入された後の客の券を持ち去る
ことがないようにしていた。In other words, when a ticket to be returned is inserted following a ticket to be collected, the returned ticket is temporarily stored, and when the customer who inserted the ticket to be collected passes the human detector near the exit, the returned ticket is temporarily stored. Tickets that had been used for collection are sent out to the return slot, thereby ensuring correspondence between customers and tickets, and preventing customers who have inserted a ticket to be collected from later taking away the tickets of other customers. Ta.
ところが、以上のような自動検札装置は、券と顧客との
対応がとれなくなる可能性が高く、一度対応がとれなく
なると、強制的に対応がとれるようにもどすまでずっと
対応をくずしたままとなる欠点があった。However, there is a high possibility that automatic ticket inspection devices such as those described above will not be able to respond to tickets and customers, and once they are unable to respond, they will remain unresponsive until they are forcibly restored. There were drawbacks.
この発明は、顧客全員に対して券と顧客との対応をとる
ことをやめ、しかも返却する券を正しい持ち主に返却す
ることができる券返却方法を提供することを目的とする
。An object of the present invention is to provide a ticket return method that eliminates the need to deal with tickets and customers for all customers, and allows the returned ticket to be returned to its correct owner.
この発明の券返却方法では、計算機と、計数値が前記通
路に沿う前記人間検知器の出力状態に順次対応したカウ
ンタを用いている。The ticket return method of the present invention uses a calculator and a counter whose count value corresponds sequentially to the output state of the human detector along the path.
そして、計算機は、最初の集札信号が出たことを検出し
てストア装置を券ストア状態にする一方前記カウンタに
初期値をセットした後、次の(イ)〜(ト)のステップ
で前記ストア装置を制御する。Then, the computer detects that the first ticket collection signal is issued and puts the store device into the ticket store state, and sets the initial value in the counter, and then performs the steps (a) to (g). Control the store device.
(イ)前記カウンタの計数値を検査する。(b) Checking the count value of the counter.
(ロ)前記(イ)のステップにおいて、前記カウンタの
計数値が所定値であることを検出すると、前記ストア装
置を券ストア解除状態にして一動作を終了する。(b) In step (a) above, when it is detected that the count value of the counter is a predetermined value, the store device is brought into a ticket store release state and one operation is completed.
(ハ)前記(イ)のステップにおいて、前記カウンタの
計数値が前記所定値でないことを検出したとき、前記人
間検知器のうちの前記カウンタの計数値に対応する人間
検知器の出力状態を検査する。(c) In step (a) above, when it is detected that the count value of the counter is not the predetermined value, check the output state of the human detector corresponding to the count value of the counter among the human detectors. do.
に)前記(ハ)のステップにおいて、前記出力状態が予
定したものであることを検出したとき、前記カウンタを
歩進する。B) In the step (C), when it is detected that the output state is the expected one, the counter is incremented.
(ホ)前記(ハ)のステップにおいて前記出力状態が予
定したものでないことを検出したとき、または前記に)
のステップを実行した後、集札信号が出たかどうかを検
査する。(E) When it is detected in step (C) that the output state is not as expected, or in the above)
After executing the step, check whether the ticket collection signal is issued.
(ハ)前記(ホ)のステップにおいて、集札信号が出た
ことを検出すると、前記カウンタを初期値にセットする
。(c) In step (e) above, when it is detected that a ticket collection signal is issued, the counter is set to an initial value.
(ト)前記(ホ)のステップにおいて集札信号を検出し
なかったとき、または前記(へ)のステップを実行した
後、前記(イ)のステップにもどる。(g) When the ticket collection signal is not detected in step (e), or after performing step (f), return to step (b).
したがって、この発明によれば、返却する券を投入した
顧客の直前の回収する券を投入した顧客を人間検知器の
出力を順次走査しながら監視し、出口の人間検知器のと
ころを通過したこと(通路を通過したこと)を検出する
と、後の顧客の券のストアを解除して返却するようにし
ているので、顧客全員に対して券と顧客との対応をとら
ずにすみ、対応がとれなくなる可能性が低くなり、たと
え対応がくずれて早い時期に券を返却したとしてもその
不都合はそのとき限りですむ。Therefore, according to the present invention, the customer who has inserted the ticket to be collected immediately before the customer who has inserted the ticket to be returned is monitored while sequentially scanning the output of the human detector, and the customer who has passed the human detector at the exit is monitored. When we detect (passing through the aisle), we release the store of the ticket for the next customer and return it, so we do not have to deal with all the customers and the ticket. There is a lower chance that the ticket will be lost, and even if you return the ticket early due to a breakdown, the inconvenience will be limited to that time.
以下、この発明の実施例について、図面を参照して説明
する。Embodiments of the present invention will be described below with reference to the drawings.
第1図は顧客の通路側から見た自動検札装置の一方の検
札台の側面図で、第2図は検札台内部の券の搬送路に沿
う各装置のブロック図である。FIG. 1 is a side view of one ticket inspection stand of the automatic ticket inspection apparatus as seen from the customer's aisle side, and FIG. 2 is a block diagram of each device along the ticket conveyance path inside the ticket inspection stand.
自動検札装置は、通路をはさんで設けた一対の検札台で
横取されている。The automatic ticket inspection machines are intercepted by a pair of ticket inspection stands located across the aisle.
100は、検札台の本体である。100 is the main body of the ticket inspection stand.
本体100の上面顧客の通路の入口側には、普通乗車券
や定期乗車券などの券の投入口101が設けられている
。On the upper surface of the main body 100, on the entrance side of the customer passage, there is provided an slot 101 for inserting tickets such as ordinary tickets and commuter passes.
投入口101に投入された券は、本体100内部に搬送
路102に泊って設けた図示しない搬送装置によって回
収箱103または返却口104へ搬送される。A ticket inserted into the input slot 101 is transported to a collection box 103 or a return slot 104 by a transport device (not shown) provided inside the main body 100 along a transport path 102 .
返却口104は、本体100の上面顧客の通路の出口側
に設けられている。The return port 104 is provided on the upper surface of the main body 100 on the exit side of the customer passage.
本体100の上には、顧客の通路の入口側から出口側へ
向って順に設けた受光器P 2 、 P4 、P6゜P
9を保持するための保持部材105が設けられている。On the main body 100, light receivers P 2 , P 4 , and P 6 are provided in order from the entrance side to the exit side of the customer passage.
A holding member 105 for holding 9 is provided.
Pl、P3.P5.Pl、P8.Ploは、本体100
に設けた受光器である。Pl, P3. P5. Pl, P8. Plo is main body 100
This is a light receiver installed in the
第1図に示す検札台に対向する検札台(図示せず)には
、受光器P1〜P10に対向する位置にそれぞれ投光器
が設けられている。A ticket inspection stand (not shown) facing the ticket inspection stand shown in FIG. 1 is provided with a light projector at a position facing each of the light receivers P1 to P10.
これらの投光器および受光器P1〜P10は、人間検知
器を横取している。These light projectors and light receivers P1 to P10 are intercepting the human detector.
中央の4つの受光器P4〜P7は、ひとりの大人によっ
て同時に入射光が遮断され得る位置にある。The four central light receivers P4 to P7 are in positions where the incident light can be blocked by one adult at the same time.
106および107は、それぞれ通路の入口側、出口側
に設けたゲート扉である。106 and 107 are gate doors provided at the entrance and exit sides of the passage, respectively.
第2図における108は、投入口101に設けたシャッ
タ装置で、投入口101を開閉する。Reference numeral 108 in FIG. 2 denotes a shutter device provided in the input port 101, which opens and closes the input port 101.
投入口108の直後には、受光器P11と投光器とから
なる券検知器が設けられている。Immediately after the input slot 108, a ticket detector consisting of a light receiver P11 and a light emitter is provided.
投入口108に投入された券は、図示しない搬送装置に
よって搬送され、読取装置109によって読取られる。The ticket inserted into the slot 108 is transported by a transport device (not shown) and read by a reading device 109.
読取装置109の前後には、それぞれ受光器P12.P
13を備えた光電検知器が設けられている。Before and after the reading device 109, there are light receivers P12. P
A photoelectric detector with 13 is provided.
110は、券を回収箱103または返却口104へ振分
ける振分装置である。110 is a sorting device that sorts tickets to a collection box 103 or a return slot 104.
振分装置110によって回収箱103の方向へ振分けら
れた券は、回収路111に完全に入ったとき受光器P1
4を備えた光電検知器によって検出されるようになって
いる。When the tickets sorted by the sorting device 110 toward the collection box 103 completely enter the collection path 111, they are sent to the photoreceiver P1.
It is designed to be detected by a photoelectric detector equipped with 4.
112は、返却口104に返却される券を一時ストアす
るためのストア装置で、たとえば券の搬送路102に出
入するピンおよびこのピンを駆動するソレノイドからな
る。Reference numeral 112 denotes a storage device for temporarily storing tickets returned to the return port 104, which includes, for example, a pin that enters and exits the ticket conveyance path 102 and a solenoid that drives this pin.
返却口104には、受光器P15を備えた光電検知器が
設けられている。The return port 104 is provided with a photoelectric detector including a light receiver P15.
以上の各装置は、一般によく知られているので、具体的
な構造の図示および詳しい説明を省略する。Since each of the above devices is generally well known, illustrations and detailed explanations of specific structures will be omitted.
第4図は、電気回路のブロック図である。FIG. 4 is a block diagram of the electric circuit.
113は、読取装置109が読取ったデータを記憶する
レジスタである。A register 113 stores data read by the reading device 109.
114は、受光器P4〜P7のすべてが同時に遮光され
て信号を出すことにもとづいて信号を出すアンド回路で
ある。114 is an AND circuit that outputs a signal based on the fact that all of the light receivers P4 to P7 are simultaneously shielded from light and outputs a signal.
115は、係員操作用押ボタンスイッチである。115 is a pushbutton switch for operator operation.
116は、受光器P3.P5.P7.P8.P10の出
力信号を入力するオア回路である。116 is a light receiver P3. P5. P7. P8. This is an OR circuit that inputs the output signal of P10.
200は、記憶装置である。200 is a storage device.
300は、周知のマイクロコンピュータ等を内蔵した計
算機で、図示しないが、第3図(イ)〜←)に示す制御
を実行するためのプログラムを記憶したROM1演算装
置、プログラムカウンタ、レジスタ、発振器等からなる
。Reference numeral 300 denotes a computer incorporating a well-known microcomputer, etc. Although not shown, a ROM1 arithmetic unit, a program counter, a register, an oscillator, etc. stores a program for executing the control shown in FIG. 3 (a) to ←). Consisting of
290は、出力周波数が比較的低い発振器291からの
パルスを受けて減算するカウンタである。290 is a counter that receives and subtracts pulses from an oscillator 291 whose output frequency is relatively low.
カウンタ290およ8発振器291によってタイマが構
成されている。A counter 290 and eight oscillators 291 constitute a timer.
なお、記憶装置200に記憶されるデータは、後述する
ようにおよそ次の条件を満たしている。Note that the data stored in the storage device 200 approximately satisfies the following conditions as described later.
以下、計算機300が実行するプログラムによる動作に
ついて、第3図イ〜ハのフローチャートに泊って説明す
る。The operation of the program executed by the computer 300 will be described below with reference to the flowcharts A to C of FIG. 3.
まず、有効な定期乗車券(定期券)のみが投入される場
合について説明する。First, a case where only valid commuter passes (commuter passes) are inserted will be explained.
定期券が投入口101に投入されると、受光器P11が
信号を出す。When a commuter pass is inserted into the slot 101, the light receiver P11 outputs a signal.
計算機300は、第1ステツプにおいて受光器P11が
信号を出しているかどうかについて検査し、受光器P1
1が信号を出していることを検出すると、第2ステツプ
において記憶装置200の記憶領域210の記憶値(F
A〜FG)を読出してその記憶領域210内の特定領域
FAの記憶値が「1」であるかどうかを検査する。In the first step, the computer 300 checks whether or not the photoreceiver P11 is outputting a signal.
1 is outputting a signal, the stored value (F
A to FG) are read out and it is checked whether the storage value of the specific area FA in the storage area 210 is "1".
最初に受光器P11が信号を出していることを検出した
時点では、FAの記憶値が「0」であるので、第3ステ
ツプにおいて記憶装置200内の記憶領域240に「0
」を記憶する。At the time when it is detected that the photoreceiver P11 is outputting a signal for the first time, the stored value of FA is "0", so in the third step, "0" is stored in the storage area 240 in the storage device 200.
” to remember.
その後、第4ステツプにおいて、記憶装置200の記憶
領域210の記憶値を読出してFAの記憶値を「1」に
し、再び元の記憶領域210に記憶する。Thereafter, in the fourth step, the stored value in the storage area 210 of the storage device 200 is read out, the stored value of FA is set to "1", and the stored value is stored in the original storage area 210 again.
続いて第5ステツプにおいて、券搬送装置を駆動する。Subsequently, in the fifth step, the ticket transport device is driven.
これによって、定期券は検札台本体100内に取り込ま
れる。As a result, the commuter pass is taken into the ticket inspection stand main body 100.
続いて、第6ステツプにおいて、再び記憶領域210の
記憶値を読出し、特定領域FCの記憶値が「1」である
かどうかを検査する。Subsequently, in the sixth step, the stored value in the storage area 210 is read out again, and it is checked whether the stored value in the specific area FC is "1".
このとき、FCの記憶値は「0」であるので、第7ステ
ツプに進んで集札信号が出たかどうかを検査する。At this time, since the stored value of FC is "0", the process proceeds to the seventh step and checks whether or not a ticket collection signal has been issued.
すなわち、第6ステツプで読出して記憶している記憶領
域210内の特定領域FEの記憶値が「1」であるかど
うかを検査する。That is, it is checked whether the stored value in the specific area FE in the storage area 210 read out and stored in the sixth step is "1".
このときFEの記憶値は「0」であるので、第8ステツ
プで進んで受光器P14が信号を出しているかどうかの
検査をする。At this time, since the stored value of FE is "0", the process proceeds to the eighth step and checks whether the photoreceiver P14 is outputting a signal.
このとき定期券はまだ受光器P11のところにあるので
、第9ステツプに進んで受光器PIOが信号を出してい
るかどうかを検査する。At this time, since the commuter pass is still at the photoreceiver P11, the process proceeds to the ninth step to check whether the photoreceiver PIO is outputting a signal.
このときも、第8ステツプと同様、受光器P10からの
信号を受信していないので、第10ステツプに進んで記
憶領域210の記憶値を読出して特定領域FDの記憶値
が「1」であるかどうかを検査する。At this time, as in the eighth step, since no signal is received from the photoreceiver P10, the process proceeds to the tenth step, reads out the stored value in the storage area 210, and determines that the stored value in the specific area FD is "1". Check whether
FDの記憶値が「0」であるので、第11ステツプ(第
3図口)に進んでカウンタ290の値が「O」であるか
どうかについて検査する。Since the stored value of the FD is "0", the program proceeds to step 11 (see Figure 3) to check whether the value of the counter 290 is "O".
このとき、カウンタ290および発振器291からなる
タイマはまだ起動されていないので、カウンタ290の
値は「O」になっている。At this time, the timer consisting of counter 290 and oscillator 291 has not been activated yet, so the value of counter 290 is "O".
したがって、第12ステツプに進んで、受光器P15が
券の検知信号を出しているかどうかについて検査する。Therefore, proceeding to step 12, it is checked whether the photoreceiver P15 is outputting a ticket detection signal.
受光器P15が信号を出していないので、第13ステツ
プに進んで、ストア装置112にストア解除信号を出す
。Since the photoreceiver P15 is not outputting a signal, the process advances to the thirteenth step and outputs a store release signal to the store device 112.
第13ステツプの処理を実行した後、計算機300は、
第14ステツプにおいて、記憶領域210の記憶値を読
出して特定領域FFの値が「1」であるかどうかについ
て検査する。After executing the processing of the 13th step, the computer 300
In the fourteenth step, the stored value in the storage area 210 is read out to check whether the value in the specific area FF is "1".
特定領域FFは、券の判定の結果、投入された券が有効
であれば「1」を記憶するようになっている。The specific area FF is configured to store "1" if the inserted ticket is valid as a result of ticket determination.
ここでは、まだ判定結果が出ていないので、FFの記憶
値はrOJである。Here, since the determination result has not yet been obtained, the stored value of FF is rOJ.
このため、第15ステツプ(第3図ハ)に進んで、オア
回路116が信号を出しているかどうかについて検査す
る。Therefore, the process proceeds to step 15 (FIG. 3C), where it is checked whether or not the OR circuit 116 is outputting a signal.
受光器P3が券を投入した顧客を検出して信号を出す前
にその券の読取りが終って判定結果が出るように券の搬
送速度を速くしであるので、定期券が受光器P11のと
ころにある時点では、また受光器P3は信号を出してい
ない。The ticket transport speed is increased so that the ticket is read and the judgment result is output before the photoreceiver P3 detects the customer who inserted the ticket and issues a signal, so that the commuter pass is not placed at the photoreceiver P11. At a certain point in time, the photoreceiver P3 is also not outputting a signal.
したがって、オア回路116が信号を出しておらず、第
15ステツプから第41ステツプ(第3図口)に進む。Therefore, the OR circuit 116 does not output a signal, and the process proceeds from the 15th step to the 41st step (see Figure 3).
第41ステツプでは、記憶領域240の記憶値Tを読出
して11」を加え、再び記憶領域240に記憶する。In the 41st step, the stored value T in the storage area 240 is read out, 11'' is added to it, and the value is stored in the storage area 240 again.
続いて計算機300は、第42ステツプに進んで、記憶
領域241の記憶値T。Subsequently, the computer 300 proceeds to a 42nd step and stores the stored value T in the storage area 241.
を読出し、図示しない内容レジスフに記憶しである記憶
値T(第41ステツプで「1」が加えられた後の値)と
記憶装置200から読出した記憶値T。The stored value T (the value after "1" is added in the 41st step) is read out and stored in a content register (not shown), and the stored value T is read out from the storage device 200.
とが等しいかどうかについて検査する。Test for equality.
Toは、券が受光器P11によって検出されてから有効
判定が出るまでの時間と顧客が受光器P10のところを
通過してから数秒間程度のあらかじめ定めた時間との和
に該当する値である。To is a value that corresponds to the sum of the time from when the ticket is detected by the photoreceiver P11 until it is determined to be valid and a predetermined time of about several seconds after the customer passes the photoreceiver P10. .
第5ステツプでTがrOJになっているので、第42ス
テツプではTとT。Since T becomes rOJ in the 5th step, T and T in the 42nd step.
とが等しくないことを検出し、第1ステツプにもどる。It is detected that they are not equal, and the process returns to the first step.
以上の第1ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプを終了しても、まだ定期券は受光器P
11のところにあるので、第1ステツプから第2ステツ
プに進な。Even after completing the above 1st to 15th steps, 41st step, and 42nd step, the commuter pass is still not connected to the receiver.
11, so proceed from the first step to the second step.
1回目の第4ステツプを経てFAの記憶値が「1」にな
っているので、2回目の第2ステツプではFAの記憶値
が11」であることを検出する。Since the stored value of FA is "1" after the first fourth step, it is detected that the stored value of FA is "11" in the second second step.
これにより、第6ステツプに進む。This causes the process to proceed to the sixth step.
以下、第7ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプを順次実行して、第1ステツプにもど
る。Thereafter, the 7th to 15th steps, the 41st step, and the 42nd step are executed in sequence, and the process returns to the first step.
これを3〜4回繰り返すと、定期券が受光器P11のと
ころを通過する。When this is repeated three to four times, the commuter pass passes the light receiver P11.
その後、第1ステツプにもどったとき、受光器P11が
信号を出していないので、第16ステツプに進んで記憶
領域210の記憶値を読出し、FAの記憶値が「1」で
あるかどうかについて検査する。After that, when the process returns to the first step, the photoreceiver P11 is not outputting a signal, so the process proceeds to the 16th step, reads out the value stored in the storage area 210, and checks whether the value stored in the FA is "1". do.
FAの記憶値は「1」であるので、第17ステツプに進
んでFAの記憶値をrOJにして記憶領域210に記憶
する。Since the stored value of FA is "1", the program proceeds to the 17th step and stores the stored value of FA as rOJ in the storage area 210.
その後、第18ステツプにおいて、シャッタ装置108
を制御して投入口101を閉じさせ、続く第19ステツ
プにおいて、記憶装置200の記憶領域220の記憶値
(ここでは「O」)を読出して「1」を加え、元の記憶
領域220に記憶する。After that, in an 18th step, the shutter device 108
is controlled to close the input port 101, and in the subsequent 19th step, the stored value (here, "O") in the storage area 220 of the storage device 200 is read out, "1" is added, and the value is stored in the original storage area 220. do.
以下、第6ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプを経て第1ステツプにもどり、第16
ステツプに進む。Thereafter, the process goes through the 6th step to the 15th step, the 41st step, the 42nd step, returns to the 1st step, and then returns to the 16th step.
Proceed to step.
第16ステツプを実行すると、前回の第17ステツプを
経てFAの記憶値が「0」になっていることを検出する
ので、第20ステツプに進んで受光器P12から券の検
知信号が出ているかどうかを検査する。When the 16th step is executed, it is detected that the stored value of FA is "0" after the previous 17th step, so the process proceeds to the 20th step and checks whether a ticket detection signal is output from the photoreceiver P12. Inspect whether
定期券は受光器P12のところに到っていないので、受
光器P12からは信号が出ていない。Since the commuter pass has not reached the light receiver P12, no signal is output from the light receiver P12.
このため、第21ステツプに進んで、記憶領域210の
記憶値を読出し、特定領域FBの記憶値が「1」である
かどうかを検査する。Therefore, the process proceeds to the 21st step, where the stored value in the storage area 210 is read out, and it is checked whether the stored value in the specific area FB is "1".
FBの記憶値は、受光器P12が信号を出している間「
1」になるようになっている。The memorized value of FB is "
1".
定期券が受光器P12に到る前はFBの記憶値は「0」
であるので、第6ステツプに移る。Before the commuter pass reaches receiver P12, the FB memory value is "0".
Therefore, we move on to the sixth step.
以下、第7ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプ、第1ステツプ、第16ステツプ、第
20ステツプ、第21ステツプ、第6ステツプを順次繰
り返す。Thereafter, steps 7 to 15, 41st step, 42nd step, 1st step, 16th step, 20th step, 21st step, and 6th step are repeated in sequence.
定期券が受光器P12のところに到ると、第20ステツ
プにおいて受光器P12が信号を出していることを検出
するので、第22ステツプに進んで第21ステツプと同
様にしてFBの記憶値が「1」であるかどうかについて
検査する。When the commuter pass reaches the photoreceiver P12, it is detected in the 20th step that the photoreceiver P12 is emitting a signal, so the process proceeds to the 22nd step and the stored value of FB is stored in the same way as the 21st step. Check whether it is "1".
このときは、まだFBの値がrOJであるので、第23
2ステツプに進んでFBの値を「1」にして記憶領域2
10に記憶する。At this time, the value of FB is still rOJ, so the 23rd
Proceed to step 2 and set the FB value to "1" to save storage area 2.
Store in 10.
以下、第6ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプ、第1ステツプ、第16ステツプ、第
20ステツプを経て、再度第22ステツプを実行する。Thereafter, steps 6 to 15, 41st, 42nd, 1st, 16th, 20th, and 22nd step are executed again.
前回の第23ステツプを実行したとき、FBの記憶値が
「1」になったので、この第22ステツプを実行すると
、FBの記憶値が「1」であることを検出する。When the previous 23rd step was executed, the stored value of FB became "1", so when this 22nd step is executed, it is detected that the stored value of FB is "1".
このため、第23ステツプをとばして、第6ステツプに
移る。Therefore, the 23rd step is skipped and the process moves to the 6th step.
以下、第7ステツプ〜第15ステツプ、第41ステツプ
、第42ステツプ、第1ステツプ、第16ステツプ、第
20ステツプ、第22ステツプ、第6ステツプを2〜3
回繰り返す。Hereinafter, steps 7 to 15, 41st step, 42nd step, 1st step, 16th step, 20th step, 22nd step, and 6th step will be repeated 2 to 3.
Repeat times.
定期券が受光器P12のところを通過すると、第20ス
テツプにおいて受光器P12が信号を出していないこと
を検出し、第21ステツプに進む。When the commuter pass passes the light receiver P12, it is detected in the 20th step that the light receiver P12 is not outputting a signal, and the process proceeds to the 21st step.
第21ステツプでは、FBの記憶値が「1」であること
を検出するので、第24ステツプに進んでFBの記憶値
を「0」にして記憶領域210に記憶する。In the 21st step, it is detected that the stored value of FB is "1", so the process proceeds to the 24th step, where the stored value of FB is changed to "0" and stored in the storage area 210.
続いて、定期券に磁気記録されている情報を読取装置1
09を介してレジスタ113に読取り(第25ステツプ
)、受光器P13の出力を監視する(第26ステツプ)
。Next, the reader 1 reads the information magnetically recorded on the commuter pass.
09 to the register 113 (25th step), and monitor the output of the photoreceiver P13 (26th step)
.
定期券の読取りを完了すると受光器P13が信号を出す
ように、受光器P13の位置が定められている。The position of the light receiver P13 is determined so that the light receiver P13 outputs a signal when the reading of the commuter pass is completed.
第26ステツプにおいて受光器P13が信号を出してい
ることを検出すると、計算機300は、第27ステツプ
において、レジスタ113に記憶されている値と記憶装
置200の図示しない所定領域の記憶値とを読出して比
較し、有効な券であるかどうか、回収する券であるかど
うかを判定する。When detecting that the light receiver P13 is outputting a signal in the 26th step, the computer 300 reads out the value stored in the register 113 and the value stored in a predetermined area (not shown) of the storage device 200 in the 27th step. The ticket is compared to determine whether the ticket is valid or not, and whether the ticket should be collected.
回収する券であることを検出すると、記憶領域210の
記憶値を読出して特許領域FEの記憶値を「1」にする
。When it is detected that the ticket is to be collected, the value stored in the storage area 210 is read out and the value stored in the patent area FE is set to "1".
有効な券であることを検出すると、記憶領域220の比
較値を読出してその値Kが「1」であるか「2」である
かを検査し、Kが「1」であることを検出すると特定領
域FFの記憶値を「1」にする一方「2」であることを
検出すると特定領域FGの記憶値を「1」にする。When it detects that it is a valid ticket, it reads out the comparison value in the storage area 220 and checks whether the value K is "1" or "2", and when it detects that K is "1". The stored value of the specific area FF is set to "1", and when it is detected that it is "2", the stored value of the specific area FG is set to "1".
この後、変更した値を記憶領域210に記憶する。Thereafter, the changed value is stored in the storage area 210.
有効な定期券であることを判定すると、FFの記憶値が
「1」になり、第28ステツプにおいてFFの記憶値が
「1」であるかどうかについて検査した結果「1」であ
ることを検出する。When it is determined that it is a valid commuter pass, the stored value of FF becomes "1", and in the 28th step, it is checked whether the stored value of FF is "1" and it is detected that it is "1". do.
このため、第29ステツプに進んで、記憶領域220の
記憶値Kを読出してその値が「2」であるかどうかにつ
いて検査する。Therefore, the process proceeds to step 29, where the stored value K in the storage area 220 is read out and checked to see if the value is "2".
このとき、記憶値には「1」であって「2」でないこと
を検出するので、第30ステツプに進んで、シャッタ装
置108による投入口101の閉鎖を解除するようにシ
ャッタ装置108を制御する。At this time, since it is detected that the stored value is "1" and not "2", the process advances to step 30 and controls the shutter device 108 to release the closing of the input port 101 by the shutter device 108. .
これにより、定期券に続く2枚目の券の投入が可能にな
る。This makes it possible to insert a second ticket following the commuter pass.
以下、第6ステツプ〜第13ステツプを経て、第14ス
テツプに進む。Thereafter, the process proceeds to the 14th step through the 6th to 13th steps.
第14ステツプでは、FFの記憶値が「1」であること
を検出するので、第31ステツプに移って投入口101
を開く信号をシャッタ装置108に与える。In the 14th step, it is detected that the stored value of FF is "1", so the process moves to the 31st step and the input port 101 is opened.
A signal to open the shutter device 108 is provided.
このとき、シャッタ装置108は、第30ステツプです
でに投入口101を開いているので、そのままの状態を
保つだけである。At this time, since the shutter device 108 has already opened the input port 101 in the 30th step, it simply maintains that state.
続いて、第1ステツプにもどる。その後、第1ステツプ
、第16ステツプ、第20ステツプ、第21ステツプ、
第6ステツプ〜第14ステツプ、第31ステツプを順次
実行し、これを何回か繰り返す。Then, return to the first step. After that, the first step, the 16th step, the 20th step, the 21st step,
The 6th step to the 14th step and the 31st step are executed in sequence, and this is repeated several times.
定期券が受光器P15のところに到ると、受光器P15
が信号を出す。When the commuter pass reaches the photoreceiver P15, the photoreceiver P15
gives a signal.
この信号は第12ステツプで検出されるので、第12ス
テツプから第33ステツプに移り、ストア装置112を
券ストア状態にする。Since this signal is detected in the 12th step, the process moves from the 12th step to the 33rd step, and the store device 112 is placed in the ticket store state.
この後、第1ステツプにもどり、続いて第16ステツプ
、第20ステツプ、第21ステツプ、第8ステツプ〜第
12ステツプ、第33ステツプを繰り返して実行する。Thereafter, the process returns to the first step, and then repeats the 16th step, 20th step, 21st step, 8th step to 12th step, and 33rd step.
搬送された定期券は、図示しないブレーキ装置によって
、返却口104から一部分が外へ突出した状態で停止さ
れる。The transported commuter pass is stopped by a brake device (not shown) with a portion of the commuter pass protruding outward from the return slot 104.
このとき、受光器P15は、定期券を検知して信号を出
し続ける。At this time, the light receiver P15 detects the commuter pass and continues to output a signal.
定期券が抜取られると、第12ステツプから第13ステ
ツプ、第14ステツプ、第31ステツプを経て、第1ス
テツプにもどる。When the commuter pass is removed, the process goes through the 12th step, 13th step, 14th step, 31st step, and then returns to the 1st step.
以下同様に、第1ステツプ、第16ステツプ、第20ス
テツプ、第21ステツプ、第6ステツプ〜第14ステツ
プ、第31ステツプを繰り返す。Thereafter, the 1st step, 16th step, 20th step, 21st step, 6th step to 14th step, and 31st step are repeated in the same manner.
定期券を投入した顧客が受光器P10のところに到ると
、第9ステツプで受光器P10が信号を出しているのを
検出し、第34ステツプに進んで記憶領域210から記
憶値を読出して特定領域FDの記憶値が「1」であるか
どうかの検査をする。When the customer who inserted the commuter pass reaches the photoreceiver P10, it detects that the photoreceiver P10 is emitting a signal in the ninth step, and proceeds to the thirty-fourth step to read out the stored value from the storage area 210. It is checked whether the stored value of the specific area FD is "1".
FDの記憶値が「1」になっているのは、受光器P10
が信号を出しているときに限られる。The FD memory value is “1” for the photoreceiver P10.
only when the signal is being sent.
ここでは、受光器P10が信号を出しているのを初めて
検出したので、FDの記憶値は「0」である。Here, since it is detected for the first time that the light receiver P10 is outputting a signal, the value stored in the FD is "0".
したがって、第34ステツプから第35ステツプに進み
、FDの記憶値を「1」にして記憶領域210に記憶す
る。Therefore, the process proceeds from the 34th step to the 35th step, where the stored value of the FD is set to "1" and stored in the storage area 210.
以下、第11ステツプ〜第14ステツプ、第31ステツ
プの順、または定期券が抜取られるまで第11ステツプ
、第12ステツプ、第33ステツプの順に実行して第1
ステツプにもどり、第16ステツプ、第20ステツプ、
第21ステツプ、第6ステツプ〜第9ステツプ、第34
ステツプ(第35ステツプをとばす)を繰り返す。Thereafter, the 11th step to the 14th step, and the 31st step are executed in this order, or the 11th step, the 12th step, and the 33rd step are executed in that order until the commuter pass is removed.
Return to step, 16th step, 20th step,
21st step, 6th step to 9th step, 34th step
Repeat step (skipping step 35).
受光器P10が信号を出さなくなると、第9ステツプか
ら第10ステツプに進む。When the photoreceiver P10 stops outputting a signal, the process proceeds from the ninth step to the tenth step.
第10ステツプではFDが「1」であることを検出する
ので、第36ステツプに進んで記憶領域220の記憶値
Kを読出してKの値から「1」を差引き、その結果を再
び記憶領域220に記憶する。In the 10th step, it is detected that FD is "1", so the program proceeds to the 36th step, reads the stored value K in the storage area 220, subtracts "1" from the value of K, and returns the result to the storage area 220. 220.
これにより、Kは「O」となる。As a result, K becomes "O".
続く第37ステツプにおいて記憶領域210の記憶値を
読出してFDの記憶値を「0」にし、第38ステツプで
FGの記憶値をFFにセットしてFGの記憶値を「O」
にし、FA−FGの値を記憶領域210に記憶する。In the subsequent 37th step, the stored value of the storage area 210 is read out, and the stored value of FD is set to "0", and in the 38th step, the stored value of FG is set to FF, and the stored value of FG is set to "O".
and stores the value of FA-FG in the storage area 210.
その後、第28ステツプに移る。Thereafter, the process moves to the 28th step.
通過した定期券の所持者に続いて有効券が投入されてい
ないので、第28ステツプではFFの値が「O」である
ことを検出する。Since no valid ticket has been inserted following the holder of the commuter pass that passed, it is detected in the 28th step that the value of FF is "O".
このため、第39ステツプ(第3図ハ)に進んで、記憶
領域220の記憶値Kを読出し、Kの値が「2」である
かどうかの検査をする。Therefore, the process proceeds to step 39 (FIG. 3C), where the stored value K in the storage area 220 is read out and a check is made to see if the value of K is "2".
Kの値が「O」で「2」でないことを検出し、第40ス
テツプに進んでKの値が「1」であるかどうかについて
検査する。It is detected that the value of K is "O" and not "2", and the process proceeds to the 40th step to check whether the value of K is "1".
Kの値が「1」でないので、第15ステツプに移る。Since the value of K is not "1", the process moves to the 15th step.
第15ステツプでは、通路に顧客がいないことにより、
オア回路116からの信号を受信せず、第41ステツプ
に進む。In the 15th step, due to the absence of customers in the aisle,
The signal from the OR circuit 116 is not received and the process proceeds to the 41st step.
なお、第15ステツプにおいて、オア回路116からの
信号を受信したときは、有効な定期券を投入した顧客に
続いて無効券を投入した顧客あるいは券を投入せずに通
行しようとした無札客が通路にいることを検出したこと
になる。In addition, in the 15th step, when the signal from the OR circuit 116 is received, a customer who has inserted a valid commuter pass, followed by a customer who has inserted an invalid ticket, or a customer without a ticket who tried to pass without inserting a ticket, This means that it has been detected that the person is in the aisle.
第15ステツプを実行して第41ステツプに進んだ後は
、第42ステツプ、第1ステツプ、第16ステツプ、第
20ステツプ、第21ステツプ、第6ステツプ〜第15
ステツプを繰り返して実行する。After executing the 15th step and proceeding to the 41st step, proceed to the 42nd step, the 1st step, the 16th step, the 20th step, the 21st step, and the 6th to 15th steps.
Repeat steps.
定期券を投入した顧客が受光器P10のところを通過し
てから前述のあらかじめ定めた時間が経過すると、記憶
領域240の記憶値Tが記憶領域241の記憶値T。When the aforementioned predetermined time has elapsed since the customer who inserted the commuter pass passed the light receiver P10, the stored value T in the storage area 240 becomes the stored value T in the storage area 241.
に等しいことを第42ステツプで検出するので、第43
ステツプに進んで図示しない券の搬送装置を停止する。Since it is detected in the 42nd step that it is equal to
Proceeding to step 1, the ticket conveyance device (not shown) is stopped.
以後、券が投入口101に投入されるまで待期状態にな
る。Thereafter, the system enters a standby state until a ticket is inserted into the slot 101.
なお、待期状態においてはゲート扉107で通路を閉じ
ておき、有効券が投入されたときにゲート扉107を駆
動して通路を開くようにしてもよい。Note that the passage may be closed by the gate door 107 in the standby state, and the passage may be opened by driving the gate door 107 when a valid ticket is inserted.
次に、有効な普通乗車券(切符)のみが投入される場合
について説明する。Next, a case where only valid regular tickets are inserted will be explained.
切符の判定が出るまでは、定期券が投入された場合と同
じであるので、説明を省略する。The process until the ticket is determined is the same as when a commuter pass is inserted, so the explanation will be omitted.
有効な切符の場合は、第27ステツプにおいて記憶領域
210内の記憶領域FEおよびFFの記憶値がともに「
1」となるので、第29ステツプ、第30ステツプ、第
6ステツプを経て第7ステツプに進む。If the ticket is valid, the stored values in storage areas FE and FF in storage area 210 are both "
1'', the process goes through the 29th step, the 30th step, the 6th step, and then proceeds to the 7th step.
第7ステツプでは、FEの記憶値が「1」であること(
集札信号が出たこと)を検出するので、第44ステツプ
に進んでタイマを起動する。In the seventh step, the stored value of FE is "1" (
Since it is detected that the ticket collection signal has been issued, the process proceeds to the 44th step and starts the timer.
すなわち、カウンタ290を初期値にセットし、発振器
291の出力をカウンタ290に入力させる。That is, the counter 290 is set to an initial value and the output of the oscillator 291 is input to the counter 290.
カウンタ290にセットする初期値は、顧客が通路を通
り抜けるに要する時間よりも少し長い3〜4秒程度の所
定時間に該当する所定値で、計算機300内のROMに
プログラムとともに記憶されている値である。The initial value set in the counter 290 is a predetermined value corresponding to a predetermined time of about 3 to 4 seconds, which is slightly longer than the time required for a customer to pass through the aisle, and is a value stored in the ROM in the calculator 300 along with the program. be.
続いて第45ステツプに進んで、記憶領域30に「0」
を記憶することにより記憶値CをrOJにする。Next, proceed to the 45th step and write "0" to the storage area 30.
By storing , the stored value C is set to rOJ.
記憶領域230は、計数値が通路に沿う人間検知器P3
〜P10の出力状態に順次対応したカウンタを構成して
いる。The storage area 230 stores the count value of the human detector P3 along the path.
A counter is configured that sequentially corresponds to the output states of -P10.
第45ステツプを実行すると、第46ステツプにおいて
記憶領域210の記憶値を読出して特定領域FCの記憶
値を「1」にして記憶領域210に記憶し、第47ステ
ツプにおいて振分装置110を駆動して到来する切符を
回収通路111に導く状態にし、第48ステツプにおい
て記憶領域210の記憶値を読出してFBの記憶値をr
OJにして記憶領域210に記憶する。When the 45th step is executed, the stored value in the storage area 210 is read out in the 46th step, and the stored value in the specific area FC is set to "1" and stored in the storage area 210, and the distribution device 110 is driven in the 47th step. In the 48th step, the stored value of the storage area 210 is read out and the stored value of FB is set to r.
It is converted into OJ and stored in the storage area 210.
その後、第49ステツプにおいて、受光器P13が信号
を出しているかどうかの検査を行なう。Thereafter, in the 49th step, it is checked whether the photoreceiver P13 is outputting a signal.
このとき、受光器P13はまだ信号を出していることを
検出するので、第9ステツプに進む。At this time, it is detected that the photoreceiver P13 is still outputting a signal, so the process proceeds to the ninth step.
以下、第10ステツプを経て第11ステツプに到る。Thereafter, the process goes through the 10th step and then reaches the 11th step.
第11ステツプでは、すでに第44ステツプでタイマが
起動されたことにより、タイマの値すなわちカウンタ2
90の値が「0」でないことを検出する。In the 11th step, since the timer has already been started in the 44th step, the value of the timer, that is, the counter 2
It is detected that the value of 90 is not "0".
このため、第50ステツプに進んでストア装置112を
券ストア状態にする。Therefore, the process proceeds to the 50th step and puts the store device 112 into the ticket store state.
続く第51ステツプでは、記憶領域230の記憶値Cを
読出し、Cの値が「0」であるかどうかについて検査す
る。In the subsequent 51st step, the stored value C in the storage area 230 is read out, and it is checked whether the value of C is "0".
第45ステツプでCの値を「O」したので、第51ステ
ツプではCの値が「0」であることを検出し、第61ス
テツプに進む。Since the value of C was set to "O" in the 45th step, it is detected in the 51st step that the value of C is "0", and the process proceeds to the 61st step.
第61ステツプでは、受光器P3が信号を出しているか
どうかについて検査する。In the 61st step, it is checked whether the photoreceiver P3 is outputting a signal.
集札信号が出た直後は、切符を投入した顧客は前述した
ようにまだ受光器P3のところに到っていない。Immediately after the ticket collection signal is issued, the customer who has inserted the ticket has not yet reached the light receiver P3, as described above.
このため、第61ステツプでは受光器P3が信号を出し
ていないことを検出し、第1ステツプにもどる。Therefore, in the 61st step, it is detected that the photoreceiver P3 is not outputting a signal, and the process returns to the 1st step.
以下、第1ステツプから第16ステツプに進み、第20
ステツプ、第21ステツプ、第6ステツプ、第49ステ
ツプ、第9ステツプ〜第11ステツプ、第50ステツプ
、第51ステツプ、第61ステツプを順次繰り返す。Thereafter, proceed from the 1st step to the 16th step, and then proceed to the 20th step.
The steps 21st step, 6th step, 49th step, 9th step to 11th step, 50th step, 51st step, and 61st step are repeated in sequence.
切符が受光器P13のところを通過すると、第49ステ
ツプにおいて受光器P13からの信号を受信しなくなる
。When the ticket passes the photoreceiver P13, the signal from the photoreceiver P13 is no longer received in the 49th step.
これにより、第59ステツプに進んで、記憶領域210
の記憶値を読出し、記憶領域FCの記憶値を「0」にし
、第8ステツプに進む。As a result, the process advances to the 59th step and the storage area 210 is
The stored value in the storage area FC is read out, and the stored value in the storage area FC is set to "0", and the process proceeds to the eighth step.
以下、第9ステツプ〜第11ステツプ、第50ステツプ
、第51ステツプ、第61ステツプ、第1ステツプ、第
16ステツプ、第20ステツプ、第21ステツプ、第6
ステツプ〜第9ステツプを繰り返す。Hereinafter, the 9th step to the 11th step, the 50th step, the 51st step, the 61st step, the 1st step, the 16th step, the 20th step, the 21st step, and the 6th step.
Repeat step to ninth step.
第61ステツプにおいて、切符を投入した顧客を受光器
P3が検出して信号を出したことを検出すると、第60
ステツプに進んで記憶領域230の記憶値Cを読出し、
「1」を加えて再び記憶領域230に記憶する。In the 61st step, when the photoreceiver P3 detects the customer who has inserted the ticket and outputs a signal, the 60th step
Proceeding to step 1, the stored value C in the storage area 230 is read out.
"1" is added and stored in the storage area 230 again.
これにより、カウンタの計数値Cは「1」になる。As a result, the count value C of the counter becomes "1".
以下、第1ステツプ、第16ステツプ、第20ステツプ
、第21ステツプ、第6ステツプ〜第11ステツプ、第
50ステツプ、第51ステツプを実行する。Hereinafter, the first step, the 16th step, the 20th step, the 21st step, the 6th to 11th steps, the 50th step, and the 51st step are executed.
第51ステツプにおいて、カウンタの計数値Cが「O」
でないことを検出するので、第52ステツプに進み、第
51ステツプで読出したカウンタの値が「1」であるか
どうかについて検査する。In the 51st step, the count value C of the counter is "O"
Since it is detected that this is not the case, the process proceeds to the 52nd step and checks whether the value of the counter read in the 51st step is "1".
「1」であることを検出するので、第62ステツプに進
んで受光器P3からの信号がなくなったかどうかについ
て検査する。Since it is detected that the signal is "1", the process proceeds to step 62 to check whether the signal from the photoreceiver P3 has disappeared.
受光器P3からの信号を検出して、第1ステツプにもど
る。The signal from the photoreceiver P3 is detected and the process returns to the first step.
以下、第1ステツプから第16ステツプに進み、第20
ステツプ、第21ステツプ、第6ステツプ〜第11ステ
ツプ、第50ステツプ〜第52ステツプ、第62ステツ
プを繰り返す。Thereafter, proceed from the 1st step to the 16th step, and then proceed to the 20th step.
Step, 21st step, 6th step to 11th step, 50th step to 52nd step, and 62nd step are repeated.
第8ステツプにおいて、受光器P14からの信号を検出
すると、第32ステツプに進んで振分装置110を制御
して券を返却口104の方向へ導くようにし、第9ステ
ツプに進む。In the eighth step, when a signal from the light receiver P14 is detected, the process proceeds to a 32nd step, where the sorting device 110 is controlled to guide the ticket toward the return slot 104, and the process proceeds to a ninth step.
切符が受光器P14によって検知されたとき、切符の後
端は振分装置110の位置を通過している。When the ticket is detected by the light receiver P14, the rear end of the ticket has passed the position of the sorting device 110.
第62ステツプにおいて、受光器P3からの信号を検出
しなくなると、第60ステツプでカウンタの値に「1」
を加え、第1ステツプにもどる。In the 62nd step, when the signal from the photoreceiver P3 is no longer detected, the counter value is set to "1" in the 60th step.
Add and return to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第52ステツプを経て第53ステツプに進む。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
The process advances to the 53rd step via the 52nd step.
第53ステツプでは、第51ステツプで読出した記憶値
Cが「2」であるかどうかの検査をし、「2」であるこ
とを検出し、第63ステツプに進む。In the 53rd step, it is checked whether the stored value C read out in the 51st step is "2", and when it is detected that it is "2", the process proceeds to the 63rd step.
′第63ステップでは、アンド回路114が信号を出し
ているかどうかの検査をし、アンド回路114が信号を
出していないことを検出し、第1ステツプにもどる。'In the 63rd step, it is checked whether the AND circuit 114 is outputting a signal, it is detected that the AND circuit 114 is not outputting a signal, and the process returns to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第53ステツプ、第63ステツプ、第1ステツプを順次
繰り返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
Repeat the 53rd step, 63rd step, and 1st step in sequence.
切符を投入した顧客が通路の中央に到って受光器P4〜
P7への入射光線を同時に遮断すると、アンド回路11
4が信号を出す。The customer who inserted the ticket reaches the center of the aisle and receives the photo receiver P4~
If the incident light beam to P7 is simultaneously blocked, the AND circuit 11
4 gives a signal.
この信号は第63ステツプで検出されるので、第63ス
テツプから第60ステツプを経て、第1ステツプにもど
る。Since this signal is detected at the 63rd step, the process goes from the 63rd step to the 60th step and returns to the first step.
以下、同様にして第53ステツプに到り、第53ステツ
プで記憶領域230の記憶値Cが「2」でないことを検
出し、第54ステツプに進む。Thereafter, the process proceeds to the 53rd step in the same manner, and at the 53rd step, it is detected that the stored value C in the storage area 230 is not "2", and the process proceeds to the 54th step.
第54ステツプでは、Cが「3」であるかどうかの検査
をし、「3」であることを検出する。In the 54th step, it is checked whether C is "3" and it is detected that it is "3".
このため、第64ステツプに進んでアンド回路114が
信号を出さなくなったかどうかの検査をし、まだアンド
回路114が信号を出していることを検出して第1ステ
ツプにもどる。Therefore, the process advances to step 64 to check whether the AND circuit 114 has stopped outputting a signal, detects that the AND circuit 114 is still outputting a signal, and returns to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第54ステツプ、第64ステツプ、第1ステツプを繰り
返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
Repeat the 54th step, 64th step, and 1st step.
顧客が通路の中央を通過してアンド回路114が信号を
出さなくなると、第64ステツプでこれを検出し、第6
0ステツプを経て第1ステツプにもどるようになる。When the customer passes through the center of the aisle and the AND circuit 114 stops outputting a signal, this is detected in the 64th step and the 6th
After passing through the 0 step, the process returns to the 1st step.
以下、同様にして第54ステツプに進むと、記憶値Cが
「3」でないことを検出し、第55ステツプに進む。Thereafter, when the process proceeds to the 54th step in the same manner, it is detected that the stored value C is not "3", and the process proceeds to the 55th step.
第55ステツプでは、記憶値Cが「4」であるかどうか
の検査をし、「4」であることを検出する。In the 55th step, it is checked whether the stored value C is "4" and it is detected that it is "4".
このため、第65ステツプに進んで受光器P8が顧客を
検知して信号を出すかどうかの検査をし、受光器P8か
ら信号が出ていないことを検出して第1ステツプにもど
る。Therefore, the process proceeds to step 65 to check whether the photoreceiver P8 detects the customer and outputs a signal, detects that no signal is emitted from the photoreceiver P8, and returns to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第55ステツプ、第65ステツプ、第1ステツプを繰り
返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
Repeat the 55th step, 65th step, and 1st step.
顧客が受光器P8のところに到ると、受光器P8が信号
を出す。When the customer reaches receiver P8, receiver P8 issues a signal.
この信号は第65ステツプで検出され、第60ステツプ
を経て第1ステツプに到るようになる。This signal is detected at the 65th step, and passes through the 60th step to reach the first step.
以下、同様にして第55ステツプに進むと、記憶値Cが
14」でないことを検出する。Thereafter, when the process proceeds to the 55th step in the same manner, it is detected that the stored value C is not 14''.
このため、第56ステツプに進んで、記憶値Cが15」
であるかどうかの検査をし、「5」であることを検出す
る。Therefore, proceed to step 56, and the stored value C becomes 15.
, and detects that it is "5".
これにより、第66ステツプに進んで、受光器P8から
の信号がなくなったかどうかの検査をし、受光器P8か
ら信号が出ていることを検出して第1ステツプにもどる
。As a result, the process advances to the 66th step, where it is checked whether the signal from the photoreceiver P8 has disappeared, and when it is detected that the signal is being output from the photoreceiver P8, the process returns to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第56ステツプ、第66ステツプ、第1ステツプを繰り
返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
Repeat the 56th step, 66th step, and 1st step.
顧客が受光器P8のところを通過すると、受光器P8が
信号を出さなくなる。When the customer passes the photoreceiver P8, the photoreceiver P8 stops emitting a signal.
このことが第66ステツプで検出され、第60ステツプ
を経て第1ステツプにもどるようになる。This is detected at the 66th step, and the process returns to the 1st step via the 60th step.
以下、同様にして第56ステツプに進むと、記憶値Cが
「5」でないことを検出する。Thereafter, when the process proceeds to the 56th step in the same manner, it is detected that the stored value C is not "5".
このため、第57ステツプに進んで、記憶値Cが「6」
であるかどうかの検査をする。Therefore, the process advances to the 57th step and the stored value C becomes "6".
Check whether it is.
「6」であることを検出するので、第67ステツプに進
んで受光器P10から信号が出ているかどうかの検査を
する。Since it is detected that the signal is "6", the process proceeds to step 67 to check whether a signal is output from the photoreceiver P10.
このとき、受光器PIOから信号が出ていないことを検
出するので、第1ステツプにもどる。At this time, it is detected that no signal is output from the photoreceiver PIO, so the process returns to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第11ステツプ、第50ステツプ〜
第57ステツプ、第67ステツプ、第1ステツプを繰り
返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step - the 11th step, the 50th step -
Repeat the 57th step, 67th step, and 1st step.
顧客が受光器P10のところに到ると、受光器P10が
信号を出す。When the customer reaches receiver P10, receiver P10 issues a signal.
この信号は、第9ステツプおよび第67ステツプで計算
機300によって検出される。This signal is detected by computer 300 in the 9th step and the 67th step.
第9ステツプで検出されると、定期券の投入客について
説明したように第34ステツプ、第35ステツプを経て
第11ステツプに進む。If detected in the ninth step, the process proceeds to the 11th step via the 34th step and the 35th step, as described for the passenger who has inserted a commuter pass.
その後、再び第9ステツプに到ると、第34ステツプを
経て第11ステツプに進む。Thereafter, when the ninth step is reached again, the process proceeds to the 11th step via the 34th step.
一方、第67ステツプで受光器P10からの信号が検出
されると、第60ステツプを経て第1ステツプにもどる
。On the other hand, when a signal from the photodetector P10 is detected in the 67th step, the process returns to the 1st step via the 60th step.
その後、再び第57ステツプに進むと、記憶値Cが「6
」でないことを検出するので、第58ステツプに進んで
記憶値Cが「7」であるかどうかの検査をする。After that, when the process goes to the 57th step again, the stored value C is "6".
Since it is detected that the stored value C is not "7", the process proceeds to step 58 to check whether the stored value C is "7".
このとき、「7」であることを検出し、第68ステツプ
に進んで受光器P10からの信号がなくなったかどうか
の検査をする。At this time, it is detected that the signal is "7", and the process proceeds to step 68 to check whether the signal from the photoreceiver P10 has disappeared.
受光器P10からの信号を受信しているので、第1ステ
ツプに進む。Since the signal from the photoreceiver P10 has been received, the process proceeds to the first step.
以下、第16ステツプ、第20ステツプ、第21ステツ
プ、第6ステツプ〜第9ステツプ、第34ステツプ、第
11ステツプ、第50ステツプ〜第58ステツプ、第6
8ステツプ、第1ステツプを繰り返す。Hereinafter, the 16th step, the 20th step, the 21st step, the 6th step to the 9th step, the 34th step, the 11th step, the 50th step to the 58th step, and the 6th step.
8 steps, repeat the first step.
顧客が受光器P10のところを通過すると、受光器PI
Oが信号を出さなくなる。When the customer passes the photoreceiver P10, the photoreceiver PI
O stops giving a signal.
このことは、第9ステツプおよび第68ステツプで検出
される。This is detected in the 9th step and the 68th step.
第68ステツプより先に第9ステツプで検出された場合
には、第10ステツプ、第36ステツプ〜第38ステツ
プ、第28ステツプ、第39ステツプ、第40ステツプ
、第15ステツプ、第41ステツプ、第42ステツプ、
第1ステツプ、第16ステツプ、第20ステツプ、第2
1ステツプ、第6ステツプ〜第11ステツプ、第50ス
テツプ〜第58ステツプ、第68ステツプ、第60ステ
ツプ、第1ステツプ、第16ステツプ、第20ステツプ
、第21ステツプ、第6ステツプ〜第11ステツプ、第
50ステツプ〜第58ステツプと進み、第58ステツプ
において記憶値Cが「7」でないことを検出し、第69
ステツプに進んでカウンタ290の記憶値をrOJにし
て発振器291の出力信号がカウンタ290に入らない
ようにし、第1ステツプにもどり、以下定期券が投入さ
れた場合と同じステップを経て搬送装置を停止する。If it is detected at the 9th step before the 68th step, it will be detected at the 10th step, the 36th step to the 38th step, the 28th step, the 39th step, the 40th step, the 15th step, the 41st step, and the 41st step. 42 steps,
1st step, 16th step, 20th step, 2nd step
1st step, 6th step to 11th step, 50th step to 58th step, 68th step, 60th step, 1st step, 16th step, 20th step, 21st step, 6th step to 11th step , the process proceeds from the 50th step to the 58th step, and in the 58th step it is detected that the stored value C is not "7".
Proceed to step 290, set the stored value of counter 290 to rOJ, prevent the output signal of oscillator 291 from entering counter 290, return to the first step, and then stop the conveyance device through the same steps as when a commuter pass is inserted. do.
一方、受光器P10が信号を出さなくなったことを第9
ステツプより先に第68ステツプで検出した場合には、
第60ステツプ、第1ステツプ、第16ステツプ、第2
0ステツプ、第21ステツプ、第6ステツプ〜第10ス
テツプ、第36ステツプ〜第38ステツプ、第28ステ
ツプ、第39ステツプ、第40ステツプ、第15ステツ
プ、第41ステツプ、第42ステツプ、第1ステツプ、
第16ステツプ、第20ステツプ、第21ステツプ、第
6ステツプ〜第11ステツプ、第50ステツプ〜第58
ステツプ、第69ステツプと進んで、第1ステツプにも
どり、以下定期券が投入された場合と同じステップを経
て搬送装置を停止する。On the other hand, the ninth
If it is detected at the 68th step before the step,
60th step, 1st step, 16th step, 2nd step
0 step, 21st step, 6th step to 10th step, 36th step to 38th step, 28th step, 39th step, 40th step, 15th step, 41st step, 42nd step, 1st step ,
16th step, 20th step, 21st step, 6th step to 11th step, 50th step to 58th step
The process advances to the 69th step, returns to the 1st step, and then goes through the same steps as when a commuter pass is inserted, and then stops the conveying device.
なお、受光器P3.P4〜P7(アンド回路114)、
P8.Plo、の出力を順次走査するに際して(第61
ステツプ〜第68ステツプ)、受光器P3〜P10のい
ずれかが誤動作するかあるいは顧客が中央で背を低くし
て通過したりした場合には、顧客の通過後カウンタ29
0の値が「O」になるので、これを第11ステツプで検
出し、所定時間後に搬送装置を停止するようになる。Note that the light receiver P3. P4 to P7 (AND circuit 114),
P8. When sequentially scanning the output of Plo (61st
If any of the light receivers P3 to P10 malfunctions or if the customer passes with a low back in the center, the counter 29 will be displayed after the customer has passed.
Since the value of 0 becomes "O", this is detected in the 11th step, and the conveying device is stopped after a predetermined time.
次に、有効な切符を投入した顧客が通路を出る前に次の
顧客が有効な切符を投入した場合について説明する。Next, a case will be described in which the next customer inserts a valid ticket before the customer who has inserted a valid ticket exits the aisle.
先の顧客について、有効判定が出る(第27ステツプ)
と、シャッタ装置108が投入口101を開く(第30
ステツプ)ので、先の顧客が通路を進んで投入口101
付近にいなくなった(受光器P3〜P10の間のどこか
の位置にいる)とき、次の顧客は切符を投入口に投入す
ることができるようになる。Validity judgment is issued for the previous customer (27th step)
, the shutter device 108 opens the input port 101 (the 30th
step), so the customer ahead advances through the aisle and enters the input slot 101.
When the next customer is no longer in the vicinity (at some position between the light receivers P3 to P10), the next customer can insert the ticket into the slot.
次の顧客が切符を投入口と投入する頃には、タイマはす
でに起動されていて(カウンタ290の値が「0」でな
い正の値になっていて)、記憶値Cの値は初期値「O」
ではなくなっている。By the time the next customer inserts a ticket into the slot, the timer has already started (the value of the counter 290 is a positive value other than "0"), and the value of the memory value C is the initial value " O”
It is no longer.
すなわち、先の顧客に対して、人間検知器の出力を順次
走査してその顧客がどの位置にいるかを監視している。That is, the position of the previous customer is monitored by sequentially scanning the output of the human detector.
その後、次の顧客の切符に対して有効判定が出ると、そ
のとき記憶領域220の記憶値には「2」となっている
ので、記憶領域210の特定領域FGの記憶値が「1」
となる(第27ステツプ)。After that, when the next customer's ticket is determined to be valid, the value stored in the storage area 220 will be "2", so the value stored in the specific area FG of the storage area 210 will be "1".
(27th step).
このとき、FEの記憶値も「1」になることは前述した
とおりである。At this time, as described above, the stored value of FE also becomes "1".
先の顧客が投入した切符の有効判定結果が特定領域FF
に「1」として記憶されているので、第28ステツプに
おいてFFの記憶値が「1」であることを検出し、第2
9ステツプに進む。The validity determination result of the ticket inserted by the previous customer is the specific area FF.
Therefore, in the 28th step, it is detected that the stored value of the FF is "1", and the second
Proceed to step 9.
第29ステツプでは記憶領域220の記憶値Kが「2」
であることを検出し、投入口を開かずに第6ステツプに
進む。In the 29th step, the stored value K in the storage area 220 is "2".
It is detected that this is the case, and the process proceeds to the sixth step without opening the input port.
以下、第7ステツプを経て第44ステツプに進んでカウ
ンタ290に初期値をセットし、第45ステツプで記憶
領域230の記憶値Cを「0」にする。Thereafter, the process proceeds to the 44th step via the 7th step, where the initial value is set in the counter 290, and the stored value C in the storage area 230 is set to "0" at the 45th step.
これによって、先の顧客の監視を中止し、次の顧客の監
視を開始することになる。As a result, monitoring of the previous customer is stopped and monitoring of the next customer is started.
先の顧客が受光器P10のところを通過すると、第10
ステツプから第36ステツプに進み、記憶領域220の
記憶値Kが「1」になる。When the previous customer passes the photoreceiver P10, the 10th
The process advances from step to step 36, where the stored value K in the storage area 220 becomes "1".
以下、第37ステツプ、第38ステツプ、第28ステツ
プ〜第30ステツプと進んで投入口101が開かれる。Thereafter, the input port 101 is opened in the 37th step, the 38th step, the 28th step to the 30th step.
以下、通路に切符を投入した顧客が1人いる場合と同様
に各ステップを実行する。Hereinafter, each step is performed in the same way as when there is one customer who has inserted a ticket into the aisle.
次に、有効な切符を投入した顧客が通路を出る前に次の
顧客が有効な定期券を投入した場合について説明する。Next, a case will be described in which the next customer inserts a valid commuter pass before the customer who has inserted a valid ticket exits the aisle.
先の顧客についての動作は前述したとおりである。The operation regarding the previous customer is as described above.
次の顧客の定期券に対しての有効判定は、特定領域FG
に記憶される(第27ステツプ)。Validity determination for the next customer's commuter pass is based on the specific area FG.
(27th step).
以下、第28ステツプ、第29ステツプ、第6ステツプ
、第7ステツプを経て第8ステツプに進むので、先の顧
客に対する存在位置の監視は続けられる。Thereafter, the process proceeds to the eighth step via the 28th step, the 29th step, the 6th step, and the 7th step, so that monitoring of the location of the previous customer is continued.
なお、通路に顧客が2人いるときは、投入口101は閉
じていて、タイマが動作していることによりストア装置
112は券をストアする状態にある。Note that when there are two customers in the aisle, the slot 101 is closed and the store device 112 is in a state of storing tickets because the timer is operating.
このことにより、次の顧客が投入した定期券はストア装
置112のところで一時停止される。As a result, the commuter pass inserted by the next customer is temporarily suspended at the store device 112.
先の顧客が受光器P10のところを通過すると、第30
ステツプで投入口101が開かれ、第69ステツプでカ
ウンタ290が「0」にされ、第13ステツプで定期券
のストアが解除されて返却口104に定期券が送り出さ
れる。When the previous customer passes the receiver P10, the 30th
The input slot 101 is opened in the step, the counter 290 is set to "0" in the 69th step, and the storage of the commuter pass is canceled in the 13th step, and the commuter pass is delivered to the return slot 104.
以下、定期券が1枚投入されたときと同様に各ステップ
を実行する。Thereafter, each step is executed in the same way as when one commuter pass is inserted.
次に、有効な定期券を投入した顧客が通路を出る前に次
の顧客が有効な定期券を投入した場合について説明する
。Next, a case will be described in which the next customer inserts a valid commuter pass before the customer who has inserted a valid commuter pass exits the aisle.
先の顧客についての動作はすでに説明したことと同じで
ある。The operation for the previous customer is the same as described above.
ただ、先の顧客の定期券に対して有効判定が出てから次
の顧客が定期券を投入することができるようになってい
るので、次の顧客の定期券の有効判定が出る前に先の顧
客の定期券は受光器P15のところに到っている。However, the next customer can insert their commuter pass only after the validity determination is issued for the previous customer's commuter pass, so the next customer can insert their commuter pass before the validity determination for the next customer's commuter pass is issued. The commuter pass of the customer has reached the photoreceiver P15.
したがって、第33ステツプを経て、次の顧客の定期券
はストア装置112によって一時ストアされる。Therefore, after the thirty-third step, the next customer's commuter pass is temporarily stored by the store device 112.
先の顧客が返却口104にある定期券を抜取ると、第1
3ステツプで次の顧客の定期券が返却口104へ送出さ
れ、第31ステツプまたは第30ステツプで投入口10
1を開く。When the previous customer pulls out the commuter pass from the return slot 104, the first
In 3 steps, the next customer's commuter pass is sent to the return slot 104, and in the 31st or 30th step, it is sent to the input slot 10.
Open 1.
以下、定期券が1枚投入されたときと同様に各ステップ
を実行する。Thereafter, each step is executed in the same way as when one commuter pass is inserted.
次に、券を投入口101に投入せずに通路を通過しよう
とした者(無札客)がいた場合について説明する。Next, a case will be described in which there is a person (a customer without a ticket) who attempts to pass through the aisle without inserting a ticket into the slot 101.
第1ステツプ、第16ステツプ、第20ステツプ、第2
1ステツプ、第6ステツプ〜第15ステツプ、第41ス
テツプ、第42ステツプを繰り返して実行しているうち
に、オア回路116が無札客を検出して信号を出す。1st step, 16th step, 20th step, 2nd step
While the 1st step, the 6th step to the 15th step, the 41st step, and the 42nd step are being repeatedly executed, the OR circuit 116 detects a customer without a ticket and issues a signal.
このため、第15ステツプから第70ステツプに進んで
、記憶領域240にrOJを記憶して記憶値Tを「0」
にする。Therefore, proceeding from the 15th step to the 70th step, rOJ is stored in the storage area 240 and the stored value T is set to "0".
Make it.
続く第71ステツプにおいて、記憶領域240の記憶値
Tを読出して「1」を加え、再び記憶領域240に記憶
する。In the subsequent 71st step, the stored value T in the storage area 240 is read out, "1" is added to it, and the value is stored in the storage area 240 again.
この後、第72ステツプに進んで記憶領域240の記憶
値Tと記憶領域242の記憶値T1とが等しいかどうか
の検査をする。Thereafter, the process proceeds to step 72, where it is checked whether the stored value T in the storage area 240 and the stored value T1 in the storage area 242 are equal.
この検査に際して、記憶領域242の記憶値T1を記憶
装置200から読出すことはいうまでもない。Needless to say, during this test, the stored value T1 in the storage area 242 is read out from the storage device 200.
記憶値Tについては、第71ステツプの実行により計算
機300の内部レジスタに記憶しであるものを用いても
よいし、再度記憶領域240から読出すようにしてもよ
い。As for the stored value T, the value stored in the internal register of the computer 300 by executing the 71st step may be used, or it may be read out from the storage area 240 again.
第72ステツプにおいて、TとT1とが等しくないこと
を検出すると、第71ステツプにもどる。If it is detected in the 72nd step that T and T1 are not equal, the process returns to the 71st step.
なお、T1は、有効券を投入した顧客が受光器P10の
ところを通過してから通路を完全に通過し終わるまでの
時間より少し長い時間に該当する値で、あらかじめ記憶
装置200に記憶されている。Note that T1 is a value that corresponds to a time slightly longer than the time from when the customer inserting the valid ticket passes the light receiver P10 until the customer completes passing through the aisle, and is stored in advance in the storage device 200. There is.
第71ステツプおよび第72ステツプを繰り返すうちに
、第72ステツプにおいてTがT1に等しくなったこと
を検出し、第73ステツプに進む。While repeating the 71st step and the 72nd step, it is detected in the 72nd step that T becomes equal to T1, and the process proceeds to the 73rd step.
第73ステツプでは、有効券を投入した顧客ではない不
正客であることを意味する警報を発しくたとえばブザー
を鳴らし)、ゲート扉107を駆動して通路を閉じさせ
、シャッタ装置108を駆動して投入口101を閉じさ
せる。In the 73rd step, an alarm (for example, a buzzer) is issued to indicate that the customer is an unauthorized customer who has not inserted a valid ticket, the gate door 107 is driven to close the passage, and the shutter device 108 is driven. The input port 101 is closed.
続く第74ステツプでは、記憶領域240から記憶値T
を読出して「1」を加え、再び記憶領域240に記憶す
る。In the subsequent 74th step, the stored value T is retrieved from the storage area 240.
is read out, "1" is added to it, and the result is stored in the storage area 240 again.
その後、第75ステツプに進んで係員操作用押しボタン
スイッチ115が操作されて信号を出しているかどうか
を検査する。Thereafter, the process proceeds to step 75, where it is checked whether the push button switch 115 for staff operation is operated and outputting a signal.
押しボタンスイッチ115から信号が出ていないことを
検出するので、第76ステツプに進んで記憶領域240
および243から記憶値TおよびT2を順次読出し、両
者が等しいかどうかの検査をする。Since it is detected that no signal is output from the pushbutton switch 115, the process proceeds to step 76 and the storage area 240 is
The stored values T and T2 are sequentially read from 243 and checked to see if they are equal.
TとT2とが等しくないことを検出すると、第74ステ
ツプにもどる。If it is detected that T and T2 are not equal, the process returns to step 74.
なお、記憶領域243の記憶値T2は、第27ステツプ
の判定が出てから、ストア装置112によってストアさ
れることなく、無効券が返却口104に達するまでの時
間よりわずかに長い時間に該当する値である。Note that the stored value T2 in the storage area 243 corresponds to a period of time slightly longer than the time from when the determination in the 27th step is made until the invalid ticket reaches the return slot 104 without being stored by the storage device 112. It is a value.
警報を感知した係員が自動検札装置のところに来て押し
ボタンスイッチ115を操作する以前に記憶値TとT2
に等しくなるので、第76ステツプから第77ステツプ
に進んで券の搬送装置を停止する信号を出し、第74ス
テツプにもどる。Before the clerk who senses the alarm comes to the automatic ticket inspection device and operates the push button switch 115, the stored values T and T2 are stored.
Therefore, the process proceeds from the 76th step to the 77th step, where a signal is issued to stop the ticket conveyance device, and the process returns to the 74th step.
この場合、搬送装置は駆動されていないので、搬送装置
を停止する信号が出ても、搬送装置は停止したままの状
態を保つ。In this case, since the conveyance device is not driven, even if a signal to stop the conveyance device is issued, the conveyance device remains stopped.
この後、押しボタンスイッチ115から信号が出ると、
第75ステツプから第78ステツプに進んでゲート扉1
07を駆動して通路を開き、第79ステツプでシャッタ
装置108を制御して投入口101を開き、第43ステ
ツプに進む。After this, when a signal is output from the push button switch 115,
Proceed from step 75 to step 78 and enter gate door 1
07 to open the passage, and in the 79th step, the shutter device 108 is controlled to open the input port 101, and the process proceeds to the 43rd step.
次に、無効券を投入した顧客に対する動作を説明する。Next, the operation for a customer who has inserted an invalid ticket will be explained.
無効券が第27ステツプで検出されると、FEおよびF
Fが「1」にならないので、第28ステツプから第39
ステツプに進んで投入口101が開かず、第40ステツ
プでKが「1」であることを検出し、第70ステツプ〜
第79ステツプを経て第43ステツプに到る。When an invalid ticket is detected in the 27th step, FE and F
Since F does not become "1", steps from the 28th step to the 39th step
Proceeding to step 101, the input port 101 does not open, and in the 40th step it is detected that K is "1", and in the 70th step ~
After passing through the 79th step, the process reaches the 43rd step.
次に、有効な定期券または切符を投入した顧客に続いて
無効な券が投入されるかまたは無札客がいた場合につい
て説明する。Next, a case will be described in which a customer inserts a valid commuter pass or ticket, followed by an invalid ticket or a customer without a ticket.
この場合には、FGが「O」になっているので、有効な
券を投入した顧客が受光器P10のところを通過した後
、第28ステツプから第39ステツプに進む。In this case, since FG is set to "O", the process proceeds from the 28th step to the 39th step after the customer who has inserted a valid ticket passes the photoreceiver P10.
この後、第40ステツプから第15ステツプを経て第7
0ステツプに進み、または第40ステツプから第70ス
テツプに進み、第70ステツプ〜第72ステツプを経て
第73ステツプに到り、第73ステツプで前述した不正
客に対する処理を行なう。After this, the process goes from the 40th step to the 15th step, and then the 7th step.
The process proceeds to step 0, or proceeds from the 40th step to the 70th step, passes through the 70th step to the 72nd step, and reaches the 73rd step. In the 73rd step, the above-mentioned processing for the fraudulent customer is performed.
以下、第74ステツプ〜第79ステツプ、第43ステツ
プを実行する。Thereafter, the 74th to 79th steps and the 43rd step are executed.
以上の実施例においては、計数値が通路に沿う人間検知
器の出力状態に順次対応したカウンタとして、記憶装置
200内の記憶領域230を用いて数値を順次加算して
いくようにしているが、カウンタ290のように最初に
所定の値をセットして順次減算していくようにしてもよ
い。In the above embodiment, the storage area 230 in the storage device 200 is used as a counter whose count value sequentially corresponds to the output state of the human detector along the path, and the numerical values are sequentially added. As with the counter 290, a predetermined value may be set first and then subtracted sequentially.
前者の場合、券ストア装置を券ストア解除状態にするた
めのカウンタの所定値は正の数(実施例では「8」)で
、集札信号が出たときカウンタにセットされる初期値は
「0」である。In the former case, the predetermined value of the counter for setting the ticket store device to the ticket store release state is a positive number (“8” in the embodiment), and the initial value set in the counter when the ticket collection signal is issued is “ 0".
しかし、後者の場合には、初期値が正の数で所定値が「
0」となる。However, in the latter case, the initial value is a positive number and the predetermined value is "
0".
また、以上の実施例では、受光器P9の出力状態をカウ
ンタの計数値に対応させていないが、対応させて切符を
投入した顧客を監視するようにしてもよい。Furthermore, in the embodiments described above, the output state of the light receiver P9 is not made to correspond to the count value of the counter, but the output state of the light receiver P9 may be made to correspond to the count value of the counter to monitor the customer who has inserted a ticket.
この場合には、第67ステツプおよび第68ステツプで
受光器P9の出力状態を検査するようになり、受光器P
10の出力状態の検査がくり下がることになり、カウン
タの出力として「8」および「9」を用い、「10」に
なって「9」でないことを検出したとき第69ステツプ
に進むことになる。In this case, the output state of the photoreceiver P9 is inspected in the 67th step and the 68th step.
The inspection of the output state of 10 will be repeated, and "8" and "9" will be used as the output of the counter, and when it is detected that it is "10" and not "9", the process will proceed to the 69th step. .
なお、券の搬送速度が遅くて顧客が受光器P3を通過し
たときに判定結果が出るような自動検札装置である場合
には、アンド回路114の出力状態の検査から始めるよ
うにしてもよい。Note that in the case of an automatic ticket inspection device in which the ticket conveyance speed is slow and a determination result is issued when a customer passes the light receiver P3, the inspection may start with the output state of the AND circuit 114.
また、アンド回路114の出力状態は、人間検知器の出
力状態に起因していて受光器P4〜P7を備えたひとつ
の人間検知器の出力状態として取り扱っている。Further, the output state of the AND circuit 114 is caused by the output state of the human detector, and is handled as the output state of one human detector including the light receivers P4 to P7.
これと同じ意味から、アンド回路114の代わりにオア
回路を用いることもできる。For the same reason, an OR circuit can be used instead of the AND circuit 114.
この場合には、出力信号が出ている時間が長くなるだけ
である。In this case, the time during which the output signal is output only becomes longer.
第1図は顧客の通路側から見た自動検札装置の一方の検
札台の側面図で、第2図は検札舎内部の券の搬送路に沿
う各装置のブロック図である。
第3図イ〜ハは、計算機が実行するプログラムを示すフ
ローチャートである。
第4図は、電気回路のブロック図である。
P1〜P15・・・・・・受光器、108・・・・・・
シャッタ装置、110・・・・・・振分装置、112・
・・・・・ストア装置、200・・・・・・記憶装置、
300・・・・・・計算機、230・・・・・・カウン
タの計数値の記憶領域。FIG. 1 is a side view of one of the ticket inspection tables of the automatic ticket inspection device as seen from the customer's aisle side, and FIG. 2 is a block diagram of each device along the ticket conveyance path inside the ticket inspection shed. FIGS. 3A to 3C are flowcharts showing programs executed by the computer. FIG. 4 is a block diagram of the electric circuit. P1 to P15...Receiver, 108...
Shutter device, 110... Sorting device, 112.
...Store device, 200...Storage device,
300... Calculator, 230... Storage area for counter counts.
Claims (1)
装置によって搬送される券を一時ストアするストア装置
と、前記搬送装置によって搬送される券のうちの特定券
を集札信号にもとづいて回収方向へ振分ける一方前記特
定券以外の券を返却口の方向へ振分ける振分装置と、前
記通路に泊って前記検札台に設けられた人間検知器とを
有する自動検札装置において、計算機と、計数値が前記
通路に沿う前記人間検知器の出力状態に順次対応したカ
ウンタとを設け、前記計算機は、最初の集札信号が出た
ことを検出して前記ストア装置を券ストア状態にする一
方前記カウンタに初期値をセットした後、次の(イ)〜
(ト)のステップで前記ストア装置を制御することを特
徴とする自動検札用計算機による券返却方法。 (イ)前記カウンタの計算値を検査する。 (ロ)前記(イ)のステップにおいて、前記カウンタの
計数値が所定値であることを検出すると、前記ストア装
置を券ストア解除状態にして一動作を終了する。 (ハ)前記(イ)のステップにおいて、前記カウンタの
計数値が前記所定値でないことを検出したとき、前記人
間検知器のうちの前記カウンタの計数値に対応する人間
検知器の出力状態を検査する。 に)前記(ハ)のステップにおいて、前記出力状態が予
定したものであることを検出したとき、前記カウンタを
歩進する。 (ホ)前記(ハ)のステップにおいて前記出力状態が予
定したものでないことを検出したとき、または前記に)
のステップを実行した後、集札信号が出たかどうかを検
査゛する。 (へ)前記(ホ)のステップにおいて、集札信号が出た
ことを検出すると、前記カウンタを初期値にセットする
。 (ト)前記(ホ)のステップにおいて集札信号を検出し
なかったとき、または前記(ハ)のステップを実行した
後、前記(イ)のステップにもどる。[Scope of Claims] 1. A store device that temporarily stores tickets transported by a ticket transport device installed inside a ticket inspection booth that forms a customer passage, and a storage device that stores a specific ticket among the tickets transported by the transport device. An automatic machine comprising: a sorting device that sorts tickets in the direction of collection based on a ticket collection signal while sorting tickets other than the specific tickets in the direction of a return slot; and a human detector located in the aisle and installed on the ticket inspection stand. The ticket inspection device is provided with a calculator and a counter whose count value corresponds sequentially to the output state of the human detector along the path, and the computer detects that the first ticket collection signal is issued and then operates the store device. After setting the counter to the ticket store state and setting the initial value to the counter, the following steps (a) to
A ticket return method using an automatic ticket checking computer, characterized in that the storing device is controlled in step (g). (a) Checking the calculated value of the counter. (b) In step (a) above, when it is detected that the count value of the counter is a predetermined value, the store device is brought into a ticket store release state and one operation is completed. (c) In step (a) above, when it is detected that the count value of the counter is not the predetermined value, check the output state of the human detector corresponding to the count value of the counter among the human detectors. do. B) In the step (C), when it is detected that the output state is the expected one, the counter is incremented. (E) When it is detected in step (C) that the output state is not as expected, or in the above)
After executing the step, check whether the ticket collection signal has been issued. (f) In step (e) above, when it is detected that a ticket collection signal is issued, the counter is set to an initial value. (g) When the ticket collection signal is not detected in step (e), or after performing step (c), return to step (b).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54056556A JPS5851320B2 (en) | 1979-05-08 | 1979-05-08 | How to return tickets using the automatic ticket checking machine computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54056556A JPS5851320B2 (en) | 1979-05-08 | 1979-05-08 | How to return tickets using the automatic ticket checking machine computer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS55147790A JPS55147790A (en) | 1980-11-17 |
| JPS5851320B2 true JPS5851320B2 (en) | 1983-11-15 |
Family
ID=13030378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54056556A Expired JPS5851320B2 (en) | 1979-05-08 | 1979-05-08 | How to return tickets using the automatic ticket checking machine computer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5851320B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0799550B2 (en) * | 1984-11-16 | 1995-10-25 | 日本信号株式会社 | Automatic ticket gate |
-
1979
- 1979-05-08 JP JP54056556A patent/JPS5851320B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS55147790A (en) | 1980-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5851320B2 (en) | How to return tickets using the automatic ticket checking machine computer | |
| JPS629708B2 (en) | ||
| JPH0419875B2 (en) | ||
| JPH0535952A (en) | Access control device | |
| JPH10143718A (en) | Paper money processor | |
| AU648116B2 (en) | Recording medium reader, ball lending machine and medal lending machine | |
| JPS5855500Y2 (en) | Automatic ticket inspection device | |
| JP3616696B2 (en) | Entrance / exit monitoring device | |
| JP3029411B2 (en) | Automatic ticket gate system | |
| JPS5873B2 (en) | Jidoukensatsusouchi | |
| JP3637093B2 (en) | Automatic ticket gate | |
| US3502185A (en) | Automatic ticket gate | |
| JPH07222846A (en) | Enclosed ball game machine | |
| JP3637101B2 (en) | Automatic ticket gate | |
| JP4266058B2 (en) | Wireless recording medium processing apparatus, wireless recording medium processing system, automatic ticket gate apparatus, and automatic ticket gate system | |
| JPH10111962A (en) | Human detecting device for automatic ticket barrier | |
| JP2540828B2 (en) | Gate device | |
| JPH07282303A (en) | Ticket collection mechanism of entrance gate device | |
| JPS6139177A (en) | Ticket vending machine | |
| JP5685368B2 (en) | Automatic ticket gate and its credit card management method | |
| JPS6139179A (en) | Ticket vending machine | |
| JP2003228742A (en) | Non-contact type automatic ticket gate | |
| JP2000207593A (en) | Automatic ticket checking and collecting machine | |
| JPS6145578Y2 (en) | ||
| JPH01134591A (en) | Video tape renting apparatus |