JPH04102328U - counter device - Google Patents

counter device

Info

Publication number
JPH04102328U
JPH04102328U JP449091U JP449091U JPH04102328U JP H04102328 U JPH04102328 U JP H04102328U JP 449091 U JP449091 U JP 449091U JP 449091 U JP449091 U JP 449091U JP H04102328 U JPH04102328 U JP H04102328U
Authority
JP
Japan
Prior art keywords
counter
reset
count value
input
ctn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP449091U
Other languages
Japanese (ja)
Other versions
JP2560363Y2 (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 JP449091U priority Critical patent/JP2560363Y2/en
Publication of JPH04102328U publication Critical patent/JPH04102328U/en
Application granted granted Critical
Publication of JP2560363Y2 publication Critical patent/JP2560363Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】操作ミスなどでカウンタがリセットされたとし
ても、リセット前のカウント状態に復旧し、そのカウン
ト値からカウント動作ができるようにする。 【構成】カウンタCT1〜CTnをリセットしたとき
は、制御部CCにおいて、そのカウンタCT1〜CTn
のリセットカウント値を記憶部CMから読み出し、その
読み出したリセットカウント値から該カウンタCT1〜
CTnのカウンタ動作を制御する。
(57) [Summary] [Purpose] Even if the counter is reset due to an operation error, it is possible to restore the counting state before the reset and perform counting operations from that count value. [Structure] When the counters CT1 to CTn are reset, the counters CT1 to CTn are reset in the control unit CC.
The reset count value of the counter is read from the storage unit CM, and the counter CT1 to
Controls the counter operation of CTn.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

本考案は、複数チャンネルのカウンタを備え、各カウンタのカウント動作を個 別に制御することのできるカウンタ装置に関する。 This invention is equipped with multiple channel counters, and the counting operation of each counter is individually controlled. This invention relates to a counter device that can be controlled separately.

【0002】0002

【従来の技術】[Conventional technology]

一般にカウンタ装置では、カウンタをゼロにリセット操作できる。 Generally, in a counter device, the counter can be reset to zero.

【0003】0003

【考案が解決しようとする課題】[Problem that the idea aims to solve]

チャンネルが複数あるカウンタの場合では、操作ミスなどでリセット不要なカ ウンタをリセットさせてしまう可能性がきわめて大である。 In the case of a counter with multiple channels, the counter may not need to be reset due to an operational error etc. There is a very high possibility that the counter will be reset.

【0004】 しかしながら、このようにカウント値が一旦、リセットされてしまうとリセッ ト時点のカウント値を機械的・電子的に記憶していないから、カウンタ装置その ものでは元のカウント値に復旧不可能であった。0004 However, once the count value is reset in this way, it cannot be reset. Since the count value at the point of time is not memorized mechanically or electronically, the counter device itself However, it was impossible to restore the original count value.

【0005】 したがって、本考案においては、操作ミスなどでカウンタがリセットされたと しても、リセット前のカウント状態に復旧し、そのカウント値からカウント動作 ができるようにすることを目的としている。[0005] Therefore, in this invention, if the counter is reset due to an operational error, etc. Even if the count value is reset, the count status will be restored to before the reset, and the count will start from that count value. The purpose is to make it possible.

【0006】[0006]

【課題を解決するための手段】[Means to solve the problem]

本考案のカウンタ装置においては、複数チャンネルのカウンタと、各カウンタ のリセットカウント値を記憶している記憶部と、任意のカウンタに対する復旧入 力に応答して記憶部から当該任意のカウンタに対応したリセットカウント値を読 み出すとともに、当該任意のカウンタのカウント動作を、読み出したリセットカ ウント値から制御する制御部とを具備したことを特徴としている。 The counter device of the present invention has multiple channel counters and each counter A storage section that stores the reset count value and a recovery input for any counter. Reads the reset count value corresponding to the arbitrary counter from the memory in response to the force. At the same time, the count operation of the corresponding arbitrary counter is read out from the reset counter. The present invention is characterized in that it includes a control section that performs control based on the count value.

【0007】[0007]

【作用】 カウンタを例えば操作ミスでリセットした場合で、リセットしたカウンタをリ セットカウント値からカウント動作させるときは、制御部において、そのカウン タのリセットカウント値を記憶部から読み出し、その読み出したリセットカウン ト値から該カウンタのカウンタ動作を制御する。[Effect] For example, if a counter is reset due to an operation error, the reset counter can be reset. When counting from the set count value, the control section Reads the reset count value of the reset counter from the memory, and The counter operation of the counter is controlled from the count value.

【0008】[0008]

【実施例】【Example】

以下、本考案の実施例を図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0009】 図1は、本考案の実施例に係るカウンタ装置の要部ブロック図であり、同図に おいて、カウンタCT1〜CTnはそれぞれ1チャンネルからnチャンネルまで でナンバー付けされてあり、それぞれ、カウント入力を個別にカウント動作する とともに、カウント出力を対応する負荷に出力する。[0009] FIG. 1 is a block diagram of the main parts of a counter device according to an embodiment of the present invention. , counters CT1 to CTn each correspond to channels 1 to n. are numbered and each counts the count input individually. At the same time, the count output is output to the corresponding load.

【0010】 RAM等からなる記憶部CMは、各カウンタCT1〜CTnそれぞれからの現 カウント出力を入力し、これらをリセットカウント値として対応する所定のアド レスに記憶する。この記憶動作は、制御部CCからの記憶指令に従って行われる 。 カウンタ選択部CSは、各カウンタCT1〜CTnそれぞれから与えられる カウント出力を選択出力する。この選択動作は、制御部CCからの選択指令に従 って行われる。表示部DUは、カウンタ選択部CSを介して与えられるカウンタ 出力を表示する。この表示動作は、制御部CCからの表示指令に従って行われる 。 制御部CCは、マイクロコンピュータで構成されており、カウンタ選択部C Sには選択指令、記憶部CMには記憶指令、表示部DUには表示指令を、カウン タCT1〜CTnにはカウント制御指令をそれぞれ出力する。各指令は、外部操 作により与えられるカウンタ選択入力、再モニタ入力、およびリセット入力等に 基づいている。0010 A storage unit CM consisting of a RAM etc. stores current data from each counter CT1 to CTn. input the count outputs and use these as the reset count value to the corresponding predetermined address. Save it in response. This storage operation is performed according to a storage command from the control unit CC. . The counter selection section CS is provided by each of the counters CT1 to CTn. Selectively output count output. This selection operation follows the selection command from the control unit CC. It is done. The display unit DU displays the counter provided via the counter selection unit CS. Display the output. This display operation is performed according to a display command from the control unit CC. . The control section CC is composed of a microcomputer, and the counter selection section C S has a selection command, storage part CM has a storage command, display part DU has a display command, and the counter A count control command is output to each of the controllers CT1 to CTn. Each command is counter selection input, re-monitor input, reset input, etc. given by the operation. Based on.

【0011】 ここで、カウンタ選択入力は、チャンネル1からチャンネルnの各カウンタC T1〜CTnのいずれかを選択するための入力であり、再モニタ入力は、リセッ ト入力無しのときの単独のときに、各カウンタCT1〜CTnのカウント動作は そのまま継続させるが、リセットカウント値を表示部DUに表示させるための入 力であり、リセット入力と一体のときは、カウンタをリセットカウント値からカ ウント動作させるための入力である。再モニタ入力とリセット入力とは前掲の実 用新案登録請求の範囲に言う復旧入力に該当する。[0011] Here, the counter selection input is for each counter C from channel 1 to channel n. This is an input to select any one of T1 to CTn, and the re-monitor input is reset. The counting operation of each counter CT1 to CTn when it is alone without any input is as follows. Continue as is, but input to display the reset count value on the display unit DU. When combined with the reset input, the counter is counted from the reset count value. This is the input for operating the mount. The re-monitor input and reset input are This corresponds to the recovery input referred to in the scope of the patent registration request.

【0012】 再モニタとリセット入力とについてさらに詳しく説明すると、制御部CCに、 再モニタ入力のみ与えられると、該制御部CCは、この再モニタ入力に応答して 現在、表示部DUに表示されているナンバーのカウンタのリセットカウント値を アドレス指定でもって記憶部CMから読み出すとともに、読み出したリセットカ ウント値を表示部DUに表示させる。制御部CCに、再モニタ入力に加えてリセ ット入力があったときはこれに応答して、表示部DUに表示されているナンバー のカウンタのリセットカウント値を記憶部CMから読み出すとともに、そのリセ ットカウント値から該カウンタをカウント動作させる。0012 To explain re-monitoring and reset input in more detail, the control unit CC When only the re-monitoring input is given, the control unit CC responds to this re-monitoring input. Reset count value of the counter of the number currently displayed on the display unit DU. At the same time as reading from the memory section CM by specifying the address, Display the count value on the display unit DU. In addition to the re-monitor input, the control unit CC When there is a cut input, the number displayed on the display unit DU will be displayed in response. Reads the reset count value of the counter from the memory CM and resets it. The counter is operated to count from the cut count value.

【0013】 また、上記再モニタ入力とリセット入力とにおいて、カウンタ選択入力がある と、制御部CCは、そのカウンタ選択入力に対応したナンバーのカウンタについ てのリセットカウント値の表示部DUでの表示と、そのリセットカウント値から のカウント動作とを制御する。[0013] In addition, there is a counter selection input for the re-monitor input and reset input mentioned above. , the control unit CC selects the counter whose number corresponds to the counter selection input. The display of the reset count value on the display unit DU and the reset count value control the counting operation.

【0014】 制御部CCの動作を図2のフローチャートに従って説明する。[0014] The operation of the control unit CC will be explained according to the flowchart of FIG.

【0015】 ステップn1において、通常の処理、すなわちカウント入力に応答して各カウ ンタCT1〜CTnをカウンタ動作させるとともに、そのカウント値を表示部D Uに表示させる一方で、そのカウント出力を負荷に出力するといった処理を行う 。 ステップn2において、再モニタ入力があると、ステップn3に移行する。 ステップn3においては、再モニタ処理モードに入り、ステップn4で現表示さ れているカウンタのリセットカウント値を表示部DUに表示処理する。[0015] In step n1, each counter is The counters CT1 to CTn are operated as counters, and the count value is displayed on the display D. While displaying it on U, perform processing such as outputting the count output to the load. . In step n2, if there is a re-monitoring input, the process moves to step n3. In step n3, the re-monitor processing mode is entered, and in step n4, the current display is The reset count value of the counter that is currently displayed is displayed on the display unit DU.

【0016】 ステップn5において、カウンタ選択入力が有ると、ステップn7に移行し、 現在、表示されているカウンタのナンバーに+1して、ステップn4に戻り、+ 1したカウンタの再モニタ表示処理を行う。[0016] In step n5, if there is a counter selection input, the process moves to step n7, Add 1 to the currently displayed counter number, return to step n4, and + Performs re-monitor display processing of the counter that has been set to 1.

【0017】 つまり、再モニタ入力のみのときは、表示部DUに表示されているカウンタの リセットカウント値を表示し、再モニタ入力に加えて、カウンタ選択入力がある と、そのカウンタ選択入力に対応したナンバーのカウンタのリセットカウント値 を表示する。[0017] In other words, when only re-monitoring input is required, the counter displayed on the display unit DU In addition to displaying the reset count value and re-monitoring input, there is a counter selection input. and the reset count value of the counter of the number corresponding to that counter selection input. Display.

【0018】 つぎに、ステップn4でカウンタナンバーの入力が無いときはステップn6に 移行する。[0018] Next, if there is no counter number input in step n4, proceed to step n6. Transition.

【0019】 ステップn6においては、リセット入力が有るかどうかを判断し、リセット入 力が有れば、ステップn8で再モニタされたリセットカウント値から当該カウン タをカウント動作させる。[0019] In step n6, it is determined whether there is a reset input, and the reset input is determined. If there is power, the relevant counter is reset from the reset count value re-monitored in step n8. Make the data count.

【0020】 つまり、リセット入力が有るときは、操作ミスでリセットされたカウンタのナ ンバーを指定してあるときは、そのナンバーのカウンタのカウント動作をリセッ トカウント値から制御する。[0020] In other words, when there is a reset input, the number of counters that were reset due to an operation error is If a number is specified, resets the counting operation of the counter for that number. control from the count value.

【0021】 このようにして、この実施例では、操作ミスによってリセットされたカウンタ は、リセットカウント値からカウント制御することができる。[0021] In this way, in this example, the counter reset due to an operational error can be controlled from the reset count value.

【0022】[0022]

【考案の効果】[Effect of the idea]

以上説明したように本考案に係るカウンタ装置では、カウンタをリセットした ときは、制御部において、そのカウンタのリセットカウント値を記憶部から読み 出し、その読み出したリセットカウント値から該カウンタのカウンタ動作を制御 できるから、操作ミスなどでカウンタをリセットしたとしても、リセット前のカ ウント状態に復旧し、そのカウント値からカウント動作させることができる。 As explained above, in the counter device according to the present invention, the counter can be reset. In this case, the control unit reads the reset count value of that counter from the storage unit. and control the counter operation of the counter from the read reset count value. Even if the counter is reset due to an operational error, the counter will remain as it was before the reset. It is possible to restore the count state and start counting from that count value.

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

【図1】本考案の実施例に係るカウンタ装置の要部ブロ
ック図である。
FIG. 1 is a block diagram of main parts of a counter device according to an embodiment of the present invention.

【図2】動作説明に供するフローチャートである。FIG. 2 is a flowchart for explaining the operation.

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

CT1〜CTn カウンタ CM 記憶部 CC 制御部 DU 表示部 CT1~CTn counter CM storage section CC control section DU display section

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 複数チャンネルのカウンタ(CT1〜C
Tn)と、各カウンタ(CT1〜CTn)のリセットカ
ウント値を記憶している記憶部(CM)と、任意のカウ
ンタ(CT1〜CTn)に対する復旧入力に応答して記
憶部(CM)から当該任意のカウンタ(CT1〜CT
n)に対応したリセットカウント値を読み出すととも
に、当該任意のカウンタ(CT1〜CTn)のカウント
動作を、読み出したリセットカウント値から制御する制
御部(CC)とを具備したことを特徴とするカウンタ装
置。
[Claim 1] Counters for multiple channels (CT1 to C
Tn), a memory unit (CM) that stores the reset count value of each counter (CT1 to CTn), and a memory unit (CM) that stores the reset count value of each counter (CT1 to CTn); counter (CT1~CT
A counter device characterized by comprising a control unit (CC) that reads a reset count value corresponding to item n) and controls the counting operation of the arbitrary counter (CT1 to CTn) from the read reset count value. .
JP449091U 1991-02-07 1991-02-07 Counter device Expired - Lifetime JP2560363Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP449091U JP2560363Y2 (en) 1991-02-07 1991-02-07 Counter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP449091U JP2560363Y2 (en) 1991-02-07 1991-02-07 Counter device

Publications (2)

Publication Number Publication Date
JPH04102328U true JPH04102328U (en) 1992-09-03
JP2560363Y2 JP2560363Y2 (en) 1998-01-21

Family

ID=31734331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP449091U Expired - Lifetime JP2560363Y2 (en) 1991-02-07 1991-02-07 Counter device

Country Status (1)

Country Link
JP (1) JP2560363Y2 (en)

Also Published As

Publication number Publication date
JP2560363Y2 (en) 1998-01-21

Similar Documents

Publication Publication Date Title
JPS6342296B2 (en)
JPH0795261B2 (en) Menu display method
JPH08129469A (en) Optimization display method for computer processing operation button
JPH04102328U (en) counter device
JPS6057376A (en) Display control system for electronic computer
US6992644B1 (en) Peripheral device of a programmable controller and monitoring method of the peripheral device
JPS63208921A (en) Switch pattern display device
JPH0413624Y2 (en)
JPS63228398A (en) Plant monitor
JP4527828B2 (en) Screen data creation device, screen data creation method, and recording medium recording screen data creation processing program
JPS62143165A (en) Electronic calculator with formula storage function
JPH0415178Y2 (en)
JPH0258991A (en) Video telephone system
JPS62143108A (en) Data recorder
JPH01244502A (en) Pc program display system
JPH01236309A (en) Display device for numerical controller
JP3024175B2 (en) Multi-window display device
JPH04264916A (en) Menu display system
JP2622006B2 (en) Screen display switching processor
JPS6324651U (en)
JPH06168252A (en) Data processor and display control method
JPH01118050A (en) Remote controller for air conditioner
JPS6083172A (en) Living information system
JPS6318428A (en) Menu controller
JPH01197826A (en) Screen display method for computer system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term