Page 1 of 2 12 LastLast
Results 1 to 12 of 24

Thread: Variable H read offset tool

  1. #1
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0

    Variable H read offset tool

    I need help with a program, when I use the variable H1 or H2 or any of this, read the X and Y but I don't know why they read the offset of the tool and do not read the Z as it should be, I used this:
    G15 H1 or 2 or 3 etc does not work and read the dimensions of the tool offset number 1 or 2 or 3 depending on which use H


  2. #2
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    643
    Downloads
    0
    Uploads
    0
    what machine/controller are you using?
    Are you getting any alarms? if so what are they?
    We need more information from you, if possible a reasonable code fragment along with an explanation of what you are trying to achieve.
    Regards
    Brian.


  3. #3
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0

    Need help

    fanuc control, no any alarm at all, just when run the program show me that, the variable H is using offset tool
    Thank Brian


  4. #4
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0
    The machine is Mori Saeki MC50VA


  • #5
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,499
    Downloads
    0
    Uploads
    0
    On most Fanuc controls, G15 is Polar Coordinate Interpolation. It doesn't use H that I'm aware of.

    Please explain your problem more clearly, and as Broby suggested post the section of code where the problem is occuring, and explain what it's doing or not doing.


  • #6
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0
    the Zero Set (H1)said X=3.0728 Y=1.2669 Z=5.4134 when the program find location for make a hole the the control used X and Y but the Z is from tool offset T01=3.699 shout be Zero Set Z=5.4134 I hope you undertand
    Thanks


  • #7
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,499
    Downloads
    0
    Uploads
    0
    No, I don't. What does H1 have to do with X and Y?
    What MODEL Fanuc is this?


  • #8
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    643
    Downloads
    0
    Uploads
    0
    Can you post your program for us to see what you are trying to do??


  • #9
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0
    ok, I will do it,
    Thanks


  • #10
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    643
    Downloads
    0
    Uploads
    0
    Thanks.
    About time! We are NOT asking for the whole program, nor any of your intellectual property, drawings product information or anything like that, but hey... YOU are the one that has asked for help and YOU have been unwilling to help us to help you.


  • #11
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0
    Hey no problem I will post today afternoon, I need help, so I will do it, I have not time right now.
    Thanks
    Sergio


  • #12
    Registered
    Join Date
    Jul 2011
    Location
    usa
    Posts
    19
    Downloads
    0
    Uploads
    0
    Here is the program.
    In the beginning of the program find X, Y and Z, after that load this information in H1 so when I run the program it read X and Y whit no problem at all because the values ​​of X and Y are taken from H1 but the value of Z is taken from the tool offset number 1 and you can see into the program as information and T01 = 3.6990 but it value should be taken from H1, this is a bit confusing but I hope you can help me
    Ejem H1 or H2 Or H3 load values of X, Y and Z (Zero Offset) and it doesn't have relation whit tool offset, my Zero Setup should be H1 = X, Y, Z

    $O6306.MIN%
    (SEND-O6306K)
    (H1 X=-3.0927 Y=-4.3777 Z=8.0962)
    (TOOL SET)
    (T12 FACE MILL 2.0" DIA)
    (T03 END MILL 1.0" DIA)
    (T04 SPOT DRILL 0.5" DIA)
    (T02 DRILL 0.265" OR F DIA)
    (T11 TAP 5/16-18 UNC)
    (OFFSET T01 3.6990)
    ( PROVEN PROGRAM 07/02/2011 SDF )
    ( 863B-7-42 REV. 3 )
    ( X-ZERO = CENTER OF PART )
    ( Y-ZERO = CENTER OF PART )
    ( Z-ZERO = WHERE PART SITS )
    ( PROBE SEQUENCE )
    ( TURN ON BLOCK DELETE TO PROBE FIRST PART )
    /GOTO N0010
    CALL OFX20
    CALL OZOFZ XP1=16.85 YP1=05.57 ZP1=7.505 FON=1 ZPOS=0.500
    $PRB=1
    CALL OZOFY YP1=04.64 XP1=16.500 ZP1=7.69 YP2=05.08 YP3=2.65
    $ YP4=2.21 FON=1 YPOS=0 PRB=1
    CALL OZOFX YP1=03.70 XP1=13.763 ZP1=7.69 XP2=13.323 XP3=19.44
    $ XP4=19.8 FON=1 XPOS=0 PRB=0
    G30 P2
    M01
    N0010 G40 G90 G17 G15 H1
    N0020 M06 T12 (2.00 DIA FACE MILL)
    N0030 H1 M03 S900 T3
    N0040 G00 X0.0 Y0.0 M08
    N0050 G56 H1 Z3.5819
    N0060 G01 Z2.554 F10.7
    N0070 Y1.9438
    N0080 X-3.3973
    N0090 G03 X-3.4973 Y1.8438 I0.0 J-0.10
    N0100 G01 Y-1.9012
    N0110 G03 X-3.3973 Y-2.0012 I0.10 J0.0
    N0120 G01 X3.3927
    N0130 G03 X3.4927 Y-1.9012 I0.0 J0.10
    N0140 G01 Y1.8438
    N0150 G03 X3.3927 Y1.9438 I-0.10 J0.0
    N0160 G01 X-0.5
    N0170 Y0.0
    N0180 Z2.534
    N0190 Y1.9438
    N0200 X-3.3973
    N0210 G03 X-3.4973 Y1.8438 I0.0 J-0.10
    N0220 G01 Y-1.9012
    N0230 G03 X-3.3973 Y-2.0012 I0.10 J0.0
    N0240 G01 X3.3927
    N0250 G03 X3.4927 Y-1.9012 I0.0 J0.10
    N0260 G01 Y1.8438
    N0270 G03 X3.3927 Y1.9438 I-0.10 J0.0
    N0280 G01 X-0.5
    N0290 Y0.0
    N0300 Z2.514
    N0310 Y1.9438
    N0320 X-3.3973
    N0330 G03 X-3.4973 Y1.8438 I0.0 J-0.10
    N0340 G01 Y-1.9012
    N0350 G03 X-3.3973 Y-2.0012 I0.10 J0.0
    N0360 G01 X3.3927
    N0370 G03 X3.4927 Y-1.9012 I0.0 J0.10
    N0380 G01 Y1.8438
    N0390 G03 X3.3927 Y1.9438 I-0.10 J0.0
    N0400 G01 X-0.5
    N0410 Y0.0
    N0420 G00 Z20. M09
    N0430 G30 P2
    N0440 M01
    N0450 M06 T3 (1.00 DIA END MILL)
    N0460 H1 M03 S1000 T4
    N0470 G00 X4.208 Y-3.022 M08
    N0480 G56 H1 Z4.3934
    N0490 Z2.7934
    N0500 G01 X-4.456 F10.
    N0510 G00 Z14.0
    N0520 X4.208 Y3.095
    N0530 G00 Z2.7934
    N0540 G01 X-4.456 F10.
    N0550 G00 Z20.0 M09
    N0560 G30 P2
    N0570 M01
    N0580 M06 T4 (SPOT DRILL 0.500")
    N0590 H1 S2500 M03 T2
    N0600 G00 X-4.00 Y0.8750 M08
    N0610 G56 H1
    N0620 G81 Z3.363 R4.439 F28. P.2
    N0630 G00 Z20.00
    N0640 X4.000 Y0.375
    N0650 G56 H1
    N0660 G81 Z3.363 R4.439 F28. P.2
    N0670 G00 Z20. M09
    N0680 G30 P2
    N0690 M01
    N0700 M06 T2 (DRILL 0.265INCH OR F HOLE)
    N0710 S800 M03 T11 H1
    N0720 G00 X-4.00 Y0.8750 M08
    N0730 G56 H1 Z3.76
    N0740 G83 Z2.02 R3.26 Q0.5 F18. P0.2
    N0750 G00 Z20.
    N0760 X4.000 Y0.3750
    N0770 G56 H1 Z3.76
    N0780 G83 Z2.165 R3.26 Q0.5 F18. P0.2
    N0790 G00 Z20. M09
    N0800 M01
    N0810 G30 P2
    N0820 T11 M06 (5/16-18NC TAP)
    N0830 S324 M03 T1
    N0840 G00 X-4.00 Y0.8750 G94
    N0850 M327
    N0860 VTMNO=2
    N0870 G56 H=VATOL M08
    N0880 G284 Z=0.4529 R2.0539 P0.5 F18.
    N0890 M326
    N0900 G00 Z7.00
    N0910 X4.00 Y0.3750 G94
    N0920 M327
    N0930 VTMNO=2
    N0940 G56 H=VATOL
    N0950 G284 Z=0.717 R2.0539 P0.5 F18.
    N0960 M326
    N0970 G00 Z7.00
    N0980 G80 M09
    N0990 M01
    N1000 G30 P2
    N1010 M30


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Replies: 4
      Last Post: 04-18-2013, 02:46 PM
    2. Read variable with Python
      By albova in forum LinuxCNC (formerly EMC2)
      Replies: 7
      Last Post: 05-26-2012, 07:53 AM
    3. OSP-P200L want to read z offset
      By 1noodle in forum Okuma
      Replies: 5
      Last Post: 10-22-2010, 11:56 AM
    4. Fanuc 16i variable offset issue
      By PCCDon in forum Fanuc
      Replies: 3
      Last Post: 11-26-2009, 02:04 AM
    5. Need Help!- How do I read the value of an F-type parameter into a macro variable?
      By Jan d. in forum Mazak, Mitsubishi, Mazatrol
      Replies: 24
      Last Post: 02-17-2009, 11:47 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.