JPS59153204A - Programming system of programmable controller - Google Patents

Programming system of programmable controller

Info

Publication number
JPS59153204A
JPS59153204A JP2585083A JP2585083A JPS59153204A JP S59153204 A JPS59153204 A JP S59153204A JP 2585083 A JP2585083 A JP 2585083A JP 2585083 A JP2585083 A JP 2585083A JP S59153204 A JPS59153204 A JP S59153204A
Authority
JP
Japan
Prior art keywords
programmable controller
programming device
programming
specifications
program
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.)
Granted
Application number
JP2585083A
Other languages
Japanese (ja)
Other versions
JPH0327926B2 (en
Inventor
Kazuhiko Hasegawa
和彦 長谷川
Susumu Tamano
玉野 享
Yukio Fukui
福井 行夫
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.)
Fuji Electric Co Ltd
Toyota Motor Corp
Original Assignee
Fuji Electric Co Ltd
Toyota Motor Corp
Fuji Electric Manufacturing Co 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 Fuji Electric Co Ltd, Toyota Motor Corp, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2585083A priority Critical patent/JPS59153204A/en
Publication of JPS59153204A publication Critical patent/JPS59153204A/en
Publication of JPH0327926B2 publication Critical patent/JPH0327926B2/ja
Granted 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/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13171Portable, detachable programming unit

Landscapes

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

Abstract

PURPOSE:To use a programming device in common by setting up a specification referring code corresponding to specification in each programmable controller and allowing the programming device to read the code to control programming. CONSTITUTION:The programming device 2 is connected to the programmable controller (PC) 1 through communication interfaces 26, 15 and a connection cable 3. The specification referring code is set up in a system memory 13 of the PC1 and a specification table is set up in a system program memory 22 of the programming device 2. In the PC1, a microprocessor 1 controls and executes a program in a user program memory 12. The speciication referring code as the specification information of the PC1 is previously read out from the PC body 1, and at the time of programming, the programming operation is made correspond to the inherent specification of each PC while referring the specification table corresponding to said code stored in the programming device 2.

Description

【発明の詳細な説明】 この発明はプログラマブルコントローラ(以下PCと略
す)のプログラミング装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a programming device for a programmable controller (hereinafter abbreviated as PC).

PCはその適用分野の拡大に伴ってその機能、入出力規
模、プログラム容量等が多様化してきているが、これに
プログラムするプログラミング装置は経済性、保守性の
面からできるだけ各機種に共通に使用できる事が望まれ
る。
As the fields of application of PCs expand, their functions, input/output scale, program capacity, etc. are diversifying, but the programming device used to program them should be used as commonly as possible for each model from the standpoint of economy and maintainability. It is hoped that it will be possible.

近年、PCは産業界の各方面に普及してきているが、こ
れを供給するメーカ側は需要家の種々のPCに対する要
求に対応できるよう1.様々の仕様のPCを開発し、提
供している。需要家はこれらのPCの中から、制御対象
に応じて最っとも適したPCを採用する事ができる。
In recent years, PCs have become widespread in various fields of industry, and the manufacturers that supply them are trying to meet the various PC demands of consumers. We develop and provide PCs with various specifications. The consumer can select the most suitable PC from among these PCs depending on the object to be controlled.

各PC本体の機種毎に異なる仕様の主なものは以下があ
げられる。
The following are the main specifications that differ for each model of PC body.

(1)  入・出力の規模 (2)入・出力のインターフェース(無接黒人・出力、
リレー人−出力等) (3)ユーザ嗜プログラム・メモリ容量(4)  命令
体系 一方これにプログラムするプログラミング装置について
みると、プログラミング機能、モニタ機能、プログラム
保存機能(カセット・テープ等)。
(1) Scale of input/output (2) Input/output interface (unconnected/output,
(3) User-specified program/memory capacity (4) Command system On the other hand, if we look at the programming device that is programmed into this device, it has a programming function, a monitor function, and a program storage function (cassette tape, etc.).

PROMライタ機能、高級言語(ラダー図等)によるプ
ログラミングや作図機能等の機能が要求され、これに対
しても、供給側はこれらの機能の一部又は全弓を備えた
装置を開発している。
Functions such as a PROM writer function, programming using a high-level language (such as ladder diagrams), and a drawing function are required, and in response to this, suppliers are developing devices that are equipped with some or all of these functions. .

しかしながら前述したようにPCは機種毎に仕様が異な
シ、その機種毎に専用プログラミング装置を開発したの
では不経済であり、また保守性の低下をまねく。従って
次のような方法でプログラミング装置の共用化が図られ
ている。
However, as mentioned above, each model of PC has different specifications, and it would be uneconomical to develop a dedicated programming device for each model, and it would also lead to a decline in maintainability. Therefore, the following methods are used to share programming devices.

(1)少くとも命令体系の共通のものはPCとプログラ
マとの通信インタフェースを共通にして、入・出力の規
模、メモリ容量等はその最大規模のものに合せて、1つ
のプログラミング装置で命令体系の同じ数種のPCと接
続できるようにする。
(1) At least for those with a common instruction system, the communication interface between the PC and the programmer is common, and the input/output scale, memory capacity, etc. are adjusted to the maximum size, and the instruction system is used in one programming device. to connect to the same several types of PCs.

(2)そのメーカが供給するPCのすべて又はほとんど
に接続できるように複数のインタフェースを備え、PC
の仕様の違いにはパネル上の選択スイッチを選択すれば
対応できるようにする。
(2) A PC equipped with multiple interfaces so that it can be connected to all or most of the PCs supplied by the manufacturer.
Differences in specifications can be accommodated by selecting a selection switch on the panel.

しかし、これらの方法では次の欠点が考えられる。However, these methods have the following drawbacks.

(1)の方法ではそのP−C系列の各仕様項目の最大規
模のものに合せてプログラミング装置が設計されている
ため、それに合致するPCと接続する場合は特に問題な
いが、これと必らずしも一致しな、いPCと接続した場
合には、 (イ)実際にはPCには実′装されていないメモリ領域
にプログラムを書き込もうとする。
In method (1), since the programming device is designed according to the maximum size of each specification item of the P-C series, there is no particular problem when connecting to a PC that matches that, but this is not always the case. When connected to a PC that does not match, (a) it attempts to write a program to a memory area that is not actually installed in the PC;

(ロ)そのPCO入・出力規模を越えた範囲のアドレス
をプログラム時に指定してしまう。
(b) Specifying an address in a range that exceeds the PCO input/output scale during programming.

(ハ) PCによっては実行不可能な命令がプログラム
されてしまう。
(c) Instructions that cannot be executed may be programmed depending on the PC.

等の欠点−がある。又プログラミング装置が上記(イ)
、(ロ)、e→の操作を行なうとした時点で、PC本体
がエラー信号をプログラミング装置に出力し、操作エラ
ーをその発生の都度、表示したのでは、操作性の低下を
才ねく。
There are drawbacks such as. Also, the programming device is as described above (a).
, (b) When attempting to perform the operation e→, the PC main body outputs an error signal to the programming device, and if the operation error is displayed every time it occurs, the operability will deteriorate.

(2)の方法では1台のプログラミング装置で多数の機
種に接続可能であるが、プログラミング装置が高価とな
り、又操作も複雑で、選択スイッチの設定そのものを誤
シやずいという欠点がある。
In the method (2), it is possible to connect many models with one programming device, but the programming device is expensive, the operation is complicated, and the setting of the selection switch itself can be easily made by mistake.

この発明は上述の欠点を除去して、接続されているPC
のプログラム容量、入出力規模、命令の種類等の仕様は
プログラミング装置が自動的に判断し、誤りなくプログ
ラム操作ができるようにする事により、仕様の異なる複
数のPCのプログラム装置の共用化を図ることを目的と
する。
This invention eliminates the above-mentioned drawbacks and allows the connected PC to
The programming device automatically determines specifications such as program capacity, input/output scale, and instruction types, and allows program operations to be performed without errors, allowing multiple PCs with different specifications to share the programming device. The purpose is to

この目的は本発明によれば、各プログラマブル去ントロ
ーラに仕様に応じた仕様参照コードを設定し、グログラ
ミング装置がこの仕様参照コードを読み取って仕様に応
じてプログラム操作をコントロールすることにより達成
される。
According to the present invention, this purpose is achieved by setting a specification reference code in each programmable controller according to the specifications, and having the programming device read this specification reference code and control the program operation according to the specifications. .

以下、本発明を図に示す実施例に基づいて詳細に説明す
る。
Hereinafter, the present invention will be explained in detail based on embodiments shown in the drawings.

第1図は本発明によるプログラミング方法を適用したプ
ログラマブルコントローラおよびプログラミング装置の
実施例を示している。図において、1はプログラマブル
コントローラ、2はプログラミング装置、3は接続ケー
ブル、11はマイク日プロセッサ、12はユーザグログ
ラムメモリ、13はシステムメモリ、14は入出カモジ
ュール、15は通信インタフェース、21はマイクログ
ロセッサ、22はシステムプログラムメモリ、23はシ
ステムR,AMA % Q、24はキーボード、25は
表示器、26は通信インタフェースを示している。
FIG. 1 shows an embodiment of a programmable controller and a programming device to which a programming method according to the present invention is applied. In the figure, 1 is a programmable controller, 2 is a programming device, 3 is a connection cable, 11 is a microphone processor, 12 is a user program memory, 13 is a system memory, 14 is an input/output module, 15 is a communication interface, and 21 is a microphone. 22 is a system program memory, 23 is a system R, AMA% Q, 24 is a keyboard, 25 is a display, and 26 is a communication interface.

プログラミング装置2は通信インターフェース26を介
して接続ケーブル3によシプログラマプルコントローラ
1に接続されている。プログラマブルコントローラ1は
プログラミング装置2により通信インターフェース15
を介してユーザプログラムメモリ12に書き込まれたプ
ログラムを、システムメモリ13に格納されたシステム
プログラムがマイクロプロセッサ1工を制御して実行し
、その結果の信号が入出カモジュール14とやシとシさ
れる。プログラミング装置2はシステムプログラムメモ
リ22に格納されたシステムプログラムによりマイクロ
プロセッサ21を制御してキーボード24の操作により
表示器25の更新を行いながら必要に応じて通信インタ
ーフェース26を介してプログラマブルコントローラ1
にプログラムを書き込む。
The programming device 2 is connected to the programmable controller 1 by a connecting cable 3 via a communication interface 26 . The programmable controller 1 is connected to the communication interface 15 by the programming device 2.
The system program stored in the system memory 13 controls the microprocessor 1 to execute the program written in the user program memory 12 via the microprocessor 1, and the resulting signal is transmitted to the input/output module 14. Ru. The programming device 2 controls the microprocessor 21 according to the system program stored in the system program memory 22, updates the display 25 by operating the keyboard 24, and updates the programmable controller 1 via the communication interface 26 as necessary.
Write the program to .

このような操作のためにプログラミング装置2のキーボ
ード24、表示器25は第2図に示すように構成される
。第2図はプログラミング装置の外観図であシ、図にお
いて、31は接続ケーブル3との接続用コネクタ、24
..25は第1図と同一のキーボード、表示器を示して
いる。なお、表示器25は16桁2行で構成される。こ
の表示器25にはプログラミングの際にキー人力された
データ等が表示される。
For such operations, the keyboard 24 and display 25 of the programming device 2 are constructed as shown in FIG. FIG. 2 is an external view of the programming device. In the figure, 31 is a connector for connection with the connection cable 3, and 24
.. .. Reference numeral 25 indicates the same keyboard and display as in FIG. Note that the display 25 is composed of two lines of 16 digits. The display 25 displays data entered manually during programming.

ところでプログラマブルコントローラ本体の機種毎に異
なる仕様の例を第3図に示す。第3図は2つのプログラ
マブルコントローラP C1、PO2の仕様を示したも
のであシ、異なる仕様の主なものは前述のように入出力
の規模、ユーザ・プログラム・メモリ容量および命令体
系である。なお、第3図においては、データメモリの項
は各リレーのアドレスを8進数で示している。また、命
令体系におけるシーケンス基本命令および拡張命令の例
を第4図および第5図に示す。第4図に示すようにシー
ケンス基本命令としては、8TR,(論理の   □開
始、論理の中間結果の記憶)、8TRN0T(論理の開
始(否定)、論理の中間結果の記憶)、AND (論理
積) 、AND N0T(論理積否定)。
Incidentally, FIG. 3 shows an example of specifications that differ depending on the model of the programmable controller main body. FIG. 3 shows the specifications of the two programmable controllers PC1 and PO2, and the main differences in the specifications are the input/output scale, user program memory capacity, and instruction system as described above. In FIG. 3, the data memory section shows the address of each relay in octal notation. Further, examples of sequence basic commands and extended commands in the command system are shown in FIGS. 4 and 5. As shown in Figure 4, the sequence basic commands are 8TR, (start of logic, store intermediate results of logic), 8TRN0T (start (negation) of logic, store intermediate results of logic), AND (logical product) ), AND NOT (logical product negation).

OR(論理和)、oRNOT  (論理和否定)、AN
D  STR(中間結果との論理積) 、 OR5TR
(中間結果との論理和)、OUT  (外部または内部
への出力)、TMR(タイマ動作)、CNT(カウンタ
動作)の11種類があげられる。また、第5図に示すよ
うに拡張命令としてはFUNOO(データ転送)、FU
NOI (データ・セット) 、 FUN02 (デー
タ交換)、F’UNO3(DCD→バイナリイ変換)、
FUNO4(バイナリイーBCD 変換)、FUNIO
(加算)、FUN11減算)、FUN12(比較)、F
UN13(8ピツトデータの論理積)、FUN14 (
8ピッ)データノ論理和)、FUN4゜(プログラムの
終了)FUN46 (瞬停後の動作宣言ンの12種類が
あげられる。
OR (logical sum), oRNOT (logical sum negation), AN
D STR (logical product with intermediate result), OR5TR
There are 11 types: (logical sum with intermediate results), OUT (output to the outside or inside), TMR (timer operation), and CNT (counter operation). In addition, as shown in Figure 5, extended instructions include FUNOO (data transfer), FU
NOI (data set), FUN02 (data exchange), F'UNO3 (DCD → binary conversion),
FUNO4 (binary e-BCD conversion), FUNIO
(addition), FUN11 subtraction), FUN12 (comparison), F
UN13 (logical product of 8 pit data), FUN14 (
There are 12 types of 8-pi) data logical sum), FUN4゜ (program end), FUN46 (operation statement after instantaneous power failure).

このようにPC本体は機種毎に仕様が異なるが。As you can see, the specifications of the PC body vary depending on the model.

これに対応するために、プログラミング装置2のシステ
ムプログラムメモリ22内には各PCの仕様テーブルが
設けられており、また、各プログラマブルコントローラ
1のシステムメモリ13には仕様参照コードが設けられ
る。この仕様参照コー′ドは例えばPCIについては”
01”、PO2については”02’”のように設定され
る。システムプログラムメモリ22内に設けられる仕様
テーブルの一例を第6図(イ)、(ロ)に示す。第6図
(イ)はPCI 、pc2の仕様テーブルの先頭アドレ
スであるアドレスC,Dを格納したテーブルであシ、P
CIの仕様参照コード01H″によりアドレスAが指定
され、P’CIの仕様テーブルの先頭アドレスCが読出
され、また仕様参照コード02H″によりアドレスBが
指定され、PO2の仕様テーブルの先頭アドレスDが読
出される。先頭アドレスC2Dで指定されるPCI、P
O2の仕様テーブルは第6図(ロ)に示すように構成さ
れており、−例としてPCIの仕様テーブルを拡大して
示している。
To cope with this, a specification table for each PC is provided in the system program memory 22 of the programming device 2, and a specification reference code is provided in the system memory 13 of each programmable controller 1. For example, for PCI, this specification reference code is ``
01", and "02'" for PO2. An example of the specification table provided in the system program memory 22 is shown in FIGS. 6(a) and 6(b). It is a table that stores addresses C and D, which are the first addresses of the specification table of PCI and pc2.
The CI specification reference code 01H'' specifies address A, the first address C of the P'CI specification table is read, the specification reference code 02H'' specifies address B, and the first address D of the PO2 specification table is read. Read out. PCI specified by start address C2D, P
The O2 specification table is configured as shown in FIG. 6(B), and the PCI specification table is shown as an example in an enlarged manner.

仕様テーブルは仕様項目のタイプを示すデータと、この
仕様項目のバイト数のデータと、仕様内容を示したデー
タとを1ブロツクとして、複数のブロック(仕様項目)
とテーブルエンド情報から形成されている。第7図はこ
の仕様テーブルの詳細な一実施例を示している。第7図
(イ)に示すように、仕様項目としては、“実行可能命
令仕様”、″データメモリ仕様″、′プログラム容量仕
様“の各タイプがある。実行可能命令仕様の内容として
は。
The specification table is divided into multiple blocks (specification items), with data indicating the type of specification item, data indicating the number of bytes of this specification item, and data indicating the specification content being one block.
and table-end information. FIG. 7 shows a detailed example of this specification table. As shown in FIG. 7(a), there are three types of specification items: "executable instruction specifications,""data memory specifications," and "program capacity specifications."The contents of the executable instruction specifications are as follows.

基本命令の有無、基本命令の詳細テーブル先頭アドレス
、拡張命令の有無、拡張命令の詳細テーブル先頭アドレ
スがあシ、データメモリ仕様の内容としては、データメ
モリの詳細テーブル先頭アドレスがあシ、また、プログ
ラム容量仕様の内容としては、最大プログラムステップ
数がある。なお、仕様項目のバイト数のデータが設けら
れているのは、次の仕様項目がどこから始まっているの
かを判断するためである。第7図(ロ)、(ハ)はそれ
ぞれ第3図に示す仕様のPC2、PCIの仕様テーブル
の実施例を示している。第3図に示すようにPCIは拡
張命令がないために、第7図(ハ)に示すように拡張命
令の有無のデータが0”となっておシ、それに応じて拡
張命令の詳細テーブル′先頭アドレスのデータは設けら
れていない。iた。テーブルエンド情報としては他にお
いて用いられない“FFH”が使用される。
The presence or absence of basic instructions, the start address of the detailed table of basic instructions, the presence or absence of extended instructions, the start address of the detailed table of extended instructions, and the contents of the data memory specifications include the start address of the detailed table of data memory, and The program capacity specifications include the maximum number of program steps. Note that the data on the number of bytes of the specification item is provided in order to determine where the next specification item starts. FIGS. 7(b) and 7(c) show examples of specification tables for PC2 and PCI having the specifications shown in FIG. 3, respectively. As shown in FIG. 3, since PCI does not have extended instructions, the data indicating the presence or absence of extended instructions is 0'' as shown in FIG. No starting address data is provided. "FFH", which is not used elsewhere, is used as table end information.

以上に説明したように、第1図に示すプログラマブル・
コントローラ1のシステムメモリ13内に仕様参照コー
ドを設定し%またグログラシング装置2のシステムプロ
グラムメモリ22に仕様テーブルを設定した場合の動作
を第8図のフローチャートに基づいて説明する。第8図
はシステムプログラムメモリ22のシステムプログラム
のフローチャートである。第8図のフローチャートに示
すように、プログラミング装置2は電源投入時にプログ
ラマブルコントローラ1本体より仕様参照コードを読み
出して仕様テーブルを決定する(ステップ8t)。そし
て、キー人力があるかどうかを判断しくステップS、)
、キー人力があった場合には、まず、そのキー人力がプ
ログラム−ステップの指定キーでおるかどうかの判断を
行なう(ステップSs)。プログラム・ステップの指定
キーである場合には、第7図に示す構成の仕様テーブル
を参照し、指定のステップが、設定範囲内(最大グログ
ラム・ステップ数内)であれば表示を更新し、範囲外と
なる場合は初期表示にもどす(ステップ84)。もし、
プログラム・ステップの指定キーでなければ、次に命令
語の指定キーであるかの判断を行なう(ステップS、)
。命令語の指定キーである場合には、第7図に示す構成
の仕様テーブルを!参照し、指定された命令が基本命令
あるいは拡張命令(拡張命令が有りの場合)にあるかど
うかを検査することによシ指定の命令を対象のPCが実
行可能であるかを判断し、実行可能であるならば表示を
更新し、実行不能ならばこのキー操作は無視する(ステ
ップSs)。もし、命令語の指定キーでなければ、次に
データメモリのアドレス指定キーであるかどうかの判断
を行なう(ステップSy)。
As explained above, the programmable
The operation when a specification reference code is set in the system memory 13 of the controller 1 and a specification table is set in the system program memory 22 of the grossing device 2 will be explained based on the flowchart of FIG. FIG. 8 is a flow chart of the system program in the system program memory 22. As shown in the flowchart of FIG. 8, when the power is turned on, the programming device 2 reads the specification reference code from the main body of the programmable controller 1 and determines the specification table (step 8t). Then, decide whether you have the key human resources or not (step S,)
If there is a key manual input, it is first determined whether the key manual input is the designated key of the program step (step Ss). If the specified key is a program step, refer to the specification table with the configuration shown in Figure 7, and if the specified step is within the set range (within the maximum number of program steps), update the display and If outside, the initial display is returned (step 84). if,
If it is not the specified key of the program step, then it is determined whether it is the specified key of the command word (step S).
. If it is a command word specification key, use a specification table with the structure shown in Figure 7! By checking whether the specified instruction is a basic instruction or an extended instruction (if an extended instruction is available), it is determined whether the target PC can execute the specified instruction and executed. If possible, the display is updated; if not, this key operation is ignored (step Ss). If it is not a command word designation key, then it is determined whether it is a data memory address designation key (step Sy).

アドレス指定キーである場合には、第7図に示す構成の
仕様テーブルを参照し、データメモリの詳細テーブル先
頭アドレスから詳細テーブルを読み出してデータメモリ
のアドレスがそのPC固有のデータメモリアドレス範囲
にあるかどうかの判断を行なう(ステップ8s)。この
ようにキー人力がある度に仕様テーブルと関係のある項
目がどうがが調べられ、仕様テーブルと関係のある場合
には具体的に仕様テーブルの内容と表示内容とが比較さ
れ、そのプログラマブルコントローラ固有の仕様に合わ
せた表示内容となる標準処理が行なわれる。
If it is an address specification key, refer to the specification table with the configuration shown in Figure 7, read the detailed table from the start address of the detailed table of the data memory, and check that the address of the data memory is within the data memory address range unique to that PC. A determination is made as to whether or not (step 8s). In this way, each time there is a key human power, items related to the specification table are checked, and if they are related to the specification table, the contents of the specification table and the displayed contents are specifically compared, and the programmable controller Standard processing is performed to match the display content to specific specifications.

第9図は、本発明の別の実施例の場合のフローチャート
を示している。この実施例においては、仕様参照コード
をプログラマブルコントローラに設定する点は先□に説
明した実施例と同一であるが、プログラミング装置には
仕様テーブルのがわりに各プログラマブルコントローラ
の固有の処理プログラムが設けられている。この実施例
によれば、第9図に示すように電源投入時にプログラマ
ブルコントローラ本体よシ仕様参照コード(例えば01
)を読み取った後(ステップS1)、直ちにこの仕様参
照コードに応じて各プログラマブルコントローラの固有
の処理プログラムに分岐するものである(ステップf%
)。この場合は、特に仕様をテーブルとしてまとめなく
ても処理が可能であシ、また各グログラママブルコント
ローラ毎に別々に作成した処理プログラムをシステム几
AMP −% %に容易に追加することができる。
FIG. 9 shows a flowchart for another embodiment of the invention. This embodiment is the same as the embodiment described above in that the specification reference code is set in the programmable controller, but the programming device is provided with a unique processing program for each programmable controller instead of the specification table. ing. According to this embodiment, as shown in FIG. 9, when the power is turned on, a specification reference code (for example, 01
) (step S1), the program immediately branches to a specific processing program for each programmable controller according to this specification reference code (step f%).
). In this case, processing can be carried out without compiling the specifications as a table, and a processing program created separately for each programmable controller can be easily added to the system program.

このほかにも、変形例として、一部の仕様項目は前述の
通り各プログラマブルコントローラ固有の仕様テ プル
を参照しながら標準処理し、他の項目は各プログラマブ
ルコントローラ毎に作成された処理プログラムに分岐し
て処理する方法も考えられる。
In addition, as a modified example, some specification items are processed as standard while referring to the specification table specific to each programmable controller as described above, and other items are branched to a processing program created for each programmable controller. Another possible method is to process it by

以上に説明した通シ、この発明によれば、プログラミン
グ装置が接続されているプログラマブルコントローラ本
体から、あらかじめそのプログラマブルコントローラの
仕様情報として仕様参照コードを読み出し、プログラミ
ング操作の際には、プログラミング装置内部にあるこの
コードに対応する仕様テーブルを参照するか、あるいは
処理するプログラムをスイッチして各プログラマブルコ
ントローラ固有の仕様に対応するようにしたため、次の
ような効果が得られる。
According to the present invention, a specification reference code is read out in advance as specification information of the programmable controller from the main body of the programmable controller to which the programming device is connected, and during programming operation, the specification reference code is read out from the programmable controller body to which the programming device is connected. By referring to the specification table corresponding to this code or switching the processing program to correspond to the specific specifications of each programmable controller, the following effects can be obtained.

(1)異なる仕様のプログラマブルコントローラでもプ
ログラミング装置が共用化でき、経済的である。
(1) Programmable controllers with different specifications can share the same programming device, which is economical.

(2)接続されているプログラマブルコントローラの各
仕様項目毎に自動的に設定されたキー操作となシ、プロ
グラミングが正確で誤操作が防げる。
(2) With key operations automatically set for each specification item of the connected programmable controller, programming is accurate and erroneous operations can be prevented.

(3)  各プログラマブルコントローラのキー操作方
法の統一が容易なため、多種類のプ四グラマプルコント
ロー2を使用している需要家にとって・操作性、保守性
が向上する。
(3) Since it is easy to unify the key operation method of each programmable controller, operability and maintainability are improved for customers who use many types of programmable controllers 2.

(4)既存のプログラマブルコントローラの仕様変更あ
るいは追加の場合、あるいは新規にプログラマブルコン
トローラを開発する場合でも、プログラミング装置の共
用化が容易である。
(4) Even when changing or adding specifications to an existing programmable controller, or when developing a new programmable controller, it is easy to share the programming device.

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

第1図は本発明によるプログラミング方法を適用したプ
ログラマブルコントローラとブロクラミング装置の実施
例、第2図はプログラミング装置の外観図、第3図はプ
ログラマブルコントローラの各仕様の一例を示す説明図
、第4図はシーケンス基本命令の説明図、第5図はシー
ケンス拡張命令の説明図、第6図は仕様テーブルの実施
例を示す図、第7図は仕様テーブルの詳細な実施例を示
す図、第8図、第9図は本発明の動作を示すフローチャ
ーt°である。 1・・・プログラマブルコントローラ、2・・・プログ
ラミング装置、3・・・接続ケーブル、11.21・・
・マイクロプロセッサ、12・・・ユーザプログラムメ
モリ113.22・・・システムメモリ、14・・・人
出カモジュール、15.26・・・通信インタフェース
。 23・・・システムRAM、  24・・・キーボード
、25・・・一 −9”1   図 + 2  図 f  3  目 才40 f  5  側 τ  θ  閘 f  7  図 オ 6  図
FIG. 1 is an example of a programmable controller and blockraming device to which the programming method according to the present invention is applied, FIG. 2 is an external view of the programming device, FIG. 3 is an explanatory diagram showing an example of each specification of the programmable controller, and FIG. Figure 5 is an explanatory diagram of sequence basic commands, Figure 5 is an explanatory diagram of sequence extension commands, Figure 6 is a diagram showing an example of a specification table, Figure 7 is a diagram showing a detailed example of a specification table, and Figure 8 is a diagram showing a detailed example of a specification table. 9 is a flowchart t° showing the operation of the present invention. 1... Programmable controller, 2... Programming device, 3... Connection cable, 11.21...
- Microprocessor, 12... User program memory 113.22... System memory, 14... Attendance module, 15.26... Communication interface. 23...System RAM, 24...Keyboard, 25...1-9"1 Figure + 2 Figure f 3 Eye size 40 f 5 side τ θ Lock f 7 Figure O 6 Figure

Claims (1)

【特許請求の範囲】 1)仕mの異なるプログラマブルコントローラにそれぞ
れ仕様に応じた仕様参照コードを設定し、プログラミン
グ装置に仕様の異なるプログラマブルコントローラとそ
れぞれ接続可能なインタフェース回路と、該インタフェ
ース回路に接続可能なプログラマブルコントローラの各
仕様が前記仕様参照コードにより検索できるように記憶
された仕様テーブルとを設け、前記プログラミング装置
はプログラマブルコントローラより仕様参照コードを読
み取って参照する仕様テーブルを決定し、キー人力があ
った際に該仕様テーブルを参照してプログラム操作をコ
ントロールするようにしたことを特徴とするプログラマ
ブルコントローラのプログラミング方式。 2)仕様の異なるプログラマブルコントローラにそれぞ
れ仕様に応じた仕様参照コードを設定し、プログラミン
グ装置に仕様の異なるプログラマブルコントローラとそ
れぞれ接続可能なインタフェース回路と、該インタフェ
ース回路に接続可能なプログラマブルコントローラの各
仕、様に応じた固有の処理プログラムとを設け、前記プ
ログラミング装置は、プログラミング開始時に前記プロ
グラマブルコントローラよシ前記仕様参照コードを読み
取って仕様に応じた固有の処理プログラムを決定し、キ
ー人力があった際に固有の処理プログラムに基づいてプ
ログラム操作をコントロールするようにしたことを特徴
とするプログラマブルコントローラのプログラミング方
式。
[Claims] 1) Specification reference codes are set in programmable controllers with different specifications according to their respective specifications, and a programming device is provided with an interface circuit that can be connected to each of the programmable controllers with different specifications, and an interface circuit that can be connected to the interface circuit. A specification table is provided in which each specification of the programmable controller is stored so that each specification can be searched by the specification reference code, and the programming device reads the specification reference code from the programmable controller to determine the specification table to be referred to, and requires no key human power. A programming method for a programmable controller, characterized in that program operations are controlled by referring to the specification table when the program is executed. 2) Setting specification reference codes according to the specifications of programmable controllers with different specifications, and setting interface circuits that can be connected to programmable controllers with different specifications in the programming device, and each specification of the programmable controllers that can be connected to the interface circuits. The programming device reads the specification reference code from the programmable controller at the start of programming, determines a unique processing program according to the specifications, and when key human power is available, the programming device reads the specification reference code from the programmable controller at the start of programming. A programming method for a programmable controller characterized in that program operations are controlled based on a processing program specific to the controller.
JP2585083A 1983-02-18 1983-02-18 Programming system of programmable controller Granted JPS59153204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2585083A JPS59153204A (en) 1983-02-18 1983-02-18 Programming system of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2585083A JPS59153204A (en) 1983-02-18 1983-02-18 Programming system of programmable controller

Publications (2)

Publication Number Publication Date
JPS59153204A true JPS59153204A (en) 1984-09-01
JPH0327926B2 JPH0327926B2 (en) 1991-04-17

Family

ID=12177310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2585083A Granted JPS59153204A (en) 1983-02-18 1983-02-18 Programming system of programmable controller

Country Status (1)

Country Link
JP (1) JPS59153204A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6198403A (en) * 1984-10-19 1986-05-16 Toyota Motor Corp Automatic allotment/application device for program controller address
JPS61121106A (en) * 1984-11-19 1986-06-09 Hokuyo Automatic Co Function setting method for programmable controller
JPS61121105A (en) * 1984-11-19 1986-06-09 Hokuyo Automatic Co Programmable controller
JPS61255410A (en) * 1985-05-08 1986-11-13 Yaskawa Electric Mfg Co Ltd Program transmission method in control system
JPS6211903A (en) * 1985-07-10 1987-01-20 Fuji Electric Co Ltd Programmable controller
JPS62108308A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Programmable controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100673527B1 (en) 2002-09-20 2007-01-24 도꾸리쯔교세이호징 가가꾸 기쥬쯔 신꼬 기꼬 Method for forming a film and masking mechanism for film-forming device for forming the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5476786A (en) * 1977-11-30 1979-06-19 Hitachi Ltd Input and output unit of sequence controller
JPS57206966A (en) * 1981-06-15 1982-12-18 Toyota Motor Corp General-purpose program input and output device
JPS57206965A (en) * 1981-06-15 1982-12-18 Toyota Motor Corp General purpose type cassette loader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5476786A (en) * 1977-11-30 1979-06-19 Hitachi Ltd Input and output unit of sequence controller
JPS57206966A (en) * 1981-06-15 1982-12-18 Toyota Motor Corp General-purpose program input and output device
JPS57206965A (en) * 1981-06-15 1982-12-18 Toyota Motor Corp General purpose type cassette loader

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6198403A (en) * 1984-10-19 1986-05-16 Toyota Motor Corp Automatic allotment/application device for program controller address
JPH0434767B2 (en) * 1984-10-19 1992-06-09 Toyota Motor Co Ltd
JPS61121106A (en) * 1984-11-19 1986-06-09 Hokuyo Automatic Co Function setting method for programmable controller
JPS61121105A (en) * 1984-11-19 1986-06-09 Hokuyo Automatic Co Programmable controller
JPS61255410A (en) * 1985-05-08 1986-11-13 Yaskawa Electric Mfg Co Ltd Program transmission method in control system
JPH0566604B2 (en) * 1985-05-08 1993-09-22 Yaskawa Electric Corp
JPS6211903A (en) * 1985-07-10 1987-01-20 Fuji Electric Co Ltd Programmable controller
JPS62108308A (en) * 1985-11-06 1987-05-19 Mitsubishi Electric Corp Programmable controller

Also Published As

Publication number Publication date
JPH0327926B2 (en) 1991-04-17

Similar Documents

Publication Publication Date Title
US4118789A (en) Program protection module for programmable controller
US5295059A (en) Programmable controller with ladder diagram macro instructions
US4200915A (en) Program loader for programmable controller
US5218525A (en) Method and apparatus for partially running a sequence program for debugging thereof
US4115853A (en) Jump structure for a digital control system
JPS60262204A (en) Programmable controller
JPS59153204A (en) Programming system of programmable controller
JP3024422B2 (en) Programmable controller and method of operating programmable controller
JP3456692B2 (en) Data processing device
US4326263A (en) Method and apparatus for controlling a plurality of like equipments
CA2056829A1 (en) Programmable controller processor for concurrently executing multiple user programs
JPH06187015A (en) Program converter for sequencer
US11829355B2 (en) Control system, control method, and control program
JP3392663B2 (en) Programmable display
JP3335728B2 (en) Programmable controller
US4511983A (en) Apparatus for controlling microinstructions stored in a data processing unit memory
JP2573251B2 (en) How to specify the transmission of the programmable controller
JPH04168022A (en) Centralized controlling device of injection molding machine
JPS5870361A (en) Input controlling system
JPS58221405A (en) Programmable controller
JPS5884306A (en) Programming device of programmable controller
JPH0472244B2 (en)
JPH03144705A (en) Operation state monitor for programmable controller
JP3452708B2 (en) Programmable controller
JPS60169906A (en) Programmable controller