JPS6128122B2 - - Google Patents

Info

Publication number
JPS6128122B2
JPS6128122B2 JP54074287A JP7428779A JPS6128122B2 JP S6128122 B2 JPS6128122 B2 JP S6128122B2 JP 54074287 A JP54074287 A JP 54074287A JP 7428779 A JP7428779 A JP 7428779A JP S6128122 B2 JPS6128122 B2 JP S6128122B2
Authority
JP
Japan
Prior art keywords
timer
counter
sequence
set value
storage unit
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
JP54074287A
Other languages
Japanese (ja)
Other versions
JPS55166705A (en
Inventor
Hisashi Shigematsu
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP7428779A priority Critical patent/JPS55166705A/en
Publication of JPS55166705A publication Critical patent/JPS55166705A/en
Publication of JPS6128122B2 publication Critical patent/JPS6128122B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 本発明はタイマ又は(及び)カウンタを有し、
プログラム記憶部に記憶されたシーケンス命令
に、必要により前記タイマ又は(及び)カウンタ
の信号を組合せてシーケンスを実行するシーケン
スコントローラに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention comprises a timer or/and counter;
The present invention relates to a sequence controller that executes a sequence by combining a sequence command stored in a program storage unit with a signal from the timer or/and counter as necessary.

従来シーケンスコントローラに内蔵されている
タイマ又は(及び)カウンタの設定値はシーケン
スコントローラのプログラム記憶部にシーケンス
命令の一つとして記憶されており、プログラム記
憶部の記憶素子がRAM(RANDOM ACCESS
MEMORY)等の書き込み、読み出し可能な素子
である場合、タイマ又は(及び)カウンタの設定
値の変更は専用のプログラム書き込み器で行な
い、またプログラム記憶部の記憶素子がROM
(REED ONLY MEMORY)等の読み出しのみ可
能な素子である場合は、タイマ又は(及び)カウ
ンタの設定値の変更はたとえば紫外線で消去可能
なROM専用の書き込み器で再びプログラムを書
き込むなどしている。
Conventionally, the set values of the timer or (and) counter built into the sequence controller are stored as one of the sequence commands in the program storage section of the sequence controller, and the storage element of the program storage section is RAM (RANDOM ACCESS).
MEMORY), etc., the setting values of the timer or (and) counter must be changed using a dedicated program writer, and the memory element of the program storage section is ROM.
In the case of an element that can only be read (REED ONLY MEMORY), the set values of the timer and/or counter can be changed by rewriting the program using a ROM-dedicated writer that can be erased with ultraviolet light.

ところが上述の様な方式ではプログラム書き込
み器等の使用に際しては、シーケンスコントロー
ラの動作を一旦停止させて使用するものであり、
数々の取扱い上の注意点があり、だれにでもでき
るというものではなく、また調整時に実際の動作
テストを行ないながらタイマ又は(及び)カウン
タの設定値を変更することができない等の欠点が
ある。またプログラム記憶部の記憶素子がROM
等の読み出しのみ可能な素子である場合は、上述
のように極めて複雑な変更操作が必要であるた
め、実際には変更の可能性のあるタイマ又は(及
び)カウンタの設定値はシーケンス命令としてプ
ログラムすることは出来ず、入出力部を介して外
部に設定値の変更可能なタイマやカウンタを設置
しなければならず、その構成も複雑で高価となつ
ていた。
However, in the above-mentioned method, when using a program writer etc., the operation of the sequence controller is temporarily stopped.
There are a number of handling precautions, not everyone can do it, and there are drawbacks such as the inability to change the set values of the timer and/or counter while performing an actual operation test during adjustment. In addition, the memory element of the program storage unit is ROM
In the case of an element that can only be read, such as the above, an extremely complicated change operation is required as described above, so in reality, the setting values of the timer or (and) counter that may be changed are programmed as sequence instructions. It is not possible to do so, and a timer or counter whose set value can be changed must be installed externally via an input/output section, making the configuration complicated and expensive.

さて第1図は上述の様な欠点を持つたシーケン
スコントローラの一例のブロツク図である。図に
おいて、1はプログラム読み出し部、2はROM
又はRAM等で構成されるプログラム記憶部、3
は演算部、4はカウンタ、タイマ制御部、5は出
力部、6は入力部である。而して、その概略動作
は、プログラム読み出し部1の読み出し信号1a
によりプログラム記憶部2にプログラムされたシ
ーケンス命令2aが読み出され、そのシーケンス
命令2aにより演算部3は入力部6よりの入力デ
ータ6a及び演算部3に含まれる内部データに基
づき演算を行ない、その結果を出力データ5aと
して出力し、出力部5を介して外部の被制御機器
を制御する信号を送出する。また演算部3に対す
るシーケンス命令2aがタイマ又はカウンタに関
するものであつた場合、タイマ又はカウンタを制
御する命令3aによりタイマ、カウンタ制御部4
を動作させタイマ又はカウンタがシーケンス命令
2aに含まれたタイマ又はカウンタの設定値3b
に達した時に発生するタイマアツプ信号又はカウ
ントアツプ信号等のデータ4aを演算部3へ演算
データとして送出するものである。従つて当然前
記タイマ又は(及び)カウンタの設定値は予めシ
ーケンス命令2a中の固定されているものしか使
用できないので上述の様な従来の欠点を有するも
のである。
Now, FIG. 1 is a block diagram of an example of a sequence controller having the above-mentioned drawbacks. In the figure, 1 is the program reading section, 2 is the ROM
or a program storage unit consisting of RAM, etc., 3
4 is a counter and timer control section; 5 is an output section; and 6 is an input section. The general operation is based on the read signal 1a of the program read unit 1.
The sequence command 2a programmed in the program storage unit 2 is read out, and the sequence command 2a causes the calculation unit 3 to perform calculations based on the input data 6a from the input unit 6 and the internal data contained in the calculation unit 3. The result is outputted as output data 5a, and a signal for controlling an external controlled device is sent out via the output section 5. Further, if the sequence instruction 2a to the calculation unit 3 is related to a timer or counter, the instruction 3a for controlling the timer or counter causes the timer or counter control unit 4 to
The set value 3b of the timer or counter included in the sequence instruction 2a
Data 4a such as a timer up signal or a count up signal generated when the timer up signal is reached is sent to the calculation section 3 as calculation data. Therefore, as a matter of course, only the set values of the timer and/or counter that are fixed in advance in the sequence instruction 2a can be used, which has the above-mentioned drawbacks of the conventional method.

本発明は上記従来の欠点に鑑み提案されたもの
であり、簡単な操作でしかも実際の動作を行なつ
ている最中であつても一般的なデジタル設定器な
どにより設定値の変更をすることができるタイマ
又は(及び)カウンタを有するシーケンスコント
ローラを提供するものである。以下本発明の一実
施例を第2図とともに詳細に説明する。尚、図中
第1図と同一記号は同一物品を表わす。
The present invention has been proposed in view of the above-mentioned conventional drawbacks, and it is possible to change set values using a general digital setting device or the like with a simple operation and even during actual operation. The present invention provides a sequence controller having a timer or/and counter that can perform the following steps. An embodiment of the present invention will be described in detail below with reference to FIG. In the figure, the same symbols as in FIG. 1 represent the same articles.

さて第2図は、設定値選択部7、外部設定値記
憶部8、外部設定器9および設定値表示部10が
新たに追加された本発明の主要部である。すなわ
ち、本発明によるシーケンスコントローラにおい
ては、シーケンス命令2a′の内、タイマ又はカウ
ンタの設定値を指定する命令が付随しており、か
つその命令にはタイマ又はカウンタの設定値とし
て外部設定値記憶部8に記憶されたものを使用す
るのか又はプログラム記憶部2に記憶されたもの
を使用するのかを指定する命令を有している。従
つて、この命令は演算部3により解読されて選択
信号3cとして設定値選択部7及び外部設定値記
憶部8に入力する。ここで、シーケンス命令2
a′が外部設定値記憶部8によりタイマ又はカウン
タの設定値を定める命令であつたときは、そのシ
ーケンス命令2a′に付随するデータはタイマ又は
(及び)カウンタの設定値が記憶された外部設定
値記憶部8の所定のアドレス信号となり、またシ
ーケンス命令2a′がプログラム記憶部2に記憶さ
れたタイマ又はカウンタの設定値を使用するもの
であることを示す命令である時は、そのシーケン
ス命令2a′に付随するデータはタイマ又はカウン
タの内部設定値データ信号となる。この実施例に
おいてはアドレス信号又は内部設定値データ信号
となるシーケンス命令2a′に付随するデータを単
にデータと呼び3b′として表示してある。即ちプ
ログラム記憶部2より読み出されたシーケンス命
令2a′に含まれたデータ3b′は演算部3に入力
し、演算部3により解読されて設定値選択部7及
び外部設定値記憶部8に入力する。外部設定器9
は記憶させるべきデータすなわちタイマ又は(及
び)カウンタの設定値を設定するための第1のデ
ジタルスイツチと当該設定値を外部設定値記憶部
8へ記憶させる時のアドレスを指定するための第
2のデジタルスイツチおよび前記各スイツチで設
定されたデータを所望のタイミングで前記外部設
定値記憶部8へ書き込むための信号を発生する押
釦スイツチ等の操作スイツチにより構成されてい
る。信号9aは第1のデジタルスイツチで設定さ
れた設定値データ、第2のデジタルスイツチで設
定されたアドレスデータ及び押釦スイツチによる
書き込み信号を含む信号である。外部設定値記憶
部8は設定値選択部7に対して外部設定器9より
書き込まれたデータを外部設定値データ8aとし
て送出するとともに、7セグメントのLED及び
7セグメントLED用デコーダドライバー回路等
により構成された設定値表示部10に対しても外
部設定値データ8aとして送出され、設定値表示
部10の各LEDを駆動しその外部設定値データ
8aの内容を表示するものである。設定値選択部
7はタイマ・カウンタ制御部4の設定値データと
して内部設定値データ3b′或いは外部設定値デー
タ8aのいずれかを選択する選択信号3c′により
前記データのいずれかを選択して、タイマ又はカ
ウンタの設定値データ7aとしてタイマ・カウン
タ制御部4に送出するように構成したものであ
る。
Now, FIG. 2 shows the main parts of the present invention in which a set value selection section 7, an external set value storage section 8, an external setter 9, and a set value display section 10 are newly added. That is, in the sequence controller according to the present invention, the sequence instruction 2a' is accompanied by an instruction for specifying a timer or counter setting value, and that instruction includes an external setting value storage section as the timer or counter setting value. It has an instruction for specifying whether to use the program stored in the program storage section 8 or the program storage section 2. Therefore, this command is decoded by the calculation section 3 and inputted to the setting value selection section 7 and the external setting value storage section 8 as the selection signal 3c. Here, sequence instruction 2
When a' is an instruction to determine the setting value of a timer or counter by the external setting value storage section 8, the data accompanying the sequence instruction 2a' is the external setting value in which the setting value of the timer or (and) counter is stored. It becomes a predetermined address signal of the value storage section 8, and when the sequence instruction 2a' is an instruction indicating that the set value of a timer or counter stored in the program storage section 2 is used, the sequence instruction 2a' The data associated with ' becomes the internal set value data signal of the timer or counter. In this embodiment, the data accompanying the sequence command 2a', which becomes an address signal or an internal set value data signal, is simply called data and is indicated as 3b'. That is, the data 3b' included in the sequence instruction 2a' read from the program storage section 2 is input to the calculation section 3, decoded by the calculation section 3, and input to the setting value selection section 7 and the external setting value storage section 8. do. External setting device 9
A first digital switch for setting the data to be stored, that is, a set value of the timer or (and) counter, and a second digital switch for specifying the address when storing the set value in the external set value storage section 8. It is comprised of operation switches such as a digital switch and a push button switch that generates a signal for writing data set by each of the switches into the external setting value storage section 8 at a desired timing. The signal 9a is a signal containing set value data set by the first digital switch, address data set by the second digital switch, and a write signal by the push button switch. The external setting value storage section 8 sends the data written from the external setting device 9 to the setting value selection section 7 as external setting value data 8a, and is composed of a 7-segment LED, a decoder driver circuit for the 7-segment LED, etc. The external set value data 8a is also sent to the set value display unit 10, and each LED of the set value display unit 10 is driven to display the contents of the external set value data 8a. The set value selection section 7 selects either of the internal set value data 3b' or the external set value data 8a as the set value data of the timer/counter control section 4 in response to a selection signal 3c'. The data is configured to be sent to the timer/counter control section 4 as timer or counter setting value data 7a.

以上の構成において、その動作態様を説明す
る。まずプログラム記憶部2から読み出されたシ
ーケンス命令2a′が当該プログラム記憶部2に記
憶された設定値に基づきタイマ時間を設定するシ
ーケンス命令、例えば〔PREST.T.100〕であつ
たとするとシーケンス命令2a′すなわち
〔PRESET.T.100〕の中の〔100〕がタイマに対
する設定値であることを演算部3で解読して選択
信号3c′が「H」レベルの信号であると、この信
号は設定値選択部7及び設定値記憶部8に出力さ
れると同時に命令「100」は選択信号3c′ととも
にデータ3b′として設定値選択部7及び設定値記
憶部8に入力する。設定値選択部7は選択信号3
c′が「H」レベルであることにより、データ3
b′を選択し、タイマ・カウンタ制御部4に設定値
データ7aとして〔100〕を出力するものであ
る。なお前記選択信号3c′の「H」レベルは外部
設定値記憶部8に対しては外部設定器9より書き
込み信号9aを受け付けない様に働き、書き込み
できないように働く信号である。
The operation mode of the above configuration will be explained. First, if the sequence command 2a' read from the program storage unit 2 is a sequence command that sets a timer time based on the setting value stored in the program storage unit 2, for example [PREST.T.100], then the sequence command 2a', that is, [100] in [PRESET.T.100] is the setting value for the timer, and when the arithmetic unit 3 decodes this and the selection signal 3c' is an "H" level signal, this signal is At the same time as being output to the setting value selection section 7 and setting value storage section 8, the command "100" is inputted to the setting value selection section 7 and setting value storage section 8 as data 3b' together with the selection signal 3c'. The setting value selection section 7 receives the selection signal 3.
Since c′ is at “H” level, data 3
b' is selected and [100] is output to the timer/counter control section 4 as the set value data 7a. The "H" level of the selection signal 3c' is a signal that prevents the external set value storage section 8 from receiving the write signal 9a from the external setter 9 and prevents writing.

次にプログラム記憶部2から読み出されたシー
ケンス命令2a′が外部設定値記憶部8に記憶され
た設定値によりタイマ時間を設定するシーケンス
命令、たとえば〔EXIT.T.010〕であつたとす
る。尚〔EXIT.T.010〕中〔010〕は演算部3に入
力し、命令〔EXIT.T.010〕中の〔010〕が外部設
定値記憶部8に対するアドレス信号であることを
解読し、選択信号3c′を「L」レベルとして設定
値選択部7及び外部設定値記憶部8に出力する。
またそれとともに、命令〔010〕をデータ3b′と
して出力する。この時、外部設定値記憶部8は選
択信号3c′が「L」レベルであることにより、外
部設定器9よりの書き込み信号9aを受け付け書
き込みが出来る状態にしておき、データ3b′によ
つてアドレスされた記憶部8から外部設定器9に
より設定されたデータすなわち所望の外部設定値
データ8aとしてカウンタ・タイマ制御部4へ出
力する。そして設定値選択部7は選択信号3c′が
「L」レベルであることから外部設定値データ8
aを選択し、タイマ・カウンタ制御部4に設定値
データ7aとして出力し、タイマ・カウンタ制御
部からのタイマ時間信号4aを演算部3に送出し
演算部3で演算処理をして所望のタイマ要素を含
んだシーケンス制御動作を行う信号を入出力部
5,6に送出するものである。
Next, assume that the sequence command 2a' read out from the program storage section 2 is a sequence command for setting a timer time according to the setting value stored in the external setting value storage section 8, for example [EXIT.T.010]. Note that [010] in [EXIT.T.010] is input to the calculation unit 3, which decodes that [010] in the command [EXIT.T.010] is an address signal for the external setting value storage unit 8. The selection signal 3c' is outputted to the set value selection section 7 and the external set value storage section 8 at "L" level.
At the same time, the instruction [010] is output as data 3b'. At this time, since the selection signal 3c' is at the "L" level, the external set value storage unit 8 receives the write signal 9a from the external setter 9 and is in a state where it can write. The data set by the external setting unit 9 is outputted from the storage unit 8 to the counter/timer control unit 4 as desired external setting value data 8a. Since the selection signal 3c' is at the "L" level, the setting value selection section 7 selects the external setting value data 8.
a, outputs it to the timer/counter control section 4 as setting value data 7a, sends the timer time signal 4a from the timer/counter control section to the calculation section 3, performs calculation processing in the calculation section 3, and sets the desired timer. A signal for performing a sequence control operation including elements is sent to the input/output sections 5 and 6.

本発明は以上の如く構成され動作するので、シ
ーケンスコントローラが動作中であつてもタイマ
又は(及び)カウンタの設定値の書き込み、変更
が可能なため、取扱い、操作性が飛躍的に向上す
る効果を奏するものである。
Since the present invention is configured and operates as described above, it is possible to write and change the set values of the timer and/or counter even while the sequence controller is in operation, resulting in a dramatic improvement in handling and operability. It is something that plays.

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

第1図は従来のシーケンスコントローラの構成
を表わすブロツク回路図。第2図は本発明のシー
ケンスコントローラの構成を表わす一実施例のブ
ロツク回路図である。 3……演算部、4……タイマカウンタ制御部、
7……設定値選択部、8……外部設定値記憶部、
9……外部設定器。
FIG. 1 is a block circuit diagram showing the configuration of a conventional sequence controller. FIG. 2 is a block circuit diagram of one embodiment showing the configuration of the sequence controller of the present invention. 3... Arithmetic unit, 4... Timer counter control unit,
7... Setting value selection section, 8... External setting value storage section,
9...External setting device.

Claims (1)

【特許請求の範囲】[Claims] 1 タイマ又は(及び)カウンタを内蔵しプログ
ラム記憶部に記憶されたシーケンス命令に必要に
より前記タイマ又はカウンタの信号を組合せてシ
ーケンスを実行するシーケンスコントローラであ
つて、シーケンスの実行中であつても前記タイマ
又はカウンタの設定値の変更を行うことができる
手段を有するシーケンスコントローラにおいて、
シーケンスの実行中であつてもタイマ又は(及
び)カウンタの設定値の変更を行う手段を、プロ
グラム記憶部に記憶されたタイマ又は(及び)カ
ウンタの設定値とは別にタイマ又は(及び)カウ
ンタの設定値を記憶するRAM等の記憶手段によ
り構成された設定値記憶部と、この設定値記憶部
に書込まれた設定値を表示する表示手段と、前記
設定値記憶部に設定値を書き込む手段と、前記タ
イマ又は(及び)カウンタの設定値をプログラム
記憶部又は設定値記憶部のいずれの記憶部から読
み出すかを決定するシーケンス命令に従つて設定
値をカウンタ・タイマ制御部へ送出する設定値選
択部とにより構成したことを特徴とするシーケン
スコントローラ。
1. A sequence controller that has a built-in timer or (and) counter and executes a sequence by combining the signal of the timer or counter as necessary with the sequence command stored in the program storage unit, and even during the execution of the sequence, the In a sequence controller having means capable of changing the set value of a timer or counter,
A means for changing the set values of the timer and/or counter even during execution of a sequence is provided separately from the set values of the timer and/or counter stored in the program storage unit. A set value storage unit constituted by storage means such as RAM for storing set values, a display unit for displaying the set values written in the set value storage unit, and a means for writing the set values in the set value storage unit. and a set value that sends the set value to the counter/timer control unit in accordance with a sequence instruction that determines whether the set value of the timer or (and) counter is to be read from a program storage unit or a set value storage unit. A sequence controller comprising: a selection section;
JP7428779A 1979-06-12 1979-06-12 Sequence controller Granted JPS55166705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7428779A JPS55166705A (en) 1979-06-12 1979-06-12 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7428779A JPS55166705A (en) 1979-06-12 1979-06-12 Sequence controller

Publications (2)

Publication Number Publication Date
JPS55166705A JPS55166705A (en) 1980-12-26
JPS6128122B2 true JPS6128122B2 (en) 1986-06-28

Family

ID=13542751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7428779A Granted JPS55166705A (en) 1979-06-12 1979-06-12 Sequence controller

Country Status (1)

Country Link
JP (1) JPS55166705A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5819905A (en) * 1981-07-29 1983-02-05 Koyo Denshi Kogyo Kk Counting device for sequence controller
JPS61121107A (en) * 1984-11-19 1986-06-09 Koyo Denshi Kogyo Kk Programmable controller
JPS61143806A (en) * 1984-12-18 1986-07-01 Mitsubishi Electric Corp Control circuit device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53136180A (en) * 1977-04-30 1978-11-28 Toshiba Corp Controller
JPS53136181A (en) * 1977-04-30 1978-11-28 Toshiba Corp Controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53136180A (en) * 1977-04-30 1978-11-28 Toshiba Corp Controller
JPS53136181A (en) * 1977-04-30 1978-11-28 Toshiba Corp Controller

Also Published As

Publication number Publication date
JPS55166705A (en) 1980-12-26

Similar Documents

Publication Publication Date Title
KR830006725A (en) Numerical Control Method
JPS6128122B2 (en)
KR910017295A (en) Information processing device
JPS5631140A (en) Information processor
JPS6230392B2 (en)
JPH0354947A (en) Telephone set with dial memory
JP2658261B2 (en) Display device
JPS5798008A (en) Reproducing method of operation contents in monitor controlling device
JP2508690B2 (en) Programmable controller
JPS60132206A (en) Sequence controller
SU830565A1 (en) Programming device for fixed storage units
JPS6217782B2 (en)
JPS59186005A (en) Specified address display device of nc command program
JP2913902B2 (en) Vending machine data setting and display device
JPH04195513A (en) Keyboard
JPS5931745B2 (en) Unused program number display method
JPH064050A (en) Multiframe display device
JPH0469736A (en) Microprogram controller
JPS59119413A (en) Programmable controller
JPH01169506A (en) Numerical controller
JPS60169906A (en) Programmable controller
JPS63184109A (en) Numerical controller
JPH04334477A (en) Printer
JPH0782377B2 (en) Numerical control device
JPS60128508A (en) Block search system of nc command program