JP2784039B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JP2784039B2
JP2784039B2 JP13193989A JP13193989A JP2784039B2 JP 2784039 B2 JP2784039 B2 JP 2784039B2 JP 13193989 A JP13193989 A JP 13193989A JP 13193989 A JP13193989 A JP 13193989A JP 2784039 B2 JP2784039 B2 JP 2784039B2
Authority
JP
Japan
Prior art keywords
forced
programmable controller
processing
calculation
display 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 - Lifetime
Application number
JP13193989A
Other languages
Japanese (ja)
Other versions
JPH02310607A (en
Inventor
大 中井
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP13193989A priority Critical patent/JP2784039B2/en
Publication of JPH02310607A publication Critical patent/JPH02310607A/en
Application granted granted Critical
Publication of JP2784039B2 publication Critical patent/JP2784039B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプログラマブルコントローラに関するもので
ある。
Description: TECHNICAL FIELD The present invention relates to a programmable controller.

[従来の技術] 従来の強制セット、リセット機能付きのプログラマブ
ルコントローラではテスト時等において、演算中に周辺
機器から通信手段を通じて入力や出力をオン又はオフ状
態に固定させる強制セット、強制リセット命令を与える
ことができるようになっている。
[Prior Art] In a conventional programmable controller with a forced set / reset function, during a test or the like, a forced set / force reset command for fixing an input or an output to an on or off state from a peripheral device through a communication means during a calculation is given. You can do it.

[発明が解決しようとする課題] ところで強制処理状態でプログラマブルコントローラ
から周辺機器を切り離した場合、プログラマブルコント
ローラは強制処理状態のままとなり、ユーザーがシーケ
ンスプログラムによってプログラマブルコントローラ内
部の強制セット中フラグ、強制リセット中フラグを出力
ユニットに出力させるような命令によって出力させない
と、外部より一見して強制処理状態になっていることが
判別できなかった。
[Problems to be Solved by the Invention] By the way, when the peripheral device is disconnected from the programmable controller in the forced processing state, the programmable controller remains in the forced processing state, and the user sets the flag during the forced setting inside the programmable controller by the sequence program, and the forced reset. Unless the middle flag is output by an instruction to output to the output unit, it cannot be determined at first glance from the outside that it is in the forced processing state.

このような状態が発生すると、シーケンスプログラム
が予期したように動作していない等の錯覚を起こさせ、
テスト状態に混乱を発生させる原因となるという問題が
あった。
When such a situation occurs, it causes an illusion that the sequence program is not operating as expected, etc.
There was a problem that caused confusion in the test state.

本発明は上述の問題点に鑑みてなされたもので、強制
処理状態中であることを表示部で認識させることができ
て、テスト時等での強制処理後の混乱を発生を防ぐこと
ができるプログラマブルコントローラを提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and it is possible to make a display unit recognize that a forced processing state is being performed, thereby preventing confusion after a forced processing at the time of a test or the like. It is an object to provide a programmable controller.

[課題を解決するための手段] 本発明は演算中、演算停止中を表示する表示部を備
え、演算中に周辺機器からの命令で入力や出力を強制的
にセット、リセット状態に固定させる強制処理機能を備
えたプログラマブルコントローラにおいて、強制セッ
ト、リセット状態の際に上記表示部の演算中表示を一定
周期にて点滅させる手段を備えたことを特徴とするもの
で、請求項2記載の発明は強制セット、リセット状態の
際にブザーを鳴動させる手段をも備えたものである。
[Means for Solving the Problems] The present invention includes a display unit that displays during calculation and during calculation stop, and forcibly sets inputs and outputs to a set or reset state by a command from a peripheral device during calculation. The invention according to claim 2, wherein the programmable controller having a processing function is provided with means for blinking the in-completion display on the display unit at a constant cycle in a forced set or reset state. There is also provided a means for sounding a buzzer in a forced set or reset state.

[作用] 而して本発明によれば強制処理中であれば表示部の演
算中表示を点滅させるため、強制処理による動作が為さ
れても予期しない動作と錯覚させることが無くなる。
[Operation] According to the present invention, during the forcible processing, the in-computation display on the display unit blinks, so that even if the operation by the forcible processing is performed, an unexpected operation is not illusioned.

特に請求項2記載の発明ではブザーをも鳴動させるの
で、強制処理中であることを確実に目と耳とで使用者に
認識させることができる。
In particular, since the buzzer also sounds according to the second aspect of the present invention, the user can be surely recognized by eyes and ears that forced processing is being performed.

[実施例] 第1図は本発明の実施例の全体構成図を示しており、
プログラマブルコントローラ全体の信号処理及び制御処
理を行うためのCPUからなる演算処理部1にはバスライ
ン2を通じてシステムの動作プログラムを記憶している
ROM3、ユーザシーケンスプログラムや、その他のデータ
を書き込んだり、読み出したりするためのRAM4、通信用
ポート5、I/Oポート6が接続されている。通信用ポー
ト5には強制セット命令や、強制セット命令を演算処理
部1へ与えるための周辺機器7が接続され、I/Oポート
6にはプログラマブルコントローラの操作に必要とする
操作スイッチ8、更に外部機器との間で入出力信号を授
受するための入出力用インターフェース9、またプログ
ラマブルコントローラの動作情報を表示するための表示
部10が接続される。
[Embodiment] FIG. 1 shows an overall configuration diagram of an embodiment of the present invention.
An operation processing unit 1 including a CPU for performing signal processing and control processing of the entire programmable controller stores a system operation program through a bus line 2.
A ROM 3, a RAM 4 for writing and reading a user sequence program and other data, a communication port 5, and an I / O port 6 are connected. The communication port 5 is connected to a peripheral device 7 for giving a forced set instruction or a forced set instruction to the arithmetic processing unit 1. The I / O port 6 is an operation switch 8 required for operating the programmable controller. An input / output interface 9 for exchanging input / output signals with an external device and a display unit 10 for displaying operation information of the programmable controller are connected.

次に第2図、第3図のフローチャートに基づいて本発
明のプログラマブルコントローラの強制処理時における
動作を説明する。
Next, the operation of the programmable controller of the present invention at the time of forced processing will be described with reference to the flowcharts of FIGS.

まず演算処理部1は第2図のステップで操作スイッ
チ8の状態読み出しとその読み出しに対応して表示部10
の表示制御を行い、更にステップでは周辺機器7から
出力の強制セット命令或は強制リセット命令があれば、
強制処理を行い、ステップでは入出力のリフレッシュ
処理を、ステップでは周辺機器7から入力の強制セッ
ト命令或は強制リセット命令があれば、強制処理を行
い、ステップでは演算モードに設定されているか否か
の判定を行って演算モードであれば演算をステップで
行った後にステップへ処理動作を戻すか、演算モード
でなければステップを通らずにステップへ処理動作
を戻す。
First, the arithmetic processing unit 1 reads out the state of the operation switch 8 in the step of FIG.
Is performed, and in the step, if there is a forced set command or a forced reset command of the output from the peripheral device 7,
Forcible processing is performed. In the step, input / output refresh processing is performed. In the step, if there is a forced input command or a forced reset command from the peripheral device 7, the forced processing is performed. In the step, whether the operation mode is set or not is determined. If the operation mode is determined to be the calculation mode, the processing operation is returned to the step after performing the calculation in the step. Otherwise, the processing operation is returned to the step without passing the step.

ところでステップでは第3図に示す処理がなされて
おり、まず演算処理部1は操作スイッチ8の操作状態を
読み取って演算モードに設定されているか否かを判定し
て、その判定に基づいて演算モードであれば演算中であ
ることを表示部10の対応した発光ダイオードを点灯させ
て表示する。また演算モードでなければ演算停止中であ
ることを表示部10の対応した発光ダイオードを点灯させ
て表示する。この表示後に強制処理中かどうかをRAM4の
所定エリアMに強制処理中フラグが書き込まれているか
どうかを判定し、M=0であればつまり強制処理中でな
ければ表示部10の制御をそのまま保持し、M=1であれ
ば強制処理中と判定して演算中表示の上記発光ダイオー
ドの点灯を一定周期でオンオフさせるように制御する。
つまり実施例ではプログラマブルコントローラの1秒ク
ロックリレーを利用して1秒周期で演算中表示の発光ダ
イオードを点滅させるのである。
By the way, in the step, the processing shown in FIG. 3 is performed. First, the arithmetic processing unit 1 reads the operation state of the operation switch 8 to determine whether or not the operation mode is set to the arithmetic mode. If so, the light emitting diode of the display unit 10 is lit to indicate that the calculation is being performed. If the operation mode is not the operation mode, the fact that the operation is stopped is displayed by lighting the corresponding light emitting diode of the display unit 10. After this display, it is determined whether or not the forced processing is being performed. Whether or not the forced processing flag is written in the predetermined area M of the RAM 4 is determined. If M = 1, it is determined that the forcible processing is being performed, and the lighting of the light emitting diode, which is displayed during calculation, is controlled to be turned on and off at regular intervals.
That is, in the embodiment, the light emitting diode of the display during calculation is blinked in a one second cycle using the one second clock relay of the programmable controller.

上記強制中フラグは入力、出力或はタイマ、カウンタ
に対する強制リセット命令或は強制セット命令が与えら
れると演算処理部1はRAM4の所定エリアに「1」を書き
込むことにより立てられるものである。
The forcible flag is set by writing "1" in a predetermined area of the RAM 4 when a forced reset command or a forced set command for an input, output or timer or counter is given.

かようにして本発明プログラマブルコントローラは演
算中表示の発光ダイオードを一定周期で点滅させること
により強制処理中であることを使用者に認識させること
ができて、予期しない動作の錯覚を起こさせることがな
い。
Thus, the programmable controller of the present invention can make the user recognize that the forced processing is being performed by blinking the light emitting diode of the display during calculation at a constant cycle, thereby causing an illusion of unexpected operation. Absent.

尚発光ダイオードのオンオフ表示とともにブザー11を
並設してこのブザー11の発鳴によって使用者に強制動作
中であることを表示するようすれば目と耳とで認識でき
るので見落としが生じない。この場合演算中にブザー11
が鳴動すれば耳障りなので、一定周期の発光ダイオード
の点滅のときだけ鳴動させるようにしても良い。また点
滅する発光ダイオードの「滅」の瞬間だけブザーが鳴動
させて発光ダイオードの点灯と反転させるようにしても
良い。
In addition, if the buzzer 11 is arranged in parallel with the on / off display of the light emitting diode and the buzzer 11 sounds to indicate to the user that the forcible operation is being performed, the user can recognize with the eyes and ears, so that oversight does not occur. In this case, buzzer 11
If it sounds, it is annoying, so it may be made to sound only when the light emitting diode blinks in a fixed cycle. Alternatively, the buzzer may be sounded only at the moment when the blinking light emitting diode is “disappeared” to reverse the lighting of the light emitting diode.

また上記発光ダイオードに2色ダイオードを用いて演
算中表示には例えば赤色点灯を、強制処理中表示は緑色
点灯を夫々行うようにすれば単なる点滅に比べて識別力
が大きくなり、しかも配設スペースも1色発光ダイオー
ドと同じで実装上の問題はない。
Further, if a two-color diode is used as the light emitting diode, for example, red light is displayed for the display during calculation and green light is displayed for the display during forced processing, the discriminating power is increased as compared with a simple blinking. Also, there is no mounting problem because it is the same as the one-color light emitting diode.

[発明の効果] 本発明は演算中、演算停止中を表示する表示部を備
え、演算中に周辺機器からの命令で入力や出力を強制的
にセット、リセット状態に固定させる強制処理機能を備
えたプログラマブルコントローラにおいて、強制セッ
ト、リセット状態の際に上記表示部の演算中表示を一定
周期にて点滅させる手段を備えたものであるから、ユー
ザプログラムを組むこと無く、また特別に表示部分を増
やすことなく強制処理中であれば表示部の演算中表示を
点滅させることができ、この点滅により強制処理中であ
ることを使用者に容易に認識させることができて、強制
処理による動作が為されても予期しない動作と錯覚させ
ることを無くすことができ、結果効率のよい安心感のあ
るテストが実施できるという効果がある。
[Effects of the Invention] The present invention includes a display unit that displays during calculation and when calculation is stopped, and has a forced processing function that forcibly sets inputs and outputs to a reset state by instructions from peripheral devices during calculation. The programmable controller has means for blinking the in-operation display of the display unit at a constant cycle in the forced set / reset state, so that the number of display portions is increased without forming a user program. During forced processing, the display of the calculation in progress on the display unit can be made to blink, and this blinking makes it easy for the user to recognize that the forced processing is being performed. However, it is possible to eliminate the illusion of an unexpected operation, and as a result, it is possible to carry out an efficient and reliable test.

特に請求項2記載の発明は強制セット、リセット状態
の際にブザーを鳴動させる手段をも備えたものであるか
ら、ブザーをも鳴動させるので、強制処理中であること
を確実に目と耳とで使用者に認識させることができると
いう効果がある。
In particular, since the invention according to claim 2 is provided with a means for sounding a buzzer at the time of a forced set / reset state, the buzzer is also sounded. Thus, there is an effect that the user can be recognized.

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

第1図は本発明の実施例の構成図、第2図、第3図は同
上の動作説明用フローチャートである。 1は演算処理部、7は周辺機器、10は表示部、11はブザ
ーである。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 and 3 are flowcharts for explaining the operation of the embodiment. 1 is an arithmetic processing unit, 7 is a peripheral device, 10 is a display unit, and 11 is a buzzer.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】演算中、演算停止中を表示する表示部を備
え、演算中に周辺機器からの命令で入力や出力を強制的
にセット、リセット状態に固定させる強制処理機能を備
えたプログラマブルコントローラにおいて、強制セッ
ト、リセット状態の際に上記表示部の演算中表示を一定
周期にて点滅させる手段を備えたことを特徴とするプロ
グラマブルコントローラ。
1. A programmable controller having a display unit for displaying during calculation and when calculation is stopped, and a forced processing function for forcibly setting an input or output to a reset state by an instruction from a peripheral device during calculation. 2. The programmable controller according to claim 1, further comprising: means for blinking the in-completion display on the display unit at a constant period in a forced set / reset state.
【請求項2】強制セット、リセット状態の際にブザーを
鳴動させる手段を備えたことを特徴とする請求項1記載
のプログラマブルコントローラ。
2. The programmable controller according to claim 1, further comprising means for sounding a buzzer in a forced set / reset state.
JP13193989A 1989-05-25 1989-05-25 Programmable controller Expired - Lifetime JP2784039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13193989A JP2784039B2 (en) 1989-05-25 1989-05-25 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13193989A JP2784039B2 (en) 1989-05-25 1989-05-25 Programmable controller

Publications (2)

Publication Number Publication Date
JPH02310607A JPH02310607A (en) 1990-12-26
JP2784039B2 true JP2784039B2 (en) 1998-08-06

Family

ID=15069743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13193989A Expired - Lifetime JP2784039B2 (en) 1989-05-25 1989-05-25 Programmable controller

Country Status (1)

Country Link
JP (1) JP2784039B2 (en)

Also Published As

Publication number Publication date
JPH02310607A (en) 1990-12-26

Similar Documents

Publication Publication Date Title
JP4527094B2 (en) Game machine
JP4527095B2 (en) Game machine
JP5415576B2 (en) Game machine
JP2008125731A (en) Game machine
JP5415577B2 (en) Game machine
JP5043174B2 (en) Game machine
JP2011212478A (en) Game machine
JP2008119320A (en) Game machine
JP4762845B2 (en) Game machine
JP5043173B2 (en) Game machine
JP2784039B2 (en) Programmable controller
JP4762844B2 (en) Game machine
JPH01131486A (en) Programmable time switch
JP3397006B2 (en) I / O display device
JPH0232405A (en) Programmable controller
JPH0125353Y2 (en)
JP5043172B2 (en) Game machine
JP5043217B2 (en) Game machine
JPH08123351A (en) Information display system and method utilizing thereof
JPH0124703Y2 (en)
JPH10153670A (en) Digital clock with earthquake-sensing function
JPS62256101A (en) Programmable controller
JP4762843B2 (en) Game machine
JPH0330957Y2 (en)
JPS584119Y2 (en) Segment lighting status check device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20080522

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090522

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090522

Year of fee payment: 11

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090522

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20100522

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20100522