Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0323921B2 - - Google Patents
[go: Go Back, main page]

JPH0323921B2 - - Google Patents

Info

Publication number
JPH0323921B2
JPH0323921B2 JP20865781A JP20865781A JPH0323921B2 JP H0323921 B2 JPH0323921 B2 JP H0323921B2 JP 20865781 A JP20865781 A JP 20865781A JP 20865781 A JP20865781 A JP 20865781A JP H0323921 B2 JPH0323921 B2 JP H0323921B2
Authority
JP
Japan
Prior art keywords
program
automatic
manual
stored
input
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
Application number
JP20865781A
Other languages
Japanese (ja)
Other versions
JPS58107907A (en
Inventor
Shoichi Serizawa
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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP20865781A priority Critical patent/JPS58107907A/en
Publication of JPS58107907A publication Critical patent/JPS58107907A/en
Publication of JPH0323921B2 publication Critical patent/JPH0323921B2/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/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program 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
    • 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/13015Semi automatic, manual automatic
    • 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/15Plc structure of the system
    • G05B2219/15048Microprocessor

Landscapes

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

Description

【発明の詳細な説明】 この発明は、工作機械などの自動制御をなす工
程歩進形のプログラマブルコントローラに関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a step-by-step programmable controller that automatically controls machine tools and the like.

一般に、プログラマブルコントローラにおい
て、多くのステツプの中の唯一のステツプの動作
を実行しそのステツプにおける条件が充足されな
い限り次のステツプに進行しないいわゆる順次制
御を目的とする工程歩進形のプログラマブルコン
トローラがある。この種の工程歩進形プログラマ
ブルコントローラを用いて被制御装置を自動制御
する場合でも、自動制御をする内容とは異なりそ
れぞれの負荷を単独にあるいは運動して動作させ
る必要がある場合があるが、工程歩進形プログラ
ムは順次制御を目的とするので多数の入力状態に
より、複数の処理を行なうことができない。その
ため従来は、工程歩進形プログラマブルコントロ
ーラの他に、有接点あるいは無接点によるワイヤ
ードロジツクを設けて対応している。しかしこれ
ではワイヤードロジツクを別にして設けるので、
制御内容の自在性、製造工数の低減等を目的とす
るプログラマブルコントローラの本来の特徴の損
うことになり好ましくない。
Generally, among programmable controllers, there is a step-by-step programmable controller that performs the operation of only one step among many steps and does not proceed to the next step unless the conditions in that step are satisfied. . Even when controlling a controlled device automatically using this type of step-by-step programmable controller, there are cases where it is necessary to operate each load individually or through motion, which is different from the automatic control. Since the step-by-step program aims at sequential control, it is not possible to perform multiple processes due to the large number of input states. Conventionally, this has been dealt with by providing a wire logic with contacts or non-contacts in addition to the step-by-step programmable controller. However, this requires separate wire logic, so
This is undesirable because it impairs the original features of the programmable controller, which aim to provide flexibility in control content and reduce manufacturing man-hours.

この発明の目的は、上記従来の工程歩進形プロ
グラマブルコントローラの欠点を解消し順次制御
のみならず、多数にわたる入力の状態により複数
の処理をも可能にした工程歩進形プログラマブル
コントローラを提供することにある。
An object of the present invention is to provide a step-by-step programmable controller that eliminates the drawbacks of the conventional step-by-step programmable controller and enables not only sequential control but also multiple processes depending on the state of a large number of inputs. It is in.

以上の目的を達成するためにこの発明の工程歩
進形プログラマブルコントローラは、ユーザプロ
グラム記憶部に少なくとも工程歩進形プログラム
による自動動作用の第1のプログラム領域と、ラ
ダー表現による手動動作用の第2のプログラム領
域を備えるとともに前記プログラムコンソール部
に自動の手動の動作切換手段を備え、中央処理装
置は、この動作切換手段によつて自動動作が指定
された場合に前記第1のプログラム領域に記憶さ
れた自動動作用のプログラムを読み出し実行し、
手動動作が指定された場合に前記第2のプログラ
ム領域に記憶された手動動作用のプログラムを読
み出し実行するようにしている。
In order to achieve the above object, the step-by-step programmable controller of the present invention has at least a first program area for automatic operation based on a step-by-step program in a user program storage section, and a first program area for manual operation based on a ladder representation. 2 program areas, and the program console section is provided with an automatic/manual operation switching means, and when the automatic operation is specified by the operation switching means, the central processing unit stores the information in the first program area. Read and execute the program for automatic operation,
When manual operation is specified, a manual operation program stored in the second program area is read and executed.

以下図面に示す実施例によりこの発明を詳細に
説明する。
The present invention will be explained in detail below with reference to embodiments shown in the drawings.

第1図はこの発明が実施されるプログラマブル
コントローラのブロツク図である。図において1
はシステムプログラム記憶ROM2に記憶される
システムプログラムにしたがいシステムの処理動
作を進行するCPU(中央処理装置)である。シス
テムプログラムROM2には、ユーザプログラム
を解読実行するインタプリタプログラムやキーボ
ードLED等のコントロールをするプログラムが
記憶されている。3はAND、OR、out等ユーザ
用命令語を用いて利用者が作成したプログラムを
記憶するユーザプログラムRAMである。このユ
ーザプログラムRAMは第7図に示すように工程
歩進形のプログラム記憶領域m1、手動動作用の
ラダー表現のプログラム記憶領域m2および他の
一般のラダー表現のプログラム記憶領域m3を有
している。4は後述する入出力装置の状態を一旦
受けて記憶するI/Oリフレツシユメモリ、5は
フラグ状態やデータの一時記憶に用いられるワー
クエリヤ用RAM、6は入出力装置とCPU1との
接続を行なう入出力コントロール部である。7は
ユーザプログラムを作成する際に用いられるプロ
グラムコンソール部であつて、命令キー7a、数
字キー7b、コマンドキー7c等のキー群、入出
力表示LED7d、命令語表示LED7e、エラー
表示7f、アドレスやデータを表示する数字表示
器7g、自動/手動切換スイツチ7h等をパネル
面7iに備えている。8はCPU1、システムプ
ログラムROM2、ユーザプログラムRAM3、
I/OリフレツシユメモリRAM4、ワークエリ
ア用RAM5、入出力コントロール部6およびプ
ログラムコンソール部7間を接続するバスライン
である。9は外部入力と信号授受を行なう入力イ
ンターフエース、10は外部機器と出力信号授受
を行なう出力インタフエース、11は入出力コン
トロール部6と入力インタフエース9、出力イン
タフエース10を接続するI/Oバスラインであ
る。また12は外部入力たとえば各種スイツチよ
りの信号を受ける端子台、13は外部機器に接続
するための端子台である。
FIG. 1 is a block diagram of a programmable controller in which the present invention is implemented. In the figure 1
is a CPU (central processing unit) that carries out processing operations of the system according to a system program stored in the system program storage ROM2. The system program ROM 2 stores an interpreter program for decoding and executing user programs and a program for controlling keyboard LEDs and the like. Reference numeral 3 denotes a user program RAM that stores programs created by the user using user command words such as AND, OR, and out. As shown in FIG. 7, this user program RAM has a step-by-step program storage area m1, a ladder representation program storage area m2 for manual operation, and another general ladder representation program storage area m3. . 4 is an I/O refresh memory that once receives and stores the status of the input/output device, which will be described later; 5 is a work area RAM used for temporary storage of flag status and data; 6 is the connection between the input/output device and the CPU 1. This is the input/output control section. Reference numeral 7 denotes a program console section used when creating a user program, which includes keys such as command key 7a, number key 7b, command key 7c, input/output display LED 7d, command word display LED 7e, error display 7f, address and A numeric display 7g for displaying data, an automatic/manual changeover switch 7h, etc. are provided on the panel surface 7i. 8 is CPU1, system program ROM2, user program RAM3,
This is a bus line that connects the I/O refresh memory RAM 4, the work area RAM 5, the input/output control section 6, and the program console section 7. 9 is an input interface for exchanging signals with external input; 10 is an output interface for exchanging output signals with external devices; 11 is an I/O for connecting the input/output control section 6, input interface 9, and output interface 10. It's a bus line. Further, 12 is a terminal block for receiving signals from external inputs, such as various switches, and 13 is a terminal block for connecting to external equipment.

第1図に示した工程歩進形プログラマブルコン
トローラを用い工程歩進形プログラムで制御する
場合の適切な例として第2図に示すものがある。
図では、ユーザが所定の場所から被メツキ物を台
車21で運搬し、メツキ槽22につけて一定時間
浸した後再び元の場所に戻す場合の工程を示して
いる。この場合の制御は、スタートで台車21
を前進させリミツトスイツチ等による前進限の検
出がなされるまで、前進動作を継続する。前進
限の検出があると台車21による前進を停止し、
メツキ槽22へ被メツキ物を浸すために下降動作
に入る。この下降動作は下降限が検出されるまで
継続され、下降限が検出されると下降動作を停止
する。そして一定時間たとえば10分間被メツキ
物をメツキ槽22に浸す。10分間が経過すると
被メツキ物を引き上げるため、上昇動作に入る。
上昇動作は上昇限が検出されるまで続けられる。
上昇限が検出されると台車21で被メツキ物は
後退動作に入る。そして後退限が検出されるまで
後退動作を継続し、後退限検出で停止し、動作が
終了する。
FIG. 2 shows a suitable example of the case where the step-by-step programmable controller shown in FIG. 1 is used for control by a step-by-step program.
The figure shows a process in which a user transports an object to be plated from a predetermined location using a trolley 21, places it in a plating tank 22, soaks it for a certain period of time, and then returns it to its original location. In this case, the control is as follows:
The forward movement continues until the forward limit is detected by a limit switch or the like. When the forward limit is detected, the forward movement by the trolley 21 is stopped,
A descending operation is started to immerse the object to be plated into the plating tank 22. This lowering operation continues until the lowering limit is detected, and when the lowering limit is detected, the lowering operation is stopped. Then, the object to be plated is immersed in the plating tank 22 for a certain period of time, for example, 10 minutes. After 10 minutes have elapsed, the machine begins to move upward in order to pull up the object to be plated.
The rising operation continues until the rising limit is detected.
When the upper limit of the rise is detected, the object to be plated starts moving backward by the cart 21. Then, the backward movement continues until the backward limit is detected, and stops when the backward limit is detected, and the operation ends.

以上の工程を自動制御するのに、第3図に示す
ように有接点とシフトレジスタを用いてあえてラ
ダー表現のプログラムの作成することが可能であ
る。しかしこの場合においてかかるラダー表現の
プログラムを動作するには、シフトレジスタ31
へのクロツク入力は各工程における次ステツプへ
の歩進するための条件をプログラムしデータ入力
にはシフトレジスタ31の出力が1点のみになる
ようにプログラムしなければならないので、回路
を構成するのに入力回路を考え次に出力を考えな
ければならずプログラム作成が困難であり、全く
実用的でない。したがつて第2図のような場合の
工程制御は上述したように、工程歩進形プログラ
ム体系を使用するのが望ましい。
In order to automatically control the above steps, it is possible to create a program with ladder expression using contacts and shift registers as shown in FIG. However, in this case, in order to operate such a ladder representation program, the shift register 31
The clock input to the circuit must program the conditions for advancing to the next step in each process, and the data input must be programmed so that the output of the shift register 31 is only one point, so it is difficult to configure the circuit. It is difficult to create a program because the input circuit must be considered first, and then the output must be considered, making it completely impractical. Therefore, it is desirable to use the step-by-step program system for process control in the case shown in FIG. 2, as described above.

第4図に第2図の工程制御を進める工程歩進形
のプログラムを示している。
FIG. 4 shows a step-by-step program that advances the process control shown in FIG.

第4図において、第1ステツプ001では命令が
「AND」データ(入力)が「スタート」で、出力
が「なし」とプログラムされておりスタートスイ
ツチがオンされ「スタート」されるまでは、条件
が成立しないのでこのステツプにとどまつてい
る。「スタート」が入力されると次ステツプ002に
進む。このステツプ002では、命令が「AND」
で、データ「前進限」で、出力が「前進」とプロ
グラムされており、やはり、「前進限」の入力が
入らない限り条件不成立でこのステツプにとどま
り「前進」の出力を継続する。入力「前進限」が
入ると条件成立で次のステツプ003に移る。以下
同様にして、ステツプ003から006において入力条
件が成立しなければそのステツプにとどまつてい
るが、条件が成立すると次のステツプに進む。そ
してステツプ006で「後退限」の入力が入るとス
テツプ006における条件成立で、次のステツプ006
に移り終了命令が出る。この第4図に示す工程歩
進形のプログラム体系の動作フローを示すと第5
図に示す通りとなる。すなわち動作ステツプ51で
ワークエリアRAM5に記憶されている現在ステ
ツプの命令を読出し、ステツプ52で命令の解読を
行ない、ステツプ53で命令及びデータより条件判
別を行なう。ステツプ54で条件成立か否か判定す
る。条件が成立していない場合はステツプ56でそ
の出力をI/Oリフレツシユメモリ4に記憶し、
ステツプ51にもどる。ステツプ54で条件が成立し
ている場合にはステツプ55でプログラムの現在ス
テツプに+1しすなわち1ステツプ進めて、動作
ステツプ56で出力をI/Oリフレツシユメモリ4
に記憶しステツプ51にもどる。
In Figure 4, in the first step 001, the instruction is "AND", the data (input) is "start", and the output is programmed as "none", and the condition is not satisfied until the start switch is turned on and "start" is executed. It doesn't work, so I'm stuck at this step. When "start" is input, the process advances to the next step 002. In this step 002, the instruction is "AND"
Then, the output is programmed as "forward" with the data "advance limit", and as expected, unless the "advance limit" input is entered, the condition is not met and the step remains at this step and the "forward" output continues. When the input ``advance limit'' is entered, the condition is met and the process moves to the next step 003. Similarly, if the input condition is not satisfied in steps 003 to 006, the process remains at that step, but if the condition is satisfied, the process advances to the next step. Then, when the "backward limit" is input in step 006, the condition is satisfied in step 006, and the next step 006 is started.
A termination command is issued. The operation flow of the step-by-step program system shown in Fig. 4 is as follows.
The result will be as shown in the figure. That is, in operation step 51, the instruction of the current step stored in work area RAM 5 is read out, in step 52 the instruction is decoded, and in step 53, conditions are determined based on the instruction and data. In step 54, it is determined whether the condition is satisfied. If the condition is not met, the output is stored in the I/O refresh memory 4 in step 56, and
Return to step 51. If the condition is met at step 54, the current step of the program is incremented by 1 at step 55, that is, the program advances by one step, and at operation step 56, the output is stored in the I/O refresh memory 4.
Store it and return to step 51.

第4図および第5図に示す工程歩進形プログラ
ムはユーザがその制御対象を定められた一定の動
作を行なわせるために作成するものであり、第2
図に示す一連の工程を自動的に制御するのに便利
であること上述した通りである。しかし現在実行
中のステツプ以外はたとえ他のステツプで条件が
成立してもステツプが移行しないので各条件成立
に対応するそれぞれの出力を得ることができな
い。
The step-by-step program shown in FIGS. 4 and 5 is created by the user in order to cause the controlled object to perform a certain fixed operation.
As mentioned above, this is convenient for automatically controlling the series of steps shown in the figure. However, since steps other than the step currently being executed do not proceed even if conditions are met in other steps, it is not possible to obtain outputs corresponding to each condition being met.

それゆえ実施例においては、第6図に示すよう
に、上記第4図で示した工程歩進形プログラムの
他に、出力装置をその時々の入力の状態により制
御するラダー表現の手動動作用のプログラムも作
成用意されている。第6図Aが自動動作用の工程
歩進形のプログラムであり、第6図Bが手動動作
用のラダー表現のプログラムである。第6図Aは
第4図に示すものと同様なので説明は省略する。
第6図Bは第6図Aにおける出力「前進」、「下
降」、「上昇」、「後退」を手動で個別独自に制御し
得るようにしたプログラムである。たとえば「前
進PB(ボタンスイツチ)のオン」と、「前進限な
し」の入力条件で「前進」出力を得、「上昇PBオ
ン」と「上昇限なし」の入力条件で「上昇」出力
を得るようにしている。第6図に示す自動動作用
の工程歩進形プログラムと、手動動作用のラダー
表現のプログラムは第7図に示すようにユーザプ
ログラムRAM3の記憶領域m1とm2にそれぞ
れ作成記憶されており、プログラムコンソール部
7における自動/手動切換スイツチ7hが「自
動」に指定されている場合、第7図に示す工程歩
進形プログラムの先頭番地aから読出しを開始し
て工程歩進形プログラムの動作を実行し、工程歩
進形プログラム記憶領域m1の最終番地bに記憶
される「STEP END」命令を読み出すと手動動
作用のプログラム領域m2を飛ばして手動回路の
終了を示す命令が記憶される番地dの次番地eよ
り記憶される一般のラダー表現のプログラムの実
行に移行する。自動/手動スイツチ7hが「手
動」に指定されている場合は、工程歩進形プログ
ラムの「STEP END」命令が記憶される番地b
の次の番地cをアドレスし、手動動作用のラダー
表現のプログラムを作成あるいは実行し、続いて
一般のラダープログラムに入る。
Therefore, in this embodiment, as shown in FIG. 6, in addition to the step-by-step program shown in FIG. Programs are also prepared. FIG. 6A is a step-by-step program for automatic operation, and FIG. 6B is a ladder representation program for manual operation. Since FIG. 6A is similar to that shown in FIG. 4, a description thereof will be omitted.
FIG. 6B is a program that allows the outputs ``forward'', ``descend'', ``ascend'', and ``reverse'' in FIG. 6A to be individually and independently controlled manually. For example, a "forward" output is obtained with the input conditions of "forward PB (button switch) on" and "no advance limit", and a "rise" output is obtained with the input conditions of "upward PB on" and "no upward limit". That's what I do. The step-by-step program for automatic operation shown in FIG. 6 and the ladder representation program for manual operation are created and stored in storage areas m1 and m2 of the user program RAM 3, respectively, as shown in FIG. When the automatic/manual changeover switch 7h in the console section 7 is set to "auto", reading is started from the head address a of the step-by-step program shown in FIG. 7, and the operation of the step-by-step program is executed. However, when the "STEP END" command stored at the final address b of the step-by-step program storage area m1 is read, the manual operation program area m2 is skipped and the command indicating the end of the manual circuit is stored at address d. The execution of the general ladder representation program stored from the next address e begins. If automatic/manual switch 7h is set to "manual", address b where the "STEP END" command of the step-by-step program is stored.
Addresses the next address c, creates or executes a ladder expression program for manual operation, and then enters a general ladder program.

第6図および第7図に示すプログラムの記憶領
域を備える第1図に示すプログラマブルコントロ
ーラの制御フローを第8図に示している。
FIG. 8 shows a control flow of the programmable controller shown in FIG. 1, which includes the program storage areas shown in FIGS. 6 and 7.

第8図において、ステツプ80で先ず自動か手動
かの判定がなされる。自動/手動切換スイツチ7
が「自動」に指定されているときには、ステツプ
81に移り、ワークエリア用RAM5に記憶されて
いる現在実行中のプログラムステツプを読み出
し、ステツプ82で命令を解析し条件判別を行な
う。そしてステツプ83で条件成立か否か判定し、
条件成立していなければステツプ85でプログラム
ステツプはそのままにして、出力をI/Oリフレ
ツシユメモリ4に記憶しステツプ86に移る。ステ
ツプ83で条件が成立している場合は、ステツプ84
でプログラムのステツプNo.に+1して動作ステツ
プ86に移る。ステツプ86では実行PC(プログラム
カウンタ)を手動終了の次の番地(第7図e)に
セツトする。以後は一般のラダー表現のプログラ
ムの読出し解析、実行の動作が進行する。すなわ
ちステツプ87で実行PCの読み出しおよびその解
析が行なわれ、続いてステツプ88でそのプログラ
ムステツプにおける出力がリフレツシユメモリ4
に記憶される。次にステツプ89でラダーエンドが
判定される。一般のラダー表現のプログラムが終
了するまでステツプ89→ステツプ87→ステツプ88
→ステツプ89の動作がくり返される。
In FIG. 8, at step 80, a determination is first made as to whether the process is automatic or manual. Automatic/manual switch 7
is set to ``Auto'', the step
At step 81, the program step currently being executed stored in the work area RAM 5 is read, and at step 82, the instruction is analyzed and conditions are determined. Then, in step 83, it is determined whether the condition is satisfied or not.
If the condition is not satisfied, the program step is left as it is at step 85, the output is stored in the I/O refresh memory 4, and the process moves to step 86. If the condition is met in step 83, step 84
Then, add 1 to the step number of the program and move to operation step 86. At step 86, the execution PC (program counter) is set to the next address after manual termination (FIG. 7e). After that, the operations of reading, analyzing, and executing a program in general ladder representation proceed. That is, in step 87 the execution PC is read and analyzed, and then in step 88 the output from that program step is stored in the refresh memory 4.
is memorized. Next, in step 89, the ladder end is determined. Step 89 → Step 87 → Step 88 until the general ladder expression program ends.
→The operation of step 89 is repeated.

自動/手動切換スイツチ7hが「手動」に指定
されているとステツプ80からステツプ92に移り、
実行PCを工程歩進形プログラムのSTEP ENDす
なわち007ステツプ終了の次(第7図c)にセツ
トする。そしてステツプ87で実行PCに対応する
記憶領域の命令およびデータを読出し、解析及び
実行し、ステツプ87でその出力をI/Oリフレツ
シユメモリ4に記憶する。この場合は「手動」指
定なので自動動作用の工程歩進形プログラムの読
み出し実行が飛ばされ、手動動作用のラダー表現
のプログラムからスタートすることとなる。そし
て、手動動作用のラダー表現のプログラムに続い
て一般のラダー表現のプログラムが終了するまで
ステツプ89→ステツプ87→ステツプ88→ステツプ
89の動作がくり返される。
If the automatic/manual selector switch 7h is set to "manual", the process moves from step 80 to step 92.
The execution PC is set after STEP END of the step-by-step program, that is, after the end of step 007 (FIG. 7c). Then, in step 87, instructions and data in the storage area corresponding to the execution PC are read out, analyzed and executed, and the output is stored in the I/O refresh memory 4 in step 87. In this case, since "manual" is specified, reading and execution of the step-by-step program for automatic operation is skipped, and the program starts from the ladder expression program for manual operation. Then, following the ladder expression program for manual operation, step 89 → step 87 → step 88 → step until the general ladder expression program is completed.
89 actions are repeated.

「自動」指定の場合でも「手動」指定の場合で
も、ラダープログラムが終了すると、フローはス
テツプ89からステツプ90に移り、I/Oリフレツ
シユメモリ4に記憶されている「出力」のデータ
により一括して出力機器の更新をして、所定のオ
ペレーシヨン処理(ステツプ91)を行なつた後、
はじめにもどる。
When the ladder program is finished, whether the ``automatic'' or ``manual'' designation is selected, the flow moves from step 89 to step 90, where the ``output'' data stored in the I/O refresh memory 4 is used as a batch. After updating the output device and performing the specified operation processing (step 91),
Return to the beginning.

なお上記実施例においては「自動」及び「手
動」の指定を切換スイツチで行なうようにしてい
るが、命令キーにより「自動」、「手動」をあらか
じめプログラムに組込んでおいてもよい。
In the above embodiment, "automatic" and "manual" are designated by a changeover switch, but "automatic" and "manual" may be programmed in advance using command keys.

以上のようにこの発明の工程歩進形プログラマ
ブルコントローラは、ユーザプログラム記憶部に
少なくとも工程歩進形プログラムによる自動動作
用の第1のプログラム領域とラダー表現による手
動動作用の第2のプログラム領域を備えるととも
にプログラムコンソール部に自動、手動の切換手
段を備え、中央処理装置は、この動作切換手段に
よつて自動動作が指定された場合に前記第1のプ
ログラム領域に記憶された自動動作用のプログラ
ムを読み出し実行し、手動動作が指定された場合
に前記第2のプログラム領域に記憶された手動動
作用のプログラムを読出し実行するようにしてい
るので、順序制御はもちろん、手動動作により多
数にわたる入力の状態で、複数の処理が可能とな
り使うに非常に便利な工程歩進形プログラマブル
コントローラを得ることができる。
As described above, the step-by-step programmable controller of the present invention has at least a first program area for automatic operation using a step-by-step program and a second program area for manual operation using a ladder representation in the user program storage section. In addition, the program console section is provided with automatic/manual switching means, and when automatic operation is specified by the operation switching means, the central processing unit switches the program for automatic operation stored in the first program area. When manual operation is specified, the program for manual operation stored in the second program area is read and executed, so that not only sequence control but also a large number of inputs due to manual operation can be performed. In this way, it is possible to obtain a step-by-step programmable controller that can perform multiple processes and is very convenient to use.

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

第1図はこの発明が実施されるプログラマブル
コントローラシステムのブロツク図、第2図は工
程制御の一例を示す図、第3図は第2図に示す工
程を順序制御するのにラダー表現で作成したプロ
グラムを示す図、第4図は第2図に示す工程を制
御するプログラムを工程歩進形で示した図、第5
図は第4図に示す工程歩進形プログラムで動作さ
せる場合の制御フローを示す図、第6図は第2図
に示す工程を工程歩進形とラダー表現による手動
動作用のプログラムの両方で制御する場合のプロ
グラムを示す図、第7図は第1図に示す実施例シ
ステムのユーザプログラムRAMの記憶領域配置
を示す図、第8図は第6図に示すプログラムを用
いて第1図実施例システムを動作させる場合の制
御フローを示す図である。 1:CPU、2:システムプログラム用ROM、
3:ユーザプログラム用RAM、4:I/Oリフ
レツシユメモリ用RAM、5:ワークエリア用
RAM、6:入出力コントロール部、7:プログ
ラムコンソール部、7h:自動/手動切換スイツ
チ、8:バス、9:入力インタフエース、10:
出力インタフエース、11:I/Oバス、12:
入力端子台、13:出力端子台。
Figure 1 is a block diagram of a programmable controller system in which this invention is implemented, Figure 2 is a diagram showing an example of process control, and Figure 3 is a diagram created using a ladder representation to sequentially control the process shown in Figure 2. Figure 4 is a diagram showing the program, and Figure 4 is a diagram showing the program that controls the process shown in Figure 2 in process step form.
The figure shows the control flow when operating with the step-by-step program shown in FIG. 4. Figure 6 shows the control flow when operating the process shown in FIG. 7 is a diagram showing the storage area arrangement of the user program RAM of the embodiment system shown in FIG. 1, and FIG. 8 is a diagram showing the program for implementing the program shown in FIG. FIG. 3 is a diagram showing a control flow when operating an example system. 1: CPU, 2: ROM for system program,
3: RAM for user program, 4: RAM for I/O refresh memory, 5: For work area
RAM, 6: Input/output control section, 7: Program console section, 7h: Automatic/manual changeover switch, 8: Bus, 9: Input interface, 10:
Output interface, 11: I/O bus, 12:
Input terminal block, 13: Output terminal block.

Claims (1)

【特許請求の範囲】 1 プログラムコンソール部と、システムプログ
ラム記憶部と、工程歩進形プログラムとラダー表
現のプログラムを記憶するユーザプログラム記憶
部と、前記システムプログラム記憶部に記憶され
るシステムプログラムにしたがい、前記ユーザプ
ログラムを実行して被制御装置を制御する中央処
理装置とを備える工程歩進形プログラマブルコン
トローラにおいて、 前記ユーザプログラム記憶部には、少なくとも
工程歩進形プログラムによる自動動作用の第1の
プログラム領域と、ラダー表現による手動動作用
の第2のプログラム領域を備えるとともに、前記
プログラムコンソール部に自動と手動の動作切換
手段を備え、前記中央処理装置は、前記動作切換
手段によつて自動動作が指定された場合に前記第
1のプログラム領域に記憶された自動動作用のプ
ログラムを読み出し実行し、手動動作が指定され
た場合に前記第2のプログラム領域に記憶された
手動動作用のプログラムを読み出し実行すること
を特徴とする工程歩進形プログラマブルコントロ
ーラ。
[Scope of Claims] 1. A program console section, a system program storage section, a user program storage section that stores a step-by-step program and a ladder representation program, and a system program according to the system program stored in the system program storage section. , and a central processing unit that executes the user program to control the controlled device, wherein the user program storage section includes at least a first programmable controller for automatic operation based on the step-by-step program. A program area and a second program area for manual operation using a ladder representation are provided, and the program console section is provided with an automatic/manual operation switching means, and the central processing unit is configured to perform automatic operation by the operation switching means. reads and executes a program for automatic operation stored in the first program area when specified, and executes a program for manual operation stored in the second program area when manual operation is specified. A step-by-step programmable controller characterized by reading and executing.
JP20865781A 1981-12-22 1981-12-22 Process step type programmable controller Granted JPS58107907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20865781A JPS58107907A (en) 1981-12-22 1981-12-22 Process step type programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20865781A JPS58107907A (en) 1981-12-22 1981-12-22 Process step type programmable controller

Publications (2)

Publication Number Publication Date
JPS58107907A JPS58107907A (en) 1983-06-27
JPH0323921B2 true JPH0323921B2 (en) 1991-04-02

Family

ID=16559876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20865781A Granted JPS58107907A (en) 1981-12-22 1981-12-22 Process step type programmable controller

Country Status (1)

Country Link
JP (1) JPS58107907A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61120205A (en) * 1984-11-16 1986-06-07 Sapporo Breweries Ltd Process step processing method

Also Published As

Publication number Publication date
JPS58107907A (en) 1983-06-27

Similar Documents

Publication Publication Date Title
CA1085058A (en) Jump structure for a digital control system
US4736340A (en) Processor generating control programs for a programmable controller
JPH04176539A (en) Interactive numerical control unit
JPS6010644B2 (en) Sequence display control method
JPS6112282B2 (en)
US6313827B1 (en) Computer data re-presentation apparatus and method
WO1982004137A1 (en) A numerical control method
JPH0323921B2 (en)
JP2681630B2 (en) Override playback method
WO1989006388A1 (en) Pc simulation system
JPH02220102A (en) Sequence program editing system
JPS6091404A (en) Industrial robbot
EP0827053A1 (en) Programming system for motion controller
US5864479A (en) Programming device for programming state controllers
JP3460747B2 (en) Numerical control unit
JPS609843Y2 (en) Progressive programmable controller
JPS6336523B2 (en)
KR900005548B1 (en) Programmble controller
KR19980083294A (en) How to edit graphic G-code of numeric controller
KR900008537B1 (en) The controller and its method of high level language program and off-line program
JPS61278909A (en) Interactive programming device
JP4029481B2 (en) Numerical control method
JPS63250705A (en) Numerical controller
JP2731166B2 (en) Programmable controller
JPH0354607A (en) Program restarting system for automatic operation