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

JPH0323960B2 - - Google Patents

Info

Publication number
JPH0323960B2
JPH0323960B2 JP2888384A JP2888384A JPH0323960B2 JP H0323960 B2 JPH0323960 B2 JP H0323960B2 JP 2888384 A JP2888384 A JP 2888384A JP 2888384 A JP2888384 A JP 2888384A JP H0323960 B2 JPH0323960 B2 JP H0323960B2
Authority
JP
Japan
Prior art keywords
contact
memory
channel
input
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP2888384A
Other languages
Japanese (ja)
Other versions
JPS60171587A (en
Inventor
Tsuneo Tsugane
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2888384A priority Critical patent/JPS60171587A/en
Publication of JPS60171587A publication Critical patent/JPS60171587A/en
Publication of JPH0323960B2 publication Critical patent/JPH0323960B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は複数の発信装置付メータの入力パル
スを計数するパルス計数回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a pulse counting circuit that counts input pulses of a plurality of meters with transmitting devices.

[従来技術] 従来のこの種計数回路として、第1図、第2図
および第3図に示すものがある。第1図に示すも
のは、遠隔式水道メータ等で用いられている3線
式パルス発信装置(以下、「パルス発信装置」と
いう)1のトランスフア接点(単極双投接点)
(以下、「接点」という)1a,1bからの入力パ
ルスを計数するパルス計数装置30で、特開昭55
−129879号公報第1図に示されているものであ
る。このパルス発信装置1の接点1aの移動子側
を切換接点2の固定端子2aに、また接点1bの
移動子側を固定端子2bにそれぞれ入力端子Sを
介して接続し、パルス発信装置1の固定端子側を
電源3、モータ4を介して切換接点2の移動子2
cに接続してある。そして、上記モータ4の出力
軸の回転数を計数表示機構5によつて計数表示さ
せるようにしてあり、また、切換接点2の移動子
2cは計数表示機構5が1カウント分回動する前
に他方の固定端子2bに切換るように構成されて
いる。
[Prior Art] Conventional counting circuits of this type include those shown in FIGS. 1, 2, and 3. The one shown in Figure 1 is a transfer contact (single-pole double-throw contact) of a three-wire pulse transmitter (hereinafter referred to as "pulse transmitter") 1 used in remote water meters, etc.
A pulse counting device 30 that counts input pulses from 1a and 1b (hereinafter referred to as "contacts") is
This is shown in Figure 1 of Publication No.-129879. The movable side of the contact 1a of this pulse transmitting device 1 is connected to the fixed terminal 2a of the switching contact 2, and the movable side of the contact 1b is connected to the fixed terminal 2b via input terminals S, so that the pulse transmitting device 1 is fixed. A power supply 3 is connected to the terminal side, and a mover 2 of the switching contact 2 is connected via the motor 4.
It is connected to c. The number of revolutions of the output shaft of the motor 4 is counted and displayed by a count display mechanism 5, and the mover 2c of the switching contact 2 is rotated by one count before the count display mechanism 5 rotates. It is configured to switch to the other fixed terminal 2b.

この構成において、いま、切換接点2の移動子
2cが一方の固定端子2aに接続されていたとす
る。計量器によりパルス発信装置1の接点1aが
閉成すると、電源3、モータ4、移動子2c、固
定端子2a、接点1aの閉回路が形成され、モー
タ4が回動する。モータ4が所定量、すなわち計
数表示機構5の1カウント分回動すると、切換接
点2の移動子2cが他方の固定端子2bに切換わ
り、モータ4には電流が流れなくなるためモータ
4は停止し、計数表示機構5の1計数動作が終了
する。
In this configuration, assume that the mover 2c of the switching contact 2 is connected to one of the fixed terminals 2a. When the contact 1a of the pulse transmitter 1 is closed by the meter, a closed circuit of the power source 3, the motor 4, the moving element 2c, the fixed terminal 2a, and the contact 1a is formed, and the motor 4 rotates. When the motor 4 rotates by a predetermined amount, that is, one count of the counting display mechanism 5, the mover 2c of the switching contact 2 switches to the other fixed terminal 2b, and no current flows through the motor 4, so the motor 4 stops. , one counting operation of the counting display mechanism 5 is completed.

つぎに計量器が所定量の計量を行なうと、パル
ス発信装置1の接点1aが開かれた後、接点1b
が閉成すると、電源3、モータ4、移動子2c、
固定端子2b、接点1bの閉回路が形成され、上
記と同様の動作によつて計数表示機構5による1
計数動作が行なわれる。
Next, when the measuring instrument measures a predetermined amount, the contact 1a of the pulse transmitter 1 is opened, and then the contact 1b
When closed, the power source 3, motor 4, mover 2c,
A closed circuit is formed between the fixed terminal 2b and the contact 1b, and by the same operation as above, the count display mechanism 5
A counting operation is performed.

なお、接点1aと1bの開閉は差動的に動作
し、両接点が同時にオンとなるタイミングがない
ように構成されている。
Note that the contacts 1a and 1b are opened and closed differentially, and are configured so that there is no timing when both contacts are turned on at the same time.

また、第2図に示すものは、ステツプモータ6
を用いた、いわゆるステツプモータ式カウンタで
あり、これは第1図と同様の動作を行なうもので
ある。
In addition, the one shown in FIG. 2 is a step motor 6.
This is a so-called step motor-type counter using a 1.

さらにまた、第3図に示すものは、集積回路
(以下、「IC」と略称する)を使用した電子式カ
ウンタであり、複数の入力端子S1〜Sn(S1〜Sn
は、それぞれパルス発信装置1からの2本の信号
線の入力端子を示す)に対応してnチヤンネルの
パルス計数回路30−1〜30nを構成するフリ
ツプフロツプ7−1〜7−nや電子式カウンタ8
−1〜8−nならびにバツフア回路9−1〜9−
nを設けたものである。
Furthermore, what is shown in FIG.
(indicate the input terminals of two signal lines from the pulse transmitter 1, respectively), flip-flops 7-1 to 7-n and electronic counters constituting the n-channel pulse counting circuits 30-1 to 30n. 8
-1 to 8-n and buffer circuits 9-1 to 9-
n.

これら従来のパルス計数回路においては、つぎ
のような欠点があつた。
These conventional pulse counting circuits have the following drawbacks.

第1図および第2図に示したモータを用いて
カウンタを構成したものでは、全体が大型化す
るばかりでなく、モータ4,6などを必要とす
ることから、消費電力が大きくなり、また装置
が大型になる。
If the counter is constructed using the motors shown in Figs. 1 and 2, not only will the overall size be increased, but motors 4, 6, etc. will be required, resulting in increased power consumption, and the device becomes large.

また、第3図に示した電子式カウンタを用い
たものでは、モータ式のものに比して消費電力
と制御できるが、入力点数分のカウンタおよび
3ステートバツフア回路が必要であり、信号線
なども含めて回路の複雑化を招くうえ、高価と
なる。
In addition, the electronic counter shown in Figure 3 can control power consumption compared to the motor type, but requires counters and 3-state buffer circuits for the number of input points, and signal lines. This makes the circuit complicated and expensive.

また、電力量計の発信装置に用いられている
使用量に応じた接点信号を送出する単極単投接
点からのパルスと、上述のような単極双投接点
からのパルスとが混在した場合には、両者を区
別して計数することができなかつた。
Also, if pulses from the single-pole, single-throw contact used in the transmitter of the watt-hour meter, which sends a contact signal according to the usage amount, and pulses from the single-pole, double-throw contact, as described above, coexist. It was not possible to distinguish between the two and count them.

[発明の概要] この発明は上述従来のものの欠点を除去するた
めになされたもので、1個のプリセツタブルシフ
トレジスタおよびプリセツタブルカウンタ、さら
にはメモリ等を組み合せた簡単な構成により、複
数のおよび単極単投接点(以下、「a接点」とい
う)および単極双投接点(以下、「c接点」とい
う)が混在した場合、またはどちらか一方の接点
からでも入力されるパルスを判別して計数できる
うえ、消費電力を制御でき、しかも小型で信頼性
が高く、安価なパルス計数回路を提供することを
目的としている。
[Summary of the Invention] This invention has been made to eliminate the drawbacks of the above-mentioned conventional ones, and uses a simple configuration combining one presettable shift register, one presettable counter, and furthermore, a memory, etc. Distinguishes the pulse input when single-pole, single-throw contacts (hereinafter referred to as ``A contacts'') and single-pole double-throw contacts (hereinafter referred to as ``C contacts'') coexist, or even from either one of the contacts. The purpose of the present invention is to provide a pulse counting circuit that is compact, highly reliable, and inexpensive, which can perform pulse counting and control power consumption.

[発明の実施例] 第4図はこの発明の一実施例のブロツク回路
図、第5図はこの実施例のメモリの1チヤンネル
分のメモリ区分を示す図である。
[Embodiment of the Invention] FIG. 4 is a block circuit diagram of an embodiment of the invention, and FIG. 5 is a diagram showing memory divisions for one channel of the memory of this embodiment.

同図において、S1、S2、…Snは複数の入力端
子で、マルチプレクサ10に接続されており、そ
れぞれ、図示していないa接点またはc接点から
パルスが入力される。このマルチプレクサ10は
後述するコントロール回路20で制御され、入力
端子S1〜Snをサイクリツクに順次選択して入力
パルスをプリセツタブルシフトレジスタ(以下、
「シフトレジスタという)11に出力する。12
はシフトレジスタ11の出力端に接続されたパル
ス判定回路、13はカウント条件判定回路で、c
接点の2つの接点1a,1bから交互に入力され
ているか否かを判定するものである。14は接点
判別回路で、各チヤンネルの接点が、a接点かc
接点かの接点情報が後述するメモリ19にあらか
じめ書き込まれており、マルチプレクサ10によ
るチヤンネルのスキヤニング時に、メモリ19か
ら接点情報を読み出し、入力パルスがa接点から
のパルスか、c接点からのパルスかを判別する。
15は1桁(この例では4ビツトとする)のプリ
セツタブルカウンタ(以下、「カウンタ」とい
う)、16は桁上げ回路、17はパルス発生回路
であり、マルチプレクサ10のスキヤニング用お
よび後述するメモリ19の読み出しおよび書き込
み用タイミングパルスを発生するものである。1
8はパルス発生回路17からのパルスを分周する
バイナリカウンタであり、後述するメモリ19の
アドレス切換え用、さらには後述するコントロー
ル回路20のアドレス切換え用のパルスを得るた
めである。
In the figure, S1, S2, . This multiplexer 10 is controlled by a control circuit 20 to be described later, and input terminals S1 to Sn are cyclically selected in sequence and the input pulses are transferred to a presettable shift register (hereinafter referred to as
(referred to as a shift register) 11.12
13 is a pulse judgment circuit connected to the output terminal of the shift register 11, 13 is a count condition judgment circuit, and c
This is to determine whether or not input is being alternately received from the two contacts 1a and 1b. 14 is a contact determination circuit, which determines whether the contact of each channel is an A contact or a C contact.
Contact information is written in advance in a memory 19 (described later), and when the multiplexer 10 scans channels, it reads the contact information from the memory 19 and determines whether the input pulse is from the A contact or the C contact. Discern.
15 is a 1-digit (4 bits in this example) presettable counter (hereinafter referred to as "counter"), 16 is a carry circuit, and 17 is a pulse generation circuit, which is used for scanning of the multiplexer 10 and a memory to be described later. It generates 19 read and write timing pulses. 1
8 is a binary counter that divides the frequency of the pulse from the pulse generation circuit 17, and is used to obtain pulses for address switching of the memory 19, which will be described later, and also for address switching of the control circuit 20, which will be described later.

19は集積回路(IC)で構成されたメモリで、
第5図に示したように、1チヤンネルごとに10桁
(1桁4ビツト)M1〜M10のメモリ区分をnチヤ
ンネル分備えており、シフトレジスタ11やカウ
ンタ15に接続されている。20はコントロール
回路で、マルチプレクサ10のスキヤニングを行
なうとともに、入力端子S1〜Snを選択するため
に必要なマルチプレクサ10の切換え、およびメ
モリ19の1桁目から10桁目までを切換えるため
のアドレス切換信号、およびシフトレジスタ11
およびカウンタ15に対する読み出し/書き込み
モードの切換信号、さらには1チヤンネル分のデ
ータをメモリ19の1桁目M1〜10桁目M10に書
き込みあるいは読み出すための桁信号を出力する
ように構成されている。メモリ19はアドレス切
換信号によつてアドレス切換えを行ない、かつア
ドレス切換時にモード切換信号によつて記憶内容
をシフトレジスタ11やカウンタ15への読み出
し、および書き込みを行なうもので、1桁目M1
〜10桁目M10のうち、1桁目M1はa接点かC接
点かを判別するための接点情報設定領域であり、
外部よりa接点かc接点かの区別を書き込まれ
る。2桁目M2はC接点の場合の一方の接点情報
である入力パルスを順次シフト記憶する領域、3
桁目M3はC接点の場合の他方の接点情報である
入力パルスをシフト記憶する領域、4桁目M4は
前回のスキヤニング時にC接点のどちらかの接点
がオンになつたかを記憶するためのカウント条件
判定用領域であり、5桁目M5〜10桁目M10はカ
ウントデータとして使用する領域であつて、2桁
目M2から4桁目M4まではシフトレジスタ11と
の間でデータの読み出し/書き込みが行なわれ、
5桁目M5から10桁目M10まではカウンタ15と
の間でデータの読み出し/書き込みが行なわれ
る。
19 is a memory composed of an integrated circuit (IC),
As shown in FIG. 5, n channels of memory sections of 10 digits (4 bits per digit) M1 to M10 are provided for each channel, and are connected to a shift register 11 and a counter 15. 20 is a control circuit that scans the multiplexer 10, switches the multiplexer 10 necessary to select input terminals S1 to Sn, and provides an address switching signal for switching the 1st to 10th digits of the memory 19. , and shift register 11
It is configured to output a read/write mode switching signal for the counter 15, and a digit signal for writing or reading data for one channel into the first digit M1 to the tenth digit M10 of the memory 19. The memory 19 performs address switching in response to an address switching signal, and reads and writes stored contents into the shift register 11 and the counter 15 in accordance with a mode switching signal at the time of address switching, and the first digit M1
~Of the 10th digit M10, the 1st digit M1 is a contact information setting area for determining whether it is an A contact or a C contact.
The distinction between A contact and C contact is written from outside. The second digit M2 is an area for sequentially shifting and storing input pulses, which is one contact information in the case of a C contact, 3
The digit M3 is an area for shifting and storing the input pulse, which is the other contact information in the case of a C contact, and the fourth digit M4 is a count for storing which of the C contacts was turned on during the previous scanning. This is an area for condition judgment, and the 5th digit M5 to 10th digit M10 are used as count data, and the 2nd digit M2 to 4th digit M4 are used for reading/writing data with the shift register 11. is carried out,
Data is read/written to/from the counter 15 from the fifth digit M5 to the tenth digit M10.

つぎに、この実施例の動作を説明する。 Next, the operation of this embodiment will be explained.

メモリ19のNo.1〜No.nチヤンネルを順にコ
ントロール回路20により選択する。
Channels No. 1 to No. n of the memory 19 are sequentially selected by the control circuit 20.

選択されたチヤンネルに該当するメモリ19
から、当該チヤンネルとの接点データが読み出
され、接点判別回路14で入力パルスがa接点
か、c接点かが判定される。
Memory 19 corresponding to the selected channel
The contact data with the channel is read out, and the contact determination circuit 14 determines whether the input pulse is an A contact or a C contact.

つぎに、パルス発生回路17からの出力パル
スがバイナリカウンタ18でカウントされ、メ
モリ19のアドレスを1つ進めて2桁目M2の
データがコントロール回路20により選択さ
れ、シフトレジスタ11に読み出される。
Next, the output pulses from the pulse generation circuit 17 are counted by the binary counter 18, the address of the memory 19 is advanced by one, and the data of the second digit M2 is selected by the control circuit 20 and read out to the shift register 11.

同時に、コントロール回路20によつてマル
チプレクサ10がスキヤンされ、選択されたチ
ヤンネルに該当する入力端子Sを選択する。
At the same time, the multiplexer 10 is scanned by the control circuit 20 to select the input terminal S corresponding to the selected channel.

シフトレジスタ11に書き込まれたデータが
ステツプによつて選択された入力端子Sから
入力される。“1”または“0”の入力パルス
によりデータが1ビツトシフトされる。シフト
されたデータは再びメモリのもとのアドレスに
書き込まれる。
The data written in the shift register 11 is input from the input terminal S selected by the step. An input pulse of "1" or "0" shifts the data by one bit. The shifted data is written back to the original address in memory.

つぎに、パルス発生回路17からの出力パル
スがバイナリカウンタ18にてカウントされ、
メモリ19のアドレスが1つ進められて3桁目
M3のデータがシフトレジスタ11に読み出さ
れ、ステツプからまでの動作が繰り返えさ
れる。しかし、当該チヤンネルがa接点パルス
が入力されるものである場合には、パルスが入
力されないので、メモリ19のM3領域のデー
タは零である。
Next, the output pulses from the pulse generation circuit 17 are counted by the binary counter 18,
The address of memory 19 is advanced by one to the third digit.
The data in M3 is read out to the shift register 11, and the operations from step to are repeated. However, if the channel is the one to which the a-contact pulse is input, no pulse is input, so the data in the M3 area of the memory 19 is zero.

同時に、シフトされたM2およびM3のデータ
をパルス判定回路12が読み取り、接点がオフ
からオンになつたか否かを判断する。すなわ
ち、当該チヤンネルがc接点の場合はパルスの
発生速度は接点の動作速度よりも速いので、た
とえば2桁目M2および3桁目M3のシフト後の
データが“0011”のように、複数回オンを示す
ビツト構成となつたとき、接点がオンになつた
と判断して誤つた判断がなされるのを防止して
いる。
At the same time, the pulse determination circuit 12 reads the shifted data of M2 and M3 and determines whether the contact has changed from off to on. In other words, if the channel is a C contact, the pulse generation speed is faster than the operating speed of the contact, so for example, if the data after shifting of the second digit M2 and third digit M3 is "0011", it will turn on multiple times. This prevents an erroneous judgment from being made by determining that the contact is turned on when the bit configuration is set to indicate .

つぎに、バイナリカウンタ18によつてメモ
リ19のアドレスが1つ進められ、メモリ19
よりM3が選択されてシフトレジスタ11に読
み出される。
Next, the address of the memory 19 is advanced by one by the binary counter 18, and the address of the memory 19 is incremented by one.
M3 is selected and read out to the shift register 11.

ここではc接点の一方の接点がオフからオン
状態になつたときには“1”を、他方の接点が
オフからオン状態になつたときには“0”をシ
フトするように構成されており、両接点1a,
1bが交互にオフからオン状態にならないとき
には、シフトレジスタ11の内容は変らない。
Here, it is configured to shift "1" when one of the c contacts changes from off to on, and shifts to "0" when the other contact changes from off to on, and both contacts 1a ,
When 1b does not alternately change from off to on, the contents of shift register 11 remain unchanged.

したがつて、c接点の2つの接点1a,1b
から交互にパルスが入力された正視の入力の場
合は、メモリ19の3桁目M3のデータは
「0101」または「1010」のデータとなり、再び
元のアドレスに書き込まれる。このM3のデー
タはカウント条件判定回路13により正視のパ
ルスであるか否かが判定される。
Therefore, the two contacts 1a and 1b of the c contact
In the case of normal vision input in which pulses are alternately input from , the data in the third digit M3 of the memory 19 becomes "0101" or "1010" and is written to the original address again. The count condition determination circuit 13 determines whether or not this M3 data is a pulse for normal vision.

選択されたチヤンネルがa接点である場合
は、このステツプの動作は行なわれない。
If the selected channel is an a contact, this step is not performed.

つぎに、バイナリカウンタ18によつてメモ
リ19のアドレスが1つ進められ、メモリ19
の5桁目M5が選択されてカウンタ15に読み
出される。
Next, the address of the memory 19 is advanced by one by the binary counter 18, and the address of the memory 19 is incremented by one.
The fifth digit M5 is selected and read out to the counter 15.

ここでは、当該チヤンネルc接点である場合
には、カウント条件判定回路13によつて正視
の入力パルスと判断された入力パルスがカウン
トアツプされ、桁上げがあれば桁上げ回路16
に桁上げが記憶保持されるとともに、メモリ1
9の元のアドレスに書き込まれる。
Here, if it is the C contact of the channel, the input pulse determined by the count condition determination circuit 13 to be an input pulse for normal vision is counted up, and if there is a carry, the carry circuit 16
The carry is stored and held in memory 1.
9 is written to the original address.

また、a接点である場合には、入力されたパ
ルスがそのままカウントアツプされる以外は同
様の動作が行なわれる。
Further, in the case of an a contact, the same operation is performed except that the input pulse is counted up as it is.

つぎに、バイナリカウンタ18によつてメモ
リ19のアドレスが1つ進められ、メモリ19
の6桁目M6が選択されてカウンタ15に読み
出される。
Next, the address of the memory 19 is advanced by one by the binary counter 18, and the address of the memory 19 is incremented by one.
The sixth digit M6 is selected and read out to the counter 15.

ここでは、桁上げ回路16に桁上げが記憶さ
れていれば1パルスカウントアツプし、そうで
ない場合は読み出したデータがそのままメモリ
19の元のアドレスに書き込まれる。この場
合、桁上げがあれば桁上げ回路16に桁上げが
記憶保持される。
Here, if a carry is stored in the carry circuit 16, one pulse is counted up; otherwise, the read data is written to the original address of the memory 19 as is. In this case, if there is a carry, the carry is stored and held in the carry circuit 16.

以下、M7〜M10まで順次カウンタ15に読
み出され、カウントアツプ、書き込み動作が繰
り返される。
Thereafter, M7 to M10 are sequentially read out by the counter 15, and the count-up and write operations are repeated.

1チヤンネルのカウント動作は以上で終了
し、コントロール回路20はメモリ19のつぎ
のチヤンネルを選択するとともに、マルチプレ
クサ10で該当する入力端子を選択させて、当
該チヤンネルの計数動作を開始する。
The counting operation for one channel is thus completed, and the control circuit 20 selects the next channel in the memory 19, and causes the multiplexer 10 to select the corresponding input terminal to start counting operation for the channel.

なお、上記実施例では、各チヤンネルの桁構
成を10桁としたが、これに限定されるものでは
ない。
Note that in the above embodiment, each channel has a 10-digit digit configuration, but it is not limited to this.

また、上記実施例では、パルス判定回路1
2、カウント条件判定回路13、接点判別回路
14およびコントロール回路20をハードウエ
アで構成したが、CPUで構成してもよいこと
はいうまでもない。
Further, in the above embodiment, the pulse determination circuit 1
2. Although the count condition determination circuit 13, contact determination circuit 14, and control circuit 20 are configured by hardware, it goes without saying that they may also be configured by a CPU.

[発明の効果] 以上のようにこの発明は、a接点を有するメー
タと、c接点を有するメータが混在した複数チヤ
ンネルをマルチプレクサで順次選択するととも
に、選択されたチヤンネルの1つまたは2つの接
点から入力されるパルスをシフトレジスタに入力
し、このシフトレジスタのデータから、c接点の
場合にはその2つの接点のオン・オフ状態や、2
つの接点から交互に入力されている状態から正常
なパルスが入力されているか否かを判別し、a接
点である場合には入力パルスをそのままプリセツ
タブルカウンタで計数し、この計数値をチヤンネ
ルごとにメモリに書き込むようにしたものである
から、従来のモータ式のもののように大型化や消
費電力の増大を招いたりすることなく、複数の発
信装置付メータからのパルスをa接点かc接点か
を確認しながらパルス数をカウントできるうえ、
各チヤンネルごとにカウンタや3ステートバツフ
ア回路等を設ける必要がないため、回路構成や配
線も簡素となり、安価で信頼性の高いパルス計数
回路が得られる効果がある。
[Effects of the Invention] As described above, the present invention uses a multiplexer to sequentially select a plurality of channels in which a meter having an A contact and a meter having a C contact coexist, and from one or two contacts of the selected channel. The input pulse is input to the shift register, and from the data in this shift register, the on/off state of the two contacts in the case of a c-contact, and the two
It is determined whether a normal pulse is being input from the state in which the pulse is being input alternately from the two contacts, and if it is an A contact, the input pulse is directly counted by a presettable counter, and this count value is calculated for each channel. Since it is designed to write to the memory at the same time, the pulses from multiple meters with transmitters can be sent to either the A contact or the C contact, without increasing the size or power consumption as with conventional motor-type meters. Not only can you count the number of pulses while checking the
Since it is not necessary to provide a counter, a 3-state buffer circuit, etc. for each channel, the circuit configuration and wiring can be simplified, and an inexpensive and highly reliable pulse counting circuit can be obtained.

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

第1図〜第3図は従来の異なるパルス計数回路
の構成図、第4図はこの発明に係るパルス計数回
路の一例を示すブロツク図、第5図は第4図の計
数回路における1チヤンネル分のメモリ割付の一
例の説明図である。 10……マルチプレクサ、11……プリセツタ
ブルシフトレジスタ、12……パルス判定回路、
13……カウント条件判定回路、14……接点判
別回路、15……プリセツタブルカウンタ、19
……メモリ、20……コントロール回路。なお図
中、同一符号は同一もしくは相当部分を示す。
1 to 3 are block diagrams of different conventional pulse counting circuits, FIG. 4 is a block diagram showing an example of a pulse counting circuit according to the present invention, and FIG. 5 is a block diagram of one channel in the counting circuit of FIG. 4. FIG. 2 is an explanatory diagram of an example of memory allocation. 10... Multiplexer, 11... Presettable shift register, 12... Pulse determination circuit,
13...Count condition determination circuit, 14...Contact discrimination circuit, 15...Presettable counter, 19
...Memory, 20...Control circuit. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1 単極単投接点を有する発信装置付メータおよ
び単極双投接点を有する発信装置付メータで構成
された複数チヤンネルから入力されるパルスをチ
ヤンネルごとに順次スキヤニングして計数するよ
うに構成されたパルス計数回路であつて、上記複
数のチヤンネルをスキヤニングして順次選択する
マルチプレクサと、上記各チヤンネルの接点の種
類、入力接点の情報および計数データが書き込ま
れるメモリと、上記マルチプレクサで選択された
チヤンネルの接点の種類および接点情報を上記メ
モリから読み出し、入力された入力パルスを加算
して、当該メモリの元の領域に書き込むプリセツ
タブルシフトレジスタと、このシフトレジスタの
出力データから当該チヤンネルが単極双投接点で
ある場合には2つの接点のオン・オフ状態および
2ラインの回線からの交互の入力状態から正常な
入力パルスを選択する手段と、上記メモリから計
数データを読み出して、当該チヤンネルが単極双
投接点である場合には正常な入力パルスをカウン
トアツプし、当該チヤンネルが単極単投接点であ
る場合には入力パルスをカウントアツプして上記
メモリの元のメモリ領域に書き込むプリセツタブ
ルカウンタと、上記メモリと上記プリセツタブル
シフトレジスタおよび上記プリセツタブルカウン
タとの間のデータの読み出しおよび書き込み、な
らびに当該装置の動作を制御する手段とを備えた
パルス計数回路。
1. The meter is configured to sequentially scan and count pulses input from multiple channels, each consisting of a meter with a transmitter having a single-pole, single-throw contact and a meter with a transmitter having a single-pole, double-throw contact. The pulse counting circuit includes a multiplexer that scans and sequentially selects the plurality of channels, a memory in which the type of contact of each channel, information on the input contact, and counting data are written, and a memory for the channel selected by the multiplexer. A presettable shift register reads the contact type and contact information from the memory, adds the input pulses, and writes the result to the original area of the memory, and the output data of this shift register determines whether the channel is unipolar or bipolar. In the case of a throw contact, there is a means for selecting a normal input pulse from the on/off state of the two contacts and the alternating input state from the two lines, and a means for reading counting data from the memory to determine whether the channel is single. A presettable that counts up normal input pulses when the channel is a pole, double-throw contact, and counts up the input pulses and writes them to the original memory area of the above memory when the channel is a single-pole, single-throw contact. A pulse counting circuit comprising a counter and means for reading and writing data between the memory and the presettable shift register and the presettable counter and for controlling the operation of the device.
JP2888384A 1984-02-15 1984-02-15 Pulse counter circuit Granted JPS60171587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2888384A JPS60171587A (en) 1984-02-15 1984-02-15 Pulse counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2888384A JPS60171587A (en) 1984-02-15 1984-02-15 Pulse counter circuit

Publications (2)

Publication Number Publication Date
JPS60171587A JPS60171587A (en) 1985-09-05
JPH0323960B2 true JPH0323960B2 (en) 1991-04-02

Family

ID=12260795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2888384A Granted JPS60171587A (en) 1984-02-15 1984-02-15 Pulse counter circuit

Country Status (1)

Country Link
JP (1) JPS60171587A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707228B (en) * 2017-09-27 2024-07-23 昆明理工大学 Automatic reciprocating circulation circuit, use method and application thereof
JP7070133B6 (en) * 2018-06-19 2022-06-10 三菱電機ビルソリューションズ株式会社 Inspection equipment

Also Published As

Publication number Publication date
JPS60171587A (en) 1985-09-05

Similar Documents

Publication Publication Date Title
US4142246A (en) Sequence controller with dynamically changeable program
US5233573A (en) Digital data processor including apparatus for collecting time-related information
JPH0323960B2 (en)
JPS58154932A (en) Counter device
US4631697A (en) Signal controlled waveform recorder
JPH0323959B2 (en)
JPS63253220A (en) Measuring instrument for angle of rotation
US4447798A (en) Processor select switch
US4227070A (en) Electrical totalizer
JPS6110231Y2 (en)
SU1418710A1 (en) Program control device
CN2035076U (en) Cable length intelligent measure instrument
SU822298A1 (en) Device for monitoring fixed storage unit
SU1281886A1 (en) Hydrostatic levelling system
JPS6111803Y2 (en)
JP2612725B2 (en) Display device
SU1285393A1 (en) Device for checking ratio of pulse frequencies
JPS584291Y2 (en) Control data signal detection device
SU873436A1 (en) Device for receiving control commands repeated three times
SU809345A1 (en) Storage unit control device
SU1257213A1 (en) Device for monitoring component positions at stoping face
JPS6161060A (en) Two-phase pulse directivity discriminating circuit
SU1386995A1 (en) Signature analyzer
JPH0731085B2 (en) Temperature measuring instrument
JPH0216995B2 (en)