JP3095276B2 - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JP3095276B2
JP3095276B2 JP04019896A JP1989692A JP3095276B2 JP 3095276 B2 JP3095276 B2 JP 3095276B2 JP 04019896 A JP04019896 A JP 04019896A JP 1989692 A JP1989692 A JP 1989692A JP 3095276 B2 JP3095276 B2 JP 3095276B2
Authority
JP
Japan
Prior art keywords
data
sequence controller
transmission
processing
data transfer
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
JP04019896A
Other languages
Japanese (ja)
Other versions
JPH05216510A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP04019896A priority Critical patent/JP3095276B2/en
Publication of JPH05216510A publication Critical patent/JPH05216510A/en
Application granted granted Critical
Publication of JP3095276B2 publication Critical patent/JP3095276B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、従来のシーケンスコン
トローラ(プログラマブルコントローラ)を使った制御
の他に、シーケンスコントローラが、必要なデータを作
成してこのデータをインテリジェントな高機能モジュー
ルに転送し、高機能モジュールとシーケンスコントロー
ラとを組み合わせてより高度な制御を行うシステムに関
する。
BACKGROUND OF THE INVENTION In the present invention, in addition to control using a conventional sequence controller (programmable controller), a sequence controller creates necessary data and transfers the data to an intelligent high-performance module. The present invention relates to a system for performing more advanced control by combining a high-performance module and a sequence controller.

【0002】[0002]

【従来の技術】FA、CIM化の実現のためには、従来
のシーケンスコントローラを使った制御の他に、インテ
リジェントな高機能モジュールを使って、位置決め処
理、データ変換、ポート通信処理等を行う必要がある。
このため、高機能モジュールに対しては制御の内容を指
示するために、予めシーケンスコントローラから必要な
データを転送しなければならない。また、制御した結果
をプログラマブルコントローラに転送しなければならな
い。そこで従来の装置は、特開昭63−36304号公
報に記載のように、ハンドシェーク処理の手順を使った
専用の送信命令、受信命令をユーザの作ったシーケンス
プログラムで実行して、データ転送するようにしてい
る。また、別の従来例では、シーケンスプログラムのE
ND処理で、データ転送を行うようにしたものもある。
2. Description of the Related Art In order to realize FA and CIM, in addition to control using a conventional sequence controller, it is necessary to perform positioning processing, data conversion, port communication processing, and the like using an intelligent high-performance module. There is.
For this reason, necessary data must be transferred from the sequence controller in advance in order to instruct the high-performance module on the contents of control. In addition, the control result must be transferred to the programmable controller. Therefore, as described in JP-A-63-36304, a conventional apparatus executes a dedicated transmission command and a reception command using a procedure of a handshake process with a sequence program created by a user to transfer data. I have to. In another conventional example, the sequence program E
In some cases, data transfer is performed by ND processing.

【0003】[0003]

【発明が解決しようとする課題】シーケンスコントロー
ラとインテリジェント高機能モジュールとの間のデータ
転送に関する従来技術において、送信、受信のためのデ
ータ転送命令は、例えばユーザプログラム1スキャンで
の1回のデータ転送におけるデータ量に制限があり、ユ
ーザプログラムのスキャン時間を考慮すると、全てのデ
ータをリフレッシュする場合、非常に時間がかかるとい
う問題がある。
In the prior art relating to data transfer between a sequence controller and an intelligent high-performance module, a data transfer command for transmission and reception is, for example, one data transfer in one scan of a user program. However, there is a problem in that it takes a very long time to refresh all data when the scan time of the user program is taken into consideration.

【0004】また、データ転送のための命令として、送
信、受信のための命令があるため、必ず、送信の処理が
終わってから、受信処理が起動されるようにユーザプロ
グラムを構成しなければならず、ユーザプログラムが非
常に複雑化してしまうという問題がある。
[0004] In addition, since there are transmission and reception instructions as instructions for data transfer, a user program must be configured so that the reception processing is started after the transmission processing is completed. However, there is a problem that the user program becomes very complicated.

【0005】本発明の目的は、シーケンスコントローラ
とインテリジェントな高機能モジュールとの間のデータ
転送処理において、高速なデータ転送とユーザプログラ
ムの作成とを容易にする命令を有するシーケンスコント
ローラを提供することにある。
An object of the present invention is to provide a sequence controller having instructions for facilitating high-speed data transfer and creation of a user program in data transfer processing between the sequence controller and an intelligent high-performance module. is there.

【0006】[0006]

【課題を解決するための手段】上記目的は、シーケンス
コントローラと高機能モジュール間のデータ転送処理を
行う命令の中で、データ転送を指定した時間だけ繰り返
して行う処理と、処理を繰り返す間、その時間を測定す
るために一定周期でON/OFFを繰り返す、参照可能
なパルス発生部を持つシーケンスコントローラによって
達成される。
SUMMARY OF THE INVENTION The object of the present invention is to provide, among instructions for performing data transfer processing between a sequence controller and a high-performance module, a process of repeatedly performing data transfer for a specified time and a process for repeating the process. This is achieved by a sequence controller having a pulse generator that can be referred to and that repeats ON / OFF at regular intervals to measure time.

【0007】また、1つのデータ転送命令を、送信処理
部と受信処理部から構成して、送信処理終了時、自動的
に、受信処理に起動を掛ける構成とする。
Further, one data transfer command is constituted by a transmission processing unit and a reception processing unit, and when the transmission processing is completed, the reception processing is automatically started.

【0008】[0008]

【作用】シーケンスコントローラは、インテリジェント
高機能モジュールへのデータ転送を行うため、データメ
モリの送信データのエリアに必要なデータをセットす
る。データ転送命令が実行されると、ROM内のシステ
ム処理で送信データエリアからデータを取り出し、イン
ターフェースのゲートアレイに書き込む。ハードウェア
で自動的に発生する1msec周期のパルスをカウント
することにより、ユーザが指定する時間だけ連続して送
信処理を行うことが可能となる。また、送信終了後は自
動的に受信処理を実行し、上記同様の方法でユーザ指定
時間だけ実行することが可能である。
The sequence controller sets necessary data in the transmission data area of the data memory in order to transfer data to the intelligent high-performance module. When the data transfer instruction is executed, data is extracted from the transmission data area by system processing in the ROM and written into the gate array of the interface. By counting pulses of 1 msec period automatically generated by hardware, it becomes possible to perform transmission processing continuously for a time designated by the user. Further, after the transmission is completed, the reception processing is automatically executed, and the reception processing can be executed for the user-specified time in the same manner as described above.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0010】図1はこの発明が適用されるシーケンスコ
ントローラの通信命令実行に関連する部分およびその環
境のブロック図である。図において、1は、ユーザプロ
グラムメモリであり、通常ユーザが作成した制御プログ
ラムを格納するRAMである。本発明に於ける高速通信
命令(TRNS命令)も、このRAMに格納される。2
はデータメモリであり、通信命令において、高機能モジ
ュールへ転送する送信データを格納するエリア2aと、
送信処理に対する高機能モジュールからの受信データを
格納するエリア2bと、通信命令のパラメータを格納す
るエリア2cとを有する。4は、通信命令の実際の処理
手順が格納されたシステムROMメモリである。ユーザ
プログラムを実行して、その中の通信命令が実行される
と、制御はシステムROMメモリ4に移り、高機能モジ
ュール6との送信、受信処理を行う。処理終了後、再び
制御はユーザプログラムメモリ1に移り通信命令以後の
処理を行う。5は、シーケンスコントローラの中央処理
装置(CPU)である。7、8はシーケンスコントロー
ラの入力モジュール、出力モジュールである。高機能モ
ジュール6は、本実施例では通信制御モジュールであ
り、シーケンスコントローラ9との間のインタフェース
をとるインタフェース(I/F)部10、シーケンスコ
ントローラ9から入力したデータを一時格納する入力バ
ッファ11、シーケンスコントローラ9へ出力するデー
タを一時格納する出力バッファ12、高機能モジュール
6の制御プログラムを格納したROM13、外部通信先
とのインタフェースをとるインタフェース部14、およ
び高機能モジュール6全体を制御するMPU15からな
る。
FIG. 1 is a block diagram of a part related to execution of a communication instruction of a sequence controller to which the present invention is applied and an environment of the part. In the figure, reference numeral 1 denotes a user program memory, which is a RAM for storing a control program usually created by a user. The high-speed communication command (TRNS command) according to the present invention is also stored in the RAM. 2
Is a data memory, in a communication command, an area 2a for storing transmission data to be transferred to the high-performance module;
It has an area 2b for storing data received from the high-performance module for transmission processing, and an area 2c for storing communication command parameters. Reference numeral 4 denotes a system ROM memory in which an actual processing procedure of a communication command is stored. When the user program is executed and the communication command in the user program is executed, the control is transferred to the system ROM memory 4 and the transmission and reception with the high-performance module 6 are performed. After the processing is completed, the control returns to the user program memory 1 to perform the processing after the communication instruction. Reference numeral 5 denotes a central processing unit (CPU) of the sequence controller. Reference numerals 7 and 8 denote input modules and output modules of the sequence controller. The high function module 6 is a communication control module in the present embodiment, and includes an interface (I / F) unit 10 for interfacing with the sequence controller 9, an input buffer 11 for temporarily storing data input from the sequence controller 9, From an output buffer 12 for temporarily storing data to be output to the sequence controller 9, a ROM 13 for storing a control program for the high function module 6, an interface unit 14 for interfacing with an external communication destination, and an MPU 15 for controlling the entire high function module 6. Become.

【0011】図2に、図1のシステムROMメモリ4の
中の通信命令の制御フローを示す。図2のステップ20
で、まず高機能モジュールに対するデータの送信処理を
行う。次に、ステップ21において、ステップ20の送
信処理で全てのデータを送信したかどうかを判定する。
全てのデータを送信したのであれば、ステップ23に移
り、高機能モジュールからの応答を受ける受信処理を行
う。また、まだ送信していないデータが残っているので
あれば、ステップ22に移る。ステップ22では、送信
処理にどれだけの時間がかかったかを監視し、ユーザが
あらかじめ指定した時間を経過していないのであれば、
ステップ20の送信処理に戻る。また指定時間経過した
場合は、ステップ26に移り、このフローを終了して、
次のユーザプログラムのスキャンで再び送信処理を行
う。ステップ23〜25における受信処理についても、
送信処理と同様である。
FIG. 2 shows a control flow of a communication command in the system ROM memory 4 of FIG. Step 20 in FIG.
First, data transmission processing to the high-performance module is performed. Next, in step 21, it is determined whether or not all data has been transmitted in the transmission processing in step 20.
If all data has been transmitted, the process proceeds to step 23, where a reception process for receiving a response from the high-performance module is performed. If data that has not been transmitted still remains, the process proceeds to step 22. In step 22, it is monitored how long the transmission process takes, and if the time specified by the user has not elapsed,
It returns to the transmission process of step 20. If the specified time has elapsed, the process proceeds to step 26, and this flow is terminated.
Transmission processing is performed again in the next scan of the user program. Regarding the reception processing in steps 23 to 25,
This is the same as the transmission process.

【0012】図3には、図2の制御フローで示した送信
処理および受信処理におけるシーケンスコントローラ9
と高機能モジュール6との通信手順を示す。シーケンス
コントローラ9と高機能モジュール6との通信手順はシ
ーケンスコントローラ側の制御信号H・S1と高機能モ
ジュール側の制御信号H・S2を使ったハンドシェーク
による手順で行う。
FIG. 3 shows a sequence controller 9 in the transmission processing and the reception processing shown in the control flow of FIG.
2 shows a communication procedure between the MFP and the high-performance module 6. The communication procedure between the sequence controller 9 and the high function module 6 is performed by a handshake procedure using the control signal H.S1 on the sequence controller side and the control signal H.S2 on the high function module side.

【0013】まず、送信処理でシーケンスコントローラ
9から高機能モジュール6にデータを渡す場合、送りた
いデータをインタフェース部10にセットしてシーケン
スコントローラ9のH・S1をONにする()。高機
能モジュール6はH・S1のONを確認したらインタフ
ェース部10からデータを読み込み、読んだことをシー
ケンスコントローラ9に知らせるためH・S2をONす
る()。シーケンスコントローラ9はH・S2のON
を確認したらH・S1をOFFにして、高機能モジュー
ル6もH・S2をOFFにする()。以上が、シーケ
ンスコントローラ9から高機能モジュール6への送信の
一連の処理である。受信の場合は、上記とは逆の手順で
あるが、同様の処理()となる。
First, when data is transferred from the sequence controller 9 to the high function module 6 in the transmission processing, the data to be sent is set in the interface unit 10 and the H.S1 of the sequence controller 9 is turned on (). After confirming that H.S1 is ON, the high-performance module 6 reads data from the interface unit 10 and turns on H.S2 to notify the sequence controller 9 of the reading (). Sequence controller 9 turns on H.S2
Is confirmed, H.S1 is turned off, and the high function module 6 also turns off H.S2 (). The above is a series of processes of transmission from the sequence controller 9 to the high-performance module 6. In the case of reception, the procedure is the reverse of the above, but the same processing () is performed.

【0014】図2におけるステップ20および23の送
信処理および受信処理をそれぞれ図3のハンドシェーク
手順を使って制御フローに示したのが、図4および図5
である。
FIGS. 4 and 5 show the transmission processing and the reception processing of steps 20 and 23 in FIG. 2 in the control flow using the handshake procedure of FIG. 3, respectively.
It is.

【0015】図4の送信処理において、ステップ40で
H・S1の状態を調べ、OFFであればステップ45に
進み、ONであればステップ41に進む。ステップ41
では、H・S2の状態を調べ、ONであればステップ4
7で処理を終了し、OFFであればステップ42へ進
む。ステップ42では、データの書き込み処理により高
機能モジュール6とシーケンスコントローラ9との間の
インタフェース部10に、図1の送信データエリア2a
のデータがセットされ、高機能モジュール6がそれを送
信データとして受け取る。続くステップ43におけるカ
ウンタ更新処理で送信データ数をカウントする。更に、
このカウント結果は、図2ステップ21の送信終了判定
に使用される。ステップ43に続きステップ44でH・
S2をONにし、ステップ47で処理を終了する。一
方、ステップ45では、H・S2の状態を調べ、OFF
であればステップ47へ進み処理を終了する。ONであ
ればステップ46へ進み、H・S2をOFFにして処理
を終了する。
In the transmission process shown in FIG. 4, the state of H.S1 is checked in step 40. If it is OFF, the process proceeds to step 45, and if it is ON, the process proceeds to step 41. Step 41
Then, the state of HS2 is checked.
The process ends in step 7, and if it is OFF, the process proceeds to step 42. In step 42, the data writing process causes the interface unit 10 between the high-performance module 6 and the sequence controller 9 to send the transmission data area 2a of FIG.
Is set, and the high function module 6 receives it as transmission data. In the subsequent counter updating process in step 43, the number of transmission data is counted. Furthermore,
This count result is used for the transmission end determination in step 21 of FIG. In step 44 following step 43,
S2 is turned on, and the process ends in step 47. On the other hand, in step 45, the state of HS
If so, the process proceeds to step 47 and ends. If it is ON, the process proceeds to step 46, H.S2 is turned OFF, and the process ends.

【0016】図5の受信処理において、ステップ50で
H・S2の状態を調べ、OFFであればステップ55に
進み、ONであればステップ51に進む。ステップ51
では、H・S1の状態を調べ、ONであればステップ5
7で処理を終了し、OFFであればステップ52へ進
む。ステップ52では、データの読みだし処理により高
機能モジュール6とシーケンスコントローラ9との間の
インタフェース部10に、高機能モジュール6側からセ
ットされたデータをシーケンスコントローラ9側で読み
取り、受信データとして図1の受信データエリア2bに
セットする。続くステップ53におけるカウンタ更新処
理で受信データ数をカウントする。更に、このカウント
結果は、図2ステップ24の受信終了判定に使用され
る。ステップ53に続きステップ54でH・S1をON
にし、ステップ57で処理を終了する。一方、ステップ
55では、H・S1の状態を調べ、OFFであればステ
ップ57へ進み処理を終了する。ONであればステップ
56へ進み、H・S1をOFFにして処理を終了する。
In the receiving process of FIG. 5, the state of H.S2 is checked in step 50. If it is OFF, the process proceeds to step 55, and if it is ON, the process proceeds to step 51. Step 51
Then, the state of HS1 is checked.
The process ends in step 7, and if it is OFF, the process proceeds to step 52. In step 52, the data set from the high-performance module 6 is read by the sequence controller 9 to the interface unit 10 between the high-performance module 6 and the sequence controller 9 by the data reading process, and the received data is read as shown in FIG. Is set in the reception data area 2b. In the subsequent counter updating process in step 53, the number of received data is counted. Further, the count result is used for the reception termination determination in step 24 of FIG. H · S1 is turned on in step 54 following step 53
Then, the process ends in step 57. On the other hand, in step 55, the state of H · S1 is checked, and if it is OFF, the process proceeds to step 57 and ends. If it is ON, the process proceeds to step 56, H.S1 is turned OFF, and the process ends.

【0017】図6および図7に、送信処理にかかった時
間をカウントするための制御フローと、経過時間のカウ
ント例を示す。経過時間のカウント基準として図7に示
す1ms周期でON/OFFを繰り返すハードウェアパ
ルスを用意する。
FIGS. 6 and 7 show a control flow for counting the time required for the transmission processing and an example of counting the elapsed time. A hardware pulse that repeats ON / OFF at a 1 ms period shown in FIG. 7 is prepared as a reference for counting the elapsed time.

【0018】図6において、ステップ60で、パルスの
状態(ON/OFF)を読み取り、それを記憶する。図
7におけるに相当する。ステップ61では、図4に示
す送信処理を行い、ステップ62で全データの送信が終
了したかどうかを判別する。そして、ステップ63で、
送信処理後のパルスの状態を読み取る。図7における
に相当する。ステップ64の判別でパルスの状態がON
であれば、ステップ65に移り、前回のパルスの状態を
判別する。前回の状態は、ステップ60で読み取った通
信命令実行開始時の状態であるが、ONであるのでステ
ップ67に移り、ステップ63に読み取ったパルスの状
態を今回のパルスの状態として、前回のパルス状態のエ
リアに記憶する。前回の状態がOFFならばステップ6
6で実行時間をカウントアップして、ステップ67へ移
行する。
In FIG. 6, in step 60, the state of the pulse (ON / OFF) is read and stored. This corresponds to FIG. In step 61, the transmission processing shown in FIG. 4 is performed, and in step 62, it is determined whether transmission of all data has been completed. Then, in step 63,
Read the state of the pulse after transmission processing. This corresponds to FIG. The pulse state is ON as determined in step 64
If so, the process proceeds to step 65, where the state of the previous pulse is determined. The previous state is the state at the start of the execution of the communication command read in step 60, but since it is ON, the flow proceeds to step 67, and the state of the pulse read in step 63 is set as the state of the current pulse, and the state of the previous pulse In the area. Step 6 if the previous state was OFF
At 6, the execution time is counted up, and the routine goes to step 67.

【0019】ステップ68では、ステップ66を通過し
てカウントアップされた命令の実行時間をユーザ指定の
時間と比較して、指定時間を経過した場合には処理を終
了して、続きを次のスキャンで行う。指定時間を経過し
ていない場合には、再びステップ61の送信処理を行
う。ステップ62で全データ送信が確認された後の受信
処理については、図6と同様の処理であるのでその詳細
なフローを省略する。
In step 68, the execution time of the instruction counted up by passing through step 66 is compared with the time designated by the user. If the designated time has elapsed, the processing is terminated, and the next scan is performed. Do with. If the specified time has not elapsed, the transmission process of step 61 is performed again. The reception process after all the data transmissions are confirmed in step 62 is the same as the process in FIG. 6, and therefore the detailed flow is omitted.

【0020】図8は送信データのエリア2aの内容がス
キャンごとにどのように送信されるかを示したものであ
る。データメモリ上に配置された送信データのエリア2
aは、通信命令のパラメータでその先頭を指定する。送
信データエリア2aの先頭には送信するデータのサイズ
を設定し、それ以降に送信データを設定して通信命令を
実行する。通信命令はこのサイズ分のデータを高機能モ
ジュール6に送信する。通信が開始された第1スキャン
で、まず第1回目の高機能モジュールとの通信をユーザ
が指定した時間だけ行う。このユーザ指定時間の通信
で、送信データののブロックが送信される。、の
ブロックも第2、第3スキャンで送信され、全ての送信
データが送られるまで繰り返される。
FIG. 8 shows how the contents of the transmission data area 2a are transmitted for each scan. Transmission data area 2 allocated on data memory
“a” designates the head of the communication command as a parameter. The size of the data to be transmitted is set at the head of the transmission data area 2a, and thereafter the transmission data is set and the communication command is executed. The communication command transmits data of this size to the high-performance module 6. In the first scan in which the communication is started, the first communication with the high-performance module is performed for a time designated by the user. The block of transmission data is transmitted by the communication for the user-specified time. , Are transmitted in the second and third scans, and are repeated until all transmission data is transmitted.

【0021】図9は、本発明との比較のために、従来の
手順にしたがって送信処理を行った場合を示したもので
ある。送信エリアの構成は同じであるが、1回のスキャ
ンで送信するデータのサイズは、1ワード以下となり、
高機能モジュール用通信命令を使った場合に比べて非常
に効率が悪い。同じ200ワードのデータを高機能モジ
ュールの一つに送信する場合、通信開始の第1スキャン
から終了までのスキャン数は、従来の場合は300かか
るのが、本命令を使った場合50となり、非常に高速に
データを送ることができる。
FIG. 9 shows a case where transmission processing is performed according to a conventional procedure for comparison with the present invention. The configuration of the transmission area is the same, but the size of the data transmitted in one scan is one word or less,
It is very inefficient compared to the case of using communication instructions for high-performance modules. When transmitting the same 200-word data to one of the high-performance modules, the number of scans from the first scan to the end of the communication start is 300 in the conventional case, but 50 in the case of using this command, Data can be sent at high speed.

【0022】[0022]

【発明の効果】本発明によれば、シーケンスコントロー
ラとインテリジェント高機能モジュールとの間におけ
る、送受信のためのデータ転送処理についてユーザが指
定する時間だけ、1スキャン中にデータ転送処理が可能
となる。このため、全データの転送が終了するまでのス
キャン回数を小さくすることができ、最終的には高速な
データ転送が可能となる。
According to the present invention, the data transfer processing for transmission and reception between the sequence controller and the intelligent intelligent module can be performed during one scan for the time designated by the user. For this reason, the number of scans until the transfer of all data is completed can be reduced, and finally high-speed data transfer becomes possible.

【0023】また、送信、受信を1命令で行うことがで
きるため、プログラムの構成も単純になり、保守が容易
である。
Further, since transmission and reception can be performed by one command, the configuration of the program is simplified, and maintenance is easy.

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

【図1】本発明によるシーケンスコントローラの実施例
およびその環境の構成を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a sequence controller according to the present invention and the configuration of its environment.

【図2】実施例における通信命令の内部処理のフローチ
ャート。
FIG. 2 is a flowchart of internal processing of a communication command in the embodiment.

【図3】シーケンスコントローラと高機能モジュールの
間のハンドシェーク信号を使った送信、受信時における
手順のタイミング図。
FIG. 3 is a timing chart of a procedure at the time of transmission and reception using a handshake signal between a sequence controller and a sophisticated module.

【図4】図2における送信処理の詳細フローを示すフロ
ーチャート。
FIG. 4 is a flowchart showing a detailed flow of a transmission process in FIG. 2;

【図5】図2における受信処理の詳細フローを示すフロ
ーチャート。
FIG. 5 is a flowchart showing a detailed flow of a reception process in FIG. 2;

【図6】図2における経過時間をカウントする処理の詳
細フローを示すフローチャート。
FIG. 6 is a flowchart showing a detailed flow of a process of counting elapsed time in FIG. 2;

【図7】1msec周期のハードウェアパルスを使って
図6の詳細フローに従って命令実行時間をカウントアッ
プするタイミングを示すタイミング図。
FIG. 7 is a timing chart showing the timing at which the instruction execution time is counted up according to the detailed flow of FIG. 6 using a hardware pulse having a cycle of 1 msec.

【図8】高機能モジュール用通信命令を使用したときの
送信データエリアの構成、及びスキャンと送信ブロック
の関係を示した説明図。
FIG. 8 is an explanatory diagram showing a configuration of a transmission data area when a communication command for a high-performance module is used, and a relationship between a scan and a transmission block.

【図9】図8との比較に供する従来例の説明図。FIG. 9 is an explanatory diagram of a conventional example for comparison with FIG.

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

1…ユーザメモリ、2…データメモリ、4…システムR
OMメモリ、5…CPU、6…高機能モジュール、7…
入力モジュール、8…出力モジュール。
1. User memory, 2. Data memory, 4. System R
OM memory, 5 ... CPU, 6 ... high-performance module, 7 ...
Input module, 8 ... output module.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−36304(JP,A) 特開 平3−282905(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 19/04 - 19/05 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-36304 (JP, A) JP-A-3-282905 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G05B 19/04-19/05

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】シーケンスコントローラと該シーケンスコ
ントローラに実装されたインテリジェントな高機能モジ
ュールとの間におけるデータの転送処理のための専用命
令を有するシーケンスコントローラであって、 一定周期でON/OFFを繰り返すパルスを発生するパ
ルス発生部を有し、 前記専用命令は、このパルスを参照することにより、ユ
ーザ指定の時間だけデータ転送処理を行う ことを特徴と
するシーケンスコントローラ。
1. A sequence controller having a dedicated command for data transfer processing between a sequence controller and an intelligent high-performance module mounted on the sequence controller, wherein the pulse repeats ON / OFF at a constant cycle. Generate a par
A pulse generating unit, and the dedicated instruction refers to the pulse to
A sequence controller that performs data transfer processing for a user- specified time .
【請求項2】請求項1において、シーケンスコントロー
ラからインテリジェントな高機能モジュールにデータを
転送し、それに対する応答が高機能モジュールからシー
ケンスコントローラにデータが転送されるまでを一つの
データ転送命令で行うことを特徴とするシーケンスコン
トローラ。
2. A data transfer command according to claim 1, wherein data is transferred from the sequence controller to the intelligent high-performance module, and a response to the data is performed by a single data transfer command until the data is transferred from the high-performance module to the sequence controller. A sequence controller characterized by the following.
【請求項3】請求項1において、1つのデータ転送命令
を送信処理部と受信処理部とから構成して、送信処理終
了時、自動的に、受信処理に起動を掛けることを特徴と
するシーケンスコントローラ。
3. A sequence according to claim 1, wherein one data transfer command comprises a transmission processing unit and a reception processing unit, and when the transmission processing is completed, the reception processing is automatically started. controller.
JP04019896A 1992-02-05 1992-02-05 Sequence controller Expired - Lifetime JP3095276B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04019896A JP3095276B2 (en) 1992-02-05 1992-02-05 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04019896A JP3095276B2 (en) 1992-02-05 1992-02-05 Sequence controller

Publications (2)

Publication Number Publication Date
JPH05216510A JPH05216510A (en) 1993-08-27
JP3095276B2 true JP3095276B2 (en) 2000-10-03

Family

ID=12011964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04019896A Expired - Lifetime JP3095276B2 (en) 1992-02-05 1992-02-05 Sequence controller

Country Status (1)

Country Link
JP (1) JP3095276B2 (en)

Also Published As

Publication number Publication date
JPH05216510A (en) 1993-08-27

Similar Documents

Publication Publication Date Title
JP3095276B2 (en) Sequence controller
JPS622747A (en) Reception control system
JPH04323755A (en) Dma device
JP2821053B2 (en) Network system
JPS634216B2 (en)
JP2724572B2 (en) Token passing LAN device
JP3350699B2 (en) Programmable controller
JP2769640B2 (en) ID system
JPH05346810A (en) Output abnormality processing system for programmable controller
JP2516917B2 (en) Facsimile device modem control method
JP2527335B2 (en) High-speed transfer method
JP3260515B2 (en) Interface circuit for multiple port storage device
JP2985276B2 (en) Communications system
JPH02170644A (en) Priority transmitting method for multimedia communication system
JPS63271521A (en) Processing controller for data
JPS61294506A (en) High-speed pio transmission method for programmable controller
JPS582496B2 (en) Data transfer method
JPS59161728A (en) Printing control system
JP3350904B2 (en) Data transfer method between programmable controller and motion controller
JPH08329034A (en) Analog data read circuit by microcomputer
JP2561366B2 (en) Data transfer device having function confirmation function
JPH0895799A (en) Interrupt controller
JPH01149637A (en) System for monitoring polling control response
JPH0575304B2 (en)
JPH05224793A (en) Driving device for output device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080804

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080804

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12