JPH04295931A - Programming device for programmable controller - Google Patents
Programming device for programmable controllerInfo
- Publication number
- JPH04295931A JPH04295931A JP3060421A JP6042191A JPH04295931A JP H04295931 A JPH04295931 A JP H04295931A JP 3060421 A JP3060421 A JP 3060421A JP 6042191 A JP6042191 A JP 6042191A JP H04295931 A JPH04295931 A JP H04295931A
- Authority
- JP
- Japan
- Prior art keywords
- information
- input
- key code
- cpu
- code signal
- 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.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
- Programmable Controllers (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、プログラマブルコント
ローラの実行するシーケンスプログラムを作成するプロ
グラマブルコントローラのプログラミング装置に関する
。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller programming device for creating a sequence program to be executed by a programmable controller.
【0002】0002
【従来の技術】従来、プログラマブルコントローラにお
いて、電子機器の自動制御のために実行するシーケンス
プログラムはプログラミング装置(ローダとも呼ばれる
)において作成され、システム起動時にプログラミング
装置からプログラマブルコントローラに転送される。2. Description of the Related Art Conventionally, in a programmable controller, a sequence program to be executed for automatic control of electronic equipment is created in a programming device (also called a loader) and transferred from the programming device to the programmable controller when the system is started.
【0003】プログラミング装置は、上述のプログラミ
ング作成機能の他に、プログラマブルコントローラに対
する動作たとえばシステム起動,停止等の指示命令を入
力する機能や、プログラマブルコントローラの動作状態
を表示画面に表示することにより、プログラマブルコン
トローラを監視する機能が具わっている。[0003] In addition to the above-mentioned programming creation function, the programming device has a function of inputting commands for operating the programmable controller, such as starting and stopping the system, and displaying the operating status of the programmable controller on a display screen. It has a function to monitor the controller.
【0004】また、プログラマブルコントローラシステ
ムにおける誤動作予防のために次の機能が知られている
。Furthermore, the following functions are known for preventing malfunctions in programmable controller systems.
【0005】プログラマブルコントローラは自動故障診
断機能を有し、主要構成部品の故障を自動検知すること
ができる。[0005] The programmable controller has an automatic failure diagnosis function and can automatically detect failures of major components.
【0006】また、システム運転中にもプログラマブル
コントローラの、現在実行しているシーケンスプログラ
ムをプログラミング装置の表示器に表示させることが可
能であり、シーケンスプログラム自体の作成ミスを検出
することができる。Furthermore, even during system operation, it is possible to display the sequence program currently being executed by the programmable controller on the display of the programming device, and it is possible to detect errors in the creation of the sequence program itself.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、オペレ
ータによりプログラミング装置から入力されたプログラ
マブルコントローラへの動作指示により生じた故障、た
とえば、悪意的に、システム起動,停止を頻繁に行った
ことにより生じる故障の場合、発生した故障部分から故
障原因を解明することは非常に困難であり、また、原因
追及には多大な時間を費すという問題があった。[Problems to be Solved by the Invention] However, it is difficult to solve the problem of failures caused by operation instructions inputted by an operator from a programming device to a programmable controller, such as failures caused by maliciously starting and stopping the system frequently. In this case, it is very difficult to determine the cause of the failure from the faulty part that has occurred, and furthermore, it takes a lot of time to investigate the cause.
【0008】そこで、本発明の目的は、上述の点に鑑み
て、プログラミング装置からプログラマブルコントロー
ラに対して入力した、動作指示の誤りを、指示の入力後
も確認することができるプログラマブルコントローラの
プログラミング装置を提供することにある。SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide a programming device for a programmable controller that is capable of checking errors in operation instructions inputted from a programming device to a programmable controller even after inputting the instructions. Our goal is to provide the following.
【0009】[0009]
【課題を解決するための手段】このような目的を達成す
るために、本発明は、情報の入力を行う入力手段と、該
入力手段からの情報入力の毎に、当該入力された情報を
順次に記憶する記憶手段と、該記憶手段の情報の可視出
力を指示する指示手段と、当該指示に応じて前記記憶手
段の情報を読出し、可視出力する出力手段とを具えたこ
とを特徴とする。[Means for Solving the Problems] In order to achieve such an object, the present invention provides an input means for inputting information, and a system that sequentially inputs the input information each time information is input from the input means. The present invention is characterized by comprising a storage means for storing information in the storage means, an instruction means for instructing to visually output the information in the storage means, and an output means for reading out the information in the storage means in response to the instruction and outputting the information in a visible manner.
【0010】0010
【作用】本発明では、入力手段から入力された情報の履
歴を記憶手段に記憶し、指示手段の指示で可視出力(表
示又は印刷)する。このため、プログラミング装置から
の誤指示を情報入力後でも検出することが可能とする。[Operation] In the present invention, the history of information input from the input means is stored in the storage means, and visually outputted (displayed or printed) according to instructions from the instruction means. Therefore, it is possible to detect erroneous instructions from the programming device even after information has been input.
【0011】[0011]
【実施例】以下、図面を参照して本発明実施例を詳細に
説明する。Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
【0012】図1は本発明実施例の基本構成を示す。FIG. 1 shows the basic configuration of an embodiment of the present invention.
【0013】図1において、入力手段1000は、たと
えばキーの押下によりキーコード信号を発生することで
情報入力を行う。In FIG. 1, input means 1000 inputs information by generating a key code signal by pressing a key, for example.
【0014】記憶手段1100は、該入力手段の情報入
力毎に、当該入力された情報を順次に記憶する。[0014] The storage means 1100 sequentially stores the input information each time the input means inputs the information.
【0015】指示手段1200は、該記憶手段の情報の
可視出力を指示する。[0015] The instruction means 1200 instructs the visual output of the information in the storage means.
【0016】出力手段1300は、当該指示に応じて前
記記憶手段の情報を読出し、可視出力する。[0016] The output means 1300 reads the information from the storage means in response to the instruction and visually outputs the information.
【0017】本発明実施例の具体的な回路構成を図2に
示す。A specific circuit configuration of an embodiment of the present invention is shown in FIG.
【0018】図2に於いて、以下の主要構成部が共通バ
スに接続されている。In FIG. 2, the following main components are connected to a common bus.
【0019】中央演算処理装置(CPU)10は、装置
全体の動作制御を司どる他、シーケンスプログラムの作
成に関する文字処理、キーボード入力装置20から入力
された情報の識別等の情報処理を行う。CPU10の実
行手順はプログラムメモリ11に格納されている。The central processing unit (CPU) 10 controls the operation of the entire device, and also performs information processing such as character processing related to creating a sequence program and identification of information input from the keyboard input device 20. The execution procedure of the CPU 10 is stored in the program memory 11.
【0020】ユーザ用プログラムメモリ13は作成対象
のシーケンスプログラムや、表示対象のシーケンスプロ
グラムを記憶する。The user program memory 13 stores sequence programs to be created and sequence programs to be displayed.
【0021】ワークメモリ14はCPU10の演算に関
わる諸データを一時記憶する。本発明に関わるキーコー
ド信号の記憶領域14Aもワークメモリ14内に専用的
に設けられている。The work memory 14 temporarily stores various data related to calculations by the CPU 10. A storage area 14A for key code signals related to the present invention is also provided exclusively within the work memory 14.
【0022】表示器15はキーボード入力装置20から
の入力情報や、作成途上のシーケンスプログラムの他、
上記キーコード記憶領域14Aのキーコード信号をCP
U10の制御の下に可視表示する。The display 15 receives input information from the keyboard input device 20, a sequence program in the process of being created, and other information.
CP the key code signal in the key code storage area 14A.
Visually displayed under the control of U10.
【0023】キーボード入力装置20は、キーマトリク
ス21を有し、各種キーの押下をキーマトリクス21に
より検知し、押下キーに対応したキーコード信号を発生
する。このキーコード信号はインタフェース16に一時
保持される。インタフェース16はキーコード信号の入
力があると、CPU10に対して割込み要求信号を発生
する。CPU10は割込み要求があると、プログラムメ
モリ11内の割込みプログラム(図3参照)に基き、イ
ンタフェース16に保持されたキーコード信号を読出し
、キーコード信号の解読を行う。The keyboard input device 20 has a key matrix 21, which detects pressing of various keys and generates a key code signal corresponding to the pressed key. This key code signal is temporarily held in the interface 16. When the interface 16 receives the key code signal, it generates an interrupt request signal to the CPU 10. When the CPU 10 receives an interrupt request, it reads out the key code signal held in the interface 16 based on the interrupt program in the program memory 11 (see FIG. 3), and decodes the key code signal.
【0024】本実施例においては、後述するが、本発明
の入力手段,指示手段としてキーボード入力装置20が
動作し、記憶手段としてキーコード記憶領域14Aが動
作する。また、出力手段として表示器15が動作し、こ
れら一連の機器への情報転送をCPU10が実行する。In this embodiment, as will be described later, the keyboard input device 20 operates as input means and instruction means of the present invention, and the key code storage area 14A operates as storage means. Further, the display 15 operates as an output means, and the CPU 10 transfers information to a series of devices.
【0025】このような構成における本発明に関わる動
作を図3を参照して説明する。The operation related to the present invention in such a configuration will be explained with reference to FIG.
【0026】オペレータがキーボード入力装置(入力手
段)20のキー操作により何等かの情報入力を行うと、
CPU10では図3の制御手順が開始される。すなわち
、CPU10はインタフェース16内に保持されたキー
コード信号を読出し、内部レジスタにとり込む。When the operator inputs some information by operating keys on the keyboard input device (input means) 20,
In the CPU 10, the control procedure shown in FIG. 3 is started. That is, the CPU 10 reads out the key code signal held in the interface 16 and takes it into an internal register.
【0027】次に、キーコード記憶領域14Aを検索し
、データ終了コードの検出により空き領域の先頭開始ア
ドレスを設定する。なお、空き領域が無い場合は、キー
コード記憶領域14Aの先頭アドレスを初期設定する(
図3のステップS10〜S31)。Next, the key code storage area 14A is searched, and the head start address of the empty area is set by detecting the data end code. If there is no free space, initialize the start address of the key code storage area 14A (
Steps S10 to S31 in FIG. 3).
【0028】CPU10は次に、内部レジスタに格納の
キーコード信号をキーコード記憶領域(記憶手段)14
Aに書き込む(ステップS40)。Next, the CPU 10 stores the key code signal stored in the internal register in the key code storage area (storage means) 14.
A (step S40).
【0029】CPU10は次に従来同様、入力のキーコ
ード信号の信号解読を行って、キーコード信号の示す動
作内容を実行する(図3のステップS50→S52)。Next, the CPU 10 decodes the input key code signal and executes the operation indicated by the key code signal (steps S50→S52 in FIG. 3), as in the conventional case.
【0030】キーボード入力装置20から情報入力が行
なわれる毎にCPU10は上述の処理手順を繰り返し実
行し、キーコード信号を発生順にキーコード記憶領域1
4Aに格納して行く。Each time information is input from the keyboard input device 20, the CPU 10 repeatedly executes the above-described processing procedure, and stores the key code signals in the key code storage area 1 in the order of occurrence.
Store it in 4A.
【0031】オペレータが記憶のキーコード信号の内容
を知りたいときは、キーボード入力装置20から読出し
命令を入力する。このときのキーボード入力装置20が
本発明の指示手段として動作する。When the operator wants to know the contents of the stored key code signal, he inputs a read command from the keyboard input device 20. The keyboard input device 20 at this time operates as an instruction means of the present invention.
【0032】CPU10は、この入力命令をキーコード
信号記憶領域14Aに記憶した後、読出し命令であるこ
とをコード識別すると(図3のステップS50)、キー
コード記憶領域14A内のデータ開始位置を検出し、記
憶情報を順次に読出し、表示器(出力手段)15に表示
する(ステップS51)。After storing this input command in the key code signal storage area 14A, the CPU 10 identifies the code as a read command (step S50 in FIG. 3), and detects the data start position in the key code storage area 14A. Then, the stored information is sequentially read out and displayed on the display (output means) 15 (step S51).
【0033】以上、説明したCPU10の制御処理によ
り、キーボード入力装置20から入力された情報はキー
コード信号の形態で自動的にキーコード記憶領域14A
に格納され、オペレータの指示入力により表示器15に
全て表示される。Through the control processing of the CPU 10 described above, information input from the keyboard input device 20 is automatically stored in the key code storage area 14A in the form of a key code signal.
, and all are displayed on the display 15 according to instructions input by the operator.
【0034】本実施例の他に、次の例が挙げられる。In addition to this embodiment, the following examples are given.
【0035】1)本実施例では、オペレータからの入力
情報をキーコード信号の形態で記憶しているが、通常キ
ーコード信号はプログラマブルコントローラ側の処理コ
ード(たとえば、機械語コードやJIS等の情報コード
)に変換されるので、これら情報コードの形態で記憶し
てもよい。1) In this embodiment, the input information from the operator is stored in the form of a key code signal, but the key code signal is usually a processing code on the programmable controller side (for example, information such as machine language code or JIS). code), these information may be stored in the form of a code.
【0036】2)本実施例ではキーボード入力装置20
から入力された情報を全て記憶するようにしているが入
力情報の種類に応じて特定種類、たとえばプログラマブ
ルコントローラに対する動作指示命令のみ選別して記憶
することもできる。この場合は入力信号の解読処理にお
いて、キーコードが上記動作指示のキーコードであるか
否かの判定をCPU10により行い、肯定判定が得られ
たときに入力情報の記憶を行う。2) In this embodiment, the keyboard input device 20
Although all the information input from the input information is stored, it is also possible to select and store only a specific type of information, for example, an operation instruction command for a programmable controller, depending on the type of input information. In this case, in the process of decoding the input signal, the CPU 10 determines whether the key code is the key code for the operation instruction, and when a positive determination is obtained, the input information is stored.
【0037】3)上記2)項の処理に関連し、全ての入
力情報を記憶するモード,予め定めた特定の種類の入力
情報を記憶するモード,オペレータの指示する種類の入
力情報を記憶するモード,全く情報記憶を行なわないモ
ードを設け、各モードに対応させたCPU10の実行プ
ログラムをプログラムメモリ11に格納しておき、キー
ボード20を介してモード指示をオペレータにより行っ
て、指示モードの実行プログラムをCPU10により演
算実行させるとよい。3) Related to the process in item 2) above, a mode in which all input information is stored, a mode in which predetermined specific types of input information are stored, and a mode in which input information of the type specified by the operator is stored. , a mode in which no information is stored is provided, an execution program for the CPU 10 corresponding to each mode is stored in the program memory 11, and the operator issues a mode instruction via the keyboard 20 to execute the execution program in the instruction mode. It is preferable that the CPU 10 executes the calculation.
【0038】たとえば、記憶情報の種類を必要なものに
種類に限定すると、キーコード記憶領域のメモリ容量は
小さくてすみ、かつ、表示も理解しやすいものとなる。
また、入力情報の記録性を重視する場合は、全ての入力
情報を記憶させればよく、フロッピーディスク等の大容
量の記憶媒体を記憶手段に用いるとよい。For example, if the types of stored information are limited to those that are necessary, the memory capacity of the key code storage area can be small, and the display can be made easier to understand. Furthermore, if the recordability of input information is important, all input information may be stored, and a large-capacity storage medium such as a floppy disk may be used as the storage means.
【0039】4)本実施例において入力情報を表示させ
る場合、キーコードを数値表現してもよいが、キーコー
ドに対応するキートップ(キーの識別名)を文字表現す
ると、表示が理解しやすい。4) When displaying input information in this embodiment, the key code may be expressed numerically, but the display is easier to understand if the key top (identification name of the key) corresponding to the key code is expressed in characters. .
【0040】5)入力情報に加えて、日時のカレンダー
情報を一定時間毎にキーコード記憶領域14Aに記憶す
るようにすると、情報の入力時刻を知ることができる。
この場合はタイマにより、たとえば日,時を計時し、一
定時間毎に、CPU10によりタイマの計時時刻をキー
コード領域14Aに書き込む。5) In addition to the input information, by storing date and time calendar information in the key code storage area 14A at regular intervals, it is possible to know the input time of the information. In this case, a timer measures, for example, the date and time, and the CPU 10 writes the time measured by the timer into the key code area 14A at regular intervals.
【0041】[0041]
【発明の効果】以上、説明したように、本発明によれば
、入力情報の履歴が判るので、オペレータの誤入力指示
によるプログラマブルコントローラの故障についても、
その故障原因の追及が可能となる。[Effects of the Invention] As explained above, according to the present invention, since the history of input information can be known, failures of the programmable controller due to incorrect input instructions by the operator can be detected.
It becomes possible to investigate the cause of the failure.
【図1】本発明実施例の基本構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention.
【図2】本発明実施例の具体的な回路構成を示すブロッ
ク図である。FIG. 2 is a block diagram showing a specific circuit configuration of an embodiment of the present invention.
【図3】図2のCPU10の実行する制御手順を示すフ
ローチャートである。FIG. 3 is a flowchart showing a control procedure executed by the CPU 10 in FIG. 2;
10 CPU 11 プログラムメモリ 13 ユーザ用プログラムメモリ 14 ワークメモリ 14A キーコード記憶領域 15 表示器 20 キーボード入力装置 10 CPU 11 Program memory 13. User program memory 14 Work memory 14A Key code storage area 15 Display 20 Keyboard input device
Claims (1)
手段からの情報入力の毎に、当該入力された情報を順次
に記憶する記憶手段と、該記憶手段の情報の可視出力を
指示する指示手段と、当該指示に応じて前記記憶手段の
情報を読出し、可視出力する出力手段とを具えたことを
特徴とするプログラマブルコントローラのプログラミン
グ装置。Claim 1: An input means for inputting information, a storage means for sequentially storing the input information each time information is input from the input means, and an instruction for visually outputting the information in the storage means. 1. A programming device for a programmable controller, comprising: instruction means; and output means for reading information from the storage means and visually outputting the information in response to the instruction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3060421A JPH04295931A (en) | 1991-03-25 | 1991-03-25 | Programming device for programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3060421A JPH04295931A (en) | 1991-03-25 | 1991-03-25 | Programming device for programmable controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04295931A true JPH04295931A (en) | 1992-10-20 |
Family
ID=13141729
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3060421A Pending JPH04295931A (en) | 1991-03-25 | 1991-03-25 | Programming device for programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04295931A (en) |
-
1991
- 1991-03-25 JP JP3060421A patent/JPH04295931A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5274797A (en) | Multiprocessor system with centralized initialization, testing and monitoring of the system and providing centralized timing | |
| US4789985A (en) | Document processing apparatus having fauet detection capabilities | |
| EP1906309A2 (en) | Information processing apparatus, control apparatus therefor, control method therefor and control program | |
| EP0247605A2 (en) | System management apparatus for a multiprocessor system | |
| JPS60159951A (en) | Tracing system in information processing device | |
| KR930005807B1 (en) | Automatic setting apparatus for hdd and method therefor | |
| JP3514168B2 (en) | Monitoring control device, monitoring control method, and recording medium storing monitoring program | |
| JPS628831B2 (en) | ||
| JPH01263741A (en) | Picture displaying system at time of system rise | |
| JP2005327175A (en) | In-circuit emulator device and stack access abnormality detection method | |
| JP2727717B2 (en) | Programmable controller system | |
| KR0158403B1 (en) | Chip mounter error checking apparatus and its control method | |
| JPH076103A (en) | Fault processing system for input/output channel | |
| JP2666598B2 (en) | How to identify revision history of input/output control cards | |
| JPH1185559A (en) | emulator | |
| JPH04195634A (en) | Abnormality detection system | |
| JPH0472257B2 (en) | ||
| JPH0887426A (en) | Self-diagnosis status display method | |
| JPS63204444A (en) | Data processing system | |
| JPS6321215B2 (en) | ||
| JPH09114516A (en) | Operation state monitoring method of equipment control sequence of equipment control system and sequence control device | |
| JPH11203174A (en) | State supervisory information processor | |
| JPH04195428A (en) | Programmable controller | |
| JPH1011331A (en) | Information processing method, information processor, and storage medium | |
| JPS63244235A (en) | Abnormality handling method and device |