JPH0442305A - Time limit operating device for programmable controller - Google Patents

Time limit operating device for programmable controller

Info

Publication number
JPH0442305A
JPH0442305A JP15087790A JP15087790A JPH0442305A JP H0442305 A JPH0442305 A JP H0442305A JP 15087790 A JP15087790 A JP 15087790A JP 15087790 A JP15087790 A JP 15087790A JP H0442305 A JPH0442305 A JP H0442305A
Authority
JP
Japan
Prior art keywords
time
program
input
programmable controller
timed operation
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
Application number
JP15087790A
Other languages
Japanese (ja)
Inventor
Hiroshi Doi
浩 土肥
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP15087790A priority Critical patent/JPH0442305A/en
Publication of JPH0442305A publication Critical patent/JPH0442305A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily set an operating time of a programmable controller PC by controlling the time limit operation through a computer device connected to the PC. CONSTITUTION:An FA monitor (computer device) 5 is provided with a CRT 2 and a keyboard 4 and connected to an I/O unit 1a of a PC 1 via a communication interface 5c. Then an operating time is set based on the input received from the keyboard 4, and the prescribed display is performed through the CRT 2. At the same time, the input/output operations are carried out between the monitor 5 and the PC 1 via the interface 5c. Then the input data are displayed on the CRT 2 as necessary. A time limit operating program is started at a set operating time. Thus a time limit operation is easily set.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、所定の時間にプログラマブルコントローラに
よって例えば機械の始動のような時限動作を行わせる時
限動作装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a timed operation device that causes a programmable controller to perform a timed operation, such as starting a machine, at a predetermined time.

(従来の技術) プログラマブルコントローラ(シーケンシャルコントロ
ーラとも称する。以下、rPcJという。
(Prior Art) A programmable controller (also referred to as a sequential controller. Hereinafter referred to as rPcJ).

)は、コンピュータを用いた汎用のシーケンシャル制御
装置であり、工場設備の制御等に利用されている。この
ようなPCは、例えば作業開始時間の午前9時に自動的
にデイスプレィに始動開始設定入力画面を表示し、作業
者がこの設定を行うと機械が始動する七いうように、時
限動作が行われるようになっていると便利である。
) is a general-purpose sequential control device using a computer, and is used for controlling factory equipment, etc. Such PCs perform timed operations, such as automatically displaying the startup start setting input screen on the display at 9 a.m., the start time of work, and when the worker makes this setting, the machine starts. It would be convenient if it were like this.

そこで、従来は、第5図に示すように、PCIの110
ユニツトlaにCRT2とスイッチ入力装置3とを接続
しておき、シーケンシャルプログラム上でこのCRT2
に所定の画面を表示させるようにリレー出力を設定する
と共にこの表示時刻の設定を行うことにより、上記のよ
うな時限動作を実現していた。
Therefore, conventionally, as shown in Figure 5, PCI 110
CRT2 and switch input device 3 are connected to unit la, and this CRT2 is
By setting the relay output so that a predetermined screen is displayed and setting the display time, the timed operation as described above was realized.

(発明が解決しようとする課題) ところが、PCIは、機械設備の制御のためのコンピュ
ータ装置であり、ラダープログラムのようなシーケンシ
ャルプログラムを組み込み、このシステムプログラムが
スキャンすることにより制御を実行するものであること
から、上記時限動作を行う時刻は、このシーケンシャル
プログラム上で設定する必要があった。このため、従来
は、この動作時刻の設定や変更が容易ではなく、シーケ
ンシャルプログラムに精通した作業者でなければ行うこ
とができないという問題があった。また、上記スイッチ
入力装置3は、使用するスイッチの数だけI10ユニッ
ト1aとの間に配線を行う必要があるため、スイッチの
数が多いと配線数も増加する。このため、従来は、I1
0ユニット1aの配線が複雑になり、しかも、この複雑
な配線のためにスイッチ入力装置3をPCIのすぐそば
に設置して設定作業を行わなければならないという問題
も生じていた。
(Problem to be Solved by the Invention) However, PCI is a computer device for controlling mechanical equipment, and it incorporates a sequential program such as a ladder program, and this system program executes control by scanning. For this reason, it was necessary to set the time for performing the above timed operation on this sequential program. Therefore, in the past, there was a problem in that it was not easy to set or change the operation time, and only an operator who was familiar with sequential programs could do it. Further, since it is necessary to connect the switch input device 3 to the I10 unit 1a by the number of switches used, the number of wires increases as the number of switches increases. Therefore, conventionally, I1
The wiring of the 0 unit 1a becomes complicated, and this complicated wiring also causes the problem that the switch input device 3 must be installed right next to the PCI to perform setting work.

本発明は、上記事情に鑑み、PCに接続されたコンピュ
ータ装置によって時限動作を制御させることにより、動
作時刻の設定を容易にすると共に、時限動作時の作業者
による設定操作等が遠隔からも可能になるプログラマブ
ルコントローラの時限動作装置を提供することを目的と
している。
In view of the above-mentioned circumstances, the present invention makes it easy to set the operation time by controlling the timed operation using a computer device connected to a PC, and also enables a worker to remotely perform setting operations during the timed operation. The purpose of the present invention is to provide a timed operation device for a programmable controller.

(課題を解決するための手段) 本発明のプログラマブルコントローラの時限動作装置は
、デイスプレィとキーボードを備え、プログラマブルコ
ントローラにインターフェイスを介して接続されたコン
ピュータ装置に、該キーボードからの入力に基づき動作
時刻を設定する時刻設定手段と、該デイスプレィに所定
の表示を行い、該インターフェイスを介して該プログラ
マブルコントローラとの間で入出力を行い、必要に応じ
て入力データを該デイスプレィに表示する時限動作プロ
グラムと、該時刻設定手段によって設定された動作時刻
に該時限動作プログラムを起動する時限動作手段とが設
けられており、そのことにより上記目的が達成される。
(Means for Solving the Problems) A timed operation device for a programmable controller according to the present invention is provided with a display and a keyboard, and sets an operation time based on input from the keyboard to a computer device connected to the programmable controller via an interface. a time setting means for setting; a timed operation program that displays a predetermined display on the display, performs input/output with the programmable controller via the interface, and displays input data on the display as necessary; A timed operation means is provided for activating the timed operation program at the operation time set by the time setting means, thereby achieving the above object.

(作用) 上記構成により、動作時刻になると、時限動作手段が時
限動作プログラムを起動して、ディスプレイに所定の表
示を行わせる。この際、時限動作プログラムは、例えば
対話形式で作業者にキーボードからの入力を促し、この
入力に基づいてインターフェイスを介しPCに出力する
ことにより、各種設定動作を行わせることができる。ま
た、PCから各種のデータを入力して、このデータをデ
イスプレィに表示するようなこともできる。ここで、時
限動作手段は、例えば時刻を計時するタイマ装置と時限
動作プログラムの起動を行う制御プログラムとによって
構成することができる。そして、このタイマ装置の計時
時刻が動作時刻に達すると、制御プログラムが時限動作
プログラムを起動することになる。この際、制御プログ
ラムは、タイマ装置の計時時刻を常時監視して、これが
動作時刻に達すると時限動作プログラムを起動するよう
にしたものの他、例えばタイマ装置からの割り込みによ
って動作するものであってもよい。
(Function) With the above configuration, when the operation time comes, the timed operation means starts the timed operation program and causes the display to perform a predetermined display. At this time, the timed operation program can prompt the operator to input from the keyboard in an interactive manner, for example, and output the input to the PC via the interface, thereby allowing the operator to perform various setting operations. It is also possible to input various data from a PC and display this data on the display. Here, the timed operation means can be configured by, for example, a timer device that measures time and a control program that starts the timed operation program. When the time measured by the timer device reaches the operation time, the control program starts the timed operation program. In this case, the control program may be one that constantly monitors the time measured by the timer device and starts a timed operation program when the time reaches the operating time, or one that is activated by an interrupt from the timer device. good.

上記動作時刻は、時刻設定手段によってキーボードから
の入力に基づき行われる。この際、デイスプレィに入力
促進用のメ・ソセージを表示させれば、作業者が対話形
式によって設定を行うことができるようになる。キーボ
ードから入力された動作時刻のデータは、所定の形式に
変更されて、例えば上記時限動作手段の制御プログラム
が参照できるようにメモリに記憶される。また、上記タ
イマ装置自身がこの動作時刻のデータを保持する場合に
は、入出力手段を介してこのタイマ装置に直接書き込む
ようにする。
The above operation time is set by the time setting means based on input from the keyboard. At this time, if a message for prompting input is displayed on the display, the operator can make the settings in an interactive manner. The operation time data input from the keyboard is changed into a predetermined format and stored in a memory so that it can be referred to, for example, by a control program for the timed operation means. Further, if the timer device itself holds data on this operating time, the data is written directly into the timer device via an input/output means.

この結果、時限動作の時刻の設定や変更をシーケンシャ
ルプログラムに精通した作業者以外の者であっても容易
に行うことができるようになる。
As a result, even a person other than an operator familiar with sequential programs can easily set or change the time of a timed operation.

また、PCとの入出力にコンピュータ装置を介するので
、データのエンコードやシリアル通信を行うことによっ
て配線を少なくすることができる。
Furthermore, since input/output to/from the PC is via a computer device, wiring can be reduced by encoding data and performing serial communication.

(実施例) 本発明を実施例について以下に説明する。(Example) The invention will now be described with reference to examples.

本実施例の時限動作装置は、第1図に示すように、CR
T2とキーボード4を備えたFAモニタ5によって構成
されている。FAモニタ5は、マイクロコンピュータを
利用したコンピュータ装置−6= であり、工場内の環境に適応するようになっている。C
RT2は、このFAモニタ5からのデータやメツセージ
を表示するデイスプレィであり、キーボード4は、この
FAモニタ5に入力を行うための多数のキーを有する入
力装置である。また、このFAモニタ5には、時計機能
を有するタイマ装置5aが内蔵されている。さらに、こ
のFAモニタ5の記憶装置5bには、システムプログラ
ムと共に、このシステムプログラム上で動作する動作時
刻設定プログラム、時限動作制御プログラム、及び時限
動作プログラムが格納されている。
As shown in FIG.
It is composed of an FA monitor 5 equipped with a T2 and a keyboard 4. The FA monitor 5 is a computer device 6 using a microcomputer, and is adapted to the environment within the factory. C
RT2 is a display that displays data and messages from this FA monitor 5, and keyboard 4 is an input device having a large number of keys for inputting to this FA monitor 5. Further, the FA monitor 5 has a built-in timer device 5a having a clock function. Further, the storage device 5b of the FA monitor 5 stores a system program as well as an operation time setting program, a timed operation control program, and a timed operation program that operate on this system program.

上記FAモニタ5は、通信インターフェイス5Cを介し
てPCIのI10ユニット1aに接続されている。PC
Iは、CPUユニット1bにこの■10ユニット1aや
その他の各種のユニットが接続した汎用のシーケンシャ
ル制御装置であり、図示しない製造機械等に接続されて
これを制御するようになっている。
The FA monitor 5 is connected to the PCI I10 unit 1a via a communication interface 5C. PC
I is a general-purpose sequential control device in which this (1) 10 unit 1a and various other units are connected to a CPU unit 1b, and is connected to a manufacturing machine (not shown) to control it.

まず、上記FAモニタ5の記憶装置5bに格納された動
作時刻設定プログラムの動作を第2図(イ)に基づいて
説明する。なお、この動作時刻設定プログラムは、作業
者の操作によって随時呼び出すことができる。この動作
時刻設定プログラムは、最初にCRT2に動作時刻の入
力促進メツセージを表示し、この動作時刻の人力を受は
付ける(ステップSl)。そして、作業者がキーボード
4により例えば第3図(イ)に示すように午後5時30
分の時刻を入力すると、この時刻のデータを記憶装置5
bの所定の領域に格納する(ステップS2)。この動作
時刻の格納が完了すると、CRT2にタイトル文字の入
力促進メツセージを表示し、このタイトル文字の入力を
受は付ける(ステップS3)。そして、作業者がキーボ
ード4により例えば第3図(ロ)に示すようにしてタイ
トル文字を入力すると、この文字のデータを記憶装置5
bの所定の領域に格納しくステップS4)、処理を終了
する。なお、このFAモニタ5のシステムプログラムは
、ローマ字による入力を仮名漢字に変換する機能を有し
、日本語文字をキーボード4から入力することができる
ようになっている。
First, the operation of the operation time setting program stored in the storage device 5b of the FA monitor 5 will be explained based on FIG. 2(A). Note that this operation time setting program can be called up at any time by an operator's operation. This operation time setting program first displays a message prompting input of the operation time on the CRT 2, and accepts the input of the operation time (step Sl). Then, the operator uses the keyboard 4 to indicate, for example, 5:30 p.m. as shown in FIG. 3(a).
When you enter the minute time, the data for this time is stored in the storage device 5.
The data is stored in a predetermined area of b (step S2). When the storage of the operation time is completed, a message prompting the input of title characters is displayed on the CRT 2, and the input of the title characters is accepted (step S3). When the operator inputs title characters using the keyboard 4, for example, as shown in FIG.
In step S4), the process ends. The system program of the FA monitor 5 has a function of converting input in Roman characters into kana and kanji, so that Japanese characters can be input from the keyboard 4.

次に、時限動作制御プログラムの動作を第2図(ロ)に
基づいて説明する。なお、この時限動作制御プログラム
は、適宜の方法による随時の割り込み処理若しくはタイ
ムシェアリング又はその他の手段によりFAモニタ5上
で常時動作している。
Next, the operation of the timed operation control program will be explained based on FIG. 2 (b). Note that this time-limited operation control program is constantly running on the FA monitor 5 by interrupt processing or time sharing using an appropriate method, or by other means.

この時限動作制御プログラムは、最初にタイマ装置5a
の計時時刻を読み込み(ステップ511)、上記動作時
刻設定プログラムによって設定された動作時刻を参照し
て、この計時時刻と比較する(ステップ512)。そし
て、計時時刻が動作時刻に達しない場合は、再びステッ
プSllに戻りこの処理を繰り返す。また、計時時刻が
動作時刻に達した場合には、FAモニタ5のシステムプ
ログラムによって時限動作プログラムを起動させる(ス
テップ513)。なお、その後も必要があれば、この時
限動作制御プログラムによって他に設定された動作時刻
の監視を続けるようにすることもできる。
This timed operation control program first starts with the timer device 5a.
The measured time is read (step 511), and the operation time set by the operation time setting program is referred to and compared with this measured time (step 512). If the measured time does not reach the operating time, the process returns to step Sll and repeats this process. Further, when the measured time reaches the operation time, a timed operation program is started by the system program of the FA monitor 5 (step 513). Note that if necessary thereafter, the time-limited operation control program may continue to monitor other set operation times.

上記時限動作制御プログラムによって起動される時限動
作プログラムの動作を第2図()\)に基づいて説明す
る。この時限動作プログラムは、最初に動作時刻設定プ
ログラムによって設定されたタイトル文字をCRT2に
表示する(ステップ521)。そして、PCIの所定の
アドレスに格納されたデータを通信インターフェイス5
Cを介して通信処理により読み込み(ステップS22〉
、このデータを上記タイトル文字に続けてCRT2に表
示して(ステップ523)、処理を終了する。
The operation of the timed operation program started by the above-mentioned timed operation control program will be explained based on FIG. 2()\). This timed operation program first displays the title characters set by the operation time setting program on the CRT 2 (step 521). Then, the data stored in the predetermined address of the PCI is transferred to the communication interface 5.
C through communication processing (step S22)
, this data is displayed on the CRT 2 following the title characters (step 523), and the process ends.

例えば時限動作プログラムがPCIから当該製造機械の
当日の生産台数を累計したデータを読み出すようになっ
ている場合、上記各プログラムの動作の結果、午後5時
30分になると、FAモニタ5のCRT2に第4図に示
すような当日の作業実績が表示されることになる。なお
、時限動作プログラムを製造機械の始動開始設定を行う
プログラムとし、動作時刻を午前9時に設定すれば、朝
の作業開始時間に自動的にCRT2の画面に入力促進メ
ツセージが表示され、作業者が設定入力を行うことによ
り、PCIがその設定に従って製造機械を始動させるこ
とができるようになる。
For example, if a timed operation program is designed to read out the cumulative production quantity of the manufacturing machine for the day from the PCI, as a result of the operation of each of the above programs, at 5:30 p.m., the CRT 2 of the FA monitor 5 The work results for the day as shown in FIG. 4 will be displayed. In addition, if the timed operation program is a program that sets the start-up of the manufacturing machine and the operation time is set to 9 a.m., an input prompt message will be automatically displayed on the CRT2 screen at the start time of the morning work, and the operator will Setting input allows the PCI to start the manufacturing machine according to the settings.

一 1〇− 以上説明したように、本実施例の時限動作装置によれば
、CRT2に表示された入力促進メツセージに従って時
限動作の時刻の設定や変更が誰にでも容易にできるよう
になる。また、PCIとFAモニタ5との間を通信線に
よって接続するだけでよいので、PCIから離れた場所
でCRT2の表示を見たりキーボード4からの入力操作
を行うことができるようになる。
110- As explained above, according to the timed operation device of this embodiment, anyone can easily set or change the time of the timed operation according to the input prompting message displayed on the CRT 2. Furthermore, since it is only necessary to connect the PCI and the FA monitor 5 via a communication line, it becomes possible to view the display on the CRT 2 and perform input operations from the keyboard 4 at a location away from the PCI.

(発明の効果) 以上の説明から明かなように、本発明のプログラマブル
コントローラの時限動作装置は、時限動作の設定や変更
を容易に行うことができるようになり、しかも、PCと
の間の配線数を少なくすることにより遠隔操作も可能に
なるという効果を奏する。
(Effects of the Invention) As is clear from the above description, the timed operation device for a programmable controller of the present invention can easily set and change the timed operation, and moreover, By reducing the number of devices, remote control becomes possible.

4、゛  の、 なJH 第1図乃至第4図は本発明の一実施例を示すものであっ
て、第1図はプログラマブルコントローラの時限動作装
置の構成を示すブロック図、第2図(イ)は動作時刻設
定プログラムの動作を示すフローチャート、同図(ロ)
は時限動作制御プログラムの動作を示すフローチャート
、同図(ハ)は、時限動作プログラムの動作を示すフロ
ーチャート、第3図(イ)(ロ)はそれぞれ動作時刻の
設定操作を示す図、第4図はCRT上の表示画面を示す
図、第5図は従来例を示すものであって、時限動作を行
うプログラマブルコントローラのブロック図である。
4. Figures 1 to 4 show an embodiment of the present invention, in which Figure 1 is a block diagram showing the configuration of a timed operation device of a programmable controller, and Figure 2 (Illustrated) shows an embodiment of the present invention. ) is a flowchart showing the operation of the operation time setting program;
is a flowchart showing the operation of the timed operation control program, FIG. 3(c) is a flowchart showing the operation of the timed operation program, FIG. 1 shows a display screen on a CRT, and FIG. 5 shows a conventional example, and is a block diagram of a programmable controller that performs timed operations.

1・・・PC,la・・・■10ユニット(インターフ
ェイス)、2・・・CRT (デイスプレィ)、4・・
・キーボード、5・・・FAモニタ(コンピュータ装置
)、5a・・・タイマ装置(時限動作手段)、5C・・
・通信インターフェイス(インターフェイス)。
1...PC, la...■10 units (interface), 2...CRT (display), 4...
・Keyboard, 5...FA monitor (computer device), 5a...timer device (timed operation means), 5C...
・Communication interface (interface).

以上that's all

Claims (1)

【特許請求の範囲】[Claims] 1、ディスプレイとキーボードを備え、プログラマブル
コントローラにインターフェイスを介して接続されたコ
ンピュータ装置に、該キーボードからの入力に基づき動
作時刻を設定する時刻設定手段と、該ディスプレイに所
定の表示を行い、該インターフェイスを介して該プログ
ラマブルコントローラとの間で入出力を行い、必要に応
じて入力データを該ディスプレイに表示する時限動作プ
ログラムと、該時刻設定手段によって設定された動作時
刻に該時限動作プログラムを起動する時限動作手段とが
設けられているプログラマブルコントローラの時限動作
装置。
1. A computer device equipped with a display and a keyboard and connected to a programmable controller via an interface; a time setting means for setting an operating time based on input from the keyboard; and a time setting means for displaying a predetermined display on the display, A timed operation program that performs input/output with the programmable controller via the programmable controller and displays input data on the display as necessary, and starts the timed operation program at the operation time set by the time setting means. A timed operation device for a programmable controller, which is provided with a timed operation means.
JP15087790A 1990-06-07 1990-06-07 Time limit operating device for programmable controller Pending JPH0442305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15087790A JPH0442305A (en) 1990-06-07 1990-06-07 Time limit operating device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15087790A JPH0442305A (en) 1990-06-07 1990-06-07 Time limit operating device for programmable controller

Publications (1)

Publication Number Publication Date
JPH0442305A true JPH0442305A (en) 1992-02-12

Family

ID=15506333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15087790A Pending JPH0442305A (en) 1990-06-07 1990-06-07 Time limit operating device for programmable controller

Country Status (1)

Country Link
JP (1) JPH0442305A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102574207A (en) * 2009-07-09 2012-07-11 西铁城控股株式会社 Workpiece material and grasping mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102574207A (en) * 2009-07-09 2012-07-11 西铁城控股株式会社 Workpiece material and grasping mechanism
TWI496652B (en) * 2009-07-09 2015-08-21 Citizen Holdings Co Ltd Processing materials and holding institutions

Similar Documents

Publication Publication Date Title
US6256556B1 (en) Remote operation system for a robot
JPH0442305A (en) Time limit operating device for programmable controller
JP2006209381A (en) Control display device, its program, and recording medium
JP2000242315A (en) Setting display unit, programmable controller, programmable controller system and device with display part
JP3512658B2 (en) Industrial control device programming method and programming system
JP2009223471A (en) Simulation system
JPH06290877A (en) Illumination control system
JPH0962537A (en) Simulator for confirming operation of display device
JP5414621B2 (en) Supervisory control system
JP2004171282A (en) Client device, control system equipped with this client device and its program
JP3456786B2 (en) Monitor device for programmable controller
JP2663959B2 (en) Programmable terminal
JPH11327610A (en) Monitoring method and device for programmable controller system
JP3125900B2 (en) Operation display panel
KR0126253B1 (en) Home automation using video tex
JP2003005806A (en) Control system
JPH08286734A (en) Programmable display device
JP2003157475A (en) Pos terminal device
JP2965408B2 (en) Display control device
JPH11154012A (en) Decentralized control system
JP3067166B2 (en) Digital controller
JPH07319514A (en) Numerical value setting method for operation display panel
JPH07319440A (en) Display method in operation display panel
JP2008102647A (en) Display method for operation window of monitoring control system
JPH1078817A (en) Programmable display device