JPS60150102A - Controller - Google Patents
ControllerInfo
- Publication number
- JPS60150102A JPS60150102A JP499384A JP499384A JPS60150102A JP S60150102 A JPS60150102 A JP S60150102A JP 499384 A JP499384 A JP 499384A JP 499384 A JP499384 A JP 499384A JP S60150102 A JPS60150102 A JP S60150102A
- Authority
- JP
- Japan
- Prior art keywords
- program
- code
- register
- stored
- parameter
- 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
Links
Landscapes
- Feedback Control In General (AREA)
- Control By Computers (AREA)
- Programmable Controllers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔i明の利用分野〕 ゛
本発明は調節計に係シ、特r*時間士プログラムを実行
でき、かつ、プログラムの実行中にプロダラムを変更で
きるプロセス制御に好適な調節計に関す□るものである
−
〔発明あ冑景〕′
マイクロコンピュータを内蔵した―筒針を用い゛て少ロ
セス制傭を行ら場番、調節計の機能に応じてあらd−L
め一筒針内に格納されている各橋演算要素を組み合わせ
、プログラムで指定して実行させるようにしている。[Detailed Description of the Invention] [Field of Application of the Invention] [The present invention relates to a controller, and is particularly suitable for process control in which a time controller program can be executed and the program program can be changed while the program is being executed. □Related to controllers - [Inventive scene]' Built-in microcomputer - A cylinder needle is used to perform a low-process system.
Each bridge calculation element stored in the barrel needle is combined and executed by specifying it in a program.
従来のプログラム方式としては、各種演−要素を#装言
iで指定してプログラムを作成する方式と□演算要素を
ブロン〉としてまとめ、:演算ブロック同士をi続する
方式”と゛があるが、両者とも演算!1
式をそのままプロ′グラムとして記述できず、演算式内
−変数が制iさiるという欠点が′あったンまた、逆に
一般に用いられているBASIC言語を用いて実時間で
ブーセスからの入出力処理を朽い、さらに制御演算を実
行す名ようにすると時間がかゝ、11
かり過ぎるという藺題を生ずる。There are two conventional programming methods: one is to create a program by specifying various operation elements with the #synonym i, and the other is to group the operation elements as a block and connect the operation blocks with each other. Both of them have the disadvantage that they cannot be written directly as a program, and the variables in the calculation expressions are restricted. However, if the input/output processing from the boot processor is interrupted and the control calculations are further executed, the problem arises that it takes too much time.
〔発明の目的〕″ ″ ゛
本発明はj記に鑑みて雇されたもので、そアi的とする
ところは、BASICM語を用いても高速処理が可能で
、栗時間でプログラムを実行でき、かつ、グミグラム実
行中にプログラム変更可能で、複雑な演算処理も容易に
実行できる調節計を提供することにある。[Purpose of the Invention] ” ” The present invention was developed in view of the above, and its main purpose is that high-speed processing is possible even when using BASICM language, and programs can be executed in chestnut time. The object of the present invention is to provide a controller that can change the program while executing a gummy gram, and can easily execute complicated arithmetic processing.
本発明の特徴は、所望の制御演算を行うだめのプログラ
ムをRASIC言語を用いた算術式の形で入力する手段
と、あらかじめ記憶しである演算要素の実行番地を格納
したテーブルと、上記プログラムのBASICN語を上
記チルプルの番地に対応したコードに調節計の実行周期
毎に逐次分割して変換するコード変換手段と、上記プロ
グラムのBASI(、i語をすべて上記コード変換手段
によってコード変換後このプログラムを実行する手段と
を具備した構成とした点にある。The present invention is characterized by a means for inputting a program for performing a desired control operation in the form of an arithmetic expression using the RASIC language, a table storing execution addresses of calculation elements stored in advance, and a table for storing execution addresses of calculation elements stored in advance. A code converting means that sequentially divides and converts the BASICN word into a code corresponding to the above-mentioned chirp address for each execution cycle of the controller; The present invention is characterized in that it is configured to include means for executing.
以下本発明を第1図〜第8図に示した実施例を用いて詳
細な説明する。The present invention will be explained in detail below using the embodiments shown in FIGS. 1 to 8.
第1図は本発明の調節計の一実施例を示す外観図である
。第1図において、1はマイクロコンピュータを内蔵し
た調節計本体で、プロセス”の制御を実行するのに必要
なパラメータを設定するパラメータ設定部3と前面パネ
ル4とを有している。FIG. 1 is an external view showing an embodiment of the controller of the present invention. In FIG. 1, reference numeral 1 denotes a controller body with a built-in microcomputer, and has a parameter setting section 3 and a front panel 4 for setting parameters necessary for controlling a process.
パラメータ設定部3には、パラメータを表示する表示部
31、パラメータの数値を設定するキースイッチ32、
プログラムを調節針内に記憶可能とするか、記憶したプ
ログラムを実行するかを選択する選択スイッチ33とが
ある。前面パネル4には、制御量信号、設定値信号、操
作量信号を指示する指針41、操作量信号を自動/手動
に切り換えるダイヤルスイッチ42、手動時の操作量を
増減するダイヤル43および設定値を手動で設定するダ
イヤル44が設けである。The parameter setting section 3 includes a display section 31 for displaying parameters, a key switch 32 for setting parameter values,
There is a selection switch 33 for selecting whether a program can be stored in the adjustment needle or whether a stored program can be executed. The front panel 4 includes a pointer 41 for instructing the control amount signal, set value signal, and operation amount signal, a dial switch 42 for switching the operation amount signal between automatic and manual, a dial 43 for increasing and decreasing the operation amount in manual mode, and a set value. A dial 44 is provided for manual settings.
5は調節計のプログラムを作成するプログラム作成器で
、プログラムを表示する表示部51とプログラムを設定
するキースイッチ52とが外部に設けてあシ、調節計本
体1とはケーブル6を介してコネクタ7で結合しである
。プログラムは、プログラム作成器5のキースイッチ5
2で入力し、表示器51で確認する。作成したプログラ
ムは、ケーブル6を介して調節針本体l内の几AMに格
納する。調節計本体1は、RAMよシ演算周期毎にプロ
グラムを数ステップずつ読み出し、これをコードに変換
する。変換されたコードは再びRAMに格納し、演算処
理を実行するときにそれを読み出して処理を行う。Reference numeral 5 denotes a program creator for creating a program for the controller, and a display section 51 for displaying the program and a key switch 52 for setting the program are provided externally, and the connector is connected to the controller body 1 via a cable 6. It is joined by 7. The program is executed by the key switch 5 of the program creator 5.
2 and confirm on the display 51. The created program is stored in the AM in the adjustment needle main body l via the cable 6. The controller main body 1 reads a program several steps at a time in each calculation cycle from the RAM and converts it into a code. The converted code is stored in the RAM again, and read out and processed when performing arithmetic processing.
第2図は第1図の調節計本体lの内部構成の一実施例を
示すブロック図である。第2図において、プロセスから
の測定値などのアナログ信号は入力処理部10でアナロ
グ信号よりディジタル信号に変換され、几AMIIの入
力信号レジスタ12に格納される。パラメータ設定部3
のキースイッチ32、前面パネル4のダイヤルスイッチ
42、ダイヤル43.44の操作出力は操作入力処理部
13を介してパラメータレジスタエ4に格納される。パ
ラメータの表示は、演算処理部15がパラメータレジス
タ14に格納されているキースイッチ32からのデータ
で指定されるパラメータ番号の数値を呼び出して表示レ
ジスタ16へ格納することによって行う。表示処理部1
7は、表示レジ7スタ16の内容をパラメータ設定部3
の表示部31へ出力する。プログラム入力処理部18は
コネクタ7を介してプログラム作成器5より送られたプ
ログラムを受信し、プログラムレジスタ19へ格納する
。演算処理部15は、プログラムレジスタ19の内容を
演算周期毎に数ステップずつコードに変更し、コードレ
ジスタ2oへ格納スる。FIG. 2 is a block diagram showing an example of the internal configuration of the controller body l shown in FIG. 1. In FIG. 2, an analog signal such as a measured value from a process is converted from an analog signal to a digital signal by an input processing section 10, and is stored in an input signal register 12 of the AMII. Parameter setting section 3
The operation outputs of the key switch 32, the dial switch 42 of the front panel 4, and the dials 43, 44 are stored in the parameter register 4 via the operation input processing section 13. The parameters are displayed by the arithmetic processing section 15 calling up the numerical value of the parameter number specified by the data from the key switch 32 stored in the parameter register 14 and storing it in the display register 16. Display processing section 1
7 inputs the contents of the display register 7 register 16 to the parameter setting section 3.
output to the display section 31. The program input processing unit 18 receives the program sent from the program creator 5 via the connector 7 and stores it in the program register 19. The arithmetic processing unit 15 changes the contents of the program register 19 into a code for several steps in each calculation cycle, and stores the code in the code register 2o.
演n九理は、入力信号レジスタ12JC格納されたデー
タを用いて、コードレジスタ20の内容にしたがって実
行される。そしてその結果は出力レジスタ21に格納す
る。出力処理部22は、出力レジスタ21の内容を読み
出し、D−A変換を実行してアナログ信号にして出力す
る。入力処理部10、操作入力処理部13、表示処理部
17、プログラム入力処理部18および出力処理部22
と演算処理部15とをRAMII内の各レジスタを介し
て結合することにより、プログラムの実行と入出力処理
とを分離でき、グログラムの実行時間を短縮できる。The calculation is executed according to the contents of the code register 20 using the data stored in the input signal register 12JC. The result is then stored in the output register 21. The output processing unit 22 reads the contents of the output register 21, performs D-A conversion, and outputs the converted signal as an analog signal. Input processing section 10, operation input processing section 13, display processing section 17, program input processing section 18, and output processing section 22
By coupling the program and the arithmetic processing unit 15 through each register in the RAM II, program execution and input/output processing can be separated, and the program execution time can be shortened.
第3図は第1図のプログラム作成器5の一実施例を示す
内部構成図である。プログラムをキーインする英数字よ
りなるキースイッチ52、キースイッチ52からの接点
信号をJISコードに変換する入力変換部53、入力変
換部53からのデータを表示部51で表示し、通信処理
部54へ送る演算処理部50、表示部51、送られてき
たデータをケーブル6を介して調節計本体lへ送る通信
処理部54とから構成しである。FIG. 3 is an internal configuration diagram showing an embodiment of the program creator 5 shown in FIG. A key switch 52 consisting of alphanumeric characters for keying in a program, an input conversion section 53 for converting the contact signal from the key switch 52 into JIS code, and data from the input conversion section 53 being displayed on the display section 51 and sent to the communication processing section 54. It is composed of an arithmetic processing section 50 for sending data, a display section 51, and a communication processing section 54 for sending sent data to the controller main body l via a cable 6.
第4図は本発明の調節計の動作フローチャートである。FIG. 4 is an operation flowchart of the controller of the present invention.
初めにステップ71でアナログ入力信号を入力し入力処
理部10でディジタル信号に変換し、ステップ72でそ
の信号を入力信号レジスタ12へ格納する。ステップ7
3ではプログラムがコードレジスタ20に格納されてい
るかどうかを判定し、格納されていれば、ステップ74
を実行する。ステップ74ではコードレジスタ20の内
容にしたがって演算処理を実行し、ステップ75でその
結果を出力レジスタ21へ格納する。ステップ76では
出力レジスタ21の内容を読み出してD−A変換を行っ
てアナログ信号にして出力する。ステップ77ではキー
スイッチ32が押されたかどうかを判定し、押されてい
ればステップ78の処理を実行する。ステップ78では
キースイッチ32の操作内容にしたがいパラメータを作
成する。パラメータはプログラム−コード変換処理で作
成される。すなわち、几AMIIに格納されている番地
を示すパラメータテーブルを用−てコードに変換される
。そして、パラメータ設定部3の中にあるパラメータ番
号変更キーによって現在表示レジスタ16に格納されて
いるパラメータテーブルの番号′番増加減し、その結果
をパラメータレジスタ14に格納する。パラメータデー
タ変更キーは、現在表示レジスタ16に示すパラメータ
番号でパラメータテーブルよりパラメータ格納番地を取
り出し、この番地で指定されるデータを増加減する。ス
テップ79では、パラメータレジスタ14で指定される
パラメータテーブル番号とテーブル番号で示されるパラ
メータ格納番地のデータを取シ出して表示レジスタ16
へ格納し、表示部31で表示する。ステップ8oではプ
ログラム入力があったかどうかの判定を打込、プログラ
ム入力があれば、ステップ81を実行する。ステップ8
1では、プログラム入力処理部18での処理により、ケ
ーブル6を介してプログラム作成器5から入力されたプ
ログラムをプログラムレジスタ19へ格納する。ステッ
プ82ではプログラムレジスタ・19にプログラムが格
納されたかどうかを判定し、格納されたならステップ8
3を実行する。ステップ83ではプログラムレジスタ1
9のデータをコードに変換する。ステップ84では変換
されたコードをコードレジシタ2oへ格納スる。First, in step 71, an analog input signal is input, and the input processing section 10 converts it into a digital signal, and in step 72, the signal is stored in the input signal register 12. Step 7
3, it is determined whether the program is stored in the code register 20, and if it is stored, step 74
Execute. In step 74, arithmetic processing is executed according to the contents of the code register 20, and in step 75, the result is stored in the output register 21. In step 76, the contents of the output register 21 are read out, subjected to D/A conversion, and output as an analog signal. In step 77, it is determined whether the key switch 32 has been pressed, and if it has been pressed, the process of step 78 is executed. In step 78, parameters are created according to the operation contents of the key switch 32. Parameters are created by program-code conversion processing. That is, it is converted into a code using a parameter table indicating the address stored in the AMII. Then, by using the parameter number change key in the parameter setting section 3, the number '' of the parameter table currently stored in the display register 16 is incremented or decremented, and the result is stored in the parameter register 14. The parameter data change key takes out a parameter storage address from the parameter table with the parameter number indicated in the current display register 16, and increases or decreases the data specified by this address. In step 79, the parameter table number specified in the parameter register 14 and the data at the parameter storage address indicated by the table number are extracted and displayed in the display register 16.
and displayed on the display section 31. In step 8o, a determination is made as to whether there is a program input, and if there is a program input, step 81 is executed. Step 8
1, the program input from the program creator 5 via the cable 6 is stored in the program register 19 through processing in the program input processing section 18. In step 82, it is determined whether the program has been stored in the program register 19, and if it has been stored, step 8
Execute 3. In step 83, program register 1
9 data is converted into code. In step 84, the converted code is stored in the code register 2o.
ステップ83と84の処理は、l演算周期にプログラム
レジスタ19に格納された1ステップ分のみの変換を実
行し、変換に要する時間を演算周期内の最低に押える。The processing in steps 83 and 84 executes the conversion for only one step stored in the program register 19 in l calculation cycles, and suppresses the time required for conversion to the minimum within the calculation cycle.
ステップ85では演算周期の監視を行い、演算周期にな
るとステップ71の実行に移る。In step 85, the calculation cycle is monitored, and when the calculation cycle is reached, the process moves to step 71.
第5図は第4図のステップ83でのプログラム−コード
変換処理のフローチャートである。このプログラムは、
プログラムレジスタ19にキャラクタ毎に格納されてい
る。ステップ86ではプログラムレジスタ19より1キ
ヤラクタリードする。FIG. 5 is a flowchart of the program-code conversion process at step 83 in FIG. This program is
Each character is stored in the program register 19. In step 86, one character is read from the program register 19.
そしてステップ87で英数字から記号、ブランク、また
はCR(復帰改行)の区切り符号までの1セクタ分の処
理を行う。ス、テップ88では1セクタ分のデータが演
算処理のものかどうか、ステップ89ではパラメータか
どうか、ステップ9oでは入出力かどうか、ステップ9
1では条件分岐かどうかの判定を行い、それぞれ対応し
た演算−コード変換のステップ92、パラメーターコー
ド変換のステップ93、人出カーフード変換のステップ
94、条件−コード変換のステップ95を実行する。ス
テップ92.93での処理の結果は、ステップ96でコ
ードレジスタ2oに格納する。ステップ97では1セク
タを区切った符号がcR,かどうかの判定を行い、CB
ならステップ100へ移!D、CB、でないときはステ
ップ98へ移る。ステップ98では区切りのコードが6
二”かどうかの判定を行−11=”ならステップ99の
処理へ移る。ステップ99では一=“のコードを@S’
l’ORE”のコードと先のノ(ラメータのコードと合
わせてメモリへ一旦退避させる。ステップ100ではス
テップ99で退避させられたコードを読み出し、コード
レジスタ20へ格納する。Then, in step 87, processing for one sector from alphanumeric characters to symbols, blanks, or CR (return line feed) delimiters is performed. Step 88 determines whether the data for one sector is for calculation processing, step 89 determines whether it is a parameter, step 9o determines whether it is input/output, and step 9
1, it is determined whether it is a conditional branch or not, and the corresponding operation-code conversion step 92, parameter code conversion step 93, turnout car food conversion step 94, and condition-code conversion step 95 are executed. The results of the processing in steps 92 and 93 are stored in the code register 2o in step 96. In step 97, it is determined whether the code delimiting one sector is cR, and CB
Then move on to step 100! If it is not D or CB, the process moves to step 98. In step 98, the delimiter code is 6.
If it is determined whether line -11="2", the process moves to step 99. In step 99, the code of 1=“@S'
The code of "l'ORE" and the code of the previous parameter are temporarily saved in memory. In step 100, the code saved in step 99 is read and stored in the code register 20.
第6図はグログラム−コード変換の一例を示す説明図で
ある。ステップ86.87の処理で@Y#が1セクタ分
リードされ、@Y#はステップ89を経てステップ93
でパラメーターコード変換が実行される。なお、RAM
IIに)くラメータのエリアを確保し、アドレスaをノ
(ラメ−タテ−プル23のA1に格納し、結果は′Y”
のコードを61”とする。ステップ96の処理でコード
レジスタ20に′INを格納するが、ステップ98によ
る分岐でステップ99の処理へ移行し、″’STO几E
“のコードとともに一旦退避させる。FIG. 6 is an explanatory diagram showing an example of glogram-code conversion. In the processing of steps 86 and 87, @Y# is read by one sector, and @Y# passes through step 89 and then steps 93.
Parameter code conversion is performed. In addition, RAM
II) Secure the area for the parameter, store the address a in A1 of the parameter table 23, and the result is 'Y'.
Assume that the code is 61". In the process of step 96, 'IN' is stored in the code register 20, but at the branching in step 98, the process moves to step 99, and "'STO 几E
Temporarily save the code along with “.
次に、ステップ86.87で′A#を読み出し、ステッ
プ93の処理でパラメータテーブル23の&2にa+1
を格納し、コードを@2#とじ、’LOAD” のコー
ドとともにステップ96でコードレジスタ20へ格納す
る。次に、1米B”が読み出される。ステップ92の処
理で1米“の演算要素テーブル24の番号82がコード
となり、パラメータのコード″′3”とともにステップ
96でコードレジスタ20へ格納する。次に、“十C”
が読み出され、ステップ92の処理で“十“のコード″
′80”と′C″のコード″′4#とともにステップ9
6でコードレジスタ20へ格納する。この区切り符号は
、’OR”よシステップ100の処理で先に退避させで
ある“8TORE1 ” を格納し、’CB’のコード
を入れて終了する。このように、演算要素、パラメータ
のコードをテーブルの番号と対応させることによシ、演
算処理部15はコード番号で指定される内容の番地で演
算を実行またはRAMIIの内容を取り出すことが可能
となる。Next, in steps 86 and 87, 'A#' is read, and in the process of step 93, a+1 is added to &2 in the parameter table 23.
is stored, the code is closed @2#, and stored in the code register 20 together with the code 'LOAD' in step 96. Next, '1 B'' is read out. In the process of step 92, the number 82 of the calculation element table 24 for 1C becomes a code, and is stored in the code register 20 in step 96 along with the parameter code "'3".Next, "1C"
is read out, and in the process of step 92, the code of “10” is read out.
Step 9 with '80' and 'C' code ''4#
6, the code is stored in the code register 20. This delimiter code is 'OR', stores '8TORE1' which was saved earlier in the process of step 100, and ends with the code 'CB'.In this way, the code of the calculation element and parameter is By associating the code number with the table number, the arithmetic processing unit 15 can perform an arithmetic operation or retrieve the contents of RAMII at the address specified by the code number.
ステップ94の人出カーコード変換は、1セクタのデー
タが”INPUT’、”0UTPUT”で指定されるデ
ータであり、コードは@FO’、@Fl”に変換し、引
き続いてプログラムレジスタ19よシパラメータを取り
出し、コードレジスタ20に格納する。ステップ95で
の処理は、条件分岐、シャンプーコード変換であり、1
セクタが”IF’または@(IOTO’ で示され、−
(IOTO”のときはコード″’GT”変換後、’GO
TOn ”で指定されるnのパラメータ分、現在のプロ
グラム番号で減算し、その結果を格納する。条件文はコ
ード゛C1”変換後、条件式”<、 >、 =”のコー
ド@80,02,01”を付加し、]くラメータのコー
ドと合わせて格納し、次に、”THEN” の次にくる
’GO1’On”をジャンプと同様にコード化する。In the turnout car code conversion in step 94, the data of one sector is the data specified by "INPUT", "0UTPUT", the code is converted to "@FO', @Fl", and then the program register 19 is converted. The parameters are taken out and stored in the code register 20. The processing at step 95 is conditional branching, shampoo code conversion, and 1
The sector is indicated by “IF” or @(IOTO’) and -
(If it is "IOTO", after converting the code "'GT", 'GO
The current program number is subtracted by the n parameters specified by "TOn" and the result is stored. After converting the code "C1", the conditional statement is converted to the code @80,02 of the conditional expression "<, >, =". , 01'' is added and stored together with the parameter code, and then 'GO1'On'' which comes after 'THEN' is coded in the same way as a jump.
第7図はプログラムで用いられるコマンドを示す。FIG. 7 shows the commands used in the program.
第8図はプログツム例を示す。第8図のプログラムは、
まず、入力信号レジスタ12の中のI61よりアナログ
入力を読み出し、パラメータレジスタ14の中のレジス
タAILへ格納し、次に、入力信号レジスタ12の中の
屋2よりアナログ入力を読み出し、パラメータレジスタ
14の中のレジスタAI2へ格納する。次に、KIXA
Il+に2の演算を実行し、表示レジスタ16の中のレ
ジスタPVへ格納し、測定値とする。次に、レジスタA
、I2の内容を表示レジスタ16の中のレジスタSvへ
格納し、設定値とする。次に、制御演算は算術要素CT
RLと指定されたら、添字と2変数pv、svをとシ処
理を実行する。結果は出力レジスタ21の中のレジスタ
MVへ格納する。FIG. 8 shows an example program. The program in Figure 8 is
First, the analog input is read from I61 in the input signal register 12 and stored in the register AIL in the parameter register 14. Next, the analog input is read from I61 in the input signal register 12 and stored in the register AIL in the parameter register 14. The data is stored in register AI2 inside. Next, KIXA
Arithmetic 2 is performed on Il+, stored in register PV in display register 16, and used as a measured value. Next, register A
, I2 are stored in the register Sv in the display register 16 and set as a set value. Next, the control operation is the arithmetic element CT
When RL is specified, the subscript and two variables pv and sv are used to perform processing. The result is stored in register MV in output register 21.
レジスタMYは出力処理を行い、アナログ出力を出力し
、最後にENDで終了する。Register MY performs output processing, outputs an analog output, and finally ends with END.
以上説明したように、本発明によれば、実時間でプログ
ラムを実行でき、かつ、プログラム実行中にプログラム
変更可能であるという効果がある。As described above, according to the present invention, a program can be executed in real time, and the program can be changed while the program is being executed.
第1図は本発明の調節計の一実施例を示す外観図、第2
図は第1図の調節計本体の内部構成の一実施例を示すブ
ロック図、第3図は第1図のプログラム作成器の一実施
例を示す内部構成図、第4図は本発明の調節計の動作フ
ローチャート、第5図は第4図のプログラム−コード変
換処理ステップの一実施例を示すフローチャート、第6
図はプログラム−コード変換の一例を示す説明図、第7
図はプログラムで用いられるコマンドを示す図、第8図
はプログラム例を示す図である。
1・・・調節計本体、3・・・パラメータ設定部、4・
・・前面パネル、5・・・プログラム作成器、10・・
・入力処理部、11・・・PAM、12・・・入力信号
レジスタ、13・・・操作入力処理部、14・・・パラ
メータレジスタ、15・・・演算処理部、16・・・表
示レジスタ、17・・・表示処理部、18・・・プログ
ラム入力処理部、19・・・プログラムレジスタ、20
・・・コードレジスタ、21・・・出力レジスタ、22
・・・出力処理部、23・・・パラメータテーブル、2
4・・・演算要素テーブル。
代理人 弁理士 長崎博労
(ほか1名)
第 l 圀
第3 図
第4図
第7図
(&)
第S 圀
10 INPUTI 、Al1
2θ INPUT2.M2
30 PV=KIXAI7十に2
4θ 5Y=AI2
SO/’IV=C−rRL(PV、Sγ)60 0tj
TPUT1 、 /’711’7θ ENDFIG. 1 is an external view showing one embodiment of the controller of the present invention, and FIG.
The figure is a block diagram showing an example of the internal configuration of the controller body shown in Figure 1, Figure 3 is an internal configuration diagram showing an example of the program creator shown in Figure 1, and Figure 4 is a block diagram showing an example of the internal configuration of the controller body shown in Figure 1. FIG. 5 is a flowchart showing an example of the program-code conversion processing steps in FIG. 4;
The figure is an explanatory diagram showing an example of program-code conversion.
The figure shows commands used in the program, and FIG. 8 shows an example of the program. 1... Controller body, 3... Parameter setting section, 4.
...Front panel, 5...Program creator, 10...
- Input processing unit, 11... PAM, 12... Input signal register, 13... Operation input processing unit, 14... Parameter register, 15... Arithmetic processing unit, 16... Display register, 17... Display processing section, 18... Program input processing section, 19... Program register, 20
...Code register, 21...Output register, 22
...Output processing unit, 23...Parameter table, 2
4... Calculation element table. Agent Patent attorney Hiroto Nagasaki (and 1 other person) No. 1, No. 3, No. 4, No. 7 (&) No. S, No. 10 INPUTI, Al1 2θ INPUT2. M2 30 PV = KIXAI7 2 4θ 5Y = AI2 SO/'IV = C-rRL (PV, Sγ) 60 0tj
TPUT1, /'711'7θ END
Claims (1)
蔵した調節針において、所望の制御演算を行うだめのプ
ログラムをBASICi語を用いた算術式の形で入力す
る手段と、あらかじめ記憶しである演−一素の美行番地
を格納し□たテーブルと、前記プログラム”のBA8I
C言語を前記テーレ°ルめ側御に対応したコードに前記
調節計の実行周期毎に逐次分割しで変換するコード変換
手段と、前記プログラムのRASIC言語をすべて前記
コード変換手段によってコニド変換後該プログラムを実
行する手段とを備え、プロセス入出力処理は前記プロ夛
ラムの入出力命令とは別に実行可能あ構成としであるこ
とを特徴とするjlljliit’t。゛1. In the adjustment needle with a built-in microcomputer □ used for process i control, means for inputting a program for performing desired control calculations in the form of arithmetic expressions using BASICi words, and a pre-memorized calculation unit. A table that stores the original address and BA8I of the above program.
code converting means for converting the C language into code corresponding to the tailer side control by sequentially dividing it into codes for each execution cycle of the controller; and means for executing a program, and the process input/output processing can be executed separately from the input/output instructions of the program.゛
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP499384A JPS60150102A (en) | 1984-01-13 | 1984-01-13 | Controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP499384A JPS60150102A (en) | 1984-01-13 | 1984-01-13 | Controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60150102A true JPS60150102A (en) | 1985-08-07 |
| JPH0545963B2 JPH0545963B2 (en) | 1993-07-12 |
Family
ID=11599126
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP499384A Granted JPS60150102A (en) | 1984-01-13 | 1984-01-13 | Controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60150102A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62157948A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Controller |
| JPS62157946A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Control device |
| JPS62157949A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Controller |
| JPS62157947A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Control device |
| WO1989005003A1 (en) * | 1987-11-19 | 1989-06-01 | Fanuc Ltd | Method of editing a program for pc |
| JPH02112002A (en) * | 1988-10-21 | 1990-04-24 | Hitachi Ltd | Automatic controller |
| JPH0363203U (en) * | 1989-10-26 | 1991-06-20 | ||
| JPH03201009A (en) * | 1989-12-28 | 1991-09-02 | Oki Electric Ind Co Ltd | Development system for mechanism control program |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55118152A (en) * | 1979-03-06 | 1980-09-10 | Nec Corp | Data processing method |
| JPS55127667A (en) * | 1979-03-23 | 1980-10-02 | Yokogawa Hokushin Electric Corp | Control operator |
| JPS58207106A (en) * | 1982-03-30 | 1983-12-02 | シンシナテイ・ミラクロン・インダストリ−ズ・インコ−ポレ−テッド | Programmable control apparatus and method |
| JPS59734A (en) * | 1982-06-28 | 1984-01-05 | Hitachi Ltd | Process controller |
-
1984
- 1984-01-13 JP JP499384A patent/JPS60150102A/en active Granted
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55118152A (en) * | 1979-03-06 | 1980-09-10 | Nec Corp | Data processing method |
| JPS55127667A (en) * | 1979-03-23 | 1980-10-02 | Yokogawa Hokushin Electric Corp | Control operator |
| JPS58207106A (en) * | 1982-03-30 | 1983-12-02 | シンシナテイ・ミラクロン・インダストリ−ズ・インコ−ポレ−テッド | Programmable control apparatus and method |
| JPS59734A (en) * | 1982-06-28 | 1984-01-05 | Hitachi Ltd | Process controller |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62157948A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Controller |
| JPS62157946A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Control device |
| JPS62157949A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Controller |
| JPS62157947A (en) * | 1985-12-28 | 1987-07-13 | Yamatake Honeywell Co Ltd | Control device |
| WO1989005003A1 (en) * | 1987-11-19 | 1989-06-01 | Fanuc Ltd | Method of editing a program for pc |
| JPH02112002A (en) * | 1988-10-21 | 1990-04-24 | Hitachi Ltd | Automatic controller |
| JPH0363203U (en) * | 1989-10-26 | 1991-06-20 | ||
| JPH03201009A (en) * | 1989-12-28 | 1991-09-02 | Oki Electric Ind Co Ltd | Development system for mechanism control program |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0545963B2 (en) | 1993-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60150102A (en) | Controller | |
| JPH0812598B2 (en) | Microprogram processor controller | |
| JPS646497B2 (en) | ||
| JPH10283020A (en) | Programmable display device | |
| JPS6156822B2 (en) | ||
| JPS60237535A (en) | Command input control system | |
| KR880000817B1 (en) | Data processing device and method | |
| JPS6079431A (en) | Programmable controller | |
| DE2930626A1 (en) | DATA DEVICE WITH VOICE SYNTHESIZER | |
| JPS56162123A (en) | Electronic computer system | |
| JPS59167751A (en) | Controller for robot | |
| JPS5523510A (en) | Sequence control unit | |
| JP3039938B2 (en) | Document creation device | |
| JPH02108106A (en) | Numerical controller | |
| JPS61187008A (en) | Input method of ladder circuit | |
| JPS6049935B2 (en) | Microprogram control method | |
| JP2901454B2 (en) | Programmable controller | |
| JPS6226485B2 (en) | ||
| JPS59229613A (en) | Numerical control device | |
| JPH0498454A (en) | Screen state continuing control system | |
| JPH01177613A (en) | System for displaying nc program | |
| JPH0423102A (en) | Programming device for programmable controller | |
| JPH01271837A (en) | Software developing device | |
| JPH01124046A (en) | Interactive processing system | |
| JPH03219303A (en) | Numerical controller |