JPH04359324A - Computer system - Google Patents

Computer system

Info

Publication number
JPH04359324A
JPH04359324A JP3134336A JP13433691A JPH04359324A JP H04359324 A JPH04359324 A JP H04359324A JP 3134336 A JP3134336 A JP 3134336A JP 13433691 A JP13433691 A JP 13433691A JP H04359324 A JPH04359324 A JP H04359324A
Authority
JP
Japan
Prior art keywords
debugging
development
sequencers
sequencer
computer
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
JP3134336A
Other languages
Japanese (ja)
Inventor
Hiroaki Sasaki
宏明 佐々木
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP3134336A priority Critical patent/JPH04359324A/en
Publication of JPH04359324A publication Critical patent/JPH04359324A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To efficiently develop and debug a program by connecting corresponding developing and debugging parts to respective sequencers. CONSTITUTION:This system consists of a higher-order computer C having a CRT and plural sequencers PC1 to PCn which are connected to the higher-order computer C through a bus B and are controlled by this computer C. The higher- order computer C is provided with the same number of developing and debugging parts S1 to S3 as various program languages executed in sequencers PC1 to PCn respectively and is provided with a switching part GW which connects corresponding developing and debugging parts to respective sequencers. Consequently, the higher-order computer C switches the developing and debugging part corresponding to the programming language peculiar to each sequencer by the switching part and displays it on the CRT or the like to perform the processing when the program is developed and debugged in the sequencer.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ファクトリー・オート
メーション分野に用いられるコンピュータと、このコン
ピュータにシーケンサとして用いられるプログラマブル
・コントローラ等が複数台接続される工業用のコンピュ
ータ・システムに関し、詳しくは、シーケンサ側にて取
り扱われる複数のプログラム言語によるプログラムを効
率よく開発、デバッグできるように改善するものである
[Industrial Application Field] The present invention relates to a computer used in the field of factory automation, and an industrial computer system in which a plurality of programmable controllers used as sequencers are connected to this computer. The objective is to improve the ability to efficiently develop and debug programs written in multiple programming languages handled by the system.

【0002】0002

【従来の技術】マイクロコンピュータ、メモリ等の技術
的な進歩に伴い、プログラマブル・コントローラ等のシ
ーケンサの機能の進歩も著しく、このようなシーケンサ
複数台と、上位コンピュータとから構成されるコンピュ
ータ・システムにおいては、ラダー・プログラム、BA
SIC、C言語等の複数のプログラム言語を1システム
でサポートするようなものが一般的になりつつある。
[Background Art] Along with technological advances in microcomputers, memories, etc., the functions of sequencers such as programmable controllers have also significantly advanced. is a ladder program, BA
Systems that support multiple programming languages such as SIC and C language in one system are becoming common.

【0003】一方、これらのラダー・プログラム、BA
SIC、C言語等を用いてのプログラム開発、デバッグ
等を行う装置は、依然として1言語のみをサポートする
専用機器に頼っていて、このような専用機器はプログラ
ム開発、デバッグ以外の他の情報処理能力は弱い。また
、このような専用機器は、通常、シリアル通信系により
シーケンサと1対1に接続し、複数のシーケンサを連繋
して操業するラインにおいては、シーケンサの設置され
る場所に逐次、人間が専用機器を持って移動してプログ
ラム開発、デバッグを行わなければならず、効率が悪か
った。更に、複数の異種プログラム言語をサポートする
プロセッサ・モジュールを実装するシーケンサについて
は、1台の専用機器では同時に複数言語をサポートする
ことはできず、不便であった。
On the other hand, these ladder programs, BA
Equipment for program development, debugging, etc. using SIC, C language, etc. still relies on dedicated equipment that supports only one language, and such dedicated equipment has other information processing capabilities other than program development and debugging. is weak. In addition, such dedicated equipment is usually connected one-to-one with a sequencer through a serial communication system, and in a line where multiple sequencers are connected and operated, a person is required to connect the dedicated equipment to the location where the sequencer is installed. This was inefficient as they had to carry the computer with them when developing and debugging programs. Furthermore, with respect to a sequencer equipped with a processor module that supports a plurality of different programming languages, one dedicated device cannot support the plurality of languages at the same time, which is inconvenient.

【0004】0004

【発明が解決しようとする課題】本発明は、このような
効率の悪さ、不便さ等の問題を解決することを課題とし
、異種、複数のプログラム言語をサポートするシーケン
サを複数台備えるシーケンサであっても、効率よくプロ
グラム開発、デバッグできるコンピュータ・システムを
得ることを目的とする。
[Problems to be Solved by the Invention] The present invention aims to solve such problems of inefficiency and inconvenience, and provides a sequencer equipped with a plurality of sequencers that support different types and multiple programming languages. The objective is to obtain a computer system that allows efficient program development and debugging.

【0005】[0005]

【課題を解決するための手段】以上の課題を解決した本
発明は、CRTを有する上位コンピュータと、この上位
コンピュータとバスを介して接続され前記上位コンピュ
ータにより制御される複数のシーケンサとからなるコン
ピュータ・システムにおいて、前記上位コンピュータに
、前記複数のシーケンサの各々にて実行される各種プロ
グラム言語に応じて、そのプログラム言語数分の開発・
デバッグ部を設けるとともに、各々の前記シーケンサに
つき対応する前記開発・デバッグ部を接続する切り換え
部を設けたことを特徴するコンピュータ・システムであ
る。
[Means for Solving the Problems] The present invention, which has solved the above problems, is a computer comprising a host computer having a CRT, and a plurality of sequencers connected to the host computer via a bus and controlled by the host computer.・In the system, the host computer is provided with development for the number of program languages executed in each of the plurality of sequencers.
The computer system is characterized in that it is provided with a debug section and a switching section that connects the development/debug section corresponding to each of the sequencers.

【0006】[0006]

【作用】本発明のコンピュータ・システムは、各々のシ
ーケンサにおいて、プログラミング開発、デバッグを行
う際、上位コンピュータにおいて、そのシーケンサに特
有のプログラミング言語に対応する開発・デバッグ部を
切り換え部にて切り換え、CRT等に表示して処理する
[Operation] When performing programming development and debugging in each sequencer, the computer system of the present invention switches the development/debugging section corresponding to the programming language specific to that sequencer in the upper computer using the switching section, and etc. and process it.

【0007】[0007]

【実施例】図1は、本発明を実施したコンピュータ・シ
ステムの構成概念図である。この図のシステム例は、上
位コンピュータCにバスBが接続し、バスBを介して、
n台のシーケンサPC1,PC2,PC3,…,PCn
が設置されるものである。上位コンピュータCは、ファ
クトリー・コンピュータ等の工業用のコンピュータであ
り、リアルタイム性を有するマルチタスク処理装置であ
る。そして、この上位コンピュータCは、第1の開発・
デバッグ部S1、第2の開発・デバッグ部S2、第3の
開発・デバッグ部S3を有するとともに、これらの開発
・デバッグ部S1,S2,S3を切り換えて各々のシー
ケンサに接続する切り換え部SWを有し、更に、このコ
ンピュータC内で第1の開発・デバッグ部S1、第2の
開発・デバッグ部S2、第3の開発・デバッグ部S3の
処理動作を制御する処理制御部CNTを有し、マンマシ
ン・インターフェイスとしてCRT等の表示制御部Dを
備える。尚、この図で上位コンピュータCについては、
本発明にとって必要最少限の構成要素のみを示す。バス
Bは、上位コンピュータCとシーケンサとPC1,PC
2,PC3,…,PCnとを連結するネットワークであ
る。バスBに接続されるn台のシーケンサPC1,PC
2,PC3,…,PCnは、BASIC言語、ラダー言
語、C言語等、シーケンス制御分野で用いられるプログ
ラム言語で動作するプログラマブル・コントローラを想
定し、各々のシーケンサは、工場ライン現場における接
点入出力、ランプ点灯等のシーケンス制御動作を行うブ
ロックである。このようなシステムでは、通常、上位コ
ンピュータCと複数台のシーケンサPC1,PC2,P
C3,…,PCnとは、バスBを介して各種情報を授受
し、表示制御部Dに信号表示を行うように動作する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a conceptual diagram of a computer system implementing the present invention. In the system example shown in this figure, bus B connects to host computer C, and via bus B,
n sequencers PC1, PC2, PC3,..., PCn
will be installed. The host computer C is an industrial computer such as a factory computer, and is a multitasking processing device with real-time performance. This host computer C is the first development
It has a debugging section S1, a second development/debugging section S2, and a third development/debugging section S3, and also has a switching section SW that switches these development/debugging sections S1, S2, and S3 and connects them to each sequencer. The computer C further includes a processing control section CNT for controlling processing operations of a first development/debugging section S1, a second development/debugging section S2, and a third development/debugging section S3. A display control unit D such as a CRT is provided as a machine interface. In this diagram, regarding the upper computer C,
Only the minimum necessary components for the present invention are shown. Bus B includes host computer C, sequencer, PC1, and PC.
2, PC3, . . . , PCn. n sequencers PC1 and PC connected to bus B
2, PC3, ..., PCn are assumed to be programmable controllers that operate in a programming language used in the sequence control field, such as BASIC language, ladder language, C language, etc., and each sequencer has contact input/output, This block performs sequence control operations such as lamp lighting. In such a system, usually a host computer C and multiple sequencers PC1, PC2, P
C3, . . . , PCn operate to exchange various information via the bus B and display signals on the display control unit D.

【0008】ここで、上位コンピュータCに設置される
第1の開発・デバッグ部S1、第2の開発・デバッグ部
S2、第3の開発・デバッグ部S3は、複数台のシーケ
ンサPC1,PC2,PC3,…,PCnにてサポート
されるプログラム言語数分のプログラム言語をサポート
するブロックである。この例では、シーケンサPC1,
PC2,PC3,…,PCnにおいて3種類のプログラ
ム言語が使用されるシステムとし、開発・デバッグ部は
3種類(S1,S2,S3)備えられる。ユーザは、第
1の開発・デバッグ部S1、第2の開発・デバッグ部S
2、第3の開発・デバッグ部S3を切り換え部SWによ
り切り換えて、これらのブロック、CRT、キーボード
等を通じて各々のシーケンサのシーケンス制御プログラ
ムの開発、デバッグ処理を行う。
[0008] Here, the first development/debugging section S1, second development/debugging section S2, and third development/debugging section S3 installed in the host computer C are connected to a plurality of sequencers PC1, PC2, PC3. ,..., This is a block that supports the same number of programming languages as those supported by PCn. In this example, sequencer PC1,
The system uses three types of programming languages in PC2, PC3, . The user operates the first development/debugging section S1 and the second development/debugging section S.
2. The third development/debugging section S3 is switched by the switching section SW to develop and debug the sequence control program for each sequencer through these blocks, CRT, keyboard, etc.

【0009】次に、図2を用い、このようなコンピュー
タ・システムの動作を説明する。ここで、図1において
、第1の開発・デバッグ部S1は、上位コンピュータC
の自分自身に設定されるBASICプログラムの開発、
デバッグを担当するブロックであり、具体的には、バス
Bを介して接続されるシーケンサに対する、デバッグ、
サポート、監視を行う。尚、この上位コンピュータCの
BASICプログラムは、各シーケンサにダイレクトに
アクセス可能とする。第2の開発・デバッグ部S2は、
シーケンサに設定されるBASICプログラムの開発、
デバッグを担当し、各シーケンサ内部の通信モジュール
に対するアクセス・プログラム、各種演算処理等のBA
SICプログラムの開発、デバッグを行う。第3の開発
・デバッグ部S3は、シーケンサに設定されるラダー・
プログラムの回路編集、ダウンロード、アップロード、
動作設定、モニタリング、デバッグ等を行うブロックで
ある。尚、それぞれのデバッグ・開発部は、それぞれの
ソフトウェア設定環境に対応する機能ブロック図である
。また、切り換え部SWは、3個の開発・デバッグ部S
1,S2,S3を必要に応じて切り換えるスイッチ手段
である。
Next, the operation of such a computer system will be explained using FIG. 2. Here, in FIG. 1, the first development/debugging section S1 is a host computer C.
Development of a BASIC program set for yourself,
This block is responsible for debugging, and specifically, debugging and debugging for the sequencer connected via bus B.
Provide support and monitoring. The BASIC program of this host computer C can directly access each sequencer. The second development/debugging department S2 is
Development of BASIC programs set in sequencers,
BA in charge of debugging, access programs for communication modules inside each sequencer, various arithmetic processing, etc.
Develop and debug SIC programs. The third development/debugging section S3 is responsible for the ladder/debugging section set in the sequencer.
Program circuit editing, download, upload,
This block performs operation settings, monitoring, debugging, etc. Note that each debug/development department is a functional block diagram corresponding to each software setting environment. In addition, the switching unit SW has three development/debugging units S.
1, S2, and S3 as necessary.

【0010】以上のような構成において、ユーザは、例
えば、シーケンサPC1に対応して設定される上位コン
ピュータC内のBASICプログラムについての開発、
デバッグを行う際は、切り換え部SWによりシーケンサ
PC1と第1の開発・デバッグ部S1を接続し、キーボ
ード、CRTを介してプログラム開発、デバッグを行う
。また、シーケンサPC2内部に設定されるBASIC
プログラムの開発、デバッグを行う際は、切り換え部S
Wにより、シーケンサPC2と第2の開発・デバッグ部
S2とを接続し、プログラム開発、デバッグを行う。 そして、同様にして、シーケンサPC2内部に設定され
るラダー・プログラムの開発、デバッグを行う際は、切
り換え部SWにより、シーケンサPC2と第3の開発・
デバッグ部S3とを接続し、プログラム開発、デバッグ
を行う。
[0010] In the above configuration, the user can, for example, develop a BASIC program in the host computer C that is set to correspond to the sequencer PC1.
When debugging, the switching unit SW connects the sequencer PC1 and the first development/debugging unit S1, and program development and debugging are performed via the keyboard and CRT. Also, the BASIC set inside the sequencer PC2
When developing or debugging a program, be sure to
W connects the sequencer PC2 and the second development/debugging section S2 to perform program development and debugging. Similarly, when developing and debugging the ladder program set inside the sequencer PC2, the switching section SW is used to switch between the sequencer PC2 and the third development program.
It is connected to the debugging section S3 to perform program development and debugging.

【0011】以上のようにして、本発明のコンピュータ
・システムは、上位側に設置されるコンピュータから下
位のシーケンサに対するプログラム開発、デバッグを行
うことができる。
As described above, the computer system of the present invention allows a computer installed on the upper level to develop and debug programs for the lower sequencer.

【0012】0012

【発明の効果】以上述べたように、本発明のコンピュー
タ・システムによれば、次の効果を得る。上位コンピュ
ータ側で複数のプログラム言語の開発を支援できるので
、ネットワーク上に接続される複数のシーケンサに対し
て、そのプログラムの同時開発、デバッグを実行できる
。上位コンピュータにおける情報処理言語により、シー
ケンサに対してダイレクトにアクセスできるので、シー
ケンス制御の監視機能を強化できる。また、上位コンピ
ュータよりI/Oリレー等を操作することにより、オフ
ラインのまま、シミュレーションできる。更に、上述に
加え、システム構築の際、より操業時に近い形でプログ
ラム開発、デバッグでき、システム運用時でもプログラ
ム開発機器、デバッグ機器を持ち歩かなくても上位コン
ピュータ側でトラブルに対応できる。尚、BASICプ
ログラムと、ラダー・プログラムとが協調動作している
時には、本発明のようなシステムでないと効率的な対応
をとることはできない。
As described above, the computer system of the present invention provides the following effects. Since the host computer can support the development of multiple programming languages, it is possible to simultaneously develop and debug programs for multiple sequencers connected on the network. Since the information processing language in the host computer allows direct access to the sequencer, the monitoring function of sequence control can be strengthened. In addition, by operating I/O relays and the like from a host computer, simulation can be performed offline. Furthermore, in addition to the above, when constructing a system, programs can be developed and debugged in a manner closer to that during operation, and even during system operation, troubles can be dealt with on the host computer side without having to carry around program development equipment and debugging equipment. Incidentally, when the BASIC program and the ladder program are working together, it is not possible to take efficient measures without a system such as the present invention.

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

【図1】本発明を実施したコンピュータ・システムを表
わす図である。
FIG. 1 is a diagram representing a computer system implementing the present invention.

【図2】本発明システムの動作を説明するための図であ
る。
FIG. 2 is a diagram for explaining the operation of the system of the present invention.

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

C  上位コンピュータ S1  第1の開発・デバッグ部 S2  第2の開発・デバッグ部 S3  第3の開発・デバッグ部 CNT  処理制御部 SW  切り換え部 D  表示制御部 B  バス C. Upper computer S1 First development/debugging department S2 Second development/debugging department S3 Third development/debugging department CNT processing control unit SW switching section D Display control section B Bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  CRTを有する上位コンピュータと、
この上位コンピュータとバスを介して接続され前記上位
コンピュータにより制御される複数のシーケンサとから
なるコンピュータ・システムにおいて、前記上位コンピ
ュータに、前記複数のシーケンサの各々にて実行される
各種プログラム言語に応じて、そのプログラム言語数分
の開発・デバッグ部を設けるとともに、各々の前記シー
ケンサにつき対応する前記開発・デバッグ部を接続する
切り換え部を設けたことを特徴するコンピュータ・シス
テム。
[Claim 1] A host computer having a CRT;
In a computer system comprising this host computer and a plurality of sequencers that are connected via a bus and controlled by the host computer, the host computer is provided with information in accordance with various program languages executed by each of the plurality of sequencers. , a computer system comprising development/debug sections for the number of programming languages, and a switching section for connecting the development/debug sections corresponding to each of the sequencers.
JP3134336A 1991-06-05 1991-06-05 Computer system Pending JPH04359324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3134336A JPH04359324A (en) 1991-06-05 1991-06-05 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3134336A JPH04359324A (en) 1991-06-05 1991-06-05 Computer system

Publications (1)

Publication Number Publication Date
JPH04359324A true JPH04359324A (en) 1992-12-11

Family

ID=15125966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3134336A Pending JPH04359324A (en) 1991-06-05 1991-06-05 Computer system

Country Status (1)

Country Link
JP (1) JPH04359324A (en)

Similar Documents

Publication Publication Date Title
US5068778A (en) Industrial control system device
KR100631262B1 (en) Welding system
US11165745B2 (en) Control system, controller, and control method
JPH04359324A (en) Computer system
EP0362392A1 (en) Pc simulation system
WO2020197011A1 (en) Memory mapping method for mixing programming language and language defined by manufacturer
JPS6377685A (en) Industrial robot system
JPH04317101A (en) Input/output control system of numerical controller
JP2005251116A (en) Programming tool
JPS62266605A (en) Numerical control system
CN110262350B (en) Design method of building block type multi-singlechip control system with preset program
WO1997004371A1 (en) Management system of numerical controller by information processor equipped with software processing function
KR100250206B1 (en) Plc with multiprocessing function and plc realizing method
JP2002315349A (en) Program-creating system for inverter
JPH03237502A (en) Programmable controller
JPH0192847A (en) Debugging control system
JP2003015706A (en) Controller
JPH03268159A (en) Console connection system for maintenance
JPS62266604A (en) Remote programming console device
JPH05233031A (en) Mechanism for exchanging data between fa controller and controlled object
KR100275569B1 (en) Handy loader for programmable logic controller
JPH0895895A (en) Controller for serial port i/q equipment of information processor
JPH09146794A (en) Program simulator
JPH03141403A (en) Programmable controller
JPH0895610A (en) Programmable controller