JP2985274B2 - Sequencer system - Google Patents

Sequencer system

Info

Publication number
JP2985274B2
JP2985274B2 JP2287760A JP28776090A JP2985274B2 JP 2985274 B2 JP2985274 B2 JP 2985274B2 JP 2287760 A JP2287760 A JP 2287760A JP 28776090 A JP28776090 A JP 28776090A JP 2985274 B2 JP2985274 B2 JP 2985274B2
Authority
JP
Japan
Prior art keywords
module
standard
program
main processor
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2287760A
Other languages
Japanese (ja)
Other versions
JPH04160602A (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.)
YOKOKAWA DENKI KK
Original Assignee
YOKOKAWA DENKI KK
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 YOKOKAWA DENKI KK filed Critical YOKOKAWA DENKI KK
Priority to JP2287760A priority Critical patent/JP2985274B2/en
Publication of JPH04160602A publication Critical patent/JPH04160602A/en
Application granted granted Critical
Publication of JP2985274B2 publication Critical patent/JP2985274B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、ファクトリー・オートメーション分野等に
用いられるシーケンサ・システムに関し、詳しくは、上
位のメイン・プロセッサと下位のI/Oモジュールとのア
クセス手法について改善するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a sequencer system used in the field of factory automation and the like, and more specifically, an access method between an upper main processor and a lower I / O module. Is to improve.

<従来の技術> シーケンサ・システムの一例として、第2図のブロッ
ク図に示すようなシステムが挙げられる。
<Prior Art> An example of a sequencer system is a system as shown in a block diagram of FIG.

この例は、上位にメイン・プロセッサ10、下位にイン
テリジェントI/Oモジュール20を備えるシステムであ
り、メイン・プロセッサ10側は、ベーシック・プログラ
ムを実行するベーシック・プログラム処理部11、シーケ
ンス制御のためのラダー・プログラムを実行するラダー
・プログラム処理部12を有し、制御目的に応じてベーシ
ック・プログラムまたはラダー・プログラムを使い分け
ている。
In this example, a system is provided with a main processor 10 at an upper level and an intelligent I / O module 20 at a lower level.The main processor 10 has a basic program processing unit 11 for executing a basic program, and a A ladder program processing unit 12 for executing a ladder program is provided, and a basic program or a ladder program is selectively used depending on a control purpose.

また、メイン・プロセッサ10からI/Oモジュール20に
アクセスするには、次の方式による。
The following method is used to access the I / O module 20 from the main processor 10.

ベーシック・プログラム処理部11からI/Oモジュール2
0にアクセスするには、処理部11から標準ドライバ13に
アクセス要求を発し、標準ドライバ13内の標準I/Oサー
ビス部131は割り込み処理ルーチン132を介し、I/Oモジ
ュール20側の標準インターフェイス・メモリ21に処理要
求を書き込む。一方、I/Oモジュール20内のモジュール
・プロセッサ22は、この標準インターフェイス・メモリ
21内のフラグをチェックしており、処理要求を検出する
と、この標準インターフェイス・メモリ21の内容に従っ
て動作する。
Basic program processing unit 11 to I / O module 2
To access 0, the processing unit 11 issues an access request to the standard driver 13, and the standard I / O service unit 131 in the standard driver 13 sends the standard interface / The processing request is written into the memory 21. On the other hand, the module processor 22 in the I / O module 20 uses the standard interface memory
The flag in the memory 21 is checked, and when a processing request is detected, the operation is performed in accordance with the contents of the standard interface memory 21.

ラダー・プログラム処理部12からI/Oモジュール20に
アクセスするには、I/Oスキャンのタイミングで標準イ
ンターフェイス・メモリ21に、メイン・プロセッサ10側
のリフレッシュ・メモリの内容を書き込む、という方式
による。
In order to access the I / O module 20 from the ladder program processing unit 12, the contents of the refresh memory of the main processor 10 are written into the standard interface memory 21 at the timing of the I / O scan.

<発明が解決しようとする課題> 上述のような従来のアクセス方式によれば、下位のI/
Oモジュール20は、メイン・プロセッサ10側にベーシッ
ク・プログラムまたはラダー・プログラムが介在しない
と動作できず、また、I/Oモジュール20側からメイン・
プロセッサ10側へ処理要求をかけることができないの
で、I/Oモジュール20側からメイン・プロセッサ10側へ
プログラムのロード、スタート、ストップ、セーブ、I/
O読み込み/書き込み等が行えなかった。
<Problem to be Solved by the Invention> According to the conventional access method as described above, the lower I / O
The O module 20 cannot operate unless a basic program or a ladder program is interposed on the main processor 10 side.
Since it is not possible to issue a processing request to the processor 10, the program load, start, stop, save, and I / O from the I / O module 20 to the main processor 10
O Reading / writing etc. could not be performed.

本発明は、以上のような問題を解決することを課題と
し、上位のベーシック・プログラムまたはラダー・プロ
グラムを介さず、下位のI/Oモジュール側から上位のメ
イン・プロセッサ側の情報を得ようとすることを目的と
する。
An object of the present invention is to solve the above-described problems, and to obtain information of a higher-level main processor from a lower-level I / O module without passing through a higher-level basic program or a ladder program. The purpose is to do.

<課題を解決するための手段> 以上の課題を解決した本発明は、ベーシック・プログ
ラムを実行する処理部と、ラダー・プログラムを実行す
る処理部と、下位に接続されるI/Oモジュールを制御す
る標準ドライバとを有するメイン・プロセッサと、 前記標準ドライバからの処理要求または前記ラダー・
プログラムのI/Oスキャンのタイミングでアクセスされ
る標準インターフェイス・メモリと、当該モジュールを
制御するモジュール・プロセッサとを有するI/Oモジュ
ールと、 を備えるシーケンサ・システムにおいて、 前記メイン・プロセッサ内の前記標準ドライバに、前
記I/Oモジュールへ動作要求を発する標準I/Oサービス部
と、前記I/Oモジュール側からの動作要求を処理するリ
ンク情報サービス部と、これらの処理の起動及び終了割
り込み処理を行う割り込み処理部とを設け、 前記I/Oモジュールに、前記リンク情報サービス部か
らの情報または前記ラダー・プログラムからの各種サー
ビス情報を格納するリンク・インターフェイス・メモリ
を設けた ことを特徴とするシーケンサ・システムである。
<Means for Solving the Problems> The present invention that has solved the above problems controls a processing unit that executes a basic program, a processing unit that executes a ladder program, and an I / O module that is connected to a lower level. A main processor having a standard driver that performs processing, a processing request from the standard driver or the ladder
A sequencer system comprising: a standard interface memory accessed at a timing of an I / O scan of a program; and an I / O module having a module processor for controlling the module. The driver includes a standard I / O service unit for issuing an operation request to the I / O module, a link information service unit for processing an operation request from the I / O module side, and activation and termination interrupt processing for these processes. And a link interface memory for storing information from the link information service unit or various service information from the ladder program in the I / O module.・ It is a system.

<作用> 本発明のシーケンサ・システムの動作は次の通りであ
る。
<Operation> The operation of the sequencer system of the present invention is as follows.

上位のメイン・プロセッサから下位のI/Oモジュール
に対するアクセスは従来の方式のままであり、I/Oモジ
ュール内のモジュール・プロセッサは、リンク・インタ
ーフェイス・メモリを介してメイン・プロセッサ側のベ
ーシック・プログラム、ラダー・プログラムの情報、内
部データ、I/Oの情報を得、プログラムのアップ・ロー
ド、ダウン・ロード等を行う。
Access from the upper main processor to the lower I / O modules remains the same as in the conventional method, and the module processor in the I / O module communicates with the basic program on the main processor via the link interface memory. , Ladder program information, internal data, I / O information, and upload / load / download programs.

<実施例> 以下、第1図の構成ブロック図を用いて本発明のシー
ケンサ・システムの実施例を説明する。
<Embodiment> An embodiment of the sequencer system of the present invention will be described below with reference to the block diagram of FIG.

第1図において、第2図の従来のシステムと符号が同
じものはその機能は同じであり、I/Oモジュール20とし
ては、上位計算機リンク・モジュールを想定する。
In FIG. 1, components having the same reference numerals as those of the conventional system in FIG. 2 have the same functions, and a high-level computer link module is assumed as the I / O module 20.

本発明の特徴は、メイン・プロセッサ10に設置した標
準ドライバ14に、従来と同様の標準I/Oサービス部141及
び割り込み処理ルーチン142の他に、リンク情報サービ
ス部143を付加し、I/Oモジュール20内部にリンク・イン
ターフェイス・メモリ23を設置した点である。尚、I/O
モジュール20内部に設けた通信処理部24は外部通信(RS
232C、RS422等)とインターフェイスを取るためのもの
である。
The feature of the present invention is that a link information service unit 143 is added to the standard driver 14 installed in the main processor 10 in addition to the standard I / O service unit 141 and the interrupt processing routine 142 as in the related art. The point is that a link interface memory 23 is provided inside the module 20. In addition, I / O
The communication processing unit 24 provided inside the module 20 performs external communication (RS
232C, RS422, etc.).

標準ドライバ14について詳しく説明すると、標準I/O
サービス部141はベーシック・プログラム処理部11からI
/Oモジュール20にアクセスする場合に使用され、割り込
み処理ルーチン142はI/Oモジュール20からの割り込みが
標準I/Oサービス部141に対するものかリンク情報サービ
ス部142に対するものかを判別し、リンク情報サービス
部143はI/Oモジュール20からの要求に対してベーシック
・プログラム処理部11またはラダー・プログラム12にプ
ログラムの停止、起動、ベーシック・コモン変数リード
/ライト等のサービス処理を担当する。
To explain the standard driver 14 in detail, the standard I / O
The service unit 141 is the basic program processing unit 11 to I
Used when accessing the / O module 20, the interrupt processing routine 142 determines whether the interrupt from the I / O module 20 is for the standard I / O service unit 141 or the link information service unit 142, and In response to a request from the I / O module 20, the service unit 143 instructs the basic program processing unit 11 or the ladder program 12 to perform service processing such as stopping and starting a program, and reading / writing basic common variables.

I/Oモジュール20のリンク・インターフェイス・メモ
リ23は、メイン・プロセッサ10のリンク情報サービス部
143またはラダー・プログラム処理部12からのビット/
データのリード/ライト・サービス用のインターフェイ
スを格納するものである。
The link interface memory 23 of the I / O module 20 stores the link information service section of the main processor 10.
143 or bits from ladder program processing unit 12
It stores an interface for data read / write service.

さて、このように構成された本発明システムの動作を
次に説明する。
The operation of the system of the present invention thus configured will be described below.

通常、メイン・プロセッサ10は、I/Oモジュール20を
アクセスする際、ベーシック・プログラム処理部11から
アクセスする場合は、標準ドライバ14内の標準I/Oサー
ビス部141を介してI/Oモジュール10の標準インターフェ
イス・メモリ21に起動をかける、または読み出し処理を
行う動作を実行する。
Normally, when the main processor 10 accesses the I / O module 20 and accesses it from the basic program processing unit 11, the main processor 10 transmits the I / O module 10 via the standard I / O service unit 141 in the standard driver 14. Of the standard interface memory 21 or an operation of performing a reading process.

一方、I/Oモジュール20の通信処理部24には、外部か
らのベーシック・プログラムまたはラダー・プログラム
のスタート、ストップ、アップ・ロード、ベーシック・
コモン変数のリード/ライト、ステイタス・エラー情報
の読み込み、ラダー変数のリード/ライト等の要求が与
えられる。
On the other hand, the communication processing section 24 of the I / O module 20 includes a start, stop, upload / load, and basic program of an external basic program or ladder program.
Requests for reading / writing common variables, reading status / error information, reading / writing ladder variables, and the like are given.

モジュール・プロセッサ22は、以上のような要求を受
け、ラダー・プログラム処理部12へのラダー変数のリー
ド/ライトであると判断した場合は、リンク・インター
フェイス・メモリ23を使用してメイン・プロセッサ10側
へデータ更新要求を発し、また、メイン・プロセッサ10
はI/Oスキャンの周期で必要なデータをリンク・インタ
ーフェイス・メモリ23から得る。
When the module processor 22 receives the above request and determines that the reading / writing of the ladder variable to the ladder program processing unit 12 is to be performed, the module processor 22 uses the link interface memory 23 to execute the main processor 10. Issues a data update request to the main processor 10
Obtains necessary data from the link interface memory 23 in an I / O scan cycle.

その他の要求については、モジュール・プロセッサ22
は、リンク・インターフェイス・メモリ23を使用し標準
ドライバ14内のリンク情報サービス部143へ処理要求を
送出する。
For other requirements, see Module Processor 22
Sends a processing request to the link information service unit 143 in the standard driver 14 using the link interface memory 23.

この処理要求は、割り込みによりタイミングをとる。
割り込みについては、この他に、例えば、メイン・プロ
セッサ10側からI/Oモジュール20側への処理要求に対し
て処理終了コマンドを通知する際も割り込みタイミング
で行われ、割り込み処理ルーチン143にて処理される。
This processing request is timed by an interrupt.
In addition to the above, for example, when notifying a processing end command in response to a processing request from the main processor 10 to the I / O module 20 side, the processing is performed at the interrupt timing. Is done.

メイン・プロセッサ10のリンク情報サービス部143で
は、割り込みが与えられた時点でリンク・インターフェ
イス・メモリ23を読み、その要求に応じてベーシック・
プログラム処理部11またはラダー・プログラム処理部12
をアクセスし、上記した要求を実現する。
The link information service unit 143 of the main processor 10 reads the link interface memory 23 when the interrupt is given, and responds to the request to read the basic interface memory 23.
Program processing unit 11 or ladder / program processing unit 12
To realize the above-mentioned request.

上述したようなI/Oモジュールとしては、上記したパ
ーソナル・コンピュータ・リンク・モジュールの他、例
えばCRTインターフェイス・モジュールが考えられる。
As the I / O module as described above, for example, a CRT interface module can be considered in addition to the above-described personal computer link module.

即ち、通信処理部24がCRTインターフェイス用コント
ローラに相当し、I/Oモジュール20は、表示しているモ
ニタ画面等に埋め込むデータをメイン・プロセッサ10側
のベーシック・プログラム処理部11またはラダー・プロ
グラム処理部12からリンク・インターフェイス・メモリ
23を介して受け取り、このデータを画面の一部にそのま
ま表示する、またはグラフ化、図化等、加工して表示す
る等の処理を行う。
That is, the communication processing unit 24 corresponds to a controller for the CRT interface, and the I / O module 20 stores the data to be embedded in the displayed monitor screen or the like in the basic program processing unit 11 or the ladder program processing of the main processor 10. Link interface memory from part 12
23, and displays the data as it is on a part of the screen as it is, or performs processing such as graphing, plotting, etc., and displaying the processed data.

言い換えれば、メイン・プロセッサ10におけるベーシ
ック・プログラム処理部11またはラダー・プログラム処
理部12からI/Oモジュール20(CRTインターフェイス・モ
ジュール)をアクセスしなくても、I/Oモジュール20側
から積極的にメイン・プロセッサ10内のデータを入手す
ることができる。つまり、ベーシックまたはラダーのCR
T表示用プログラムを作成しなくても表示関係の処理を
システム・アップできる。
In other words, even if the basic program processing unit 11 or the ladder program processing unit 12 of the main processor 10 does not access the I / O module 20 (CRT interface module), The data in the main processor 10 can be obtained. That is, a basic or ladder CR
The system related to display-related processing can be upgraded without creating a display program.

<発明の効果> 本発明システムによれば、次の効果を得る。<Effects of the Invention> According to the system of the present invention, the following effects are obtained.

I/Oモジュール側からリンク・インターフェイス・メ
モリを介してベーシック・プログラムまたはラダー・プ
ログラム内の情報を得ることができ、プログラムのアッ
プ・ロード、ダウン・ロードも可能となり、下位のI/O
モジュール側から上位のメイン・プロセッサ側の情報を
入手できる。
Information in the basic program or ladder program can be obtained from the I / O module side via the link interface memory, and the program can be uploaded / downloaded, and the lower I / O
Information on the upper main processor can be obtained from the module.

また、I/Oモジュール用にベーシックまたはラダーの
プログラムの作成しなくてもI/Oモジュールの動作に支
障はない。更に、上位計算機リンク・モジュール、CRT
インターフェイス・モジュールの他にも様々なネットワ
ークに使用できる。
Further, even if a basic or ladder program is not created for the I / O module, the operation of the I / O module is not affected. Furthermore, host computer link module, CRT
It can be used for various networks besides the interface module.

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

第1図は本発明を実施したシーケンサ・システムの構成
ブロック図、第2図は従来のシーケンサ・システムを表
わす構成ブロッグ図である。 10……メイン・プロセッサ、11……ベーシック・プログ
ラム処理部、12……ラダー・プログラム処理部、13……
標準ドライバ、131……標準I/Oサービス部、132……割
り込み処理ルーチン、14……標準ドライバ、141……標
準I/Oサービス部、 142……割り込み処理ルーチン、 143……リンク情報サービス部、 20……I/Oモジュール、 21……標準インターフェイス・メモリ、 22……モジュール・プロセッサ、 23……リンク・インターフェイス・メモリ、 24……通信処理部。
FIG. 1 is a configuration block diagram of a sequencer system embodying the present invention, and FIG. 2 is a configuration blog diagram showing a conventional sequencer system. 10: Main processor, 11: Basic program processing unit, 12: Ladder program processing unit, 13 ...
Standard driver, 131: Standard I / O service unit, 132: Interrupt processing routine, 14: Standard driver, 141: Standard I / O service unit, 142: Interrupt processing routine, 143: Link information service unit , 20 ... I / O module, 21 ... Standard interface memory, 22 ... Module processor, 23 ... Link interface memory, 24 ... Communication processing unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ベーシック・プログラムを実行する処理部
と、ラダー・プログラムを実行する処理部と、下位に接
続されるI/Oモジュールを制御する標準ドライバとを有
するメイン・プロセッサと、 前記標準ドライバからの処理要求または前記ラダー・プ
ログラムのI/Oスキャンのタイミングでアクセスされる
標準インターフェイス・メモリと、当該モジュールを制
御するモジュール・プロセッサとを有するI/Oモジュー
ルと、 を備えるシーケンサ・システムにおいて、 前記メイン・プロセッサ内の前記標準ドライバに、前記
I/Oモジュールへ動作要求を発する標準I/Oサービス部
と、前記I/Oモジュール側からの動作要求を処理するリ
ンク情報サービス部と、これらの処理の起動及び終了割
り込み処理を行う割り込み処理部とを設け、 前記I/Oモジュールに、前記リンク情報サービス部から
の情報または前記ラダー・プログラムからの各種サービ
ス情報を格納するリンク・インターフェイス・メモリを
設けた ことを特徴とするシーケンサ・システム。
A main processor having a processing unit for executing a basic program, a processing unit for executing a ladder program, and a standard driver for controlling an I / O module connected to a lower level; A standard interface memory accessed at the timing of a processing request from the I / O scan of the ladder program, and an I / O module having a module processor for controlling the module, a sequencer system comprising: The standard driver in the main processor has
A standard I / O service unit for issuing an operation request to the I / O module, a link information service unit for processing the operation request from the I / O module, and an interrupt processing unit for starting and terminating these processes And a link interface memory for storing information from the link information service unit or various service information from the ladder program in the I / O module.
JP2287760A 1990-10-25 1990-10-25 Sequencer system Expired - Fee Related JP2985274B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2287760A JP2985274B2 (en) 1990-10-25 1990-10-25 Sequencer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2287760A JP2985274B2 (en) 1990-10-25 1990-10-25 Sequencer system

Publications (2)

Publication Number Publication Date
JPH04160602A JPH04160602A (en) 1992-06-03
JP2985274B2 true JP2985274B2 (en) 1999-11-29

Family

ID=17721402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2287760A Expired - Fee Related JP2985274B2 (en) 1990-10-25 1990-10-25 Sequencer system

Country Status (1)

Country Link
JP (1) JP2985274B2 (en)

Also Published As

Publication number Publication date
JPH04160602A (en) 1992-06-03

Similar Documents

Publication Publication Date Title
JPH02235156A (en) Information processor
JP2985274B2 (en) Sequencer system
EP0898264B1 (en) Display memory control apparatus
JPH043205A (en) Data access system
JP3355280B2 (en) Display control system
JP2665836B2 (en) Liquid crystal display controller
JP3516607B2 (en) Programmable display device
CN214312601U (en) Serial port control liquid crystal display module
KR100481995B1 (en) Target system
JP3793246B2 (en) Positioning system
JPH11110007A (en) Profibus data transmission system
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPH08272405A (en) Sequence controller
JPH05204414A (en) Programable controller system
JP2000206953A (en) Display control method/device for computer
JPH10105214A (en) Download system for programmable display device
CN114020659A (en) Energy controller system based on application layer driving liquid crystal display
JPS61276025A (en) Computer system with control panel unit
JPH03147457A (en) Debugger for peripheral equipment in exchange
JPH05324016A (en) Programmable controller
JPH03225551A (en) Input and output device access control system
JPH09212134A (en) Liquid crystal display device
JP2000056818A (en) Programmable logic controller and its control method
JPH0543248U (en) calculator
JPH01233616A (en) Screen format display device

Legal Events

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

Free format text: PAYMENT UNTIL: 20071001

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081001

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091001

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees