JPH0720721Y2 - Programmable controller programmer - Google Patents
Programmable controller programmerInfo
- Publication number
- JPH0720721Y2 JPH0720721Y2 JP853188U JP853188U JPH0720721Y2 JP H0720721 Y2 JPH0720721 Y2 JP H0720721Y2 JP 853188 U JP853188 U JP 853188U JP 853188 U JP853188 U JP 853188U JP H0720721 Y2 JPH0720721 Y2 JP H0720721Y2
- Authority
- JP
- Japan
- Prior art keywords
- input
- operands
- instruction
- key
- display
- 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 - Lifetime
Links
Landscapes
- Programmable Controllers (AREA)
Description
【考案の詳細な説明】 [産業上の利用分野] 本考案はプログラマブルコントローラにシーケンスプロ
グラムを入力するためのプログラマを提供するにある。DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention provides a programmer for inputting a sequence program to a programmable controller.
[従来の技術] 第5図に示すプログラマブルコントローラのプログラマ
において、第6図に示すような複数のステップにわたる
命令を入力する場合、従来はキー入力に対して表示部1
の表示は第7図(a)又は(b)に示すような表示が行
なわれているのが通例であった。第7図(a)は各ステ
ップを入力する毎に表示部1の表示がスクロールアップ
して行く表示方式を示し、第7図(b)は1ステップ目
を入力した時点で、表示部1の上段にその命令が表示さ
れ、2ステップ目以後のその命令に対するオペランドを
入力する毎に、上段の命令の左に入力したオペランドの
数だけドット(・)を表示する表示方式を示している。[Prior Art] In the programmable controller programmer shown in FIG. 5, in the case of inputting a command including a plurality of steps as shown in FIG.
It has been customary to display such as shown in FIG. 7 (a) or (b). FIG. 7A shows a display method in which the display of the display unit 1 scrolls up every time each step is input, and FIG. 7B shows the display system of the display unit 1 when the first step is input. The instruction is displayed in the upper row, and each time an operand for that instruction after the second step is input, a dot (.) Is displayed as many as the number of operands input to the left of the instruction in the upper row.
第6図の命令の手順は(D0)+(D1)→(D2)である
が、キー入力部2のキー入力の手順は「+」キーを押
し、次に「ENT」キーを押して、「+」命令を入力す
る。この時の表示が第7図(a)及び(b)のとで
あり、次に「D」キー、「0」キーを入力し、「ENT」
キーを入力することによりオペランド「D0」を入力す
る。この時の表示が第7図(a)及び(b)のとで
ある。同様にして「D」キー、「1」キー、「ENT」キ
ーでオペランド「D1」の入力を、更に「D」キー、
「2」キー、「WRT」キーで、オペランド「D2」の入力
と命令入力終了とを行う。これらの入力時の表示は夫々
〜となる。The procedure of the command in FIG. 6 is (D0) + (D1) → (D2), but the procedure of key input of the key input section 2 is to press the “+” key, then the “ENT” key, Enter the "+" command. The display at this time is as shown in (a) and (b) of Fig. 7, and then press the "D" key and "0" key, and then press "ENT".
Enter the operand "D0" by entering the key. The display at this time is as shown in FIGS. 7 (a) and 7 (b). Similarly, use the "D" key, "1" key, and "ENT" key to input the operand "D1", and then press the "D" key,
The "2" key and the "WRT" key are used to input the operand "D2" and finish the instruction input. The display at the time of inputting these is respectively.
[考案が解決しようとする課題] 第7図(a)(b)に示すような表示ではいずれにして
もその命令に必要なオペランド数が命令表示中に現れ無
いので、プログラムを入力する者は、その命令がいくつ
のオペランドを必要とするか予め分かっていないと入力
できなかった。[Problems to be solved by the invention] In the display as shown in FIGS. 7 (a) and 7 (b), the number of operands required for the instruction does not appear in the instruction display in any case. , I could not input unless I knew in advance how many operands the instruction required.
特に最近のプログラマブルコントローラは高機能化が進
み、複数のステップに亘たる命令が数十種類乃至数百種
類の規模に膨れあがっており、しかも夫々の命令によっ
てステップ数が異なるので、複数ステップの第1ステッ
プを入力した時点で、その命令に必要なオペランド数を
確認できないのは非常に不便であった。In particular, recent programmable controllers have become more sophisticated, and the number of instructions over multiple steps has expanded to tens to hundreds of types, and the number of steps differs depending on each instruction. It was very inconvenient that the number of operands required for the instruction could not be confirmed when one step was input.
本考案は上述の問題点に鑑みて為されたもので、その目
的とするところは複数ステップの命令の入力をより分か
り易くしたプログラマブルコントローラのプログラマを
提供することを目的とする。The present invention has been made in view of the above problems, and an object of the present invention is to provide a programmable controller programmer that makes it easier to understand the input of instructions in a plurality of steps.
[課題を解決するための手段] 本考案のプログラマは複数ステップの命令のオペランド
数を1ステップ目で表示させるために本考案は複数ステ
ップのオペランドを持つ命令を入力するとき、命令の1
ステップ目の入力があると命令テーブルからその命令に
必要なオペランド数を読み出して表示部で表示させる機
能と、該読み出されたオペランドの数を書き込んでその
後命令の1ステップ入力する毎に書き込まれた数を1ず
つ減算させるカウンタ機能とを有する。[Means for Solving the Problems] The programmer of the present invention displays the number of operands of a multi-step instruction in the first step.
When the step number is input, the number of operands required for the instruction is read from the instruction table and displayed on the display unit, and the number of read operands is written and then written every time one step of the instruction is input. It has a counter function of subtracting one by one.
[作用] 而して複数ステップの命令をキー入力する際、1ステッ
プ目の入力があると命令テーブルからその命令に必要な
オペランド数を読み出して表示部で表示させ、同時に該
読み出されたオペランドの数を書き込んでその後命令の
1ステップ入力する毎に書き込まれた数を1ずつ減算さ
せる。つまり1ステップ目のキー入力があると、その命
令におけるオペランド数を表示部で表示して、オペーレ
ータにオペランド数を認識させ、その後1ステップ毎に
表示数を減じることにより残りのオペランド数をオペー
レータに分からせることができるようになっている。[Operation] When a command of a plurality of steps is keyed in, when the first step is input, the number of operands required for the command is read from the command table and displayed on the display unit, and at the same time, the read operands are read. The number written in is written and then the written number is decremented by 1 each time one step of the instruction is input. In other words, if there is a key input in the first step, the number of operands in that instruction is displayed on the display unit, the operator is made to recognize the number of operands, and then the number displayed is subtracted for each step, and the remaining number of operands is displayed in the operator. You can learn it.
[実施例] 第1図は実施例のプログラマの回路構成を示し、実施例
のプログラムは表示部1とキー入力部2とプログラマの
動作を制御するCPU3と、CPU3の動作プログラムと、オペ
ランド数を命令毎に書き込んだ第3図に示す命令テーブ
ルを格納しているROM4、データの一時格納のエリアや、
CPU3の動作時のワークエリア等を得るためのRAM5と、プ
ログラマブルコントローラとの間でデータの授受を行う
ための通信部6とからなる。[Embodiment] FIG. 1 shows the circuit configuration of the programmer of the embodiment, and the program of the embodiment includes a display unit 1, a key input unit 2, a CPU 3 for controlling the operation of the programmer, an operation program of the CPU 3, and the number of operands. ROM4 that stores the instruction table shown in Fig. 3 written for each instruction, a temporary data storage area,
It comprises a RAM 5 for obtaining a work area and the like when the CPU 3 operates, and a communication unit 6 for exchanging data with the programmable controller.
第2図は実施例の表示動作のフローチャートを示してお
り、複数ステップの命令を入力するに際してはまず複数
ステップの命令、例えば「+」命令に対応するキー入力
と、入力を示す「ENT」キーの入力が有れば、命令テー
ブルからオペランド数を読み出し、CPU3のカウンタ機能
により読み出したオペランド数をRAM5の所定のエリアに
書き込む。そして命令とカウンタ機能に書き込んだオペ
ランド数とを表示部1の上段で表示する。FIG. 2 shows a flow chart of the display operation of the embodiment. When inputting a command of a plurality of steps, first, a key input corresponding to a command of a plurality of steps, for example, a "+" command, and an "ENT" key indicating the input. Is input, the number of operands is read from the instruction table, and the number of operands read by the counter function of the CPU 3 is written to a predetermined area of the RAM 5. Then, the instruction and the number of operands written in the counter function are displayed in the upper part of the display unit 1.
この表示後更にオペランドのキー入力があったかどうか
を判定し、この判定によりあればキー入力されたオペラ
ンドの内容を表示部1の下段に表示する。そしてカウン
タ機能の書き込んだオペランド数が1になったかどうか
を判定し、この数が1でなければ「ENT」キーの入力後
にカウンタ機能に書き込んだカウント値Cを「1」減
じ、上述のオペランド数表示をカウント値Cに書き替え
る。もし表示しているオペランド数が1であった場合に
は「ENT」キーの入力に代えて「WRT」キーを投入し、プ
ログラムの入力を終了する。この終了があると表示部1
の上下段の表示を消去する。After this display, it is determined whether or not there is a key input of the operand, and if this determination is made, the contents of the operand key input are displayed in the lower part of the display unit 1. Then, it is judged whether or not the number of operands written by the counter function has become 1, and if this number is not 1, the count value C written in the counter function after inputting the "ENT" key is decremented by "1" to obtain the number of operands described above. Rewrite the display with the count value C. If the number of displayed operands is 1, the "WRT" key is pressed instead of the "ENT" key input, and the program input ends. When this ends, the display unit 1
Erase the upper and lower display of.
第4図(a)のステップ〜はオペランド数をドット
で表示した場合の表示例を示しており、更に第4図
(b)のステップ〜はオペランド数をドットの代わ
りに数字で示した表示例を示している。更に第4図
(c)のステップ〜はオペランドがどういう意味を
持つかをオペランド数とともに表示した例を示し、図中
のSSDのSはソースで、Dはデスティネーションの略で
ある。この場合、第1のオペランドと第2のオペランド
はソースで、第3のオペランドはデスティネーションと
いうことであることを示している。そしSSDの表示がオ
ペランド入力に応じて1つずつ減って行くものである。
このように第4図(a)〜(c)共複数ステップにわた
る命令の第1ステップ目を入力した時点で、後に続くオ
ペランドの数が分かり、オペランドを入力する毎にその
数が減って行くのが分かるので、後幾つオペランドを入
力するのが分かるのである。Steps (a) to (4) of FIG. 4 show display examples when the number of operands is displayed in dots, and steps (b) to (b) of FIG. 4 show a display example in which the number of operands is shown in numbers instead of dots. Is shown. Further, the steps (c) to (c) of FIG. 4 show an example in which the meaning of operands is displayed together with the number of operands. In the figure, S of SSD is a source and D is an abbreviation of destination. In this case, it is indicated that the first operand and the second operand are sources, and the third operand is a destination. Then, the SSD display is decreased by one according to the operand input.
As shown in FIGS. 4 (a) to 4 (c), when the first step of an instruction involving a plurality of steps is input, the number of operands that follow is known, and the number decreases each time an operand is input. You can see how many operands are input later.
[考案の効果] 本考案は複数ステップのオペランドを持つ命令の入力す
るとき、命令の1ステップ目の入力があると命令テーブ
ルからその命令に必要なオペランド数を読み出して表示
部で表示させる機能と、該読み出されたオペランドの数
を書き込んでその後命令の1ステップ入力する毎に書き
込まれた数を1ずつ減算させるカウンタ機能とを有する
ので、複数ステップを入力する際、後幾つのステップの
オペランドを入力すべきかが明確に表示されるので、不
安なくスムーズに入力することができるという効果があ
る。[Advantages of the Invention] When an instruction having a plurality of operands is input, the present invention reads out the number of operands required for the instruction from the instruction table when the instruction is input in the first step, and displays it on the display unit. , A counter function of writing the number of read operands and decrementing the written number by 1 each time one step of an instruction is input thereafter, so when inputting a plurality of steps Since it is clearly displayed whether to input, there is an effect that it is possible to input smoothly without anxiety.
第1図は本考案の実施例の回路ブロック図、第2図は同
上のフローチャート、第3図は命令テーブルの構成図、
第4図(a)(b)(c)は同上の表示例の説明図、第
5図はプログラマの正面図、第6図は複数ステップの命
令例の説明図、第7図(a)(b)は従来例の表示例の
説明図である。 1……表示部、2……キー入力部、3……CPUである。FIG. 1 is a circuit block diagram of an embodiment of the present invention, FIG. 2 is a flow chart of the same as above, and FIG.
4 (a), (b), and (c) are explanatory views of the same display example, FIG. 5 is a front view of the programmer, FIG. 6 is an explanatory view of an example of instructions of a plurality of steps, and FIG. 7 (a) ( b) is an explanatory diagram of a display example of a conventional example. 1 ... Display part, 2 ... Key input part, 3 ... CPU.
Claims (1)
力するとき、命令の1ステップ目の入力があると命令テ
ーブルからその命令に必要なオペランド数を読み出して
表示部で表示させる機能と、該読み出されたオペランド
の数を書き込んでその後命令の1ステップ入力する毎に
書き込まれた数を1ずつ減算させるカウンタ機能とを有
することを特徴とするプログラマブルコントローラのプ
ログラマ。1. When a command having a plurality of steps of operands is input, when the first step of the command is input, the number of operands required for the command is read from the command table and displayed on the display unit, and the reading function. A programmable controller programmer having a counter function of writing the number of issued operands and decrementing the written number each time one step of an instruction is input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP853188U JPH0720721Y2 (en) | 1988-01-26 | 1988-01-26 | Programmable controller programmer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP853188U JPH0720721Y2 (en) | 1988-01-26 | 1988-01-26 | Programmable controller programmer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01113708U JPH01113708U (en) | 1989-07-31 |
JPH0720721Y2 true JPH0720721Y2 (en) | 1995-05-15 |
Family
ID=31214489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP853188U Expired - Lifetime JPH0720721Y2 (en) | 1988-01-26 | 1988-01-26 | Programmable controller programmer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0720721Y2 (en) |
-
1988
- 1988-01-26 JP JP853188U patent/JPH0720721Y2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH01113708U (en) | 1989-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105765471B (en) | Sequencer creates auxiliary device | |
JPH08179817A (en) | Display manipulator for machine tool | |
JPH0720721Y2 (en) | Programmable controller programmer | |
JPS63262754A (en) | Schedule management device | |
JP3432324B2 (en) | Program creation device | |
JPH01244502A (en) | Pc program display system | |
JPH02178726A (en) | display device | |
JP4501046B2 (en) | Monitoring system | |
JP2723236B2 (en) | Character reader | |
JPS61105605A (en) | Ladder editing system of programmable controller | |
JP2943177B2 (en) | Drawing device for XY coordinate axes with scale numerical value | |
JP2545655B2 (en) | Fixed value input method | |
JPH0239346A (en) | Screen shift control system | |
JPH01152099A (en) | Xy plotter having plot-status display function | |
JPH04209007A (en) | User program editing system for programmable controller | |
JPH04160407A (en) | Programmable controller | |
JPH02285414A (en) | Key display processing system | |
JPH11282662A (en) | Input display control device and storage medium | |
JPS62271142A (en) | Programming tool | |
JPS6355715B2 (en) | ||
JPS60175106A (en) | Numerical control device | |
JPS62271140A (en) | Programming tool | |
JPH04216101A (en) | User program compiler for programmable controller | |
JPH0212303A (en) | Peripheral equipment for programmable controller | |
JPH01142807A (en) | Graphic cursor display system for numerical controller |