JP6496594B2 - How to set up a calendar for a gas station meter - Google Patents

How to set up a calendar for a gas station meter Download PDF

Info

Publication number
JP6496594B2
JP6496594B2 JP2015075782A JP2015075782A JP6496594B2 JP 6496594 B2 JP6496594 B2 JP 6496594B2 JP 2015075782 A JP2015075782 A JP 2015075782A JP 2015075782 A JP2015075782 A JP 2015075782A JP 6496594 B2 JP6496594 B2 JP 6496594B2
Authority
JP
Japan
Prior art keywords
message
calendar
weighing machine
setting
pos
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 - Fee Related
Application number
JP2015075782A
Other languages
Japanese (ja)
Other versions
JP2016196301A (en
Inventor
純一 北尾
純一 北尾
Original Assignee
株式会社富永製作所
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 株式会社富永製作所 filed Critical 株式会社富永製作所
Priority to JP2015075782A priority Critical patent/JP6496594B2/en
Publication of JP2016196301A publication Critical patent/JP2016196301A/en
Application granted granted Critical
Publication of JP6496594B2 publication Critical patent/JP6496594B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は給油所の計量機のカレンダーの設定方法に関する。   The present invention relates to a method for setting a calendar of a meter at a gas station.

計量機には消耗部品の交換時期を知らせたり、或いは、登録内容を変更する際のパスワードを作成するためにカレンダーLSIが搭載されている。カレンダーLSIは、使用開始前や使用中に経時的な誤差が生じた場合、補正しなければならないため、計量機毎に個別に操作して正しい日付、時刻、曜日を設定する必要がある。 The weighing machine is equipped with a calendar LSI in order to notify the time of replacement of consumable parts or to create a password for changing registered contents. The calendar LSI needs to be corrected when an error with time occurs before or during use. Therefore, it is necessary to set the correct date, time and day of the week for each weighing machine.

特開平08−310599(図2)Japanese Patent Laid-Open No. 08-310599 (FIG. 2) 特開平11−278598(図1)JP-A-11-278598 (FIG. 1)

特開平08−310599(図2)、特開平11−278598(図1)にはリモコンを用いて計量機の1台毎に設定操作を行う方法が開示されている。しかし、通常、サービスステーション(SS:給油所)には複数台の計量機が存在するので、設定が完了するのに時間が掛かる。具体的にはリモコンを用いて計量機1台1台に対して登録操作を行う事になり、時間が掛かる。 Japanese Patent Application Laid-Open No. 08-310599 (FIG. 2) and Japanese Patent Application Laid-Open No. 11-278598 (FIG. 1) disclose a method of performing setting operation for each weighing machine using a remote controller. However, since there are usually a plurality of measuring machines in the service station (SS: gas station), it takes time to complete the setting. Specifically, a registration operation is performed for each weighing machine using a remote controller, which takes time.

そこで、計量機とPOS端末の業界標準仕様であるSS−LAN通信を利用して、POS端末と連動している各計量機に対してPOS端末のソフトウェアにより個別にカレンダー設定電文を送信して一括設定する方法が考えられる。しかし、この試案例は国内では未だ実用化されていない。 Therefore, by using SS-LAN communication, which is the industry standard specification of weighing machines and POS terminals, calendar setting messages are individually sent to the weighing machines linked to the POS terminals by the POS terminal software. A method of setting is conceivable. However, this tentative example has not yet been put to practical use in Japan.

その理由としては、以下の2つが考えられる。
(1)SS−LAN標準電文としてカレンダー設定電文が規定されていない。
SS−LAN以前の「屋外機器制御装置仕様書」には規定があるが、これはPOS−PIFの電文として規定されている。
(2)カレンダー設定電文が規定されても、POSメーカーがこの機能をPOSシステムにソフトウェアとして実装する必要があり、対応するか不明である。また、POSメーカーと計量機メーカーは通常異なり、複数あるPOSメーカーの内、実際のSS(給油所)に用いられるPOSシステムが、どのメーカーになるかは判らないので、SSに於いてこの方法で計量機のカレンダーが設定できる保証はない。
There are two possible reasons for this.
(1) A calendar setting message is not defined as an SS-LAN standard message.
There is a provision in the “Outdoor Equipment Control Device Specification” before SS-LAN, which is defined as a POS-PIF telegram.
(2) Even if a calendar setting message is defined, it is necessary for the POS manufacturer to implement this function as software in the POS system, and it is unclear whether it corresponds. Also, the POS manufacturer and the weighing machine manufacturer are usually different, and it is not known which POS system used in the actual SS (gas station) from among the multiple POS manufacturers, so this method is used in the SS. There is no guarantee that the scale calendar can be set.

SS−LANプロトコルはポーリング/セレクティング方式と呼ばれるプロトコルのため、POS端末と計量機の間でのみ通信が可能であり、計量機同士での直接の通信はできない。従って、1台の計量機でリモコンによる登録操作でカレンダーが設定されても、これを他の計量機に通知する事は出来ない。   Since the SS-LAN protocol is a protocol called a polling / selecting method, communication is possible only between the POS terminal and the weighing machine, and direct communication between the weighing machines is not possible. Therefore, even if a calendar is set by a registration operation using a remote controller with one weighing machine, this cannot be notified to other weighing machines.

本発明の設定方法はPOS側のカレンダー設定機能の有無にかかわらず、1台の計量機に於いてカレンダーの設定を行うと、設定を実行された計量機から他の全ての計量機に設定値を通知し、全ての計量機のカレンダーが自動的に設定されることを目的とする。   In the setting method of the present invention, regardless of the presence or absence of the calendar setting function on the POS side, when the calendar is set in one weighing machine, the setting value is set from the weighing machine that has been set to all other weighing machines. The purpose is to automatically set the calendar of all weighing machines.

好ましい実施例ではPOSの有無にかかわらず、計量機間の通信を実現するため、従来のプロトコルを損なう事無くSS−LANプロトコルを拡張し、計量機間の通信を可能にすることを目的とする。 In a preferred embodiment, in order to realize communication between weighing machines regardless of the presence or absence of POS, the purpose is to extend the SS-LAN protocol without losing the conventional protocol and to enable communication between weighing machines. .

本給油所の計量機のカレンダーの設定方法は、給油所の複数の計量機1〜nとPOS端末20とがLANで接続された給油所の計量機のカレンダーの設定方法であって、
前記複数台の計量機1〜nのうち1台の計量機iのカレンダー設定部10に正しいカレンダー情報の設定がなされる工程と、
前記1台の計量機iから、前記正しいカレンダー情報と前記POS端末20が電文エラーであると認識する所定のエラー情報とを含む電文を前記LANを介して送信する工程と、
前記1台の計量機iからの前記電文を前記複数台の計量機1〜nのうち残りの各計量機jが受信する工程と、
前記残りの各計量機jが前記電文のエラー情報を解読して、所定の定義されたカレンダー設定のための電文か否かを判別する工程と、
前記判別の結果、前記電文がカレンダー設定のための電文である場合に、前記各計量機jが自己のカレンダー設定部10に前記正しいカレンダーの情報を設定する工程と、を備える。
The setting method of the calendar of the meter of the gas station is a method of setting the calendar of the meter of the gas station where the plurality of metering devices 1 to n of the gas station and the POS terminal 20 are connected by a LAN.
A step of setting correct calendar information in the calendar setting unit 10 of one weighing machine i among the plurality of weighing machines 1 to n;
Transmitting a message including the correct calendar information and predetermined error information recognized by the POS terminal 20 as a message error from the one weighing machine i via the LAN;
A step in which each remaining weighing machine j among the plurality of weighing machines 1 to n receives the message from the one weighing machine i;
Each of the remaining weighing machines j decodes the error information of the message, and determines whether the message is for a predetermined calendar setting;
As a result of the determination, when the electronic message is a electronic message for setting a calendar, each weighing machine j includes a step of setting the correct calendar information in its own calendar setting unit 10.

本発明によれば、各計量機に内蔵されたカレンダーLSIの設定操作を、計量機毎に一台ずつ行う必要が無くなり、1台の計量機に設定を行うと、他の計量機も同時に同じ値に設定されるので短時間で設定作業が終了する。
また、POSが稼働している最中でもPOSと計量機間の通信に一切の変更は発生せず、従来通りの通信に影響を与えないので、既存のPOSメーカーの仕様に左右される事無く実現できる。
計量機毎に一台ずつ設定する方法では、計量機が給油中であれば給油が終了して客が去るのを待たなければならないが、本発明によれば、空いている計量機の1台で設定するだけで、給油中の計量機にも設定されるので給油中の計量機があっても待つ必要が無い。
また、1台ごとに設定操作を行う場合のように、誤入力によって各計量機の設定内容が異なる不具合も発生しない。
According to the present invention, it is not necessary to perform the setting operation of the calendar LSI built in each weighing machine for each weighing machine, and when setting is performed for one weighing machine, the other weighing machines are simultaneously the same. Since the value is set, the setting work is completed in a short time.
In addition, no change occurs in the communication between the POS and the weighing machine even while the POS is in operation, and it does not affect the conventional communication, so it is realized regardless of the specifications of the existing POS manufacturer. it can.
In the method of setting one for each weighing machine, if the weighing machine is refueling, it is necessary to wait for the refueling to end and the customer to leave. By simply setting with, it is also set for the metering machine that is refueling, so there is no need to wait even if there is a metering machine that is refueling.
Further, unlike the case where the setting operation is performed for each unit, there is no problem that the setting contents of each weighing machine are different due to erroneous input.

本発明にかかる給油所のシステムを示す概略構成図である。It is a schematic block diagram which shows the system of the gas station concerning this invention. セレクティングの電文形式の一例を示す概念図である。It is a conceptual diagram which shows an example of the message | telegram format of selecting. ポーリングの電文形式の一例を示す概念図である。It is a conceptual diagram which shows an example of the message | telegram format of polling. POS端末のフローを示すフローチャートである。It is a flowchart which shows the flow of a POS terminal. 計量機のフローを示すフローチャートである。It is a flowchart which shows the flow of a weighing machine.

1つの下記の実施例に関連して説明および/または図示した特徴は、1つまたはそれ以上の他の実施態様または他の実施例において同一または類似な形で、および/または他の実施態様または実施例の特徴と組み合わせて、または、その代わりに利用することができる。 Features described and / or illustrated in connection with one of the following examples may be in the same or similar form in one or more other embodiments or other examples, and / or in other embodiments or It can be used in combination with or instead of the features of the embodiments.

本発明は、添付の図面を参考にした以下の好適な実施例の説明からより明瞭に理解されるであろう。しかし、実施例および図面は単なる図示および説明のためのものであり、本発明の範囲を定めるために利用されるべきものではない。本発明の範囲は請求の範囲によってのみ定まる。添付図面において、複数の図面における同一の部品番号は、同一または相当部分を示す。 The invention will be more clearly understood from the following description of preferred embodiments with reference to the accompanying drawings, in which: However, the examples and drawings are for illustration and description only and should not be used to define the scope of the present invention. The scope of the present invention is defined only by the claims. In the accompanying drawings, the same part numbers in a plurality of drawings indicate the same or corresponding parts.

以下、本発明の一実施例を図面にしたがって説明する。
なお、給油装置の全体的な構成については前記各先行文献等に開示されている通り周知であり、したがって、以下の説明においては同構成の説明を省略する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
Note that the overall configuration of the fueling device is well known as disclosed in the above-mentioned prior documents, and therefore the description of the same configuration is omitted in the following description.

図1の給油システムは計量機1〜nにSS−LANの通信ラインを介してPOS端末20が接続されている。各計量機1〜nは図示しないノズルおよびノズルスイッチ30を有し、前記計量機1〜nからの燃料油を図示しないホースを介してノズルから吐出する。前記計量機1〜nは給油量の表示器60、マイクロコンピュータ70、図示しない燃料油の流路、流量計などを有する。 In the refueling system in FIG. 1, a POS terminal 20 is connected to the weighing machines 1 to n via an SS-LAN communication line. Each weighing machine 1 to n has a nozzle and a nozzle switch 30 (not shown), and discharges fuel oil from the weighing machines 1 to n from the nozzle via a hose (not shown). The weighing machines 1 to n have a fuel supply amount indicator 60, a microcomputer 70, a fuel oil passage (not shown), a flow meter, and the like.

各計量機1には切り替えスイッチSWが設けられている。本切り替えスイッチSWは各計量機1のカレンダー設定のフローを変更するためのもので、各計量機1がPOS端末20に接続されてない場合と、接続されている場合とに対応できるようにするものである。 Each weighing machine 1 is provided with a changeover switch SW. This change-over switch SW is for changing the calendar setting flow of each weighing machine 1 so that it can cope with the case where each weighing machine 1 is not connected to the POS terminal 20 and the case where it is connected. Is.

各計量機1〜nにはカレンダーLSI(カレンダー設定部)10があり、前記カレンダーLSI10はバッテリーバックアップにより、計量機1〜nの電源が切られている間も動いている。 Each weighing machine 1 to n has a calendar LSI (calendar setting unit) 10, and the calendar LSI 10 is operated while the power of the weighing machines 1 to n is turned off by battery backup.

各計量機1〜nのカレンダーLSI10にズレが発生すると、例えば、各計量機1〜nに登録された時刻になると照明が点灯する機能があれば、点灯時刻が計量機1〜n毎に一定しないなどの不都合が発生する。 When a deviation occurs in the calendar LSI 10 of each weighing machine 1 to n, for example, if there is a function to turn on the illumination at the time registered in each weighing machine 1 to n, the lighting time is constant for each weighing machine 1 to n. Inconvenience such as not occurring.

カレンダーLSI10がまだ一度も正確な値に設定されていない、或いは、経時的なズレが発生した場合など、計量機1〜nの外部のリモコンからリモコン受信部40を使用して正しい値に設定を変更する手段が設けられている。リモコンはカレンダーLSI10の設定のみならず、ノズル毎の油種、POS端末20(以下、単に「POS」という。)と個別に通信するための計量機1〜n毎にユニークな伝送アドレス、その他の情報の登録にも使用され、設定値は不揮発性メモリー50に保存される。   If the calendar LSI 10 has never been set to an accurate value, or if a time lag has occurred, the correct value is set using the remote control receiver 40 from the external remote controller of the weighing machines 1 to n. Means for changing are provided. The remote controller is not limited to the setting of the calendar LSI 10, the oil type for each nozzle, a unique transmission address for each weighing machine 1 to n for individually communicating with the POS terminal 20 (hereinafter simply referred to as “POS”), and other It is also used for information registration, and the set value is stored in the nonvolatile memory 50.

POSと各計量機1〜nはSS−LAN通信I/Fを介して共通のSS−LAN通信ラインに接続されている。例えば、SS−LAN通信ラインはRS−485規格に準拠したマルチドロップ接続となっている。 The POS and each of the weighing machines 1 to n are connected to a common SS-LAN communication line via an SS-LAN communication I / F. For example, the SS-LAN communication line is a multi-drop connection based on the RS-485 standard.

通信プロトコルは一般にポーリング/セレクティング方式と呼ばれる方式で、次の通り行われる。 The communication protocol is generally called a polling / selecting method and is performed as follows.

POSから計量機に電文を送信する場合。
図2に示す通り、POSは計量機を特定する伝送アドレス(ステーションアドレス、以下「SA」と記す)を指定して電文を送信する。POSから指定されていないSAを持つ計量機は一切通信に関与しない。このシーケンスをセレクティングといい、例えば特定の計量機に給油許可を与える場合などに実行される。
When sending a message from the POS to the weighing machine.
As shown in FIG. 2, the POS designates a transmission address (station address, hereinafter referred to as “SA”) for specifying the weighing machine and transmits a message. Weighing machines with SAs not specified by POS are not involved in communication. This sequence is called “selecting”, and is executed, for example, when a specific metering machine is given refueling permission.

POSへ計量機から電文を送信する場合。
図3(a)に示す通り、POSはSAを指定して、各計量機から送るべき電文があれば送信する事を要求する。図3(b)のSAで指定された計量機だけが電文の送信を許される。このシーケンスをポーリングといい、POSは自身が送信すべき電文が無い限り、常に全ての計量機に順にポーリングを繰り返す事から、常時ポーリングと呼ばれる。
When sending a message from the weighing machine to the POS.
As shown in FIG. 3A, the POS specifies SA and requests transmission of any message to be sent from each weighing machine. Only the weighing machine specified by SA in FIG. 3B is allowed to transmit a message. This sequence is called polling, and since POS always repeats polling in order to all weighing machines as long as there is no message to be transmitted, it is called constant polling.

計量機がPOSに送信すべき電文は通常、給油ノズルをノズル掛けから外す、給油が終了して給油ノズルをノズル掛けに戻すなど、何らかの事象が発生した場合にしか送信しないため、POSからのポーリングに対して計量機は殆どの場合電文ではなくEOTを送信する(EOTは送信すべき電文が無い事を意味する)。 The message that the weigher should send to the POS is usually sent only when some event occurs, such as removing the oiling nozzle from the nozzle hook, or refueling the nozzle and returning the nozzle to the nozzle hook. In contrast, in most cases, the weighing machine transmits an EOT instead of a message (EOT means that there is no message to be transmitted).

上記の通り、SS−LANプロトコルではPOSと計量機は対等の関係ではなく、計量機はPOSからの指示を受けた場合のみ、POSとだけ通信が可能である。 As described above, in the SS-LAN protocol, the POS and the weighing machine are not in an equal relationship, and the weighing machine can communicate with the POS only when receiving an instruction from the POS.

次に本実施例の電文について説明する。 Next, the message of the present embodiment will be described.

図1の切り替えスイッチSWをPOS有側にした場合。 When the change-over switch SW in FIG.

リモコンによってカレンダーLSI10に年月日、時刻、曜日が設定された計量機iは、自己のSAに対するポーリングを受信すると、図3(c)のカレンダー設定電文を送信する。 When the date, time, and day of the week are set in the calendar LSI 10 by the remote controller, the weighing machine i receives the poll for its own SA, and transmits the calendar setting message shown in FIG.

この図3(c)の電文が図3(b)の通常の電文と異なる点は次の通りである。 The electronic message in FIG. 3C is different from the normal electronic message in FIG. 3B as follows.

電文の種別を表わす電文識別コードに既存の電文識別コードと重複しないユニークなコードを割り当てる。電文中のSAを自己のSAではなく、グローバルアドレスSA2(例えば16進でFF)とする。
電文の最後に付加されるBCC(水平パリティ)をグローバルアドレスの電文に限り反転して送信する。カレンダー設定電文を一旦送信した後は、当該計量機iは、POSからのポーリング/セレクティングに対して従来通りの応答を行うものとする。
A unique code that does not overlap with an existing message identification code is assigned to the message identification code indicating the type of message. The SA in the message is not the own SA, but the global address SA2 (for example, FF in hexadecimal).
The BCC (horizontal parity) added at the end of the message is inverted and transmitted only for the message of the global address. Once the calendar setting message is transmitted, the weighing machine i responds to polling / selecting from the POS as usual.

切り替えスイッチをPOS無側にした場合には、POSからのポーリングを待たずに上記動作を行う。 When the changeover switch is set to the non-POS side, the above operation is performed without waiting for polling from the POS.

POS側の処理
ポーリングに対して計量機iから送信された図3(c)のカレンダー設定電文は、BCC値が反転されているため必ずエラーとなり、POSはSS−LANプロトコルに基づき、この電文を廃棄し、再度ポーリングするか又は否定応答を送信する。これに対し計量機はEOTを送信し、通信シーケンスは終了となる。
このようなカレンダー設定電文はPOSにとって未知であり、処理できず、POSに取り込まれる事はなく、不具合の発生するおそれはない。以降POSは通常のポーリング/セレクティングによる通信を継続する。
The calendar setting message shown in FIG. 3 (c) sent from the weighing machine i in response to the POS side processing polling always causes an error because the BCC value is inverted, and the POS uses the SS-LAN protocol to change this message. Discard and poll again or send a negative response. On the other hand, the weighing machine transmits EOT, and the communication sequence ends.
Such a calendar setting message is unknown to the POS, cannot be processed, is not taken into the POS, and there is no possibility of malfunction. Thereafter, the POS continues communication by normal polling / selecting.

他の各計量機jの処理
図3(c)の受信した電文のSAがグローバスアドレスであり、かつ電文のBCCを反転した値が電文の水平パリティと一致した場合、正常な電文として取り込む。反転して送信されたBCC値を再度反転して、本来の正しいBCC値を得る。電文識別コードがカレンダー設定電文として定義されたコードに一致すると、受信した計量機は自己のカレンダーLSIに受信した値を設定する。
Processing of other weighing machines j When the SA of the received message in FIG. 3C is a global address and the value obtained by inverting the BCC of the message matches the horizontal parity of the message, the message is taken in as a normal message. The inverted BCC value is inverted again to obtain the original correct BCC value. When the message identification code matches the code defined as the calendar setting message, the received weighing machine sets the received value in its own calendar LSI.

つぎに、本実施例のカレンダーの設定方法を図4および図5のフローチャートに従って説明する。   Next, a calendar setting method according to the present embodiment will be described with reference to the flowcharts of FIGS.

図4のPOS側のフローについて説明する。   The flow on the POS side in FIG. 4 will be described.

図4のステップP1において、POSは計量機1〜nに送信する電文がある場合、ステップP2に進み、一方、電文がない場合、ステップP3に進む。前記ステップP2では特定の計量機を指定しデータ(例えば給油許可電文)を送信する。   In Step P1 of FIG. 4, if there is a message to be transmitted to the weighing machines 1 to n, the POS proceeds to Step P2, whereas if there is no message, the POS proceeds to Step P3. In step P2, a specific weighing machine is designated and data (for example, a refueling permit message) is transmitted.

前記ステップP3では、特定の計量機を指定し、送信したい電文の有無を確認(ポーリング)し、次のステップP4に進む。ステップP4において、計量機からの送信要求がなければ前記ステップP1に戻り、前記送信要求があればステップP5に進む。   In Step P3, a specific weighing machine is designated, and the presence / absence of a message to be transmitted is confirmed (polling), and the process proceeds to the next Step P4. In Step P4, if there is no transmission request from the weighing machine, the process returns to Step P1, and if there is a transmission request, the process proceeds to Step P5.

前記ステップP5において、受信電文がエラーである場合、例えば、カレンダー設定電文がBCCエラーである場合、POSは電文を無視し(捨て)、ステップP1に戻る。   If the received message is an error in step P5, for example, if the calendar setting message is a BCC error, the POS ignores (discards) the message and returns to step P1.

一方、前記ステップP5において受信電文がエラーでない場合、ステップP6に進み、POSは例えば給油終了電文を受信し伝票発行などの処理を行うなどの受信データの処理を行い、前記ステップP1に戻る。   On the other hand, if the received telegram is not an error in step P5, the process proceeds to step P6, where the POS processes the received data such as receiving a refueling end message and performing processing such as issuing a slip, and returns to step P1.

このように、POSはエラー情報を含む電文を受信しても何ら不都合が生じない。 In this way, the POS does not cause any inconvenience even if it receives a message containing error information.

図5の計量機1〜nのフローについて説明する。 The flow of the weighing machines 1 to n in FIG. 5 will be described.

ステップS1において、計量機1〜nは自局へのセレクティングがない場合にはステップS2に進み、一方、当該セレクティングがある場合にはステップS11に進む。このステップS11では、例えば給油許可電文をPOSから受信した場合などの受信電文の処理を行い、前記ステップS1に戻る。 In step S1, the weighing machines 1 to n proceed to step S2 when there is no selection to the own station, while proceed to step S11 when there is the selection. In this step S11, for example, a received message is processed such as when a refueling permission message is received from the POS, and the process returns to step S1.

前記ステップS2において、計量機1〜nは自局へのポーリングがある場合にはステップS3に進み、一方、当該ポーリングがない場合にはステップS21に進む。前記ステップS3において、カレンダー設定変更がない場合にはステップS4に進む。 In Step S2, the weighing machines 1 to n proceed to Step S3 when there is a polling to the own station, while proceed to Step S21 when there is no polling. If the calendar setting is not changed in step S3, the process proceeds to step S4.

前記ステップS4において、送信電文がない場合には前記ステップS1に戻り、一方、送信電文がある場合はステップS5に進む。ステップS5においては 例えばノズルonなどの通常の電文を送信し、前記ステップS1に戻る。 In step S4, if there is no transmission message, the process returns to step S1, while if there is a transmission message, the process proceeds to step S5. In step S5, for example, a normal message such as nozzle on is transmitted, and the process returns to step S1.

前記ステップS3において、カレンダー設定変更があった場合、つまり、前記複数台の計量機1〜nのうちの1台の計量機iのカレンダー設定部10に正しいカレンダー情報の設定がなされた場合にはステップS12に進む。 When the calendar setting is changed in step S3, that is, when correct calendar information is set in the calendar setting unit 10 of one weighing machine i among the plurality of weighing machines 1 to n. Proceed to step S12.

前記ステップS12では、計量機iからカレンダー設定電文(図3(c))が送信される。つまり、前記1台の計量機iから、前記正しいカレンダー情報と前記POS端末20が電文エラーであると認識する所定のエラー情報とを含む電文を前記LANを介して送信する。前記送信後、前記計量機iはステップS1に戻る。 In step S12, a calendar setting message (FIG. 3C) is transmitted from the weighing machine i. That is, a message including the correct calendar information and predetermined error information that the POS terminal 20 recognizes as a message error is transmitted from the one weighing machine i via the LAN. After the transmission, the weighing machine i returns to step S1.

前記ステップ21において他局つまり、他の計量機jへのポーリング、がない場合は前記ステップS1に戻り、当該ポーリングがある場合はステップS22に進む。 If there is no polling to another station, that is, another weighing machine j in step 21, the process returns to step S1, and if there is the polling, the process proceeds to step S22.

前記ステップS22において電文の受信がない場合はステップS1に戻り、前記電文の受信がある場合はステップS23に進む。ステップS23においては当該電文がカレンダー設定電文(図3(c))であるか否かを判断し、同設定電文でない場合はステップS1に戻り、一方、同設定電文である場合はステップS24に進む。 If no message is received in step S22, the process returns to step S1, and if the message is received, the process proceeds to step S23. In step S23, it is determined whether or not the message is a calendar setting message (FIG. 3C). If it is not the same setting message, the process returns to step S1, whereas if it is the same setting message, the process proceeds to step S24. .

すなわち、ステップS22およびS23において、前記1台の計量機iからの前記電文を前記複数台の計量機1〜nのうち残りの各計量機jが受信する工程と、前記残りの各計量機jが前記電文のエラー情報を解読して、所定の定義されたカレンダー設定のための電文か否かを判断する工程と、が実行される。 That is, in steps S22 and S23, a process in which each remaining weighing machine j among the plurality of weighing machines 1 to n receives the message from the one weighing machine i, and each remaining weighing machine j. Decoding the error information of the message and determining whether the message is for a predetermined defined calendar setting.

前記ステップS24では前記判別の結果、前記電文がカレンダー設定のための電文である場合に、前記各計量機jが自己のカレンダー設定部10に前記正しいカレンダーの情報を設定する。すなわち、前記各計量機jは前記計量機iとPOSの間の通信から「カレンダー設定電文」のみ取り込み、これをカレンダー設定部10に設定する。 In the step S24, if the message is a message for setting a calendar as a result of the determination, each weighing machine j sets the correct calendar information in its own calendar setting unit 10. That is, each weighing machine j takes in only “calendar setting message” from the communication between the weighing machine i and the POS, and sets it in the calendar setting unit 10.

こうして、全ての計量機1〜nに同一内容のカレンダーが設定記憶される。 In this way, calendars having the same contents are set and stored in all the weighing machines 1 to n.

以上のとおり、図面を参照しながら好適な実施例を説明したが、当業者であれば、本明細書を見て、自明な範囲内で種々の変更および修正を容易に想定するであろう。
カレンダー設定電文をエラーとする手法は、BCCの反転以外の方法でもよい。
例えば、BCCをビットシフトするなど、演算により異なる値に変えたり、あるいは、エラーとなるBCCから正常なBCC値に戻すのではなく、電文の中に別途チェックコードを付加しておき、エラーチェックを行ってもよい。
計量機の登録操作をリモコンとしているが、計量機に内蔵した登録スイッチとしても良い。
POSの有無の設定はスイッチではなく、登録操作により行われても良い。
POSの有無を設定せずに、ポーリングの有無で自動的にPOSの有無を判断しても良い。
したがって、そのような変更および修正は、請求の範囲から定まる本発明の範囲内のものと解釈される。
As described above, the preferred embodiments have been described with reference to the drawings. However, those skilled in the art will readily understand various changes and modifications within the obvious scope by looking at the present specification.
A method other than inversion of BCC may be used as a method for setting a calendar setting message as an error.
For example, instead of changing the BCC to a different value by calculation, such as bit shifting the BCC, or returning the error BCC to the normal BCC value, a check code is added separately in the message to check the error. You may go.
The registration operation of the weighing machine is performed using the remote control, but a registration switch built in the weighing machine may be used.
The setting of the presence / absence of POS may be performed not by a switch but by a registration operation.
The presence / absence of POS may be automatically determined based on the presence / absence of polling without setting the presence / absence of POS.
Accordingly, such changes and modifications are to be construed as within the scope of the present invention as defined by the claims.

本発明は燃料油の計量機のカレンダーの設定方法に適用できる。   The present invention can be applied to a calendar setting method for a fuel oil meter.

1〜n:計量機
10:カレンダー設定部
20:POS端末
i,j:計量機
1 to n: weighing machine 10: calendar setting unit 20: POS terminal i, j: weighing machine

Claims (1)

給油所の複数の計量機1〜nとPOS端末20とがLANで接続された給油所の計量機のカレンダーの設定方法であって、
前記複数台の計量機1〜nのうち1台の計量機iのカレンダー設定部10に正しいカレンダー情報の設定がなされる工程と、
前記1台の計量機iから、前記正しいカレンダー情報と前記POS端末20が電文エラーであると認識する所定のエラー情報とを含む電文を前記LANを介して送信する工程と、
前記1台の計量機iからの前記電文を前記複数台の計量機1〜nのうち残りの各計量機jが受信する工程と、
前記残りの各計量機jが前記電文のエラー情報を解読して、所定の定義されたカレンダー設定のための電文か否かを判別する工程と、
前記判別の結果、前記電文がカレンダー設定のための電文である場合に、前記各計量機jが自己のカレンダー設定部10に前記正しいカレンダーの情報を設定する工程と、
を備えたカレンダーの設定方法。
A method of setting a calendar of a measuring machine at a gas station where a plurality of measuring machines 1 to n at the gas station and a POS terminal 20 are connected via a LAN,
A step of setting correct calendar information in the calendar setting unit 10 of one weighing machine i among the plurality of weighing machines 1 to n;
Transmitting a message including the correct calendar information and predetermined error information recognized by the POS terminal 20 as a message error from the one weighing machine i via the LAN;
A step in which each remaining weighing machine j among the plurality of weighing machines 1 to n receives the message from the one weighing machine i;
Each of the remaining weighing machines j decodes the error information of the message, and determines whether the message is for a predetermined calendar setting;
As a result of the determination, when the message is a message for setting a calendar, each weighing machine j sets the correct calendar information in its own calendar setting unit 10; and
How to set up a calendar with
JP2015075782A 2015-04-02 2015-04-02 How to set up a calendar for a gas station meter Expired - Fee Related JP6496594B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015075782A JP6496594B2 (en) 2015-04-02 2015-04-02 How to set up a calendar for a gas station meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015075782A JP6496594B2 (en) 2015-04-02 2015-04-02 How to set up a calendar for a gas station meter

Publications (2)

Publication Number Publication Date
JP2016196301A JP2016196301A (en) 2016-11-24
JP6496594B2 true JP6496594B2 (en) 2019-04-03

Family

ID=57357131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015075782A Expired - Fee Related JP6496594B2 (en) 2015-04-02 2015-04-02 How to set up a calendar for a gas station meter

Country Status (1)

Country Link
JP (1) JP6496594B2 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2955321B2 (en) * 1990-03-20 1999-10-04 トキコ株式会社 Gas station POS system
JPH05262396A (en) * 1992-03-19 1993-10-12 Tokico Ltd Oil supplying system
JP3865162B2 (en) * 1997-09-19 2007-01-10 トキコテクノ株式会社 Gas station management system
JPH11278598A (en) * 1998-03-26 1999-10-12 Tokico Ltd Oil station control system
JP4216952B2 (en) * 1999-05-31 2009-01-28 トキコテクノ株式会社 Self refueling system
JP2005200031A (en) * 2004-01-13 2005-07-28 Showa Kiki Kogyo Co Ltd Pos communication failure preventive device
JP4394078B2 (en) * 2006-01-27 2010-01-06 株式会社富永製作所 Gas station communication system
JP2008310665A (en) * 2007-06-15 2008-12-25 Nippon Denpa Co Ltd Fuel supply management device and fuel supply system
JP2013045117A (en) * 2011-08-22 2013-03-04 Tatsuno Corp Filling station system
JP5573886B2 (en) * 2012-05-11 2014-08-20 株式会社タツノ Gas station system

Also Published As

Publication number Publication date
JP2016196301A (en) 2016-11-24

Similar Documents

Publication Publication Date Title
CN101351752B (en) Method for monitoring installations by means of a field bus used in process automation technology
CN101404556B (en) One-wire bus communication method
JP2016032274A (en) Gateway unit
JP2010130168A (en) Meter reading system
JP2008114806A (en) On-vehicle device relay system, on-vehicle device relay method and relay device
JP6496594B2 (en) How to set up a calendar for a gas station meter
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
CN112615700A (en) Data sending method, gateway, system, electronic equipment and readable storage medium
CN104486181A (en) Modbus protocol-based slave unit
WO2014007067A1 (en) Communication system, relay apparatus and communication apparatus
JP6133061B2 (en) Gas meter and control method thereof
JP2007036632A (en) Gateway apparatus
JP2006065385A (en) Field equipment
JP5322433B2 (en) Error detection method and control system during data processing in processing system
JP2017054428A (en) Communication adapter, communication method and program
US9098602B2 (en) Storage of a desired address in a device of a control system
KR20180050841A (en) Wireless communication method of metering system
JP2008541252A (en) Data exchange method
JP2009010545A (en) Layer-2 switch, communication device, data section error detecting method and program used for the same
JP2012099997A (en) Communication system
JP4315862B2 (en) Integrated automatic management system and terminal device thereof
RU198407U1 (en) DEVICE FOR DETERMINING MODBUS PARAMETERS OF RS-232/485 PROTOCOL LINKS
JP5030396B2 (en) Setting device
JP2010268341A (en) Wireless data communication system
US11935334B2 (en) Center, update management method, and non-transitory storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190130

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190311

R150 Certificate of patent or registration of utility model

Ref document number: 6496594

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees