JPH02278302A - Program input method for program controller with positioning function - Google Patents
Program input method for program controller with positioning functionInfo
- Publication number
- JPH02278302A JPH02278302A JP9915689A JP9915689A JPH02278302A JP H02278302 A JPH02278302 A JP H02278302A JP 9915689 A JP9915689 A JP 9915689A JP 9915689 A JP9915689 A JP 9915689A JP H02278302 A JPH02278302 A JP H02278302A
- Authority
- JP
- Japan
- Prior art keywords
- positioning
- program
- sequence
- sequence control
- controller
- 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
- Numerical Control (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、シーケンス制御用と位置決め制御画用のプ
ログラムを一体に作成して入力する位置決め機能付きプ
ログラマブルコントローラのプログラム入力方法に関す
るものであろう
〔従来の技術〕
第5mは従来の位置決め機能付プログラマブルコントロ
ーラを示すブロック図であり1図において、 (IB
) はシーケンス制御を行なうコントローラユニット
ヲ示し、シーケンスミ11@用OP U [111゜O
9と呼ばれる制御用プログラムが記憶されているシーケ
ンス匍11用メモリ(1z、ユーザが作成するシーケン
スプログラムのステップ管理のためのデータが記憶され
ているステップ管理メモリ!’L 上記シーケンスプロ
グラムを記憶するためのRAMであるシーケンスプログ
ラム格納用メモリ+141.後述の1辺W ’N 13
1 (!:のインターフェイス(以下工/Fき記す)α
9.後述の位置決め制御用cpucuとの工/ F (
I71から構成されている。(2B)は制御対象(図示
せず)の位置決めを実行する位置決めユニットを示し1
位哩決め制御用0PUGII、位置決め制御川メモリη
、後述のサーボ14)との工/F(至)。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a program input method for a programmable controller with a positioning function, in which programs for sequence control and positioning control images are created and input in one piece. [Prior art] No. 5m is a block diagram showing a conventional programmable controller with a positioning function.
) indicates the controller unit that performs sequence control, and OP U [111°O
Memory for the sequence 11 in which a control program called 9 is stored (1z, step management memory in which data for step management of a sequence program created by the user is stored!'L) To store the above sequence program Sequence program storage memory which is RAM + 141. One side W 'N 13 described later
1 (!: Interface (hereinafter written in /F) α
9. Work with cpucu for positioning control (described later)
It consists of I71. (2B) indicates a positioning unit that performs positioning of a controlled object (not shown) 1
0PUGII for positioning control, positioning control river memory η
, work/F (to) with the servo 14) described later.
位置決めデー4を記憶させるための位置決めデータ格網
用メモリパ4.後述の周辺装’i +31との工/Fす
、コントローラユニット(IB) &位?決メユニッ
ト(2B)間のデータをやりとりするためのノ(ソファ
メモリ慴、シーケンス制倒用CPUαυとの工/F@か
ら構成されている。Positioning data network memory pad 4 for storing positioning data 4. Works with the peripheral equipment 'i+31' described later/F, controller unit (IB) & place? It consists of a sofa memory for exchanging data between the decision units (2B) and a CPU αυ for sequence control.
従来の位置決め機能付プログラマプルコントローラハ上
記コントローラユニツ1−(IB)(!−位置決めユニ
ット(2B) とから構成されているう(3)はシー
ケンスプログラムや位置決めデータを作成するプログラ
ム作成手段としての周辺装置でアリ、コントローラユニ
ット(IB)に接続して上記プログラムをシーケンスプ
ログラム格納用メモl lI4に書き込んだり1位哩決
めユニット(2)に接続して上記位置決めデータを位置
決めデータ格納用メモリ(財)へ書き込む。(4)は位
置決め対家(図示せず)を駆動割個するサーボである。The conventional programmable controller with positioning function is composed of the above-mentioned controller unit 1-(IB) (!-positioning unit (2B)). Connect the device to the controller unit (IB) and write the above program to the sequence program storage memory 1I4, or connect to the 1st position determining unit (2) and write the above positioning data to the positioning data storage memory (IB). (4) is a servo that drives a positioning pair (not shown).
次に動作について悦明するっ
ユーザは周辺装・冴(3)より周辺工/F(至)を介し
て位置決めデータを予め位置決めデータ格納用メモ+3
124へ格納する。また1周辺装#I+31より周辺T
/F(+9を介して9位哩決め実行時に使用する「位・
纜決めデータの指定」と「位置決め起動指令」をシーケ
ンス命令を弔イ、B F C(Sequenti!11
Function Chart)で記述したプログラム
をシーケンスプログラム格納用メモリ!+4へ格納する
っコントローラユニツ)(IB) 内のシーケンス制個
用apyσ9は、シーケンスプログラム格納用メモリ(
I4に格納された8FCプログラムをステップ管理用メ
モリII3を用いてステップ管理を行うことにより実行
する。すなわち、[位置決めデータ指定」の実行により
1位哩決めユニット(2)のノくラフアメモリ〜に1位
哩決めデータ格納用メモリQ4に記憶されている環数の
位置決めデータのうちのどのデータを用いるかを指定す
る「位置決めデータの情報」をセットし、「位置決め起
動指令」の実行により、 I/Fl171.−を介し
て位置決めユニット(2)の0PU12υへ位置決め起
動の指令を送る5位・1決めユニット(2B) 内の
位置決め制御用CPUや0は先の位置決め起動指令を受
けるこきにより。Next, the user will be happy about the operation.The user should input the positioning data in advance from the peripheral equipment / Sae (3) through the peripheral equipment / F (to) + 3 memo for storing positioning data.
124. Also, from 1 peripheral #I + 31 peripheral T
/F (+9 to determine the 9th place)
B F C (Sequenti! 11)
Memory for storing sequences programs written in Function Chart! The apyσ9 for sequence control in the controller unit (IB) is stored in the sequence program storage memory (controller unit) (IB).
The 8FC program stored in I4 is executed by performing step management using step management memory II3. That is, by executing [positioning data specification], which data among the positioning data of the ring number stored in the first position determining data storage memory Q4 is to be used in the first position determining unit (2)'s no. By setting the "positioning data information" that specifies whether the I/Fl171. The positioning control CPU and 0 in the 5th and 1st positioning units (2B) send the positioning start command to the 0PU12υ of the positioning unit (2) via -.
バッツァメモリ・1にセクトされた「位置決めデータの
情報」に基づき1位哩決めデータ格納用メモリ・!4内
の該当位置決めデータを用いて9位哩決め指令#Lを算
出して、サーボI/Ffiを介してサーボ1417B制
個するこきにより位置決めを行なうつ〔発明が解決しよ
うとする課題〕
以トのように、シーケンス制旬部さしてのコントローラ
ユニット(IA) と位置決め制判部としての位置決
めユニツ) (2B) から構成されている従来の位
置決め機能付きプログラムコントローラのプログラム入
力方法は予めプログラム作成手段としての1υ辺装;4
131を用いて複枚の位置決めデータを上記位置決めユ
ニット(2B) へ入力しておき。Based on the "positioning data information" selected in Batza memory 1, the memory for storing data that determines the 1st place! Calculate the 9th position positioning command #L using the corresponding positioning data in 4, and perform positioning by controlling the servo 1417B via the servo I/Ffi [Problem to be solved by the invention] As shown in the figure, the program input method for a conventional program controller with a positioning function, which consists of a controller unit (IA) as a sequence control section and a positioning unit (2B) as a positioning control section, is as follows: 1υ side; 4
131 to input positioning data for multiple sheets to the positioning unit (2B).
さらに上記周辺装置(3)を用いて位置決め起動指令お
よび上記?!!数の位置決めデータのうちのどのデータ
を用いるかの指定をシーケンスプログラム上にプログラ
ムして、上記コントローラユニット(IA)へ入力して
おかなければならず、ユーザにきって面倒であるという
問題点があった。Furthermore, the above-mentioned peripheral device (3) is used to issue a positioning start command and the above-mentioned ? ! ! The problem is that the designation of which data to use out of several positioning data must be programmed into the sequence program and input into the controller unit (IA), which is troublesome for the user. there were.
この発明は、上記のような問題点を解消するためになさ
れたもので0位哩決め起動指令などをプログラムしたシ
ーケンスプログラムと位置決めデータとを別々に入力す
る必要のない位置決め機能付キプログラムコントローラ
のプログラム入力方法を得ることを目的とするう
〔課題を解決するための手段〕
この発明に係る位置決め機能付きプログラムコントロー
ラのプログラム入力方法は、シーケンス?1lill@
用および位ス凌央め制御用プログラムをプログラム作成
手段により一体に、かつ時系列に作成し。This invention was made to solve the above-mentioned problems, and provides a key program controller with a positioning function that does not require separate input of positioning data and a sequence program in which a 0 position determination start command is programmed. [Means for Solving the Problem] A program input method for a program controller with a positioning function according to the present invention is a sequence? 1lill@
A program for controlling the use and location of the station is created integrally and in chronological order using a program creation means.
上記位置決め機昨付きプログラムコントローラに一体に
、かつ時系列に入力し、上記プログラムを構成する各プ
ログラムステップがシーケンス匍1仰用であればこれを
上記シーケンス制伺部て格納し。The program controller with the positioning machine is input integrally and in chronological order, and if each program step constituting the program is in sequence, it is stored in the sequence controller.
位・遣決め制御用であれば上記位置決め制(2)部に格
納すると共に上記位・臂決め制御用プログラムステップ
の実行指令用プログラムステップを自動的に作成して上
記シーケンス制個部に格納するものであるう
〔作中〕
この発明におけるシーケンス制御mおよび位置決め別個
用プログラムはプログラム作成手段により一体に、かつ
時系列に作成されて位置決め機能f=Hプログラムコン
トローラに入力され、上記位置決め機能付きプログラム
コントローラにて、上記プログラムを構成する各プログ
ラムステップはシーケンス制御甲であれば上記シーケン
ス制御部に格納され9位置決め制葡用であれば上記位置
決め制御部に格納されると共に上記位置決め制御用プロ
グラムステップの実行指令用プログラムステップが自動
的に作成されて一ヒ記シーケンス制例部に格納されろう
〔発明の実惰列〕
以下、第1の発明の一実!角列を第11辺〜第4図によ
り税明する。なお0図中、従来列と同一符号で示したも
のは従来列のそれと同一、もしくは相当するものである
。If it is for position/arm position control, it is stored in the positioning system (2) section, and a program step for commanding the execution of the position/arm position control program step is automatically created and stored in the sequence control section. [Work in progress] The sequence control m and positioning separate programs in this invention are created integrally and in chronological order by a program creation means and inputted to the positioning function f=H program controller, and the above-mentioned program with positioning function is created. In the controller, each program step constituting the above program is stored in the sequence control section if it is for sequence control A, and stored in the positioning control section if it is for positioning control. A program step for the execution command will be automatically created and stored in the sequence control section (1). The angle sequence is calculated according to sides 11 to 4. Note that in FIG. 0, those indicated by the same reference numerals as those in the conventional column are the same as or correspond to those in the conventional column.
第1図において、(1)は位1冑決め機能付プログラマ
ブルコントローラで、シーケンス制御部(l A)と位
置決め制御部(2A) (!:で構成されている、t
lGはシーケンス制句部(IA)と位1冴決め制御曲部
(2人)、!:をプログラム作成手段としての川辺i
lft +31のCPU(図示せず)からの切替指令に
より周辺工/ F n!9とシーケンス制御31部(I
A) Oバ、19もしくは位置決め1711+a部(
2人)のバス・」のいずれかと切換えて接続するマルチ
プレクサである。罰は位置決めプログラム格納用メモリ
、(迩はシーケンス制御部(IA)と位置決め制御部(
2人)とで共用する共用記憶手段々してのコモンメモリ
であろう第2図は第1図において、ユーザが周辺製電(
3)により1作成するS F O(Sequenti9
1 FunctionChllrt )言語により記述
したプログラムの列であり、シーケンスプログラムお位
置決めプログラムとを一体に、同時に作成したものであ
る。第2図において、 6G、 (52)、 (54
)、 (55)、 (57)はプログラムステップであ
り、 (51)、(53)、(55) は上記プロ
グラムステップの命令実行への移行条件を示すう
上記SF’C言梧はIEO規格に定められたものであり
、シーケンス記述言語と親和性があり、サーボ・動作の
記述言語とじて同期起動9作業順序がグラフィック的に
記述できる特徴がある。In Fig. 1, (1) is a programmable controller with a positioning function, which is composed of a sequence control section (lA) and a positioning control section (2A) (!:).
1G is the Sequence Expression Club (IA) and the 1st Order Control Music Club (2 members)! Kawabe i: as a means of creating a program
Peripheral work/F n! by a switching command from the CPU (not shown) of lft+31. 9 and sequence control section 31 (I
A) O bar, 19 or positioning 1711 + a part (
This is a multiplexer that switches and connects to one of the two buses. The penalty is the memory for storing the positioning program (the sequence control unit (IA) and the positioning control unit (
Figure 2 is a common memory shared by two people), which is a common memory shared by two people.
S F O (Sequenti9
1 Function Chllrt) This is a series of programs written in a language, and is created simultaneously with a sequence program and a positioning program. In Figure 2, 6G, (52), (54
), (55), and (57) are program steps, and (51), (53), and (55) indicate conditions for transition to instruction execution in the program steps.The above SF'C language is based on the IEO standard. It has an affinity with sequence description languages, and as a servo/motion description language, it has the feature of being able to graphically describe the synchronous activation 9 work order.
@ 2 図において、ステップ(52)はYo の出
力(OQ T YO) * KQ をメモリDQへ導送
(MOVKo Do ) 等のコントローラ部(IA)
で実行されるシーケンス制御命令き1例えば刃物等を把
持するチャックがアドレス30寸で速度200で降下す
る(ABS Y2O、F2[10)等の位置決め制御
命令と今)記述したものであり、このステップ(52)
の実行は9列えばワークのセットを命令する前段のステ
ップ勺(SIT Ml 1 ) が補注状態にあり
かつワークセット完了を示す信号入力である移行条件X
o(5’)が1である場合にのみ実行されるっステップ
(54)は1例えば主軸を回転させる七ノド命令(SE
T Mto) と主軸台をアドレス500まで速度
30で微速前位させる命′i!1(ABSZ500.F
30)から、ステップ(55)はメモIJ Do の
データをメモlJD+ へaOWする命令からなり、
前段ステップであるステップ(52)が活性化され9例
えばチャンキング完了を示す信号入力である移行条件x
1 (53)が1である場合にのみ。@2 In the figure, step (52) is a controller section (IA) that transfers the output of Yo (OQ T YO) * KQ to the memory DQ (MOVKo Do), etc.
For example, the sequence control command executed in step 1 is such that a chuck that grips a cutter, etc. is lowered at an address of 30 cm and a speed of 200 (positioning control commands such as ABS Y2O, F2 [10], etc.), and this step (52)
is executed if the transition condition
Step (54) is executed only when o(5') is 1. For example, a seven-stroke instruction (SE) to rotate the main shaft is executed.
TMto) and move the headstock forward at a slow speed of 30 to address 500! 1 (ABSZ500.F
30), step (55) consists of an instruction to aOW the data of the memo IJDo to the memory IJD+,
Step (52), which is the previous step, is activated and 9, for example, the transition condition x is a signal input indicating the completion of chunking.
1 only if (53) is 1.
上記ステップ(54)、(55) が実行される。ステ
ラ7’(57) は9列えば上記主軸台をアドレス1
00まで速度400で後退させる命令(A B S
zloG 。The above steps (54) and (55) are executed. For Stella 7' (57), if there are 9 rows, the above headstock should be set to address 1.
Command to retreat to 00 at a speed of 400 (A B S
zloG.
F’400)と上記主軸の回転を止める命令(R8’T
M10G)からなり、上記ステップ(54)、 (55
)が実行後、上記ワークの力日工完了を示す信号入力で
ある移行条件X2 (56) が真である場合にの
み。F'400) and a command to stop the rotation of the main shaft (R8'T).
M10G), and the steps (54) and (55
) is executed, only if the transition condition X2 (56), which is a signal input indicating the completion of daily labor of the work, is true.
上記ステップ(57)が実行されるものであるっ−F記
のご、6<、SFCプログラムはシーケンス■11@命
令と位置決め制御命令の混在が可能である。The above step (57) is executed. In the SFC program, the sequence 11@ command and the positioning control command can coexist.
次に、この実姉列による位置決め機能付プログラマブル
コントローラ+11への、第2図に例示したようなSF
Oプログラムの入力方法および制6Q1対像(図示せず
)の位゛q決め実行の動作について税明するっ
第1図において、シーケンスプログラムト9位胃決めプ
ログラムが一体に、同時に記述されたプログラムを周辺
装置1j +31からシーケンス制御部CIA)のシー
ケンスプログラム格納用メモリfin、又は位置決め制
御部(2A)の位置決めプログラム格納用メモリ@へ分
けて格納し9位置決めプログラムが記述されているステ
ップについては1位置決め起動指令プログラムを自動的
に作成し、シーケンスプログラム格納用メモリ(14へ
格納する。また、プログラムの実行の際には先の位1遣
決め起動指令プログラムのステップを実行時ステップ(
209) テ:rモンメモリ・場へ位置決め起動指令を
書込むので。Next, the SF as exemplified in FIG.
The input method of the O program and the operation of positioning the control 6Q1 image (not shown) will be explained below. In Figure 1, the sequence program and the positioning program 9 are written simultaneously are stored separately from the peripheral device 1j +31 to the sequence program storage memory fin of the sequence control unit CIA) or the positioning program storage memory @ of the positioning control unit (2A). 9For the step in which the positioning program is written, 1 A positioning start command program is automatically created and stored in the sequence program storage memory (14).Also, when the program is executed, the previous step of the positioning start command program is executed at the step (14).
209) Te: Write the positioning start command to the rmon memory/field.
位置決め制?lll用cprye2riはその位置決め
起動指令を受は堰ることにより位置決めプログラム格納
用メモリ(2)内の該当位置決めプログラムを実行し。Positioning system? cprye2ri for llll executes the corresponding positioning program in the positioning program storage memory (2) by receiving and receiving the positioning start command.
サーボI /F’fflを介してサーボ(4)を制御す
ることにより位・!央めを行なうものであるう、!g3
図はIM辺装置摩f31より位置決め機能付きプログラ
ムプルコントローラ(1)へ、プログラム入力時の動作
を示すフローチャートであり、このフローチャートによ
り、コントローラ(1)へのプログラム入力方法につい
て説明する。By controlling the servo (4) via the servo I/F'ffl, the position.! It's something to do in the middle! g3
The figure is a flowchart showing the operation when a program is input from the IM side device f31 to the program pull controller (1) with a positioning function, and the method of inputting the program to the controller (1) will be explained using this flowchart.
第3図において9周辺装!遣13)はステップ(Ioo
)でフローチャートが実行されるさ、ステップ(+01
)で周辺工/ F O5を介して切換指令を出し、マ
ルチプレクサtteをシーケンス制御部側ヘセットシ、
ステップ(+02)で9周辺装置t 131により予め
作成され。9 peripheral equipment in Figure 3! 13) is the step (Ioo
), the flowchart is executed at step (+01
), issue a switching command via the peripheral work/FO5, and set the multiplexer tte to the sequence control unit side.
9 peripheral device t 131 in step (+02).
この周辺装置el +31のメモリ(図示せず)K記憶
されているSFCプログラムを1ステップ分読み出して
コントローラ(1)へ入力し、ステップ(IO?i)で
。One step of the SFC program stored in the memory (not shown) of this peripheral device el +31 is read out and input to the controller (1), at step (IO?i).
プログラムの全ステップの入力完了かを判別し。Determine if all steps of the program have been input.
完了である時にはステップ(II+)でこのフローチャ
ートラ終了するつそして完了でなければ周辺装置 +3
1はスーy−yプ(+04)″′r!、上記読み出した
sFcプログラムのステップがシーケンス制御プログラ
ムであるか否かを判別し、シーケンス制御プログラムで
あれば出力し、ステップ(+05)で、シーケンス制御
部(IA)の0PUQIIはそのシーケンスプログラム
を鴫辺工/1’!、マルチプレクサ11θを介して受は
堰りシーケンスプログラム格納用メモリIへ記憶し、ス
テップ(+02)へ戻る3また上記ステップ(+04)
でシーケンス制御プログラムではなく位f彎決めプログ
ラムであれば9周辺f: e c31はステップ(!0
6)で、笥辺工/ F 65を介して切換指令を出し、
マルチプレクサ(l[lを位置決め制御部側ヘセットし
、ステップ(+07)でその位置決めプログラムを位1
置決めプログラム格納用メモリ乃へ記憶するっさらに、
ステップ(+08)で1周辺工/ F’ QcJを介し
て、切換指令を出し、マルチプレクサ+teをシーケン
ス開開部側へセットし、ステップ(+09)で、先のw
臂決めプログラムを起動するシーケンスプログラムであ
る位置決め起動指令プログラムを自動的に咋成し、ステ
ップ(+10)で、この自動作成した位置決め起動指令
プログラムを、シーケンスプログラム格納用メモリIへ
記憶し、ステップ(+02)へ戻る。上記のようにして
1周辺Hiit f3)において作成されたs?aプロ
グラムは、それぞれ該当するシーケンスプログラム格納
用メモリI。If it is completed, this flowchart ends at step (II+), and if it is not completed, the peripheral device +3
1 determines whether the step of the sFc program read above is a sequence control program, outputs it if it is a sequence control program, and at step (+05), 0PUQII of the sequence control unit (IA) stores the sequence program in the memory I for storing the sequence program through the multiplexer 11θ, and returns to step (+02) 3 and the above steps (+04)
If it is not a sequence control program but a position f-curving program, 9 peripheral f: e c31 is a step (!0
6), issue a switching command via the F65,
Multiplexer (l[l is set to the positioning control unit side, and in step (+07) the positioning program is
In addition, it is stored in the memory for storing the positioning program.
In step (+08), issue a switching command via 1 peripheral work/F' QcJ, set multiplexer +te to the sequence opening side, and in step (+09),
A positioning start command program, which is a sequence program for starting the arm positioning program, is automatically created, and in step (+10), this automatically created positioning start command program is stored in the sequence program storage memory I, and step (+10) is performed. Return to +02). s? created in the 1st periphery Hiit f3) as above? The a programs are stored in memory I for storing the corresponding sequence programs.
もしくは位置決めプログラム格納用メモリ面へ格納され
る。Alternatively, it is stored in the memory surface for storing positioning programs.
第4図は、サーボ14)を、1駆1助ft1ll la
lすることにより位置決め対象(図示せず)の位置決め
fltll#を実現する位置決め機能付きプログラマブ
ルコア トo −ラ(1)の動作を示すフローチャート
であろうこのフローチャートにより、制御対像の位置決
め動作について説明する。Figure 4 shows the servo 14)
The positioning operation of the control target image will be explained with this flowchart, which is probably a flowchart showing the operation of the programmable core controller (1) with a positioning function that realizes the positioning fltll# of the positioning target (not shown) by do.
第4図において、ステップ(201)でフローチャート
Aが実行されると、シーケンス制?@部(1A)のOP
Uαυはステップ(202)で起動条件が成立している
かを幌察し、成立するまでステップ(202)をトやり
返すっそして、起動条件が成立した時、ステップ(20
5)でステップ管理用メモリ(13の活性ステップをイ
ニシャルステップにセットし、ステップ(204)で、
プログラム全ステップの実行を完了したかを判別し、全
ステップ完了した時点でステップ(203)へ戻る。プ
ログラムの全ステップの実行を完了していなければステ
ップ(205)で、シーケンスプログラム格納用メモリ
cI4よ妙1ステップ分読込み、ステップ(204)で
9位置決め起動指令のステップであるか否かを判別し1
位置決め起動指令のステップでなければステップ(20
7)で、シ−ケンス制御を実行し、ステップ(208)
で次のステップへの移行条件が成立したらステップ管理
用メモリlIJの活性ステップをプラス1して、ステッ
プ(204)へ戻る。また9位置決め起動指令のステッ
プであればステップ(209)で、コモンメモリ器へ位
置決め起動指令を書込む。In FIG. 4, when flowchart A is executed in step (201), the sequence system? @ section (1A) OP
Uαυ checks whether the activation condition is satisfied in step (202) and repeats step (202) until the activation condition is satisfied. Then, when the activation condition is satisfied, step (20
5) sets the active step of step management memory (13) to the initial step, and in step (204),
It is determined whether execution of all steps of the program has been completed, and when all steps have been completed, the process returns to step (203). If execution of all steps of the program has not been completed, in step (205) one step of the sequence program storage memory cI4 is read, and in step (204) it is determined whether the step is a 9 positioning start command. 1
If the step is not a positioning start command step (20
In step 7), sequence control is executed and step (208)
When the conditions for transition to the next step are satisfied, the active step in the step management memory lIJ is incremented by 1, and the process returns to step (204). If step 9 is a positioning start command, the positioning start command is written to the common memory device in step (209).
次に、第41’にのステップ(221)で、フローチャ
ーIBが実行されると1位置決め制御部(2A)のCP
UθDはステップ(222)でコモンメモリ(至)の情
報7?読み出し、ステップ(223)でコモンメモリ1
に折たな位置決め起動指令の書込みの有無を観察し、書
込みがなければステップ(222)へ戻る。Next, in the 41st step (221), when flowchart IB is executed, the CP of the 1st positioning control section (2A)
UθD is information 7 in the common memory (to) at step (222)? Read, common memory 1 in step (223)
It is observed whether or not a folded positioning start command has been written, and if there is no writing, the process returns to step (222).
そして、コモンメモリ1に新たな位置決め起動指令の書
込みがあれば、ステップ(224)で9位置、央めプロ
グラム格納用メモリ額の対応するプログラムをアクセス
し、ステップ(225)で0位置決め指令に基づき演算
する、そして、ステップ(226)でサーボエ/Fv3
を介して、サーボ14)を制倒し。If a new positioning start command is written to the common memory 1, the program corresponding to the 9th position and center program storage memory is accessed in step (224), and the program is accessed based on the 0 positioning command in step (225). Then, in step (226), servo/Fv3
Controls the servo 14) via the .
ステップ(227)で位置決め完了か否かを観察し。In step (227), it is observed whether the positioning is completed or not.
完了でない時はステップ(225)へ戻る。そして位置
決め完了きなった時点で、ステップ(22B )で。If not completed, return to step (225). Then, when the positioning is completed, proceed to step (22B).
位置決め完了をコモンメモリ1ヘセノトし、ステップ(
222)へ戻る。Write the completion of positioning to common memory 1 and step (
Return to 222).
シーケンス制御用0PUnυは、第4図のフローチャー
トAのステップ(210)で、コモンメモリ(至)に位
置決め完了がセントされていれば、ステップ管理用メモ
リ(+3の活はステップにプラス1してステップ(20
4)へ戻るっ
なお、上記実施列では、マルチプレクサ(田を切換える
ことにより、シーケンスプログラムをシーケンスプログ
ラム格納用メモリIへ1位置決めプログラムを位置決め
プログラム格納用メモリーへ格納したが、これば、−手
段であり1例えば、シーケンス制御部に全プログラムを
取り通入、コモンメモリ(支)を介して位置決めプログ
ラムを位置決めプログラム格納用メモリーへ格納する方
法によっても同様な効果が得られる。0PUnυ for sequence control is stored in the step management memory (+3 is added to the step and the step is (20
Return to 4) In the above implementation sequence, the sequence program was stored in the sequence program storage memory I and the positioning program was stored in the positioning program storage memory I by switching the multiplexer. For example, the same effect can be obtained by a method in which all the programs are transferred to the sequence control section and the positioning program is stored in the positioning program storage memory via the common memory (support).
以上のように、この発明によれば、シーケンス制御用お
よび位置決め制御用プログラムが一体に。As described above, according to the present invention, the sequence control program and the positioning control program are integrated.
かつ時系列に作成されて位置決め機能付きプログラムコ
ントローラに同じく一体に、かつ時系列に人力され、シ
ーケンス?!11 御用であれば上記シーケンス制御部
に9位・賃決め制御用であれば上記位置決め制御部に格
納されるき共に上記位置決め制御用プログラムステツブ
の実行指令用プログラムステップが自動的に作成されて
上記シーケンス制御部に格納されるようにしたので、プ
ログラム入力作業の容易な位置決め機能付きプログラム
コントローラのプログラム入力方法が得られる効果があ
る。And is it created in chronological order and manually created in a program controller with positioning function in the same way and in chronological order? ! 11 If it is required, it is stored in the sequence control section 9. If it is for rent control, it is stored in the positioning control section, and a program step for the execution command of the positioning control program step is automatically created. Since it is stored in the sequence control section, it is possible to obtain a program input method for a program controller with a positioning function that facilitates program input work.
4、 勿面の1単な税明
第1図は第1および第2の発明を用いた一実施列による
位′1f決め機能付きプログラムコントローラを示すブ
ロック図、第2図はS F C(Sequθntial
Function (:!hI3rt)で記述した
プログラム列を示す1図、第31′gJは第1図に示し
之位置決め機能付キプログラムコントローラのプログラ
ム入力子′@を示すフローチャート、第4図は第1図に
示した位置決め機能付きプログラムコントローラの動作
を示すフローチャート、第5図は従来の位置決め機能付
きプログラムコントローラを示すブロック1辺である5
図において、(1)は位置決め機能付きプログラムコン
トローラ、 (IA) uシーケンス制へ
仰部、 (2M)け位置決め制御部、(3)はプログ
ラム作成手段おしての肉辺装q、 +41はサーボ、[
1υはシーケンス制御用CPU、14]はシーケンスプ
ロクラム格納用メモリ、asun辺用工/y、qeはマ
ルチプレクサ、り0は位置決め制御用CPU、qはサー
ボ用工/p、aは位置決めプログラム格納用メモリ、割
は共用記憶手段としてのコモンメモリを示すっ
なお9図中、同一符号は同一、または相当部分を示すっ
代印人大岩増雄
第
図
5:+”3156 ” 才多行条f牛52.54,5
5.57 =ステップ
第
図4. Of course, a simple tax explanation FIG. 1 is a block diagram showing a program controller with a function of determining the position '1f by one implementation sequence using the first and second inventions, and FIG.
Figure 1 shows the program sequence written in Function (:!hI3rt), Figure 31'gJ is a flowchart showing the program input terminal '@ of the key program controller with positioning function shown in Figure 1, and Figure 4 is the same as Figure 1. A flowchart showing the operation of the program controller with positioning function shown in FIG. 5 is one side of a block showing a conventional program controller with positioning function.
In the figure, (1) is a program controller with a positioning function, (IA) is a u-sequence system for the back, (2M) is a positioning control unit, (3) is a meat side device q as a program creation means, +41 is a servo, [
1υ is a CPU for sequence control, 14] is a memory for storing a sequence program, 0 is a CPU for positioning control, q is a CPU for servo control, a is a memory for storing a positioning program, and a is a memory for storing a positioning program. 9 shows the common memory as a shared storage means. In the 9 figures, the same reference numerals indicate the same or corresponding parts. 5
5.57 = Step chart
Claims (1)
置決め制御する位置決め制御部とを備えた位置決め機能
付きプログラムコントローラに用いるシーケンス制御用
および位置決め制御用プログラムをプログラム作成手段
により一体に、かつ時系列に作成し、上記位置決め機能
付きプログラムコントローラに一体に、かつ時系列に入
力し、上記プログラムを構成する各プログラムステップ
がシーケンス制御用であればこれを上記シーケンス制御
部に格納し、位置決め制御用であれば上記位置決め制御
部に格納すると共に上記位置決め制御用プログラムステ
ップの実行指令用プログラムステップを自動的に作成し
て上記シーケンス制御部に格納することを特徴とする位
置決め機能付きプログラムコントローラのプログラム入
力方法。Sequence control and positioning control programs used in a program controller with a positioning function, which is equipped with a sequence control section for sequence control of a controlled object and a positioning control section for positioning control, are created integrally and in chronological order by a program creation means. , is input integrally and chronologically into the program controller with positioning function, and if each program step constituting the program is for sequence control, it is stored in the sequence control section, and if it is for positioning control, the above program step is input to the controller with positioning function. A program input method for a program controller with a positioning function, characterized in that a program step for commanding execution of the positioning control program step is automatically created and stored in the sequence control section while storing the program step in a positioning control section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1099156A JP2522040B2 (en) | 1989-04-19 | 1989-04-19 | Program input method for program controller with positioning function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1099156A JP2522040B2 (en) | 1989-04-19 | 1989-04-19 | Program input method for program controller with positioning function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02278302A true JPH02278302A (en) | 1990-11-14 |
| JP2522040B2 JP2522040B2 (en) | 1996-08-07 |
Family
ID=14239816
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1099156A Expired - Lifetime JP2522040B2 (en) | 1989-04-19 | 1989-04-19 | Program input method for program controller with positioning function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2522040B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000033147A1 (en) * | 1998-12-03 | 2000-06-08 | Mitsubishi Denki Kabushiki Kaisha | Servo system controller |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5642805A (en) * | 1979-09-18 | 1981-04-21 | Fanuc Ltd | Sequence producing system for sequence controller controlling machine tool |
| JPS57155604A (en) * | 1981-03-19 | 1982-09-25 | Matsushita Electric Ind Co Ltd | Controller |
| JPS59218552A (en) * | 1983-05-27 | 1984-12-08 | Toshiba Corp | Program loader |
-
1989
- 1989-04-19 JP JP1099156A patent/JP2522040B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5642805A (en) * | 1979-09-18 | 1981-04-21 | Fanuc Ltd | Sequence producing system for sequence controller controlling machine tool |
| JPS57155604A (en) * | 1981-03-19 | 1982-09-25 | Matsushita Electric Ind Co Ltd | Controller |
| JPS59218552A (en) * | 1983-05-27 | 1984-12-08 | Toshiba Corp | Program loader |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000033147A1 (en) * | 1998-12-03 | 2000-06-08 | Mitsubishi Denki Kabushiki Kaisha | Servo system controller |
| GB2354343A (en) * | 1998-12-03 | 2001-03-21 | Mitsubishi Electric Corp | Servo system controller |
| US6377012B1 (en) | 1998-12-03 | 2002-04-23 | Mitsubishi Denki Kabushiki Kaisha | Servo system controller |
| GB2354343B (en) * | 1998-12-03 | 2002-12-18 | Mitsubishi Electric Corp | Servo system controller |
| DE19883000B4 (en) * | 1998-12-03 | 2007-04-12 | Mitsubishi Denki K.K. | Servo system controller |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2522040B2 (en) | 1996-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59216205A (en) | Numerical control device | |
| JPH02278302A (en) | Program input method for program controller with positioning function | |
| WO1991007708A1 (en) | Automatic programming method | |
| JPH04122543A (en) | Numerical control device and tool replacing position changing method | |
| US4008461A (en) | Apparatus for correcting and adding data to that taken from a mechanical data carrier | |
| JP3209890B2 (en) | Production cell | |
| JP3050991B2 (en) | Tool offset shape data input type numerical control method and device | |
| JP2649801B2 (en) | Display switching method in numerical controller | |
| JP2865220B2 (en) | Numerical control information creation device | |
| JPH05274021A (en) | Processing system | |
| JPH06155103A (en) | Machining controlling method for two opposed spindle lathe | |
| JPH064214B2 (en) | Machining sequence control method for numerically controlled machine tools | |
| JPS63314605A (en) | Numerical control system | |
| JPS5851307A (en) | Controller of industrial robot | |
| JPS639244B2 (en) | ||
| JP2730040B2 (en) | How to create NC data | |
| JP2992163B2 (en) | Numerical control method and device | |
| JPH04159057A (en) | Machining program editing device and its display method for multi-series numerically controlled machine tools | |
| JPS6020207A (en) | Method and apparatus for controlling robot | |
| JPH09323278A (en) | Industrial robot motion teaching method, motion teaching apparatus and control method thereof | |
| JP3283055B2 (en) | Program editing device | |
| JPS62290909A (en) | Connection controller for numerical controller | |
| JPS60163104A (en) | Programmable controller with reverse sequence operating function | |
| JPH06105407B2 (en) | Numerical control information creation device | |
| JPS6148006A (en) | Editor system for editing instruction data to industrial robot |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080531 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090531 Year of fee payment: 13 |
|
| EXPY | Cancellation because of completion of term |