JPH0277901A - Programming device for sequencer - Google Patents
Programming device for sequencerInfo
- Publication number
- JPH0277901A JPH0277901A JP23029388A JP23029388A JPH0277901A JP H0277901 A JPH0277901 A JP H0277901A JP 23029388 A JP23029388 A JP 23029388A JP 23029388 A JP23029388 A JP 23029388A JP H0277901 A JPH0277901 A JP H0277901A
- Authority
- JP
- Japan
- Prior art keywords
- ladder
- sequencer
- circuit
- machine language
- condition
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
〔産業上の利用分野〕
本発明はラダー図記号によるラダー回路を作成するシー
ケンサのプログラミング装置に関するものである。
〔従来の技術〕
第4図は従来のこの種のプログラミング装置の構成を説
明するためのブロック図で、同図において、(1) は
データを入力するための例えばキーボードからなる入力
部、(2)は該人力データに基づいてラダー図記号によ
る回路を作成しCRT等の表示手段(3)に表示する回
路作成手段である。しかして、(4)は前記回路作成手
段(2)により作成された回路を機械語に変換して得た
機械語プログラムをシーケンサ(7)に与える機械語変
換手段であり、また(5)はシーケンサ(7) に格納
されている機械語プログラムをモニタするそニタ手段、
(6)は前記機械語プログラムを逆変換して回路作成手
段(2) に入力し、前記と同様に表示手段(3)に回
路を表示させるための逆変換手段を示す。
次に、前記構成に係る動作を第5図に示すラダー回路の
作成例に基づいて説明する。なお、同図において、Xo
、Xs、Xzo、X2.Y+zはa接点、×1はb接点
、またYIO,Y12は出力リレーを示す。
第5図に示すラダー回路は、プログラミング装置に内蔵
されているラダー図記号による回路作成手段(2)、に
よって作成されCRT (3)上に表示される。ここで
、ラダー図記号XO,XS、Y2゜、YIOによって構
成されたラダー回路は、入力信号x0がONシており、
かつ入力信号X、と入力信号Y20がON状態のときに
出力リレーYIOがON状態となることを示している。
また同様に、入力信号×2がONシており、かつ人力信
号X、がOFF状態かあるいは入力信号Y12がON状
態となったときに出力リレーY12がON状態となるこ
とを示している。
以上のようなラダー回路を前記CRT (3)上で作成
し、機械語に変換する変換手段(4)にて前記ラダー回
路は機械語に変換される。機械語に変換された機械語プ
ログラムは制御動作を行なうシーケンサ(7)にダウン
ロードされ、前記シーケンサ(7)は前記機械語プログ
ラムに従ってベルトコンベア(図省略)などの制御を行
なう。
次に、前記シーケンサ(7)の動作をモニタする場合は
、前記シーケンサ(7)に格納されている前記機械語プ
ログラムを前記プログラミング装置にアップロードする
。アップロードされた前記機械語プログラムは、機械語
をラダー回路に逆変換する逆変換手段(6) によって
前記ラダー回路が前記CRT (3)上に表示される。
即ち、CRT (3)上に再現されたラダー回路によっ
てシーケンサ(7)の動作モニタが可能となり、例えば
「インターロック条件(副機能)である入力信号X、と
入力信号Y20がON状憇であるため、入力信号X。が
ONすれば、出力リレーYIOがONするはずだ」とい
った予測のもとにモニタすることになる。
〔発明が解決しようとする課題〕
従来のシーケンサのプログラミング装置は以上のように
構成されているので、シーケンサの制御動作を理解する
際作成表示されたリレー接点によるラダー回路図からは
、各信号が主機能による制御信号なのか、副機能による
制御信号なのかの判別が難しく、即ち、実在する信号の
うち被制御対象の動作を1対1的に動作確認できる主機
能による信号か、これ以外のインターロック条件や動作
表示ランプ等の表示機能または内部レジスタ等仮想的に
作られた副機能による信号かの判別が困難で、ラダー回
路図全体を全て理解しないと動作の流れが把握できず、
従って制御システムがストップしたときなどはその修復
に時間がかかるという問題があった。
本発明は以上のような問題点を解消するためになされた
もので、ラダー回路図全体の流れが簡単に把握できるシ
ーケンサのプログラミング装置を得ることを目的として
いる。
(課題を解決するための手段]
本発明に係るシーケンサのプログラミング装置は、キー
ボード等の入力部による入力データに基づいてラダー図
記号によるラダー回路を作成する回路作成手段と、作成
された結果を表示する表示手段と、該ラダー回路を機械
語に変換して得た機械語プログラムをシーケンサに与え
る機械語変換手段とを備えたシーケンサのプログラミン
グ装置において、前記入力部による入力データに基づい
て各ラダー図記号に対応したラダー条件を作成する条件
作成手段を備え、前記表示手段にラダー回路を表示する
際にラダー条件表示エリアを設けて該ラダー条件を表示
するものである。
〔作用〕
本発明のシーケンサのプログラミング装置によれば、条
件作成手段により各ラダー図記号に対応したラダー条件
が作成され、表示手段にラダー回路を表示する際該ラダ
ー条件が表示されて、シーケンサの制御動作を理解する
ときに主機能による概略動作をラダー図で把握できると
ともに、インターロック条件などの副機能による詳細動
作をラダー条件表示エリアに記載された情報によって把
握される。
〔実施例〕
以下、本発明の一実施例を第4図と同一部分は同一符号
を付して示す第1図に基づいて説明する。同図において
、(8)は回路作成手段(2)と同様な構成でなり、入
力部(1)による入力データに基づいて各ラダー図記号
に対応したラダー条件を作成する条件作成手段を示し、
表示手段(3)に回路作成手段(2)によるラダー回路
を表示する際に、この条件作成手段(8)によるラダー
条件を各ラダー図記号に対応してそれぞれ所定の表示エ
リア内に表示するようになされている。すなわち、回路
作成手段(2)により主機能による概略動作を示すラダ
ー図を作成すると共に、条件作成手段(8)により副機
能による詳細動作を示すラダー条件を作成するようにな
されている。その他は従来例と同様である。
次に前記構成に係る動作を第2図に示すラダー回路の作
成例に基づいて説明する。プログラミング装置に内蔵さ
れているラダー図記号による回路作成手段(2)によフ
てラダー記号Xo、Y10.J、Y12を用いたラダー
回路が作成される。同様に、前記プログラミング装置に
内蔵されたラダー条件作成手段(8)によって、前記各
ラダー記号に対応したラダー条件表示エリア(11)、
(21)、 (31)、 (41)の各エリアにラダ
ー条件が各々作成表示される。
また、前記ラダー回路と前記ラダー条件は、各々を機械
語に変換する変換手段(4)によって機械語に変換され
、機械語に変換された機械語プログラムは制御動作を行
なうシーケンサ(7) にダウンロードされ、前記シー
ケンサ(7)は前記機械語に従ってベルトコンベア(図
省略)などの制御を行なう。
さらに、前記シーケンサ(7)の動作をモニタする場合
は、前記シーケンサ(7)に格納されている機械語プロ
グラムをプログラミング装置にアップロードする。アッ
プロードされた前記機械語プログラムは、機械語をラダ
ー回路とラダー条件とに逆変換する逆変換手段(6)に
よって前記ラダー回路と前記ラダー条件がCRT (3
)に表示される。即ち、前記CRT (3)上に再現さ
れたラダー回路とラダー条件によって前記シーケンサ(
7)の動作モニタが可能となり、例えば「人力信号x0
がONすれば出力リレーYIOがONするはずだ」とい
った予測のもとにモニタすることができる。
また、このとき第3図で示すような横方向の棒グラフ表
示によるアクティブレベル表示(500)を前記ラダー
条件表示エリア(11)に表示するようにすれば、前記
ラダー条件表示エリア(11)内に記載されたラダー条
件全てのON/、OFF状態を確認しなくてもモニタす
ることができる。すなわち、この表示エリア(11)に
はラダー条件はX、=OFFとY2O=ONの2条件で
あり、この2条件が成立している状態を100%とすれ
ば、一方だけが満足している時50%のレベル表示が行
い得、0N10FF状態を確認でき、副機能による制御
信号のアクティブ状態を割合表示できるため、主機能に
よる制御信号がスタンバイ状態にあるのかといった概略
的な把握が容易となる。
なお、前記実施例ではラダー条件表示エリア(11)内
の記述言語を“X、=OFF”、“Y2O=ON−と記
述して説明したが、例えばBASIC言語やC言語など
で記述しラダー条件としても同様の効果があるのは言う
までもない。
またラダー記号の下にラダー条件表示エリアを設けて説
明したが、ラダー記号の上にラダー条件表示エリアを設
けても、同様の効果があるのは言うまでもない。
さらにアクティブレベル表示をラダー条件表示エリア内
の下部に横方向の棒グラフ表示として設けたが、前′記
うダー条件表示エリア内の上部に表示しても、あるいは
左右方向に縦表示しても同様の効果があるのは勿論であ
る。
また、前記実施例ではアクティブレベル表示をアナログ
的に表示したが、デジタル表示(%数値)としても同様
の効果があるのは言うまでもない。[Industrial Application Field] The present invention relates to a sequencer programming device for creating a ladder circuit using ladder diagram symbols. [Prior Art] Fig. 4 is a block diagram for explaining the configuration of a conventional programming device of this type. ) is a circuit creation means that creates a circuit using ladder diagram symbols based on the human data and displays it on a display means (3) such as a CRT. Therefore, (4) is a machine language conversion means that converts the circuit created by the circuit creation means (2) into machine language and provides a machine language program to the sequencer (7), and (5) means for monitoring the machine language program stored in the sequencer (7);
(6) indicates an inverse conversion means for inversely converting the machine language program and inputting it to the circuit creation means (2) and displaying the circuit on the display means (3) in the same manner as described above. Next, the operation related to the above configuration will be explained based on an example of creating a ladder circuit shown in FIG. In addition, in the same figure, Xo
, Xs, Xzo, X2. Y+z is an a contact, x1 is a b contact, and YIO and Y12 are output relays. The ladder circuit shown in FIG. 5 is created by circuit creation means (2) using ladder diagram symbols built into the programming device and displayed on the CRT (3). Here, the ladder circuit configured by the ladder diagram symbols XO, XS, Y2°, and YIO has the input signal x0 turned on,
It also shows that the output relay YIO is in the ON state when the input signal X and the input signal Y20 are in the ON state. Similarly, when the input signal x2 is ON and the human input signal X is OFF or the input signal Y12 is ON, the output relay Y12 is turned ON. A ladder circuit as described above is created on the CRT (3), and is converted into machine language by a conversion means (4) for converting it into machine language. The machine language program converted into machine language is downloaded to a sequencer (7) that performs control operations, and the sequencer (7) controls a belt conveyor (not shown) etc. according to the machine language program. Next, when monitoring the operation of the sequencer (7), the machine language program stored in the sequencer (7) is uploaded to the programming device. The uploaded machine language program is displayed as a ladder circuit on the CRT (3) by an inverse conversion means (6) that converts the machine language into a ladder circuit. In other words, the ladder circuit reproduced on the CRT (3) makes it possible to monitor the operation of the sequencer (7), and for example, it is possible to monitor the operation of the sequencer (7), such as when the input signal Therefore, if the input signal X turns ON, the output relay YIO should turn ON. [Problem to be Solved by the Invention] Since the conventional sequencer programming device is configured as described above, it is difficult to understand each signal from the ladder circuit diagram with relay contacts created and displayed when understanding the control operation of the sequencer. It is difficult to distinguish whether the control signal is from the main function or the control signal from the sub-function. In other words, among the existing signals, it is a signal from the main function that can confirm the operation of the controlled object on a one-to-one basis, or a signal from other It is difficult to distinguish between signals caused by interlock conditions, display functions such as operation indicator lamps, or virtually created sub-functions such as internal registers, and it is difficult to understand the flow of operation unless you fully understand the entire ladder circuit diagram.
Therefore, there is a problem in that when the control system stops, it takes time to repair it. The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a sequencer programming device that allows the flow of the entire ladder circuit diagram to be easily grasped. (Means for Solving the Problems) A sequencer programming device according to the present invention includes a circuit creation means for creating a ladder circuit using ladder diagram symbols based on input data through an input unit such as a keyboard, and a display for displaying the created results. In the sequencer programming device, the sequencer programming device includes display means for converting the ladder circuit into machine language and machine language conversion means for providing the sequencer with a machine language program obtained by converting the ladder circuit into machine language. The sequencer of the present invention is provided with a condition creating means for creating a ladder condition corresponding to a symbol, and when displaying a ladder circuit on the display means, a ladder condition display area is provided to display the ladder condition. According to the programming device, a ladder condition corresponding to each ladder diagram symbol is created by the condition creation means, and when the ladder circuit is displayed on the display means, the ladder condition is displayed, and when understanding the control operation of the sequencer, the ladder condition is displayed. The general operation of the main function can be grasped in the ladder diagram, and the detailed operation of the sub-functions such as interlock conditions can be grasped by the information written in the ladder condition display area. [Example] Hereinafter, one embodiment of the present invention will be explained based on FIG. 1, in which the same parts as in FIG. shows a condition creation means for creating ladder conditions corresponding to each ladder diagram symbol based on input data,
When displaying the ladder circuit created by the circuit creation means (2) on the display means (3), the ladder conditions created by the condition creation means (8) are displayed in respective predetermined display areas corresponding to each ladder diagram symbol. is being done. That is, the circuit creation means (2) creates a ladder diagram showing the general operation of the main function, and the condition creation means (8) creates ladder conditions showing the detailed operation of the sub function. The rest is the same as the conventional example. Next, the operation of the above structure will be explained based on an example of creating a ladder circuit shown in FIG. Ladder symbols Xo, Y10. A ladder circuit using J and Y12 is created. Similarly, a ladder condition display area (11) corresponding to each ladder symbol is created by a ladder condition creation means (8) built in the programming device.
Ladder conditions are created and displayed in each area of (21), (31), and (41). Further, the ladder circuit and the ladder conditions are converted into machine language by a conversion means (4) that converts each into machine language, and the machine language program converted into machine language is downloaded to a sequencer (7) that performs control operations. The sequencer (7) controls a belt conveyor (not shown) in accordance with the machine language. Furthermore, when monitoring the operation of the sequencer (7), the machine language program stored in the sequencer (7) is uploaded to a programming device. The uploaded machine language program is converted into a CRT (3
) is displayed. That is, the sequencer (
7) operation monitoring becomes possible, for example, “human power signal x0
It is possible to monitor based on predictions such as, "If YIO turns on, output relay YIO should turn on." At this time, if the active level display (500) in the form of a horizontal bar graph as shown in FIG. 3 is displayed in the ladder condition display area (11), It is possible to monitor without checking the ON/OFF states of all the listed ladder conditions. That is, there are two ladder conditions in this display area (11): Since the level can be displayed at 50% when the main function is in standby mode, the 0N10FF state can be confirmed, and the active state of the control signal by the sub function can be displayed as a percentage, it is easy to roughly understand whether the control signal by the main function is in the standby state. . In the above embodiment, the description language in the ladder condition display area (11) was described as "X, = OFF" and "Y2O = ON-," but the ladder conditions can be written in, for example, BASIC language or C language. Needless to say, the same effect can be obtained even if the ladder condition display area is provided below the ladder symbol. Needless to say.Furthermore, although the active level display is provided as a horizontal bar graph display at the bottom of the ladder condition display area, it can also be displayed at the top of the ladder condition display area mentioned above, or vertically in the left and right direction. Of course, the same effect can be obtained even if the active level is displayed in an analog manner in the above embodiment, but it goes without saying that the same effect can be obtained even if the active level is displayed digitally (percentage value).
以上のように本発明によれば、シーケンサ用制御プログ
ラムを作成表示するのに、主機能による概略動作を示す
ラダー回路図と、副機能による詳細動作を示すラダー条
件とで作成表示できるよう構成したので、ラダー回路図
全体を理解してなくとも制御プログラム動作の流れを容
易に把握することができ、制御システムがストップした
場合直ちにこれに対応できるという効果がある。As described above, according to the present invention, a sequencer control program can be created and displayed using a ladder circuit diagram showing the general operation of the main function and a ladder condition showing detailed operation of the sub function. Therefore, even if you do not understand the entire ladder circuit diagram, you can easily understand the flow of the control program operation, and if the control system stops, you can immediately respond to it.
第1図は本発明の一実施例による構成を示すブロック図
、第2図は第1図構成による作成例を示すラダー回路図
、第3図は第2図に対応する他の作成例を示すラダー回
路図、第4図は従来例の構成を示すブロック図、第5図
は同じ〈従来例によるラダー回路図である。
(1)・・・入力部、(2)・・・回路作成手段、(3
)・・・表示手段、(4)・・・機械語変換手段、(7
)・・・シーケンサ、(8)・・・条件作成手段、(1
1) 、 (21) 、 ’(H) 。
(41)・・・ラダー条件表示エリア。
なお、各図中同一符号は同−又は相当部分を示す。Fig. 1 is a block diagram showing a configuration according to an embodiment of the present invention, Fig. 2 is a ladder circuit diagram showing an example of creation based on the configuration of Fig. 1, and Fig. 3 shows another example of creation corresponding to Fig. 2. FIG. 4 is a block diagram showing the configuration of a conventional example, and FIG. 5 is a ladder circuit diagram according to the same conventional example. (1)...Input section, (2)...Circuit creation means, (3
)...display means, (4)...machine language conversion means, (7
)...Sequencer, (8)...Condition creation means, (1
1), (21), '(H). (41)...Ladder condition display area. Note that the same reference numerals in each figure indicate the same or corresponding parts.
Claims (1)
ー図記号によるラダー回路を作成する回路作成手段と、
作成された結果を表示する表示手段と、該ラダー回路を
機械語に変換して得た機械語プログラムをシーケンサに
与える機械語変換手段とを備えたシーケンサのプログラ
ミング装置において、前記入力部による入力データに基
づいて各ラダー図記号に対応したラダー条件を作成する
条件作成手段を備え、前記表示手段にラダー回路を表示
する際にラダー条件表示エリアを設けて該ラダー条件を
表示することを特徴とするシーケンサのプログラミング
装置。a circuit creation means for creating a ladder circuit using ladder diagram symbols based on input data from an input unit such as a keyboard;
In a sequencer programming device comprising a display means for displaying the created result and a machine language conversion means for converting the ladder circuit into machine language and supplying the sequencer with a machine language program, input data from the input section is provided. The present invention is characterized by comprising a condition creation means for creating a ladder condition corresponding to each ladder diagram symbol based on the above, and when displaying a ladder circuit on the display means, a ladder condition display area is provided to display the ladder condition. Sequencer programming device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23029388A JPH0277901A (en) | 1988-09-14 | 1988-09-14 | Programming device for sequencer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23029388A JPH0277901A (en) | 1988-09-14 | 1988-09-14 | Programming device for sequencer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0277901A true JPH0277901A (en) | 1990-03-19 |
Family
ID=16905548
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP23029388A Pending JPH0277901A (en) | 1988-09-14 | 1988-09-14 | Programming device for sequencer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0277901A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7093687B2 (en) | 2002-07-31 | 2006-08-22 | Hitachi Cable, Ltd. | Angle sensor, angle-torque sensor and electric power steering unit using same |
-
1988
- 1988-09-14 JP JP23029388A patent/JPH0277901A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7093687B2 (en) | 2002-07-31 | 2006-08-22 | Hitachi Cable, Ltd. | Angle sensor, angle-torque sensor and electric power steering unit using same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0277901A (en) | Programming device for sequencer | |
| JPH05316652A (en) | Power system training simulator | |
| JP2603253Y2 (en) | Display control device | |
| JPH01244502A (en) | Pc program display system | |
| JP3281270B2 (en) | Remote control switch | |
| JPH02226307A (en) | numerical control device | |
| JP3341263B2 (en) | Controller | |
| JPH0612025A (en) | Liquid crystal display | |
| JPH07322434A (en) | Power system operating device | |
| JPH08235122A (en) | Set value display control method for electronic equipment and electronic equipment | |
| JPH1097234A (en) | Display controller | |
| JPS62224805A (en) | Ladder diagram display system for program of sequence programmable controller | |
| JPH07175449A (en) | Display device for OHP | |
| JPS62115517A (en) | Data entry device | |
| JPS61156183A (en) | Simulation controller | |
| JPH04109309A (en) | Programmable controller | |
| JPS62108310A (en) | Controller for operating panel | |
| JPH11234901A (en) | Power system accident diagnosis system | |
| JPS61161504A (en) | Control board | |
| JPH0720603U (en) | Instrumentation signal processor | |
| JPH0212304A (en) | Method and device for displaying sequence circuit | |
| JPH01155390A (en) | cursor control device | |
| JPS60231213A (en) | Sequence controller monitor device | |
| JPH01147702A (en) | Programming device | |
| KR20010026557A (en) | Power switchless monitor |