WO1984001839A1 - Method of returning to origin - Google Patents

Method of returning to origin Download PDF

Info

Publication number
WO1984001839A1
WO1984001839A1 PCT/JP1983/000385 JP8300385W WO8401839A1 WO 1984001839 A1 WO1984001839 A1 WO 1984001839A1 JP 8300385 W JP8300385 W JP 8300385W WO 8401839 A1 WO8401839 A1 WO 8401839A1
Authority
WO
WIPO (PCT)
Prior art keywords
origin
limit switch
return
home
contact
Prior art date
Application number
PCT/JP1983/000385
Other languages
French (fr)
Japanese (ja)
Inventor
Shinsuke Sakakibara
Haruyuki Ishikawa
Original Assignee
Fanuc Ltd
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 Fanuc Ltd filed Critical Fanuc Ltd
Publication of WO1984001839A1 publication Critical patent/WO1984001839A1/en

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/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/21Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device
    • G05B19/23Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for point-to-point control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/401Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • G05B19/4015Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes going to a reference at the beginning of machine cycle, e.g. for calibration
    • 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/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50024Go to reference, switches and dog to decelerate and to detect origin
    • 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/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50031Zero setting, go to reference with gauge

Definitions

  • the present invention relates to an origin return method, particularly, by moving a movable portion of a table and a port of a machine tool in a direction opposite to a predetermined origin return direction, and then moving the movable portion in a direction of origin return.
  • the present invention relates to an origin return method for returning a movable portion to an origin position.
  • Fig. 1 is an explanatory diagram of the method of returning to the origin.
  • the limit switch LS force is applied to the machine movable part (table) TB, and the origin is returned near the origin of the machine fixed part MC.
  • Dogs DG are provided.
  • the home return mode is set in the work area AII on the left side of the limit switch LS card DG DG, the machine movable section TB is rapidly traversed toward the origin. Move with V i.
  • the limit switch LS reaches the home position near the home position at time and comes into contact with the home position return dog DG, the limit signal LSS force, as shown in FIG. (Highly enormous) Power 0 "(Lowly enormous)
  • the table Before returning to the home position, the table is moved in the direction opposite to the home position return direction before the table is moved in the home position return direction, and the limit switch LS is moved to the first position.
  • 3 Area Work area It is necessary to position the AI, and then return to the origin by the method related to Fig. 1 above. For this reason, in the conventional homing method, the direction is opposite to the homing direction.
  • the table was moved in the specified distance (plus direction) and then returned to the origin by the method related to Fig. 1 above.
  • the limit switch LS can be surely positioned at the third area A ⁇ , but the home return time becomes longer.
  • the above-mentioned specified distance is set at the limit switch LS regardless of the first, second, and third error ending points, ⁇ ⁇ , and AI, regardless of the displacement area.
  • the limit distance is set to the minimum distance at which the limit switch LS is positioned at the 3rd area rear AI.
  • c is required for movement. Since there is a response delay between the support and the system for the distribution of the screws, the specified distance c. After the completion of the screw distribution, move toward the origin (minus direction). The table moves in the plus direction by the amount of the delay even if the thread distribution is started.
  • the control device assumes that the origin proximity signal has been generated, and then stops at the position where the first rotation signal is generated as the origin, and malfunctions.
  • the NC unit issues B with a table. The number of commands required to move the actuator to the point CP in the plus direction by the specified distance L i. The motor and the motor rotate with a predetermined delay, and the generation of fingering noise stops.
  • the limit switch LS is at the point AP in the figure, that is, the number of command pulses necessary to move the movable part to the command position CP is obtained. Even when the limit switch LS is input to the server circuit, the limit switch LS does not reach the command position CP but is at the point AP.
  • the NC unit has a number of commands corresponding to the specified distance L i. If a loss occurs, the homing process shown in Fig. 1 is performed immediately thereafter. That is, c for moving the table TB in the direction of the origin (minus direction). Start the thread distribution calculation and distribute. Input to the circuit. However, the distribution force for moving the table in the minus direction in this way. Even if a pulse is generated, the table moves further in the plus direction due to the delay, and the movement in the plus direction causes the limit switch LS power, away, ing to re-mitt up signal LSS force s 3 ⁇ 4 0 "or et al. 1". NC unit has limit signal
  • Another object of the present invention is to provide an origin return method that can minimize the moving distance of the movable part in the direction opposite to the origin return direction, thereby shortening the time required for the origin return. is there. Disclosure of the invention
  • the present invention employs an origin return method in which a movable portion of a machine tool or a robot is moved in a direction opposite to a predetermined origin return direction, and then the movable portion is moved in the origin return direction to return to the original position. Yes, the moving distance of the movable part in the direction opposite to the home return direction can be minimized.
  • a dog is provided on the mechanical fixed portion, and a limit switch is provided on the movable portion, which can engage with the dog and the dog.
  • B The tape is reset by a home return request. Is moved in the direction opposite to the home return direction by a predetermined distance. (If the limit switch force dog comes into contact after the movement, the limit switch Move the table further in the direction opposite to the home return direction until it is disengaged. (D) Immediately execute the home return processing shown in Fig. 1 after disengagement, and move in (b). If the rear limit switch is not engaged with the dog, the home return process is executed immediately as shown in Fig. 1.
  • Fig. 1 is a diagram for explaining the conventional origin return method
  • Fig. 2 is a diagram for explaining the problems of the conventional origin return method
  • Fig. 3 is a block diagram of an embodiment of the present invention
  • Fig. 4 is a process according to the present invention. Best Mode for Carrying Out the Invention
  • the processor 102 receives the NC data reading device 1 Activate Q3 and read one block of NC data from NC tape 104.o
  • the aperture sensor 102 determines whether the read NC data is path data, M-, S-, or T. -Determine whether the instruction is a function instruction. If the instruction is an M-, S-, or T-function instruction, these instructions are passed through an interface circuit (not shown) to the machine tool or robot.
  • the NC data is read from the NC tape 104 and the same processing is performed.
  • the input processor 102 uses the path data to increment the axis incremental values Xi, Yi (2 Calculate as). Then, the processor 102 is calculated from the incremental values X i, Y i and the finger speed F by the following equation.
  • the mouth sensor 102 outputs X, ⁇ ⁇ ⁇ every ⁇ ⁇ ⁇ seconds. Output to Lus distributor 108.
  • C. Luth distributor 108 is a well-known device based on input data X. Performs a distribution algorithm and distributes it. Generates XCP and YCP, and inputs them to the X-axis drive unit 109 X and Y-axis drive unit (not shown), respectively.
  • OMPI Move the movable parts of the machine, robot, and kit toward the target position.
  • the processor 102 changes the current position Xa, the X-axis direction and the Y-axis direction stored in the RAM 106 every second.
  • the port processor 102 stores the remaining movement amount in the X-axis direction and the Y-axis direction stored in the RAM 106 every second.
  • Xr and Yr (the initial values of Xr and Yr are the incremental values Xi and Yi, respectively) are given by the following equations.
  • the reversible counter RCN1 counts this, and a power EE proportional to the content of the count is generated from the digital-analog converter DAC.
  • the amplifier is amplified by the amplifier AMP, rotates the servomotor M, and the sampler TB is connected to the servo and the motor through the shaft ⁇ BS. Drive.
  • the mouth alien encoder RE is configured to generate a loose FBP every time a predetermined amount of rotation is performed, and to generate a single rotation signal PC every one rotation.
  • the rotational saddle amount of the thermomotor M and the rotation amount are detected by the rotary encoder RE, and the rotation amount is reversible as a -feed-packs FBP. It is input to the subtraction terminal of the counter RCN1 and subtracts the contents of the counter.
  • the command lure XCP stops and the number of feed hacks equals the number of command lures.
  • the loose FBP occurs, the content of the reversible counter becomes zero, the motor #M stops its rotation, and completes the passage control or the positioning control.
  • the processor 102 when the origin return mode is commanded by operating the buttons on the operation panel 101, the processor 102 returns to the origin return control plug stored in R0M105. Under the control of the room, the home return process shown in FIG. 4 is performed. That is, first
  • the processor 102 reads the state of the first flip-flop 110a of the interface section 110. ⁇ , 1,,, 0 ”of the limit signal LSS output from the limit switch LS output is the first signal of the interface section 110. It is stored in the flip-flop 110a.
  • the processor 102 reads the state of the first flip-flop 110a in a short cycle, and each time it outputs the limit signal LSS power 1 ". It is determined whether the force is zero.
  • the processor 102 determines that the limit switch LS has been in the work area AI from the beginning, and proceeds to step (9). Execute the processing of. In addition, if LSS-O is obtained in the step (determination processing), the processor 102 is set to the limit switch LS in the over-trapper area at the beginning.
  • CMPI Direction and Rumadepu B cell Tsu Sa 1 0 2 Ru and LSS 1 "in the reverse direction generates a command C ° ls e XCP by Ha 0 ls e distributor 1 0 &.
  • Flop 1 1 Set Ob and set the direction of return to origin. Generates XCP and performs the homing process according to Fig. 1.
  • flip-flops. FF 1 and FF 2 are initially reset and AND gate AN 1 is open. But c. Command c given by the screw distributor 108. Loose (home position return. Loose) XCP is supplied to RPC 1 through this port, and the operation is the same as described above. Move in the direction (arrow direction). When the table reaches the vicinity of the origin and touches the limit switch LS force dog DG provided on the tape, the limit signal LSS force; w1 "to 0" Open AND gate AN2 and set flip-flop FF1. At the same time, the limit signal LSS resets the first flip-flop 110a, and the set state of the flip-flop is set to the pro- cess. It is read by the sensor 102.
  • the one-rotation signal PC generated by the encoder E; ⁇ set the AND gate AN3; open FF2, and set the reciprocal counter RCN1. Clear the contents and complete the home return.
  • Origin return completion signal ZRE Set the third flip-flop 110c, and the processor 102 sets the third flip-flop 7 ° 1 10 Read the setting status of c and return to origin. Stops the generation of Lus XCP.
  • the table movement in the direction opposite to the home return direction is controlled in accordance with the relative positional relationship between the limit switch and the dog at the time of the home return command. If there is a limit switch in the gap between the area and the patrol side, make sure that the limit signal goes from 0 to ⁇ 1 ", in other words. B limit switch
  • the home return time can be reduced.
  • the present invention is effective because it can surely return the movable parts of the machine tool, the mouthpiece and the kit to the origin in a short time.

Abstract

System for returning a movable object (TB) to an origin by moving it towards the origin after it has been moved either toward the origin or away from it (+X direction). A dog (DG) is provided at one end of the movable unit (TB) and a machine stationary unit (MC), and a limit switch (LS) is provided at the other. This method comprises the steps of checking whether the limit switch is ON or OFF to discriminate whether the limit switch exists in an origin vicinity range (A II) on the basis of ON or OFF, in an overtravel side range (A I) at both sides of the dog or in a working range (A III), moving the movable unit (TB) toward the origin to a predetermined distance when the limit switch is not in contact with the dog, checking whether the limit switch is in contact with the dog or not by the movement, discriminating whether the limit switch is disposed at the overtravel side (A I) or at the working range side (A II), moving the movable until the limit switch is isolated from the dog when the limit switch is disposed at the overtravel side or in the vicinity of the origin, and moving the movable unit toward the origin when the limit switch is disposed at the working range or isolated from the dog in order to return to the origin.

Description

明 細 書  Specification
原点復帰方法  Home position return method
技術分野  Technical field
本発明は、 原点復帰方法に係 り 、 特に工作機械のテー ブル、 口 ポ ッ ト の可動部を予め定め られた原点復帰方向 と逆方向に移動させた後、 原点復帰方向に移動させて該 可動部を原点位置に復帰させる原点復帰方法に関する。 背景技術  The present invention relates to an origin return method, particularly, by moving a movable portion of a table and a port of a machine tool in a direction opposite to a predetermined origin return direction, and then moving the movable portion in a direction of origin return. The present invention relates to an origin return method for returning a movable portion to an origin position. Background art
工作機械や ロ ボッ ト の可動部を予め定め られた原点復 帰方向 と逆方向に移動させた後、 原点方向に移動させ、 減速信号の発生に よ り 原点復帰速度を減少させ、 原点近 接信号が発生した後の最初のモータ 1 回転信号に よ り 可 動部を停止させる原点復帰方法がある。 たとえば西歴  After moving the movable part of the machine tool or robot in the direction opposite to the predetermined home return direction, it is moved in the home direction, and the home return speed is reduced by the generation of a deceleration signal. There is a home position return method in which the moving part is stopped by the first motor rotation signal after the signal is generated. For example, Western history
1 9 8 2年 5 月 2 5 日 に 日刊工業新聞社か ら発行された 刊行物 「 N C ハ ン ブ ッ ク 」 の第 4 3 8 頁を参照された い。 第 1 図はか る原点復帰方法説明図であ り 、 機械可 動部 ( テ ー ブル ) T B に は リ ミ ッ ト ス ィ ッ チ L S 力 、 機 械固定部 M C の原点近傍には原点復帰用の ドグ D Gがそ れぞれ設けられて る。 さて、 リ ミ ッ ト スィ ツ チ L S カ ドダ D Gの左側である作業領域 A II に存在する と き に原 点復帰モー ドにする と、 機械可動部 T B は原点に向かつ て早送 り 速度 V i で移動する。 そ して、 時刻 にお て原点近傍に到達 して リ ミ ッ ト スィ ツ チ L S が原点復帰 用 ドグ D G に接触する と第 1 図に示す如 く リ ミ ッ ト 信号 L S S 力 、、 1 " ( ハ イ レ べ ノレ ) 力 ら 0 " ( ロ ー レ べ ノレ )  See p. 438 of the "NC Handbook" published by Nikkan Kogyo Shimbun on May 25, 1992. Fig. 1 is an explanatory diagram of the method of returning to the origin. The limit switch LS force is applied to the machine movable part (table) TB, and the origin is returned near the origin of the machine fixed part MC. Dogs DG are provided. When the home return mode is set in the work area AII on the left side of the limit switch LS card DG DG, the machine movable section TB is rapidly traversed toward the origin. Move with V i. When the limit switch LS reaches the home position near the home position at time and comes into contact with the home position return dog DG, the limit signal LSS force, as shown in FIG. (Highly enormous) Power 0 "(Lowly enormous)
ΟΜΓΙ る。 この リ ミ ッ ト信号 L S S の立下 り 信号 ( 減速信 号 ) に よ り原点復帰速度は減速する。 そ して、 時刻 t 2 にお て リ ミ ツ ト スイ ッ チ L S は ドク' D G力 ら離れ、 リ ミ ツ ト 信号は 0 " から 1 " になる。 尙、 この時移動 速度は V£ と なっている。 リ ミ ッ ト信号 L S S 力 Ί 0 " か ら 1 〃 になる と ( 立上る と ) 以後速度 V £ で機械可 動部 T B は原点に向かって移動し、 リ ミ ッ ト 信号 L S S の立上り ( 原点近接信号 ) 発生後の最初のモータ 1 回転 信号の O R S の発生に よ り 停止する。 尙、 第 1 図中 OTA はオ ー バ、 ト ラ ペ ル領域、 第 1 エ リ 了 A I はォ — パ ト ラ ぺ ル側領域、 第 2 ヱ リ ア A II は原点近接領域、 第 3 エ リ ア A I は作業領域である。 ΟΜΓΙ You. The home return speed is reduced by the falling signal (deceleration signal) of the limit signal LSS. Its to, the time t 2 to you by Li Mi Tsu door switch LS is Doc 'DG force et al away, is re-Mi Tsu door signal becomes "1 from" 0.尙 At this time, the moving speed is V £. When the limit signal LSS power changes from “0” to “1” (rises), the machine movable section TB moves toward the origin at a speed V £ thereafter, and the rise of the limit signal LSS (origin) (Proximity signal) Stops when the first rotation signal of the motor after the generation of the ORS signal is generated 中, OTA in Fig. 1 is over, trapeel area, 1st error AI is over The trailing area, the second area AII is the area near the origin, and the third area AI is the work area.
さて、 原点復帰に際し'ては、 上記原点復帰方向へのテ 一ブ ル移動に先立って該テー ブ ルを原点復帰方向と逆方 向に移動させ、 リ ミ ッ ト ス ィ ッ チ L S を第 3 エ リ ア ( 作 業領域 ) A I に位置決め し、 しかる後上記第 1 図に関連 した方法で原点復帰を行な う必要がある。 このため、 従 来の原点復帰方法にお ては、 原点復帰方向 と逆方向  Before returning to the home position, the table is moved in the direction opposite to the home position return direction before the table is moved in the home position return direction, and the limit switch LS is moved to the first position. 3 Area (work area) It is necessary to position the AI, and then return to the origin by the method related to Fig. 1 above. For this reason, in the conventional homing method, the direction is opposite to the homing direction.
( プ ラ ス方向 ) に規定距離テ ー ブ ルを移動させ、 しかる 後上記第 1 図に関連した方法で原点復帰させて た。 と ころで、 上記規定距離を大き く すれば確実に リ ミ ッ ト ス ィ ツチ L S を第 3 エ リ ア A Ϊ に位置させる こ とができ る が、 原点復帰時間が長 く るる。 このため、 一般に上記規 定距離は リ ミ ッ ト ス ィ ッ チ L S が第 1 、 第 2、 第 3 エ リ 了 Α Ι 、 Α Π 、 A I の ずれの領域の どこに て も、 該  The table was moved in the specified distance (plus direction) and then returned to the origin by the method related to Fig. 1 above. At this point, if the specified distance is increased, the limit switch LS can be surely positioned at the third area A Ϊ, but the home return time becomes longer. For this reason, generally, the above-mentioned specified distance is set at the limit switch LS regardless of the first, second, and third error ending points, Α Π, and AI, regardless of the displacement area.
OMPI 規定距離プ ラ ス方向,移動すれば リ ミ ッ ト ス ィ ツ チ L S が第 3 ヱ リ ア A I に位置決めされる最小距離に設定され る 。 しか し、 プ ラ ス方向へ規定距離だけ移動させて後原 点方向に移動させる原点復帰方法では、 移動のためのハ。 ル ス分配に対 してサ ー ポ、系の応答遅れが存在するため、 上記規定距離のハ。ル ス分配完了後に原点方向 ( マ イ ナ ス 方向 ) へのハ。ルス分配が開始されて も 、 テ ー ブ ルは遅れ 分だけプ ラ ス方向へ移動する 。 そ して、 こ の遅れ分に よ る プ ラ ス方向への移動の間に リ ミ ッ ト ス ィ ツ チ L S が ド、 グ よ り 離れ、 リ ミ ッ ト 信号 L S S 力 、\ 0 か ら 、、 1 " と な る と 、 制御装置は原点近接信号が発生 した も の と して、 以後最初に 1 回転信号が発生 した位置を原点 と みな して 停止 し、 誤動作する 。 第 2 図を用 て具体的'に説明する 。 リ ミ ッ ト ス ィ ツ チ L S がォ ー ノ ト ラ ベル側領域 A I に存 在する場合において原点復帰が要求される と N C 装置は テ ー ブル で B をプ ラ ス方向に規定距離 L i. だけ ボイ ン ト C P 迄移動さ'せる ために必要な数の指令ハ。ル ス を周知の ハ。 ル ス分配演算に よ 発生 してサ ー ポ、回路に入力する。 これに よ 、 サー ポ、 モ ー タ は所定の遅れ を持って回転 し、 指合ハ。ル ス の発生が停止 した時点に おいて リ ミ ッ ト ス ィ ツ チ L S は図中 ポ イ ン ト A P に い る 。 する わ ち、 指令位 置 C P 迄可動部を移動させる に必要る数の指令ハ。ルス が サ ー 回路に入力されて も 、 リ ミ ッ ト ス ィ ツ チ L S は指 令位置 C P に到達せずボイ ン ト A P に る 。 OMPI If it moves in the direction of the specified distance plus, the limit distance is set to the minimum distance at which the limit switch LS is positioned at the 3rd area rear AI. However, in the home position return method in which the actuator is moved in the plus direction by a specified distance and then moved in the direction of the origin, c is required for movement. Since there is a response delay between the support and the system for the distribution of the screws, the specified distance c. After the completion of the screw distribution, move toward the origin (minus direction). The table moves in the plus direction by the amount of the delay even if the thread distribution is started. Then, during the movement in the plus direction due to this delay, the limit switch LS is separated from the limit switch LS, and the limit signal LSS power, from \ 0 ,, 1 ", the control device assumes that the origin proximity signal has been generated, and then stops at the position where the first rotation signal is generated as the origin, and malfunctions. When the home switch is requested when the limit switch LS is in the ono-label side area AI, the NC unit issues B with a table. The number of commands required to move the actuator to the point CP in the plus direction by the specified distance L i. The motor and the motor rotate with a predetermined delay, and the generation of fingering noise stops. At this point, the limit switch LS is at the point AP in the figure, that is, the number of command pulses necessary to move the movable part to the command position CP is obtained. Even when the limit switch LS is input to the server circuit, the limit switch LS does not reach the command position CP but is at the point AP.
—方、 N C 装置は規定距離 L i に相当する数の指令ハ。 ル ス を発生すれば、 以後直ちに第 1 図に示 した原点復帰 処理を行な う 。 す わち、 テ ー ブ ル T B ¾原点方向 ( マ ィ ナ ス方向 ) に移動させる ためのハ。 ル ス分配演算を開始 し、 分配ハ。 ル ス をサ ー 回路に入力する 。 しか しな力 ら、 この よ う に マ イ ナ ス方向に テ ー ブ ルを移動させる ための 分配ハ。 ル ス が発生 して も 、 テ ー ブ ルは前記遅れのためプ ラ ス方向に更に移動 し、 該プ ラ ス方向の移動に よ り リ ミ ッ ト ス イ ッチ L S 力 ドク, よ り 離れ、 リ ミ ッ ト 信号 L S S 力 s ¾ 0 " か ら 1 " に な る 。 N C装置は リ ミ ッ ト 信号 —On the other hand, the NC unit has a number of commands corresponding to the specified distance L i. If a loss occurs, the homing process shown in Fig. 1 is performed immediately thereafter. That is, c for moving the table TB in the direction of the origin (minus direction). Start the thread distribution calculation and distribute. Input to the circuit. However, the distribution force for moving the table in the minus direction in this way. Even if a pulse is generated, the table moves further in the plus direction due to the delay, and the movement in the plus direction causes the limit switch LS power, away, ing to re-mitt up signal LSS force s ¾ 0 "or et al. 1". NC unit has limit signal
L S S カ 0 " カゝ ら 、、 1 " に な る と原点近接信号が発生 した も の と認識 して、 以後最初に 1 回転信号が発生 した 位置を原点と判断 して停止 し、 正 し 原点復帰動作を行 ¾ う こ とができ な 。 When the LSS power becomes 0 ", 1", it recognizes that the origin proximity signal has been generated, then determines the position where the 1-rotation signal is generated first as the origin, stops, corrects the origin, and then stops. The recovery operation cannot be performed.
以上か ら、 本発明の 目 的は確実に原点復帰させる こ と ができ る工作機械や 口 ポ ッ ト どの可動部の原点復帰方 法を提供する こ と であ る 。  In view of the above, it is an object of the present invention to provide a method of returning to the origin of a movable part such as a machine tool or a port which can reliably return to the origin.
又、 本発明の別の 目 的は原点復帰方向 と逆方向の可動 部の移動距離を最短にで き 、 従って原点復帰に要する時 間を短か く でき る原点復帰方法を提供する こ と であ る。 発明の開示  Another object of the present invention is to provide an origin return method that can minimize the moving distance of the movable part in the direction opposite to the origin return direction, thereby shortening the time required for the origin return. is there. Disclosure of the invention
本発明は工作機械や ロ ボ ッ ト の可動部を、 予め定め ら れた原点復帰方向 と逆方向に移動させ、 しかる後可動部 を原点復帰方向に移動させて原点復帰させる原点復帰方 法であ り 、 原点復帰方向 と逆方向への可動部の移動距離 を最短に でき、 し力 も サー 系の遅れがあって も 確実に  The present invention employs an origin return method in which a movable portion of a machine tool or a robot is moved in a direction opposite to a predetermined origin return direction, and then the movable portion is moved in the origin return direction to return to the original position. Yes, the moving distance of the movable part in the direction opposite to the home return direction can be minimized.
CMFICMFI
, 原点復帰させる こ と がで き る原点復帰方法であ る 。 この 発明においては、 (a)機械固定部に ドグ を、. 可動部に ド、グ と係合 し得る リ ミ ッ ト ス ィ ツ チ をそれぞれ設け、 (b)原点 復帰要求に よ り テー プノレを所定距離だけ原点復帰方向 と 逆方向に移動させ、 ( 該移動後 リ ミ ッ ト ス イ ッ チ力 ドグ と接触 して れば、 リ ミ ッ ト ス ィ ツ チ と ト、、グの係合がは ずれる迄原点復帰方向 と逆方向に テ ー ブルを更に移動さ せ、 (d)係合がはずれた ら直ち に第 1 図の原点復帰処理を 実行 し、 又(b)の移動後 リ ミ ッ ト ス ィ ツ チ と ド、グが係合 し ていなければ直ちに第 1 図の原点復帰処理を実行する 。 図面の簡単 ¾説明 , This is an origin return method that can return to the origin. According to the present invention, (a) a dog is provided on the mechanical fixed portion, and a limit switch is provided on the movable portion, which can engage with the dog and the dog. (B) The tape is reset by a home return request. Is moved in the direction opposite to the home return direction by a predetermined distance. (If the limit switch force dog comes into contact after the movement, the limit switch Move the table further in the direction opposite to the home return direction until it is disengaged. (D) Immediately execute the home return processing shown in Fig. 1 after disengagement, and move in (b). If the rear limit switch is not engaged with the dog, the home return process is executed immediately as shown in Fig. 1.
第 1 図は従来の原点復帰方法説明図、 第 2 図は従来の 原点復帰方法の不具合説明図、 第 3 図は本発明の実施例 ブ ロ ッ ク 図、 第 4 図は本発明 に係る処理の流れ図であ る 発明 を実施する ための最良の形態  Fig. 1 is a diagram for explaining the conventional origin return method, Fig. 2 is a diagram for explaining the problems of the conventional origin return method, Fig. 3 is a block diagram of an embodiment of the present invention, and Fig. 4 is a process according to the present invention. Best Mode for Carrying Out the Invention
自 動運転モ ー ド、に て、 第 3 図に示す N C 装置の操 作盤 1 Q 1 上の図示 し い起動釦を押圧する と プ ロ セ ッ サ 1 0 2 は N C デー タ読取装置 1 Q 3 を作動させ、 N C テ ープ 1 0 4 力 ら 1 ブ ロ ッ ク 分の N C デー タ を読み と ら す o  In the automatic operation mode, when the start button (not shown) on the operation panel 1Q1 of the NC device shown in FIG. 3 is pressed, the processor 102 receives the NC data reading device 1 Activate Q3 and read one block of NC data from NC tape 104.o
フ° 口 セ ッ サ 1 0 2 は R O M 1 0 5 に格納されてい る制 御プ ロ グ ラ ム に従って、 読取った N C デ ー タ が通路デ ー タ であ るか M - 、 S - 、 T -機能命令であ るかの判別を 行ない M - 、 S - 、 T -機能命令であれば これ ら を図示 し いイ ン タ フ ェ ー ス回路を介 して工作機械又は ロ ボ ッ  In accordance with the control program stored in the ROM 105, the aperture sensor 102 determines whether the read NC data is path data, M-, S-, or T. -Determine whether the instruction is a function instruction. If the instruction is an M-, S-, or T-function instruction, these instructions are passed through an interface circuit (not shown) to the machine tool or robot.
__O PI 、 WIFO ト に出 力 し、 機械側か らの動作完了信号に よ り 、 次の __O PI, WIFO Output from the machine, and the following operation completion signal from the machine side
N C デー タ を N C テ ープ 1 0 4 力 ら読み と り 、 同様の処 理を行 う 。 The NC data is read from the NC tape 104 and the same processing is performed.
—方、 読み とつた N C デー タが通路デー タ であればプ 口 セ ッ サ 1 0 2 は、 該通路デー タ を用 て各軸イ ンク リ メ ン タ ル値 X i、 Y i ( 2 軸制御とする ) を演算する 。 つ で、 プ ロ セ ッ サ 1 0 2 はイ ン ク リ メ ン タ ル値 X i、 Y i と指佘速度 F と か ら次式に よ り  On the other hand, if the read NC data is path data, the input processor 102 uses the path data to increment the axis incremental values Xi, Yi (2 Calculate as). Then, the processor 102 is calculated from the incremental values X i, Y i and the finger speed F by the following equation.
F X =X F X + Y ( l a ) F X = X F X + Y (l a)
F y =Y i · F X + Y ( l b ) F y = Y iF X + Y (l b)
各軸方向の速度成分 F x、 F y を演算 し、 しかる後 秒 ( = 1 6 m Sec ) 毎の各軸移動距離 X、 を次式に よ Velocity components F x in each axis direction, calculates the F y, thereafter seconds (= 1 6 m S ec) the axis movement distance X of each, to the following equation
Δ X = F X Δ T ( 2 a Δ X = F X Δ T (2 a
Δ Y = F y - Δ T ( 2b ) Δ Y = F y-Δ T (2b)
演算 し、 R A M I 0 6 に格納する 。 尙、 は不揮発性 の ハ0 ラ メ ー タ メ モ リ 1 0 7 に予め格納されてい る 。 Calculate and store in RAMI06.尙, it is that has been previously stored in the C 0 ra over data Note Li 1 0 7 of the non-volatile.
プ 口 セ ッ サ 1 0 2 は ^ ί Τ 秒毎に X、 ^ί Υ を ハ。ルス分配 器 1 0 8 に 出 力する 。 ハ。ルス分配器 1 0 8 は入力された デー タ X、 に基 て周知のハ。 ル ス分配演算を行 ¾つ て分配ハ。 ル ス X C P 、 Y C P を発生 し、 それぞれ X軸駆 動部 1 0 9 X 、 Y 軸駆動部 ( 図示せず ) に入力 して工作  The mouth sensor 102 outputs X, ^ ί ^ every ^ ί Τ seconds. Output to Lus distributor 108. C. Luth distributor 108 is a well-known device based on input data X. Performs a distribution algorithm and distributes it. Generates XCP and YCP, and inputs them to the X-axis drive unit 109 X and Y-axis drive unit (not shown), respectively.
OMPI 機械や ロ ボ、 ッ ト の可動部 を 目標位置に 向けて移動させる 尙、 X軸駆動部 1 0 9 Xのみ図示 しているが、 Y軸駆動 部の構成は X軸駆動部の構成 と 同一であ る 。 OMPI Move the movable parts of the machine, robot, and kit toward the target position. X-axis drive unit 109 Only X is shown, but the configuration of the Y-axis drive unit is the same as the configuration of the X-axis drive unit It is.
一方、 プ ロ セ ッ サ 1 0 2 は 秒毎に、 R A M 1 0 6 に記憶されている X軸方向及び Y軸方向の現在位置 X a、 On the other hand, the processor 102 changes the current position Xa, the X-axis direction and the Y-axis direction stored in the RAM 106 every second.
Y a を次式に よ り Y a is given by
X a土 X→X ( 3 a ) X aSat X → X (3 a)
Y a ± J Y→Y a ( 3b ) Y a ± J Y → Y a (3b)
更新する ( 但 し、 符号は移動方向に依存する ) 又、 プ 口 セ ッ サ 1 0 2 は 秒毎に、 R A M 1 0 6 に S憶され ている X軸方向及び Y軸方向の残移動量 X r、 Y r ( X r 、 Y r の初期値はそれぞれ イ ン ク リ メ ン タ ル値 X i 、 Y i で あ る ) を次式に よ り Update (however, the sign depends on the moving direction). Also, the port processor 102 stores the remaining movement amount in the X-axis direction and the Y-axis direction stored in the RAM 106 every second. Xr and Yr (the initial values of Xr and Yr are the incremental values Xi and Yi, respectively) are given by the following equations.
Χ τ - Δ Χ→Χ r ( 4 a ) Χ τ-Δ Χ → Χ r (4 a)
Ύ τ - Δ Υ→Υ ( 4b 更新する 。 そ して、 可動部が 目標位置に到達すれば、 言すれば次式 Ύ τ-Δ Υ → Υ (Update 4b. If the movable part reaches the target position,
X r =Y r = 0 ( 5 ) が成立すれば、 プ ロ セ ッ サ 1 0 2 は次の N C デ ー タ を If X r = Y r = 0 (5) holds, the processor 102 transmits the next NC data.
N C テ ー プ 1 0 4 か ら読み と 、 上記処理を繰 り 返えす 上記処理が繰 り 返えされ、 N C テ ープ よ り プ ロ グ ラ ム ェ ン ドを示す \、 M 0 2 ". あ る はテ ー プェ ン ド を示す ¾ M 3 0 " が読み出 され ば一連の N C 制御が終了する。 尙、 X軸駆動部 1 0 3 Xはハ。ル ス分配器 1 0 8 か ら分 配ハ。ル ス X C P が入力される と以下のサ ー ポ、動作を実行 する 。 但 し、 以後は X軸駆動部 1 0 9 Xの動作のみを説 明する。 Reading from NC tape 104 and repeating the above process The above process is repeated, indicating the program end from the NC tape \, M02 " Or indicates a tapeend When ¾M 30 “is read, a series of NC control ends. 尙, X-axis drive section 103 X is a ha. Distributing ha from pulse distributor 108. Halo XCP is input. Then, the following support and operation are executed, but only the operation of the X-axis drive unit 109 X will be described below.
ル ス分配器 1 Q 8 よ り 分配 ル ス ( 指令 ° ル ス )  Distribute loose from commander 1 Q8 (command ° loose)
X C P 力 送出される毎に可逆カ ウ ン タ R C N 1 は、 これ を計数 し、 該計数内容に比例 した電 EEがデ ィ ジ タ ル - ァ ナ ロ グ変換器 D A C か ら発生する 。 Each time the XCP power is sent out, the reversible counter RCN1 counts this, and a power EE proportional to the content of the count is generated from the digital-analog converter DAC.
この電圧 まハ。 ヮ ー ア ン プ A M P にて増幅され、 サ 一 ボ モ ー タ M を回転 し、 該サー ポ、 モ ー タ の回転軸に結合され たポ ー ルネ ヅ B S を介 してテ 一 プ ル T B を駆動する。  This voltage. The amplifier is amplified by the amplifier AMP, rotates the servomotor M, and the sampler TB is connected to the servo and the motor through the shaft ヅ BS. Drive.
れと 同時に サー ポ、 モ ー タ Mの回転 ま ロ ー タ リ エ ン コ ー ダ、 R E を回転せ しめる 。 口 一 タ リ エ ン コ ー ダ R E は、 所定 量回転する毎に ル ス F B P を発生 し、 又 1 回転毎に一 回転信号 P C を発生する如 く 構成されて る 。 か く して、 サーポモ ー タ Mの回鞍量 ま ロ ー タ リ エ ン コ ー ダ R E に よ り 検出 され、 .その回転量は-フ ィ 一 ドパッ ク ル ス F B P と して可逆カ ウ ン タ R C N 1 の減算端子に入力され、 該 カ ウ ン タ の内容を減算する 。 指令 ル ス X C P の到来カ 停止 し、 指令 ル ス数に等 し 数の フ ィ ー ドハ ッ ク ハ。ル ス F B P が発生する と リ バー シ ブル カ ウ ン タ の内容は零 と な り 、 サー #モ ー タ Mはその回転を停止 し、 通路制御 又は位置決め制御を完了する 。 以上は 自 動運転モ ー ドに おける動作説明であ る 。 At the same time, rotate the servo and motor M or rotate the rotary encoder and RE. The mouth alien encoder RE is configured to generate a loose FBP every time a predetermined amount of rotation is performed, and to generate a single rotation signal PC every one rotation. Thus, the rotational saddle amount of the thermomotor M and the rotation amount are detected by the rotary encoder RE, and the rotation amount is reversible as a -feed-packs FBP. It is input to the subtraction terminal of the counter RCN1 and subtracts the contents of the counter. The command lure XCP stops and the number of feed hacks equals the number of command lures. When the loose FBP occurs, the content of the reversible counter becomes zero, the motor #M stops its rotation, and completes the passage control or the positioning control. The above is the description of the operation in the automatic operation mode.
O FI 一方、 操作盤 1 0 1 上の釦類を操作 して原点復帰モ ー ドを指令する と プ ロ セ ッ サ 1 0 2 は R 0 M 1 0 5 に記憶 されて る原点復帰制御プ 口 グ ラ 厶 の制御下におかれ、 第 4 図に示す原点復帰処理を行 う 。 する わ ち、 ま ず O FI On the other hand, when the origin return mode is commanded by operating the buttons on the operation panel 101, the processor 102 returns to the origin return control plug stored in R0M105. Under the control of the room, the home return process shown in FIG. 4 is performed. That is, first
(1) プ ロ セ ッ サ 1 0 2 は イ ン タ フ ェ ー ス部 1 1 0 の第 1 フ リ ッ プ フ ロ ッ プ 1 1 0 a の状態 を読み と る 。 尙、 リ ミ ツ ト ス イ ッ チ L S 力 ら 出 力される 1】 ミ ツ ト 信号 L S S の 、、 1 " 、 、、 0 " はイ ン タ フ ェ ー ス部 1 1 0 の該第 1 フ リ ッ プ フ ロ ッ プ 1 1 0 a に記憶されて る 。 (1) The processor 102 reads the state of the first flip-flop 110a of the interface section 110. 】, 1,,, 0 ”of the limit signal LSS output from the limit switch LS output is the first signal of the interface section 110. It is stored in the flip-flop 110a.
(2) し力 る後、 プ ロ セ ッ サ 1 0 2 は第 1 フ リ ッ プ フ ロ ッ プ 1 1 0 a の状態に よ り リ ミ ッ ト 信号 L S S 力 ^ 、λ 1 であ る力 ¾ 0 " であ るかを判別する ( セ ッ ト 状態であれ ば L S S は 1 であ る ) 。 L S S = 、、 0 であれば リ ミ ッ ト ス ィ ツ チ L S 力; ド、グ と 接触 して る も の と判定 し, 又 L S S = 、、 1 " であれば リ ミ ッ ト ス ィ ッ チ L S カ 第 1 第 3 エ リ ア A I 、 A I [ の ずれかに存在する も の と して 以下の処理を行な う 。 (2) After the power is applied, the processor 102 has the limit signal LSS power ^ and λ1 depending on the state of the first flip-flop 110a. to determine the force ¾ 0 "der Luca (Se Tsu if bets state LSS is Ru 1 der) if LSS = ,, 0 Li mitt up scan I Tsu switch LS force;. de, grayed and It is judged that they are in contact with each other, and if LSS =, 1 ", the limit switch LS is the one that exists in the first third area AI, AI [ Then, the following processing is performed.
(3) すなわち、 L S S = 、、 1 " であればプ ロ セ ッ サ  (3) That is, if L S S =, 1 ", the processor
1 0 2 は原点近接信号発生位置 と ォ ー パ ト ラ ペル間の距 離を L o ( 第 1 図参照 ) と する と き  102 is when the distance between the origin proximity signal generation position and the upper trap is defined as Lo (see Fig. 1).
L 0 + α ( α > 0 ) を ィ ン ク リ メ ン タ ル値 と して前述のハ0 ルス分配演算を実 行 し、 指令ハ。ルス X C P を発生 し、 テ ー ブルをプ ラ ス方 向に移動させる 。 但 し、 α は リ ミ ッ ト ス ィ ッ チ L S 力 オ 一パ ト ラ ペル側領域 A I に存在する と き 、 ( L。 + a ) の 移動に よ り 該 リ ミ ッ ト ス ィ ツ チが必 らず第 2領域あ る い は第 3領域に位置決めされる こ と を保障する ための数値 で あ L 0 + α (α> 0 ) and as a fin click Li main te le values run Ha 0 pulse distribution operation described above, the command C. Generates a pulse XCP and moves the table in the plus direction. Where α is the limit switch LS power When it is in one patrol side area AI, the limit switch is necessarily positioned in the second area or the third area by the movement of (L. + a). Value to ensure that
(4) プ ロ セ ッ サ 1 0 2 は短 周期で第 1 フ リ ッ プ フ ロ ッ プ 1 1 0 a の状態を読み と り 、 その都度 リ ミ ッ ト 信号 L S S 力 1 " であ る力 ¾ 0 であ るかを判別する 。 (4) The processor 102 reads the state of the first flip-flop 110a in a short cycle, and each time it outputs the limit signal LSS power 1 ". It is determined whether the force is zero.
(5) ス テ ッ プ(4)の判別の結果、 L S S - 、、 1 であれ ば、 プ ロ セ ッ サ 1 0 2 は移動距離 ( L ) 力 ( L o + な ) に ったカゝ ど う かを判別する 。 尙、 L = L。 + なに なったか ど う かは、 実際には残移動量 X r が零に なったか ど う か に よ り 判別する 。  (5) If the result of the determination in step (4) is LSS-,, 1, the processor 102 has the power corresponding to the moving distance (L) force (L o +). Determine which way to go.尙, L = L. + What is lost is actually determined by whether or not the remaining movement amount Xr has become zero.
(6) L<L 0 + α であればス テ ッ プ(3)以降の処理を繰 り 返えす。 そ して、 L S S = ¾ 0 " と な る こ と な く (6) If L <L0 + α, repeat the processing from step ( 3 ). And LSS = ¾0 "
L = L 0 + a と なればプ ロ セ ッ サ 1 0 2 は リ ミ ッ ト ス ィ ツ チ L S は初めか ら作業領域 A I に あった も の と判断 し てス テ ッ プ(9)の処理を実行する 。 又ス テ ッ プ( の判別処 理に て、 L S S - O " と な ればプ ロ セ ッ サ 1 0 2 は リ ミ ッ ト ス ィ ッ チ L S は当初オ ー バ ト ラ ペル側領域 If L = L0 + a, the processor 102 determines that the limit switch LS has been in the work area AI from the beginning, and proceeds to step (9). Execute the processing of. In addition, if LSS-O is obtained in the step (determination processing), the processor 102 is set to the limit switch LS in the over-trapper area at the beginning.
A I に存在 して た と判断 し、 次の処理を行な う 。 Judge that it exists in A I and perform the following processing.
(7) 即ち、 当初 リ ミ ッ ト ス ィ ッ チ L S 力-第 2 エ リ 了  (7) In other words, the initial limit switch LS force-the second
A 11 に存在 している と き ( ス テ ッ プ( の判別処理におい て L S S = ¾ 0 " の と き ) 、 或いはス テ ッ プ(3)以降の処 理に お て ( L o + t ) の移動完了前に リ ミ ッ ト ス ィ ツ チ L S が第 2 エ リ ア Α Π に到達 した と き には、 原点復帰方 If it exists in A11 (when LSS = ¾0 "in the step (discrimination processing), or in the processing after step ( 3 ), (Lo + t If the limit switch LS reaches the second area Α before the movement of the
CMPI く 向 と 逆方向に L S S = 1 " と る る迄プ ロ セ ッ サ 1 0 2 は指令ハ° ル ス X C P をハ0 ル ス分配器 1 0 & を して発生さ せる 。 CMPI Direction and Rumadepu B cell Tsu Sa 1 0 2 Ru and LSS = 1 "in the reverse direction generates a command C ° ls e XCP by Ha 0 ls e distributor 1 0 &.
(8) ス テ ッ プ(7)の処理に よ り 、 リ ミ ッ ト ス ィ ッ チ L S が作業領域 A II に到達すれば ( L S S = 1 " と なれば)、 テ ー ブルを一且停止する 。  (8) By the processing in step (7), if the limit switch LS reaches the work area AII (if LSS = 1 "), the table is closed. Stop .
(9) つ で、 ブ 口 セ ッ サ 1 0 2 は原点復帰命合 Z R N ί = 、、 1 〃 ) を出 力 して イ ン タ フ ェ ー ス回路 1 1 0 の第 2 フ リ ッ プ フ ロ ッ プ 1 1 O b を セ ッ ト し、 且つ原点復帰 方向の指令ハ。 ル ス X C P を発生 して第 1 図に従った原点 復帰処理を行な う 。  (9) The mouth sensor 102 outputs the home return order ZRN ί =,, 1 〃) and outputs the second flip-flop of the interface circuit 110. Flop 1 1 Set Ob and set the direction of return to origin. Generates XCP and performs the homing process according to Fig. 1.
さ て、 フ リ ッ プ フ ロ ッ フ。 F F 1 、 F F 2 ま当初 リ セ ッ ト されてお り 、 又、 ア ン ドゲー ト A N 1 は開いて る 。 しか してハ。 ル ス分配器 1 0 8 よ り 与え られる指令ハ。 ル ス ( 原点復帰ハ。 ル ス ) X C P は、 該ケ、、ー ト を介 して リ パー シ ブノレ カ ウ ン タ R C N 1 に供給され、 前述 と 同様な動作 -に従ってテ ー ブル T B は原点方向 ( 矢印方向 ) に移動す る 。 テ ー ブルが原点近傍に到達 し、 テ 一 プルに備えつけ た リ ミ ツ ト ス イ ッ チ L S 力 ドグ D G に接角虫する と リ ミ ッ ト 信号 L S S 力; w 1 " か ら 0 " に り 、 ア ン ドゲー ト A N 2 を開 き フ リ ッ プ フ ロ ッ プ F F 1 を セ ッ ト する 。 こ れ と 同時に リ ミ ッ ト 信号 L S S は第 1 フ リ ッ プ フ ロ ッ プ 1 1 0 a を リ セ ッ ト し、 該 フ リ ツ ° フ ロ ッ プの セ ッ ト 状 態はプ ロ セ ッ サ 1 0 2 に よ り 読み と られる 。 この結果、 プ ロ セ ッ サ 1 0 2 は リ ミ ツ ト 信号 L S S 力; ¾ 0 " に る つ たこ と を識別 し原点復帰ハ。 ル ス の速度を減速する。 か く して、 テー ブ ルは低速で原点に向って移動 し、 U ミ ッ ト ス ィ ッ チ L S 力'復旧 して ( 0 " → 1 " にな り ) 最初 に 口 ー タ リ エ ン コ ー ダ お E ;^ ら発生する 1 回転信号 P C に よ り 、 ア ン ドゲ ー ト A N 3 力;開 き F F 2 を セ ッ ト す る と共に、 リ パー シ プル カ ウ ン タ R C N 1 の内容をク リ ア して原点復帰完了とする。 尙、 原点復帰完了信号 Z R E 第 3 フ リ ッ プ フ ロ ッ プ 1 1 0 c を セ ッ ト し、 プ ロ セ ッ サ 1 0 2 は第 3 フ リ ッ プ フ ロ ッ 7° 1 1 0 c の セ ッ ト 状態 を読みとつて原点復帰ハ。 ルス X C P の発生を停止する。 Now, flip-flops. FF 1 and FF 2 are initially reset and AND gate AN 1 is open. But c. Command c given by the screw distributor 108. Loose (home position return. Loose) XCP is supplied to RPC 1 through this port, and the operation is the same as described above. Move in the direction (arrow direction). When the table reaches the vicinity of the origin and touches the limit switch LS force dog DG provided on the tape, the limit signal LSS force; w1 "to 0" Open AND gate AN2 and set flip-flop FF1. At the same time, the limit signal LSS resets the first flip-flop 110a, and the set state of the flip-flop is set to the pro- cess. It is read by the sensor 102. As a result, the profile cell Tsu support 1 0 2 Li Mi Tsu door signal LSS force; One that to ¾ 0 " Identify the octopus and return to origin. Slow down the speed of the loose. Thus, the table moves toward the origin at a low speed, and the U mit switch LS force is restored (from 0 "to 1"). With the one-rotation signal PC generated by the encoder E; ^, set the AND gate AN3; open FF2, and set the reciprocal counter RCN1. Clear the contents and complete the home return.尙, Origin return completion signal ZRE Set the third flip-flop 110c, and the processor 102 sets the third flip-flop 7 ° 1 10 Read the setting status of c and return to origin. Stops the generation of Lus XCP.
以上、 本発明に よれば原点復帰指令時における リ ミ ッ ト スィ ツチと ド グ の相対位置関係に応 じて、 原点復帰方 向と逆方向へのテー ブル移動を制御 し、 特に原点近接領 域と才 ー パ ト ラ ペ ル側領域の ずれかに リ ミ ッ ト ス ィ ッ チカ ある時には確実に リ ミ ツ ト 信号が 0 か ら 、\ 1 " に ったこ と を確認 し、 換言すれば リ ミ ツ ト スイ ッ チ  As described above, according to the present invention, the table movement in the direction opposite to the home return direction is controlled in accordance with the relative positional relationship between the limit switch and the dog at the time of the home return command. If there is a limit switch in the gap between the area and the patrol side, make sure that the limit signal goes from 0 to \ 1 ", in other words. B limit switch
L S が確実に作業領域に位置決めされたこ と を確認 して 原点復帰方向への移動を行な う よ う に して るから、 原 点復帰を確実に行る う こ とができ た。 又、 原点復帰方向 と逆方向の移動距離をでき るだけ小と る よ う に して るか ら、 原点復帰時間を短縮する こ とができた。  After confirming that the L S was securely positioned in the work area, it was attempted to move in the direction of returning to the home position, so that the home position could be returned reliably. In addition, since the moving distance in the direction opposite to the home return direction is made as small as possible, the home return time can be reduced.
産業上の利用分野 Industrial applications
以上、 本発明は確実に しか も短 時間で工作機械や 口 ボ、ッ ト の可動部を原点に復帰させる こ とができ有効であ る。  As described above, the present invention is effective because it can surely return the movable parts of the machine tool, the mouthpiece and the kit to the origin in a short time.
C FI  C FI

Claims

請求の範囲 The scope of the claims
1. 可動部 を予め定め られた原点復帰方向 と 逆方向に 移動させた後、 原点方向に移動させて、 原点復帰させる 原点復帰方法にお て、 可動部 と機械固定部の う ち ず れか一方に ド、グ を、 他方に リ ミ ッ ト ス ィ ツ チ をそれぞれ 設け、 リ ミ ッ ト ス ィ ッ チか ら の信号を用 て原点復帰要 求時に該 リ ミ ッ ト ス ィ ツ チ力 ^ ドク, と 接触 して る のか或 は ドク, と接触 して ¾ のかを判別する ス テ ッ プ 、 リ ミ ッ ト ス ィ ツ チが ド、グ と 接触 して る 場合原点復帰方 向 と 逆方向に可動部 を移動させる ス テ ッ プ、 所定距離の 前記移動の間に リ ミ ッ ト ス ィ ツ チ力; ドク、に接触 した と き 、 可動部を更に原点復帰方向 と 逆方向に リ ミ ッ ト ス ィ ツ チ 力 ク, よ り 離れる迄移動させる ス テ ッ プ、 け ミ ッ ト ス ィ ツ チが ダ ょ り 離れた後可動部 を原点方向へ移動させて 原点復帰させるス テ ッ プ を有する こ と を特徴 と する原点 復帰方法。  1. After moving the movable part in the direction opposite to the predetermined home return direction, move it in the home direction and return to the home position. In the home return method, either the movable part or the machine fixed part. A switch is provided on one side, and a limit switch is provided on the other side, and the limit switch is used when a home position return request is made using a signal from the limit switch. Step to determine whether the contact is in contact with the force or the contact, and the contact is in contact with the contact. If the limit switch is in contact with the contact, the origin return direction Step of moving the movable part in the opposite direction to the limit switch force during the movement of the predetermined distance; To the limit switch, the step to move it farther away, Tsu DOO scan I Tsu homing method switch is characterized that you have a scan STEP for homing to the movable portion is moved to the home direction after leaving Ri Da Yo.
2 . 原点復帰要求時に リ ミ ッ ト ス イ ツ チが ドグ 'と 接触 して る場合には リ ミ ッ ト ス ィ ツ チ力 ドク, よ り 離れる迄 可動部 を原点復帰方向 と 逆方向に移動させ、 リ ミ ッ ト ス イ ッ チが グ よ り 離れた後可動部 を原点方向へ移動させ て原点復帰させる こ と を特徴 と する特許請求の範囲第 1 項記載の原点復帰方法。  2. If the limit switch is in contact with the dog 'when a home return request is made, move the movable part in the direction opposite to the home return direction until the limit switch force is released. The origin return method according to claim 1, wherein the movable portion is moved and the movable portion is moved in a direction of the origin after the limit switch is separated from the origin to return to the origin.
3 . 前記所定距離の移動の間に リ ミ ッ ト ス ィ ツ チが ド、 グに接触 し ¾ と き 、 該所定距離の移動完了後に可動部 を原点方向へ移動させて原点復帰させる こ と を特徴 と す る請求の範囲第 1 項記載の原点復帰方法。 3. When the limit switch comes into contact with the dog during the movement of the predetermined distance, after the movement of the predetermined distance is completed, the movable portion is moved in the direction of the home position to return to the home position. Features The method of claim 1, wherein the return to origin is performed.
4. 前記所定距離は、 原点復帰方向の移動に よ り リ ミ ッ ト ス ィ ツ チ力; ドク, よ り 離れる位置:^ ら才 ー ト ラ ペ ル 領域迄の距離を L o と する と き 、  4. The predetermined distance is the limit switching force due to the movement in the direction of return to the origin; Doc, the position farther away: ^ L The distance from the trapezoidal area to L ,
L 0 + な ( α > 0 ) である こ と を特徵 と する請求の範囲第 1 項又は第 3 項記 載の原点復帰方法。 An origin return method according to claim 1 or claim 3, wherein L 0 + (α> 0).
Οί-'-ΡΙ Οί -'- ΡΙ
PCT/JP1983/000385 1982-10-27 1983-10-27 Method of returning to origin WO1984001839A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18874082A JPS5977519A (en) 1982-10-27 1982-10-27 Original point resetting method

Publications (1)

Publication Number Publication Date
WO1984001839A1 true WO1984001839A1 (en) 1984-05-10

Family

ID=16228938

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1983/000385 WO1984001839A1 (en) 1982-10-27 1983-10-27 Method of returning to origin

Country Status (2)

Country Link
JP (1) JPS5977519A (en)
WO (1) WO1984001839A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4862421A (en) * 1988-02-16 1989-08-29 Texas Instruments Incorporated Sensing and decoding scheme for a BiCMOS read/write memory
US4961168A (en) * 1987-02-24 1990-10-02 Texas Instruments Incorporated Bipolar-CMOS static random access memory device with bit line bias control
EP0742504A2 (en) * 1995-05-11 1996-11-13 Siemens Aktiengesellschaft Numerical control device for a machine-tool or a robot

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63228308A (en) * 1987-03-18 1988-09-22 Amada Co Ltd Origin returning method for moving object
JP2566542B2 (en) * 1994-12-12 1996-12-25 ファナック株式会社 Origin return device of injection molding machine driven by electric servo motor
JP2633226B2 (en) * 1996-03-05 1997-07-23 ファナック株式会社 Injection molding machine driven by electric servomotor
KR100440154B1 (en) * 2002-05-31 2004-07-12 현대자동차주식회사 Method of controlling over-travel for machine tools

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS499549B1 (en) * 1969-08-01 1974-03-05

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5642807A (en) * 1979-09-17 1981-04-21 Komatsu Ltd Original point resetting method of nc machine tool
JPS5776607A (en) * 1980-10-30 1982-05-13 Fanuc Ltd Numeric control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS499549B1 (en) * 1969-08-01 1974-03-05

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4961168A (en) * 1987-02-24 1990-10-02 Texas Instruments Incorporated Bipolar-CMOS static random access memory device with bit line bias control
US4862421A (en) * 1988-02-16 1989-08-29 Texas Instruments Incorporated Sensing and decoding scheme for a BiCMOS read/write memory
EP0742504A2 (en) * 1995-05-11 1996-11-13 Siemens Aktiengesellschaft Numerical control device for a machine-tool or a robot
EP0742504A3 (en) * 1995-05-11 1998-01-14 Siemens Aktiengesellschaft Numerical control device for a machine-tool or a robot

Also Published As

Publication number Publication date
JPS5977519A (en) 1984-05-04

Similar Documents

Publication Publication Date Title
KR960005985B1 (en) Method of detecting a collision of machine operating parts driven by servo motors
JP3288250B2 (en) Robot controller
US5139246A (en) Work clamping apparatus
WO1984001839A1 (en) Method of returning to origin
JP2016159367A (en) Robot control device for automatically switching operation mode of robot
JPH06245561A (en) Abnormal load detection control method for servo motor
US4112291A (en) Positioning system in a numerically controlled apparatus
WO1989006066A1 (en) Method of speed control for servomotor
KR880002557B1 (en) Method and apparatus for controlling zero-point of movable element
WO1990008353A1 (en) Anomaly detecting method in a servo system
JP3409090B2 (en) Robot start / stop device
CN109474215B (en) Motor inching control method and multi-mode motor control method
JPS6232801B2 (en)
JPH0798314B2 (en) Robot hand control method
US4458188A (en) Industrial robot having a function for controlling a current of a motor for driving
JP3268705B2 (en) Robot home search method
CN112207824B (en) Method, system, device and storage medium for controlling multiple single-axis modules
JPH10277887A (en) Motor controlling method applicable at failure in position sensor
JPS5866808A (en) Positioning method for origin of robot
JPH0724757A (en) Robot controller
CN114131613B (en) Inching operation control method based on S curve
JPH0553621A (en) Original point return system
JP2001071235A (en) Numerical control device
JPH06195118A (en) Fixed position stop controller
JPH0566820A (en) Numerical controller having measuring function

Legal Events

Date Code Title Description
AK Designated states

Designated state(s): US

AL Designated countries for regional patents

Designated state(s): DE FR GB