JPS62286102A - Setting method for contents of sequencer indirect address - Google Patents

Setting method for contents of sequencer indirect address

Info

Publication number
JPS62286102A
JPS62286102A JP12921386A JP12921386A JPS62286102A JP S62286102 A JPS62286102 A JP S62286102A JP 12921386 A JP12921386 A JP 12921386A JP 12921386 A JP12921386 A JP 12921386A JP S62286102 A JPS62286102 A JP S62286102A
Authority
JP
Japan
Prior art keywords
input
address
contents
indirect
card
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
JP12921386A
Other languages
Japanese (ja)
Inventor
Terushige Hamada
浜田 輝茂
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP12921386A priority Critical patent/JPS62286102A/en
Publication of JPS62286102A publication Critical patent/JPS62286102A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To check the external signals corresponding to the input/output addresses and also to set the contents of the indirect addresses of input and output, by using an input/output card to set the contents of said input/output indirect addresses. CONSTITUTION:The contents of a memory 9 are first set when the contents of the input/output indirect addresses. In this case, a switch 1 is turned on to supply the signal to an input card 4 via an input terminal 3. Then said indirect addresses are set by means of a maintenance equipment 7. Here the input address of the signal supplied to the card 4 is detected by the function of a card 8 to obtain the address data. At the same time, the data on the indirect address set via an I/F card 6 is obtained from the equipment 7. Then the input address data is set to the corresponding memory address in the memory 9 based on the data received from the card 4 and the equipment 7. While the indirect address corresponding to the input address is set and the contents of the indirect address are automatically set.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は、シーケンサの間接アドレスの内容を設定す
るシーケンサの間接アドレスの内容設定方法に関するも
のである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a method for setting the contents of an indirect address of a sequencer, which sets the contents of an indirect address of a sequencer.

〔従来の技術〕[Conventional technology]

従来のシーケンサにおける間接アドレスの内容設定は、
第2図に示すようにプログラム上で指定する方法であっ
た。図において、11はプログラムの行番号、12は一
種の命令、16はあるディジタル入力の信号で与えられ
る間接アドレスの名称、14は一種の命令、15および
17はあるディジタル出力の信号で与えられる間接アド
レスの名称である。16はアセンブラ用の命令であり、
プログラム上の間接アドレスの名称で、04117の内
容を、実際のアドレス名称である00119に設定する
機能を持っている。18はアセンブラ用命令の一部、1
9は実際の信号の名称であって、デジタル出力を示す。
The content settings for indirect addresses in conventional sequencers are as follows:
The method was to specify it on the program as shown in Figure 2. In the figure, 11 is the line number of the program, 12 is a type of instruction, 16 is the name of an indirect address given by a certain digital input signal, 14 is a type of instruction, and 15 and 17 are indirect addresses given by a certain digital output signal. This is the name of the address. 16 is an instruction for the assembler,
This is the name of an indirect address on the program, and has the function of setting the contents of 04117 to 00119, which is the actual address name. 18 is a part of instructions for assembler, 1
9 is the name of the actual signal and indicates a digital output.

次に従来の間接アドレスの内容設定方法について説明す
る。従来の方法では、第2図のプログラムをアセンブラ
で処理して機械語のプログラムに変換する時に、間接ア
ドレスの内容の設定も同時に行なっている。従って、ア
センブラで処理が終了して、実際にシーケンサに入力す
るプログラムが出来た時点では、既に、間接アドレスの
内容は設定されていることになる。
Next, a conventional method for setting contents of an indirect address will be explained. In the conventional method, when the program shown in FIG. 2 is processed by an assembler and converted into a machine language program, the contents of the indirect address are also set at the same time. Therefore, by the time the assembler finishes processing and the program to be actually input to the sequencer is created, the contents of the indirect address have already been set.

〔発明が解決しようとする間@点〕[While the invention is trying to solve the problem @ point]

従来のシーケンサの間接アドレスの内容設定方法は以上
のように行われていたので、プログラムを書いてアセン
ブラで処理する時点では、間接アドレスの内容が決定さ
れていなければならず、シーケンサのデジタル入力など
のアドレス上1間接アドレス指定全行なってプログラム
を作成しても、アセンブラで処理する時には、使用した
間接アドレスの内容を指定しておく必要がある問題点か
あった。また、現場で間接アドレスの内容tK更するに
は、メンテナンス装ritt−使用して、その内容全書
き替えてなければならない問題点があった。
The content of the indirect address of the conventional sequencer was set as described above, so the content of the indirect address must be determined when the program is written and processed by the assembler, and the content of the indirect address must be determined when the program is written and processed by the assembler. Even if a program is created by specifying one indirect address on the address of , there is a problem that it is necessary to specify the contents of the indirect address used when processing with an assembler. Furthermore, in order to change the contents of the indirect address tK on site, there is a problem in that the entire contents must be rewritten using maintenance equipment.

更に、プログラムで使用した入出力アドレスに対応する
外部信号が妥当なものかどうかチェックする作業が別途
必要となる問題点があった。
Furthermore, there is a problem in that a separate operation is required to check whether the external signal corresponding to the input/output address used in the program is valid.

この発明は、上記のような問題点全解消するためになさ
れたもので、プログラムで使用した人出カアドレスに対
応す゛る外部信号が妥当なものかどうかチェックすると
同時に、入出力アドレスの指定のために使用されている
間接アドレスの内容も同時にセットすることが出来るシ
ーケンサの間接の アドレ崩容設定方法を得ることを目的とする。
This invention was made in order to solve all of the problems mentioned above, and at the same time checks whether the external signal corresponding to the outgoing address used in the program is valid, and at the same time, it is also possible to specify the input/output address. The purpose of the present invention is to obtain a method for setting indirect address collapse for a sequencer, which can simultaneously set the contents of indirect addresses used in the sequencer.

〔問題点を解決するための手段〕[Means for solving problems]

の この発明に係るシーケンサの間接アドレ受病容設定方法
は、シーケンサの入出力アドレスに関する間接アドレス
の内容を、入出力カードを使用して設定出来るようにし
たものである。
The indirect address acceptance setting method for a sequencer according to the present invention allows the content of an indirect address regarding an input/output address of a sequencer to be set using an input/output card.

〔作用〕[Effect]

この発明におけるシーケンサにおける間接アドレスの内
容設定方法は、プログラムの入出力に関する間接アドレ
スの内容を、入出力チェックを行ないながら設定出来る
ものであり、プログラム作成時においては、入出力アド
レスを間接アドレス指定しておくことにより、実際の入
出力が決まっていなくても、プログラム全完成させるこ
とが出来るようにしていると共に入出力チェック時間の
削減が期待出来るようにしている。
The method for setting the contents of indirect addresses in a sequencer according to the present invention allows the contents of indirect addresses related to program input/output to be set while checking the input/output, and when creating a program, input/output addresses are specified as indirect addresses. By doing so, it is possible to complete the entire program even if the actual input/output has not been determined, and it is possible to expect a reduction in input/output checking time.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1はスイッチ、2は電線、6は後述する入
力カード4の入力端子、4はシーケンサの入力カード、
5はシーケンサの内部バス、6は後述するメンテナンス
機器を接続するためのカード(以下、I/Fカードとい
う)、7はメンテナンス機器、8は入力されている入方
端子乙に対応する入力アドレス検出機能とメンテナンス
機器7からの入力データ全読みとる機能と後述するメモ
リの内容の設定機能と全持っカード、9はメモリ、10
はメンテナンス機器7とI/Fカード6を接続する信号
線である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 is a switch, 2 is an electric wire, 6 is an input terminal of an input card 4 described later, 4 is an input card of a sequencer,
5 is an internal bus of the sequencer, 6 is a card for connecting a maintenance device (hereinafter referred to as an I/F card) to be described later, 7 is a maintenance device, and 8 is an input address detection corresponding to input terminal B. Functions and maintenance The function of reading all the input data from the device 7, the function of setting the contents of the memory described later, and the all-inclusive card, 9 is the memory, 10
is a signal line connecting the maintenance equipment 7 and the I/F card 6.

次に、この実施例によるシーケンサの間接アドレスの内
容の設定方法について説明する。
Next, a method of setting the contents of the indirect address of the sequencer according to this embodiment will be explained.

メモリ9の内容を設定するため、スイッチ1全オン状態
にして入力端子3を通じて、入力カード4へ信号全入力
する。
In order to set the contents of the memory 9, the switch 1 is turned on and all signals are input to the input card 4 through the input terminal 3.

また、メンテナンス機器7を使用して内容を設定しよう
とする間接アドレス(メモリ番地)′t−設定する。こ
の時、カード8の機能により入力カード4に入力されて
いる信号の入力アドレスを検出してアドレスのデータ金
得る。また、メンテナンス機器7からI/Fカード6を
通じて設定されている間接アドレス(メモリ番地)のデ
ータを得る。
Further, the maintenance device 7 is used to set the indirect address (memory address) 't- whose contents are to be set. At this time, the function of the card 8 detects the input address of the signal input to the input card 4 and obtains the data of the address. Further, data of an indirect address (memory address) set from the maintenance device 7 through the I/F card 6 is obtained.

こうして得られた間接アドレスのデータと入力アドレス
のデータを元に、メモリ9内の対応するメモリ番地へ、
入力アドレスのデータを設定する。
Based on the indirect address data and input address data obtained in this way, to the corresponding memory address in the memory 9,
Set input address data.

同様に順次、入力端子の1点、1点に入力しながら、入
力アドレスに対応する間接アドレスの設定全行ない、間
接アドレスの内容を自動的に入力アドレスに設定してゆ
く。
Similarly, all the settings of the indirect address corresponding to the input address are performed while sequentially inputting data to the input terminals one by one, and the contents of the indirect address are automatically set to the input address.

なお本実施例では入力カードについて説明したが出力カ
ードも同様である。
Note that although the input card has been described in this embodiment, the same applies to the output card.

また、スイッチは常時オンであったが、パルス状の入力
であってもよいし、全入力端子に入力しておいて対象と
する入力端子のみ入力しないようにしてもよい。
Further, although the switch is always on, the input may be in the form of a pulse, or the input may be input to all input terminals, but only the target input terminal may be inputted.

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

以上のようにこの発明によれば、入出力に関する間接ア
ドレスの内容設定を入出力カード?利用して行なうよう
にしたので、シーケンサの入出力チェックを兼ねること
が出来る。また、シーケンサのプログラムは、実際の入
出力アドレス全指定せず、間接アドレス?使って作成出
来るので、プログラム作成時に、入出力アドレスが決ま
っていなくてもよいというメリットがある。
As described above, according to the present invention, the contents of the indirect address regarding input/output can be set on the input/output card. Since this is done by using this function, it can also be used to check the input/output of the sequencer. Also, the sequencer program does not specify all actual input/output addresses, but is it an indirect address? This has the advantage that input/output addresses do not need to be determined when creating a program.

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

第1図はこの発明の一実施例によるシーク/すの間接ア
ドレスの内容設定方法を実施する装置のブロック図、第
2図は従来の間接アドレス内容全設定する方法の一例を
説明する図である。 1はスイッチ、6は入力端子、4は入力カード、5は内
部バス、6はI/Fカード、7はメンテナンス機器、8
はカード、9はメモリ。 特許出願人   三菱電機株式会社 (外2名)−−−− ソ;メモリ 手続補正書(自発) 昭和 駄11°d8 日
FIG. 1 is a block diagram of a device that implements a method for setting the contents of indirect addresses for seek/stop according to an embodiment of the present invention, and FIG. 2 is a diagram illustrating an example of a conventional method for setting all contents of indirect addresses. . 1 is a switch, 6 is an input terminal, 4 is an input card, 5 is an internal bus, 6 is an I/F card, 7 is a maintenance device, 8
is the card, 9 is the memory. Patent Applicant: Mitsubishi Electric Corporation (2 others) ---- Se; Memory Procedure Amendment (voluntary) Showa 11°d8

Claims (1)

【特許請求の範囲】[Claims] プログラムでの間接アドレスの指定が可能なシーケンサ
の間接アドレスの内容設定方法において、前記間接アド
レスの内容を入出力カードを使用して設定することを特
徴とするシーケンサの間接アドレスの内容設定方法。
1. A method for setting contents of an indirect address of a sequencer in which an indirect address can be specified by a program, characterized in that the contents of the indirect address are set using an input/output card.
JP12921386A 1986-06-05 1986-06-05 Setting method for contents of sequencer indirect address Pending JPS62286102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12921386A JPS62286102A (en) 1986-06-05 1986-06-05 Setting method for contents of sequencer indirect address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12921386A JPS62286102A (en) 1986-06-05 1986-06-05 Setting method for contents of sequencer indirect address

Publications (1)

Publication Number Publication Date
JPS62286102A true JPS62286102A (en) 1987-12-12

Family

ID=15003931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12921386A Pending JPS62286102A (en) 1986-06-05 1986-06-05 Setting method for contents of sequencer indirect address

Country Status (1)

Country Link
JP (1) JPS62286102A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989011686A1 (en) * 1988-05-19 1989-11-30 Fanuc Ltd System for making reference to signals of a pc unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989011686A1 (en) * 1988-05-19 1989-11-30 Fanuc Ltd System for making reference to signals of a pc unit

Similar Documents

Publication Publication Date Title
JPS58176745A (en) Information output system
JPS62286102A (en) Setting method for contents of sequencer indirect address
JP2586074B2 (en) Data processing device
JPS5870361A (en) Input controlling system
JP2000200297A (en) Analog component deletion information imparting system
JPH02161684A (en) Method for judging package of read only memory
JPH0424722B2 (en)
JPS62194511A (en) Programming system
JPS6225329A (en) Generation control system for control program
JPH0528086A (en) I/o port address multiplexing system
JPS62256139A (en) Data processor
JPH0546552A (en) On-line environment addition system
JPS6385822A (en) Engineering work station
JPS63141180A (en) Preparing device for circuit diagram with inter-page collating information
JPS63280303A (en) Programmable controller
JPS63291292A (en) Read-only memory circuit
JPS6146534A (en) Scan address control system
JPH01152561A (en) Shared memory control system
JPH05204790A (en) Online communication confirmation test system
JPS59218527A (en) Command checking system
JPS62164147A (en) Address conversion system
JPH03163634A (en) Additional device for debug
JPS63100512A (en) Controller
JPS62260219A (en) Reproduction and display system for input data on menu screen
JPS59174913A (en) Programmable sequencer