[go: up one dir, main page]

JPS60105007A - Executing system for input and output control - Google Patents

Executing system for input and output control

Info

Publication number
JPS60105007A
JPS60105007A JP21097883A JP21097883A JPS60105007A JP S60105007 A JPS60105007 A JP S60105007A JP 21097883 A JP21097883 A JP 21097883A JP 21097883 A JP21097883 A JP 21097883A JP S60105007 A JPS60105007 A JP S60105007A
Authority
JP
Japan
Prior art keywords
input
output
program
processor
output control
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
JP21097883A
Other languages
Japanese (ja)
Inventor
Yoshie Matsuzaki
松崎 吉衛
Seiji Hata
清治 秦
Kazuyoshi Osako
一義 尾嶝
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 JP21097883A priority Critical patent/JPS60105007A/en
Publication of JPS60105007A publication Critical patent/JPS60105007A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、製造設備などの制御を行うプログラマブルコ
ントローラにおいて、端末機器に対するデータ入出力機
能を高度化するだめの大入出制御実行方式に関するもの
である。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a large input/output control execution method for enhancing data input/output functions for terminal equipment in a programmable controller that controls manufacturing equipment, etc. .

〔発明の背景〕[Background of the invention]

プログラマブルコントローラは、元来生産設備のシーケ
ンス制御が主な役割であるが、生産システムの高度化に
伴ない、端末機器や通信機器の制御機能もめられるよう
になってきた。このような機能を実現するだめ、従来か
ら行われていた方式には次のようなものがある。
Originally, the main role of programmable controllers was sequence control of production equipment, but as production systems become more sophisticated, they are also being used to control terminal equipment and communication equipment. The following methods have been used in the past to achieve this functionality.

まず、−例として、単一のプロセッサによって設備制御
プログラムの実行の合い間に端末機器等の制御プログラ
ムを実行する方式があるが、この方式では端末機器等の
制御プログラムの実行中は、設備制御プログラムの実行
ができず、それだけ設備からの入力信号に対する応答速
度が遅くなるという問題があった。
First, as an example, there is a method in which a single processor executes a control program for terminal equipment, etc. between executions of equipment control programs, but in this method, while the control program for terminal equipment, etc. There was a problem in that the program could not be executed and the response speed to input signals from the equipment was correspondingly slow.

そこで、他の例として、設備制御プログラムの実行をす
るメインプロセッサの負荷を軽減するため、メインプロ
セッサの他に端末機器や通信機器等の制御を行う入出力
制御プロセッサを設け、メインプロセッサが入出力制御
プロセッサに入出力すべきデータを転送すれば、実際の
機器に対する入出力は入出力制御プロセッサが行う方式
がある。
Therefore, as another example, in order to reduce the load on the main processor that executes equipment control programs, an input/output control processor that controls terminal equipment and communication equipment is provided in addition to the main processor, and the main processor inputs and outputs There is a method in which data to be input/output is transferred to a control processor, and the input/output to/from the actual device is performed by the input/output control processor.

しかし、この方式でも生産日報や帳標の作成に必要な複
雑な書式指定データを転送する際にはメインプロセッサ
の処理量は膨大なものとなり、その間は設備制御プログ
ラムの実行ができず、設備からの入力信号に対する応答
速度が遅くなるという問題は依然として解決されなかっ
た。
However, even with this method, when transferring the complex format specification data necessary for creating daily production reports and ledgers, the processing amount of the main processor becomes enormous, and during this time the equipment control program cannot be executed, and the The problem of slow response speed to input signals remains unsolved.

〔発明の目的〕 本発明の目的は、上記した従来技術の欠点をなくシ、設
備制御プログラムの実行を妨たけることなく、端末機器
や通信機器等の制御を効率的に実行しうるプログラマブ
ルコントローラの入出力制御実行方式を提供することに
ある。
[Object of the Invention] The object of the present invention is to eliminate the drawbacks of the prior art described above, and to provide a programmable controller that can efficiently control terminal equipment, communication equipment, etc. without interfering with the execution of equipment control programs. The objective is to provide an input/output control execution method.

〔発明の概要〕[Summary of the invention]

本発明に係る入出力制御実行方式は、ソースプログラム
をオブジェクトプログラムに変換してメモリに格納して
おき、その格納されているプログラムを実行して入出力
ポートに関する制御を実行するプログラマブルコントロ
ーラの入出力制御実行方式において、ソースプログラム
中の書式指定付きの入出力文を解釈したのち、入出力の
実行開始を示すオブジェクトプログラムはメインプロセ
ンサ用のプログラムメモリに格納し、また書式を示すオ
ブジェクトデータは入出力制御プロセンサ用のプログラ
ムメモリに格納しておき、メインプロセッサおよび入出
力制御プロセッサから参照・書巻込みが可能な制御レジ
スタを介してメインプロセンサから入出力制御プロセッ
サに入出力実行指令を与えることによシ、その入出力制
御’fl+プロセッサが、自己のプログラムメモリに格
納されている、書式を示すオブジェクトデータに基づい
て入出力制御を実行、するようにしだものである。
The input/output control execution method according to the present invention converts a source program into an object program and stores it in a memory, and executes the stored program to control the input/output ports of a programmable controller. In the control execution method, after interpreting input/output statements with format specifications in the source program, the object program indicating the start of input/output execution is stored in the program memory for the main processor, and the object data indicating the format is stored in the input/output program memory. Giving input/output execution commands from the main processor to the input/output control processor via a control register that is stored in the program memory for the output control processor and can be referenced and written to by the main processor and the input/output control processor. In other words, the input/output control 'fl+ processor executes input/output control based on object data indicating a format, which is stored in its own program memory.

なお、これを補足して説明する。ノースプログラムをオ
ブジェクトプログラムに変換してメモリに格納する際、
この変換を行うトランスレータが入出力ポートの端末機
器や通信機器等に対する入出力文を解釈し、入出力の書
式を示すオブジェクトデータは入出力制御プロセッサ用
のプログラムメモリに格納し、入出力の開始を指示する
オブジェクトプログラムはメインプロセッサ用のプログ
ラムメモリに格納しておく。これにより、メインプロセ
ッサは、入出力制御プロセッサに対して入出力実行指令
を出すだけで、入出力制御プロセンサがプログラムで指
定された書式の通りに入出力を行うことができるので、
メインプロセッサの負荷を大幅に低減させることができ
る。
Note that this will be supplemented and explained. When converting a north program into an object program and storing it in memory,
The translator that performs this conversion interprets the input/output statements for the terminal equipment, communication equipment, etc. of the input/output port, stores the object data indicating the input/output format in the program memory for the input/output control processor, and starts the input/output. The object program to be instructed is stored in the program memory for the main processor. This allows the main processor to simply issue input/output execution commands to the input/output control processor, and the input/output control processor can perform input/output in the format specified by the program.
The load on the main processor can be significantly reduced.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明に係る入出力制御実行方式が適用され
るプログラマブルコントローラの一実施例のプロンク図
である。
FIG. 1 is a block diagram of an embodiment of a programmable controller to which the input/output control execution method according to the present invention is applied.

ζ、こて、1はプログラムコンソール、2はコンソール
インタフェース、3はメインプロセッサ、4はメインプ
ロセッサ3用のプログラムメモリ、5は制御レジスタ、
51は、そのコマンドレジスタ、52は同出力レジスタ
、53は同人力レジスタ、6はデータメモリ、7は入出
力制御プロセッサ、8は入出力制御プロセッサ7用のプ
ログラムメモリ、9は端末インタフェースである。
ζ, iron, 1 is a program console, 2 is a console interface, 3 is a main processor, 4 is a program memory for the main processor 3, 5 is a control register,
51 is its command register, 52 is its output register, 53 is its human power register, 6 is a data memory, 7 is an input/output control processor, 8 is a program memory for the input/output control processor 7, and 9 is a terminal interface.

まず、ソースプログラムはプログラミングコンソール1
のトランスレータでオブジェクトプログラムニ変換すレ
、コンソールインタフェース2’fr:介してメインプ
ロセッサ3が実行する設備制御用のオブジェクトプログ
ラムおよび端末機器や通信機器の入出力の実行開始を示
すオブジェクトプログラムはメインプロセッサ用のプロ
グラムメモリ4に格納され、まだ端末・機器や通信機器
の入出力の書式を示すオブジェクトデータは入出力制御
プロセッサ7のデータメモリ6に格納される。
First, the source program is programming console 1
The console interface 2'fr: The object program for equipment control executed by the main processor 3 via the translator and the object program indicating the start of execution of input/output of terminal equipment and communication equipment are for the main processor. The object data indicating input/output formats of terminals, devices, and communication devices is stored in the data memory 6 of the input/output control processor 7.

端末機器や通信機器の入出力制御は次のようにして行わ
れる。すなわち、メインプロセッサ3が制御レジスタ5
に入出力指令を出すことによシ、入出力制御プロセッサ
7が制御レジスタ5から同指令を受け取シ、データメモ
リ6に格納されている入出力書式データに基づき、端末
インタフェース9を介して各種端末機器を動作させる。
Input/output control of terminal equipment and communication equipment is performed as follows. That is, the main processor 3 controls the control register 5.
By issuing an input/output command to the input/output control processor 7, the input/output control processor 7 receives the command from the control register 5, and based on the input/output format data stored in the data memory 6, outputs the input/output command to various terminals via the terminal interface 9. Operate the equipment.

入出力制御プロセンサ7のプログラムはシステムプログ
ラムとして入出力制御プロセッサ用のプログラムメモリ
8に格納されている。また制御レジスタ5はメインプロ
セッサ3と入出力制御プロセッサ7の両方から省き込み
参照できる構造となっており、この中にはコマンドレジ
スタ51、出力レジスタ52、入力レジスタ53が含ま
れる。
The program for the input/output control processor 7 is stored as a system program in the program memory 8 for the input/output control processor. Further, the control register 5 has a structure that can be referred to by both the main processor 3 and the input/output control processor 7, and includes a command register 51, an output register 52, and an input register 53.

次に、本プログラマブルコントローラで端末機器の制御
を行うソースプログラム、メインプロセッサ用のオブジ
ェクトプログラムおよび入出力制御プロセンザ用のオブ
ジェクトデータの一例を示す。
Next, an example of a source program for controlling a terminal device with this programmable controller, an object program for the main processor, and object data for the input/output control processor will be shown.

第2図は、端末機器にデータ出力を行うPRINT文の
一例の説明図でちる。ここで、”N O= ”と’TY
PE=’″とは、それぞれr””j内の文字定数を出力
することを意味し、AIRは変数へを実数型で、まだB
:工は変数Bを整数型で出力することを意味する。5I
)(4)は、4力ラム分空白をあけることを意味する。
FIG. 2 is an explanatory diagram of an example of a PRINT statement that outputs data to a terminal device. Here, "NO=" and 'TY
PE=''' means to output each character constant in r""j, and AIR is a real number type to the variable, and it is still B.
:: means to output variable B as an integer type. 5I
)(4) means to leave a blank space equal to four force rams.

そのソースプログラムに関するメインプロセッサ用のオ
ブジェクトプログラムの形式図を第3図に示す。先頭は
PRINT処理を示すオペレータであシ、オペランドは
、この文の首号、出力する変数の個数および各変数のア
ドレスである。
FIG. 3 shows a format diagram of an object program for the main processor regarding the source program. The beginning is an operator indicating PRINT processing, and the operands are the head number of this statement, the number of variables to be output, and the address of each variable.

また、入出力制御プロセッサ用の書式データの形式図を
第4図に示す。書式データは書式リストと定数/変数エ
リアとからなる。書式リストは、入出力文の各入出力項
ごとに、データ型、出力力ラム長および定数/変数のア
ドレスが示されている。
FIG. 4 shows a format diagram of format data for the input/output control processor. The format data consists of a format list and a constant/variable area. The format list shows the data type, output output RAM length, and constant/variable address for each input/output item of the input/output statement.

第3図、@4図は、それぞれ一つの文のメインプロセッ
サ用オブジェクトプログラムおよび書式データであり、
全体では第3図、第4図に示したようなものが入出力文
の数だけ生成される。
Figures 3 and 4 are the main processor object program and format data for one statement, respectively.
In total, the same number of input/output statements as shown in FIGS. 3 and 4 are generated.

続いて、入出力制御の実行手順を説明する。Next, the procedure for executing input/output control will be explained.

初めに、端末機器に対する出力処理のフロー図を第5図
に示す。
First, FIG. 5 shows a flowchart of output processing to a terminal device.

メインプロセッサ3は、PRINTオペレータの処理と
して、まずコマンドレジスタ51にPR,INTを示す
コマンドを書き込む。このコマンドが書き込まれると、
コマンドレジスタ51から入出力制御プロセッサ7に割
込み信号が送られる。入出力制御プロセッサ7は、出力
レジスタ52を経由して、メインプロセッサ3から送ら
れてくるデータの受取シ準備をする。
The main processor 3 first writes a command indicating PR and INT to the command register 51 as a process for the PRINT operator. When this command is written,
An interrupt signal is sent from the command register 51 to the input/output control processor 7. The input/output control processor 7 prepares to receive data sent from the main processor 3 via the output register 52.

メインプロセッサ3は、PRINTコマンドの書込みに
続き、オペランドとして指示されている文番号および出
力すべき変数の値を出力レジスタ52に書き込む。ここ
で、出力すべき変数の値は、この変数のアドレスがオペ
ランドにあるので、そのアドレスの内容を取シ出すこと
によって容易にめることができる。入出力制rrA+プ
ロセッサ7は、出力レジスタ52に書き込まれだ1直を
続み出して所定のエリアに格納する。
Following writing of the PRINT command, the main processor 3 writes the statement number specified as an operand and the value of the variable to be output into the output register 52. Here, since the address of this variable is in the operand, the value of the variable to be output can be easily determined by extracting the contents of that address. The input/output system rrA+ processor 7 continues to output the first shift written in the output register 52 and stores it in a predetermined area.

メインプロセッサ3は、すべての変数の値を転送したら
、コマンドレジスタ51に転送終了コマンドを書き込む
。入出力制御プロセッサ7は、このコマンドを受け取っ
たら、この文の書式データに従って端末機器への出力処
理を始める。
After transferring the values of all variables, the main processor 3 writes a transfer end command to the command register 51. Upon receiving this command, the input/output control processor 7 starts output processing to the terminal device according to the format data of this sentence.

メインプロセッサ3は以上の処理だけで端末機器への出
力を行うことができるが、入出力制御プロセツサによる
端末機器に対する出力処理の終了を調べるだめの処理を
行う場合は、第6図に示す次の処理フローを加えればよ
い。
The main processor 3 can perform output to the terminal device with only the above processing, but when performing processing to check whether the input/output control processor has completed the output processing to the terminal device, the following process shown in FIG. Just add a processing flow.

すなわち、メインプロセッサは、まずコマンドレジスタ
に入出力文の処理状態応答要求コマンドを書き込み、次
に処理状態を知りたい文の番号を出力レジスタ52に書
きこむ。
That is, the main processor first writes a processing status response request command for an input/output statement to the command register, and then writes the number of the statement whose processing status is desired to the output register 52.

入出力制御プロセッサ7は応答要求コマンドを受けとっ
たら、出力レジスタ52に書き込まれている番号の入出
力文の処理状態を調べ、処理中または処理終了を示すコ
ードを入力レジスタ53に書き込む。メインプロセッサ
は入力レジスタ53の内容を読み取ることによって所望
の状態を知ることができる。
When the input/output control processor 7 receives the response request command, it checks the processing status of the input/output statement with the number written in the output register 52, and writes a code indicating that the processing is in progress or processing has been completed to the input register 53. The main processor can learn the desired state by reading the contents of input register 53.

次に、端末機器に関する入力処理のフロー図を第7図に
示す。
Next, FIG. 7 shows a flowchart of input processing regarding the terminal equipment.

入力処理を行うINPUT文のソースプログラム、メイ
ンプロセ・ンザ用のオブジェクトプログラム、および入
出力制御プロセッサ用の書式データの形式は、はぼ第2
図、第3図、第4図と同様であるが、オブジェクトプロ
グラムのオペレータがPRINTではなく入力処理のI
NPUTとなる。
The formats of the source program for the INPUT statement that performs input processing, the object program for the main processor, and the format data for the input/output control processor are as follows:
, 3 and 4, except that the operator of the object program uses input processing input instead of PRINT.
It becomes NPUT.

メインプロセッサ3は、INPUTオペレータの処理と
して、まずコマンドレジメAINPUTを示すコマンド
を書き込む。このコマンドが書き込まれるとコマンドレ
ジスタ51から入出力制御プロセッサ7に割込み信号が
送られ、入出力制御プoセンサ7は出力レジスタ52を
経由してメインプロセッサ3から送られてくるデータを
受け取る準備をする。
As the INPUT operator process, the main processor 3 first writes a command indicating the command regimen AINPUT. When this command is written, an interrupt signal is sent from the command register 51 to the input/output control processor 7, and the input/output control processor 7 prepares to receive data sent from the main processor 3 via the output register 52. do.

メインプロセッサ3はINPUTコマンドの書込みに続
き、オペランドとして指示されている文爵号・を出力レ
ジスタ52に書き込む。入出力制御プロセッサ7は、こ
の文靜号の値を所定のエリアに格納した後、この文の9
式データに従っ゛C端末機器からの入力処理を始める。
Following writing of the INPUT command, the main processor 3 writes the Bunkego designated as an operand to the output register 52. After storing the value of this sentence in a predetermined area, the input/output control processor 7 stores the value of this sentence in a predetermined area.
Input processing from the C terminal device starts according to the formula data.

更に、メインプロセッサ3は、入出力制御プロセッサ7
の入力処理の終了を待ち、入力された値を受け取る処理
を行う。入出力制御プロセンサ7の入力処理に要する時
間は、個々に異なるが、キーボードのような人間が操作
する機器からの入力の場合には数分に及ぶことがしばし
ば生じる。このような長時間にわたってメインプロセッ
サ3が他のプログラムの実行を停止して入出力制御プロ
セッサの処理終了を待つことはできないので、メインプ
ロセンサ3は、設備制御用プログラムの実行をしながら
、周期的にコマンドレジスタ51に入出力文の処理状態
応答要求コマンドを書き込んで入力処理の終了を調べる
。そして、入力処理が終了したら、入力値の読出し処理
を開始する。
Furthermore, the main processor 3 includes an input/output control processor 7.
Wait for the end of the input process and perform the process of receiving the input value. The time required for input processing by the input/output control processor 7 varies depending on the input, but it often takes several minutes in the case of input from a device operated by a human, such as a keyboard. Since it is not possible for the main processor 3 to stop executing other programs and wait for the input/output control processor to finish processing for such a long period of time, the main processor 3 can perform periodic processing while executing the equipment control program. A processing status response request command for the input/output statement is then written into the command register 51 to check whether the input processing has ended. Then, when the input processing is completed, the input value reading processing is started.

その読出し処理は次のように行われる。すなわち、メイ
ンプロセッサ3からコマンドレジスタ51に読出しを意
味するコマンドが送られ、このコマンドを受けとった入
出力制御プロセッサ7が出力レジスタ52に入力値ヲ書
き込むので、これをメインプロセッサ3が読“み取って
オペランドに指定されているアドレスの変数エリアに格
納する。
The reading process is performed as follows. That is, the main processor 3 sends a command for reading to the command register 51, and the input/output control processor 7 that receives this command writes an input value to the output register 52, which is then read by the main processor 3. and stores it in the variable area at the address specified by the operand.

以上は、端末機器に対する入出力制御の例であるが、ネ
ットワーク等の通信1機器に対しても同様の方法で入出
力を行うことができる。
The above is an example of input/output control for a terminal device, but input/output can also be performed for a communication device such as a network using a similar method.

以上説明したように本莢施例によれば、端末機器や通信
機器に対する入出力処理を、設備制御プログラムを実行
するメインプロセンサの負担を少なくして行うことがで
きる。従来の方式と比べた負担の低減の程度を実施例に
示した出力処理の場合について具体的に示すと次のとお
りである。
As described above, according to this embodiment, input/output processing for terminal equipment and communication equipment can be performed with less burden on the main processor that executes the equipment control program. The degree of reduction in burden compared to the conventional method will be specifically shown in the case of the output processing shown in the embodiment as follows.

本実施例の方式では、メインプロセッサの処理は文番号
と変数値との書きこみであシ、文番号を1バイト、変数
値を2つで8バイトとすると、計9バイトのデータの書
込みとなる。これに対して書式データともメインプロセ
ッサから入出力制御プロセッサに転送する従来方式では
、メインプロセッサは、書式データとして” N O=
 ”と”TYPE=”の定数′f:8バイト、1式リス
トとしてデータ種やデータ長を10バイト程度、合計1
8バイトを余分に転送することになる。すなわち、本方
式によれば、この例の場合、メインプロセッサの処理量
を約1/3にすることができる。
In the method of this embodiment, the main processor's processing consists of writing the statement number and variable value.If the statement number is 1 byte and the variable value is 2, which is 8 bytes, it is the writing of a total of 9 bytes of data. Become. On the other hand, in the conventional method in which format data is transferred from the main processor to the input/output control processor, the main processor transfers "NO=" as the format data.
" and "TYPE=" constant 'f: 8 bytes, data type and data length as a list of about 10 bytes, total 1
This will result in an extra 8 bytes being transferred. That is, according to this method, in this example, the processing amount of the main processor can be reduced to about ⅓.

このように本方式では、トランスレータがソースプログ
ラムから書式データを生成して入出力制御プロセッサ用
として格納しておくので、入出力データの書式が相当に
複雑と々つでも、設備制御プログラムを実行するメイン
プロセッサの処理を増やさず、従来方式の数分の1の処
理で入出力処理を実行することができる。
In this way, in this method, the translator generates format data from the source program and stores it for the input/output control processor, so even if the format of the input/output data is quite complex, the equipment control program can be executed. Input/output processing can be performed with a fraction of the processing of conventional methods without increasing the processing of the main processor.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明によれば、設備制
御プログラムの実行を妨げるとと々く、端末機器や通信
機器等の制御を効率的に行うことができるので、この種
のプログラマブルコントローラの機能向上、効率向上、
経済化に顕著な効果が得られる。
As described in detail above, according to the present invention, it is possible to efficiently control terminal equipment, communication equipment, etc. without interfering with the execution of the equipment control program. Improved functionality and efficiency,
A remarkable effect on economicization can be obtained.

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

第1図は、本発明に係る入出力制御実行方式が適用され
るプログラマブルコントローラの一実施例のブロック図
、第2図は、端末機器にデータ出力を行うPRINT文
の一例の説明図、第3図は、そのソースプログラムに関
するメインプロセッサ用のオブンエクトプログラムの形
成図、第4図は、入出力制御プロセッサ用の書式データ
の形式図、第5図は、端末機器に対する出力処理のフロ
ー図、第6図は、その終了を調べるだめの処理のフロー
図、第7図は、端末機器に関する入力処理のフロー図で
ある。 1・・・プログラムコンソール、2・・・コンソールイ
ンタフェース、3・・・メインプロセッサ、4・・・プ
ログラムメモリ、5・・・制御レジスタ、51・・・コ
マンドレジスタ、52・・・出力レジスタ、53・・・
入力レジスタ、6・・・データメモリ、7・・・入出力
制御プロセッサ、8・・・プログラムメモリ、9・・・
端末インタフェース。 代理人 弁理士 福田幸作゛ (ほか1名) 第 1 膓 第 2 目 F[NT ”NO=”、A:g、5PC4)、’TYP
E=”、5.1第 3 目 第4国 第 5 図 第 6 口
FIG. 1 is a block diagram of an embodiment of a programmable controller to which the input/output control execution method according to the present invention is applied, FIG. 2 is an explanatory diagram of an example of a PRINT statement for outputting data to a terminal device, and FIG. FIG. 4 is a diagram showing the formation of an obenect program for the main processor regarding the source program, FIG. 4 is a format diagram of format data for the input/output control processor, and FIG. FIG. 6 is a flowchart of the process for checking the end of the process, and FIG. 7 is a flowchart of the input process regarding the terminal device. DESCRIPTION OF SYMBOLS 1... Program console, 2... Console interface, 3... Main processor, 4... Program memory, 5... Control register, 51... Command register, 52... Output register, 53 ...
Input register, 6... data memory, 7... input/output control processor, 8... program memory, 9...
Terminal interface. Agent Patent attorney Kosaku Fukuda (and 1 other person) 1st 2nd F[NT "NO=", A:g, 5PC4),'TYP
E=”, 5.1 Item 3, Country 4, Figure 5, Entrance 6

Claims (1)

【特許請求の範囲】[Claims] 1、 ソースプログラムをオブジェクトプログラムに変
換してメモリに格納しておき、その格納されているプロ
グラムを実行して入出力ポートに関すルtlflJ 1
i11′Iを実行するプログラマプルコントローラノ入
出力制御実行方式において、ソースプログラム中の1式
指定付きの入出力文を解釈したのち、入出力の実行開始
を示すオブジェクトプログラムはメインプロセッサ用の
プログラムメモリに格納し、また書式を示すオブジェク
トデータは入出力tlill filプロセッサ用のプ
ログラムメモリに格納しておき、メインプロセッサおよ
び入出力制御プロセッサから参照・書込みが可能な制御
レジスタを介してメインプロセッサから入出力制御プロ
セッサに入出力実行指令を与えることにより、その入出
力上114プロセッサが、自己のプログラムメモリに格
納されている、書式を示すオブジェクトデータに基づい
て入出力制御を実行すスことを特徴とする人出力制御実
行方式。
1. Convert the source program to an object program, store it in memory, and run the stored program to create a file related to input/output ports.
In the input/output control execution method of a programmable controller that executes i11'I, after interpreting an input/output statement with a 1 expression specification in the source program, the object program indicating the start of input/output execution is stored in the program memory for the main processor. The object data indicating the format is stored in the program memory for the input/output trill fill processor, and is input/output from the main processor via a control register that can be referenced and written to by the main processor and the input/output control processor. By giving an input/output execution command to the control processor, the input/output processors 114 execute input/output control based on object data indicating a format stored in their own program memory. Human output control execution method.
JP21097883A 1983-11-11 1983-11-11 Executing system for input and output control Pending JPS60105007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21097883A JPS60105007A (en) 1983-11-11 1983-11-11 Executing system for input and output control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21097883A JPS60105007A (en) 1983-11-11 1983-11-11 Executing system for input and output control

Publications (1)

Publication Number Publication Date
JPS60105007A true JPS60105007A (en) 1985-06-10

Family

ID=16598275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21097883A Pending JPS60105007A (en) 1983-11-11 1983-11-11 Executing system for input and output control

Country Status (1)

Country Link
JP (1) JPS60105007A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04270401A (en) * 1991-02-07 1992-09-25 Mitsubishi Electric Corp Programmable controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04270401A (en) * 1991-02-07 1992-09-25 Mitsubishi Electric Corp Programmable controller

Similar Documents

Publication Publication Date Title
JPS6017539A (en) Emulation system
JPS619734A (en) Processor control system
JPS62237522A (en) Information processor
JPS60105007A (en) Executing system for input and output control
JP2847861B2 (en) Portable byte string data converter
JP2001255912A (en) Method for executing motion program
JPS6225334A (en) Instruction processing system
JP2576379B2 (en) Logic simulation equipment
JPH01209542A (en) Logical verification device
JPH0511818B2 (en)
JPS6139134A (en) Program converting method
JPH03241432A (en) Instruction conversion method
JPS62147545A (en) Transfer command processing method in information processing equipment
JPS60142428A (en) Emulation system
JPH0381827A (en) Reentrant program system
JPS62171036A (en) Compiler module sharing method
JPH04344528A (en) Program developing system and program preparing device
JPH0736594A (en) Signal input device and signal input method
JPS61229136A (en) Information processor
JPH0561934A (en) Logical simulation system
JPH01197863A (en) Local terminal simulator
JPH0675898A (en) Direct memory access controller
JPH01136266A (en) Job processing system
JPH02171940A (en) Input/output controlling system
JPH0375962A (en) Auxiliary device for conversion of document data