587,672 active members*
3,092 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    16

    g31 for probe safety?

    I crashed my probe the other day. I left a variable set for a part that was programmed for .750 exposed, yet i had a 1.375 part in there. Poor planning.... i usually rapid to ~1.5 above part, then m01 and eye up distance to go. g54 Part zero is usually top of part, this time g54 was programmed as g54fixture face z+ part length and then assigning z face offset to g129.

    Should I insert the G31 code where i put !!!!!!!!!!!!!!!!!!!!!!!!!?
    is there a code to take it out of this mode? Cleared at mo6?

    Also since i am using one sub for tool postion and one for actual motion cmds, with an m01 to check variables. Should i restate g31 in the O00901 (PROBE PART) program, that moves the probe from rapid position to part for probing?

    I use a generic tool approach subprogram to move within z1.5 of part face then my controlled f10. ipm moves are setup like this :

    %
    O00903 (TOOL CHANGE SUB )
    M09
    G91 G28 Z0 M05
    G90 G#8 G00 X#24 Y#25
    T#20 M06
    IF [ #20 EQ 1.0 ] GOTO2
    S#19 M03
    M08
    N2 (PROBE SKIP SXXX M03, M08 CMD)
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!! G31??
    G43 H#11 G00 Z#26
    G01 F20. Z#23
    G01 F20. Z - #21
    (TOOL APPROACH DONE >> MOTION)
    M99
    %


    %
    O00901 (PROBE PART)

    N901 (ACTUAL PROBING COMMANDS)
    (PROBE TOP OF PART FOR Z OFFESET)
    G90 G#8
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! G31???
    G01 Y - #619 Z#616 F30.
    G65 P9023 A9. S129
    G00 X0 Y0

    (PROBE X Y WEB)
    G65 P9023 A4. Y#600 Z-0.318 S129
    G65 P9023 A4. X#600 Z-0.318 S129
    G00 Z1.5

    N90199 (PROBING DONE >> RTM)
    G91 G28 Z0
    G90 M99
    %


    Just needed verification that g31 will stop the machine hits something with the probe.

    G31 on haas vf-2 = feed untill skip fucntion.


    Saw this on another post.....
    "I don't understand that if you have the Renishaw 9000 macro's it should include a protected move routine, i.e. you should never move any axis with the probe in place without a G31 in the routine, which the protected move has.
    If a rapid move to initial position is performed and a probe collision occurs, all axis will stop.
    If Fadal have modified the probe routines, to my mind they should supply comprehensive documentation on usage.
    Whats with the uncontrollable Rapids?
    A Renishaw crash can be Very expensive.!"

    Not relevant but if anyone can use it to learn parametric.
    Here is the MATH SUB that is assigning vars based on the family of parts :

    G103 P0
    N90710 (----SET PROBING VARIABLES-----)
    (#605= PART # FLAGIAMATERS - user spec in main)
    (#606= PART # FLAG: LENGTHS - user spec in main)

    (#617= PRINT D + .118)
    IF [ [ #605 EQ 2.5 ] OR [ #605 EQ 3.5 ] ] THEN #617= 0.391
    IF [ #605 EQ 4.5 ] THEN #617= 0.578
    IF [ [ #605 EQ 5.5 ] OR [ #605 EQ 6.0 ] ] THEN #617= 0.899

    (#619= EXIST. HOLE R + STYLUS R)
    #619= #617 / 2 + 0.118

    (#616= +Z APPROACH FOR PROBING)
    IF [ [ #606 EQ 1.0 ] AND [ #605 EQ 2.5 ] ] THEN #616= .750
    IF [ [ #606 EQ 2.0 ] AND [ #605 EQ 2.5 ] ] THEN #616= 1.35

    N90720 (----SET MACHINING VARS-----)

    N90721 (GENERAL MACH VARS)
    (#623= Z DEPTH FOR GROOVE)
    IF [ [ #605 GE 2.4 ] AND [ #605 LE 4.6 ] ] THEN #623= 0.05
    IF [ [ #605 GE 5.4 ] AND [ #605 LE 6.1 ] ] THEN #623= 0.073

    N90722 (12:00 SLOT VARS)
    (#624= 12:00 RPD POS, HYP)
    (#624= #617 / 2 - 0.100
    IF [ #605 EQ 2.5 ] THEN #624= .0955
    IF [ #605 EQ 3.5 ] THEN #624= 1.0
    IF [ #605 EQ 4.5 ] THEN #624= 2.0
    IF [ #605 EQ 5.5 ] THEN #624= 3.0
    IF [ #605 EQ 6.0 ] THEN #624= 4.0
    (#625= 12:00 Y END PT)
    IF [ #605 EQ 2.5 ] THEN #625= 0.2344
    IF [ #605 EQ 3.5 ] THEN #625= 1.0
    IF [ #605 EQ 4.5 ] THEN #625= 2.0
    IF [ #605 EQ 5.5 ] THEN #625= 3.0
    IF [ #605 EQ 6.0 ] THEN #625= 4.01

    N90723 (----4:00, 8:00 RPD VARS-----)
    (#626= 4:00, 8:00 SLOTS RPD X POS)
    IF [ #605 EQ 2.5 ] THEN #626= .0851
    IF [ #605 EQ 3.5 ] THEN #626= 1.0
    IF [ #605 EQ 4.5 ] THEN #626= 2.0
    IF [ #605 EQ 5.5 ] THEN #626= 3.0
    IF [ #605 EQ 6.0 ] THEN #626= 4.0
    (#627= 4:00, 8:00 SLOTS RPD Y POS)
    IF [ #605 EQ 2.5 ] THEN #627= .0434
    IF [ #605 EQ 3.5 ] THEN #627= 1.0
    IF [ #605 EQ 4.5 ] THEN #627= 2.0
    IF [ #605 EQ 5.5 ] THEN #627= 3.0
    IF [ #605 EQ 6.0 ] THEN #627= 4.0

    N90724 (----4:00, 8:00 MACH. VARS-----)
    (#628= 4:00, 8:00 SLOTS MACH X POS)
    IF [ #605 EQ 2.5 ] THEN #628= .2088
    IF [ #605 EQ 3.5 ] THEN #628= 1.0
    IF [ #605 EQ 4.5 ] THEN #628= 2.0
    IF [ #605 EQ 5.5 ] THEN #628= 3.0
    IF [ #605 EQ 6.0 ] THEN #628= 4.0
    (#629= 4:00, 8:00 SLOTS MACH Y POS)
    IF [ #605 EQ 2.5 ] THEN #629= .1064
    IF [ #605 EQ 3.5 ] THEN #629= 1.0
    IF [ #605 EQ 4.5 ] THEN #629= 2.0
    IF [ #605 EQ 5.5 ] THEN #629= 3.0
    IF [ #605 EQ 6.0 ] THEN #629= 4.0

    N90799 (MATH DONE >> RTM)
    G103 P1
    M99
    %

  2. #2
    Join Date
    Dec 2003
    Posts
    24220
    I think that was a reference to one of my posts, normally when the probe is mounted, you should never move it without a G31, the protected move is for any move that takes place other than a measuring cycle.
    IOW, if you are rapiding to the measuring position, the G31 detects if a collision occurs and takes steps to prevent damage.
    The G31 should stop feed on all axis immediately and fall through to the next line.
    Al.
    .
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jun 2006
    Posts
    247
    would the machine be able to respond fast enough during a rapid move?

    While studying the renishaw macros, I always see G31 on a line with a F value for feedrate. I didn't even think it would work on a line with G0.

  4. #4
    Join Date
    Nov 2003
    Posts
    236
    I would use a M78 followed by a fast g31 to try to avoid a crash.

  5. #5
    Join Date
    Dec 2008
    Posts
    2

    G31 safe move

    PaintItBlue...

    It looks like you are using the easyset or VQC (9023) macro for running in automatic mode... It obviously works but the intention was for it to me used for setup. To program in automatic mode it is much easier to use the Inspection Plus calls. Call Renishaw and they will email you an Inspection Plus Manual for Haas machines. The protected position macro is 9810... Here is a skeleton program I use and you can adapt it with the variables and settings you like to use....

    G90G80G40G0
    G91G28Z0
    G90
    T24M6 (TOOL CHANGE PROBE)
    G54X0Y0
    G43H24Z5.
    G65P9832 (TURN PROBE ON)
    .
    .
    .
    G65P9810Z-.5F200.(PROTECT POS .5 IN A BORE)
    G65P9814D1.S1.(MEASURE 1 IN BORE AND UPDATE G54)
    G65P9810Z4.(PROTECT POS ABOVE PART)
    .
    .
    .
    G65P9833 (TURN PROBE OFF)
    G91G28Z0
    G90
    M30


    Hope this helps.... but if you feel more comfortable using 9023 you should continue what you are doing.

  6. #6
    Join Date
    Oct 2007
    Posts
    16
    Will give it a try, i am always willing to learn the right way so the wrong stuff doesn't appen again:P

  7. #7
    Join Date
    Jun 2006
    Posts
    247
    you could write it like this:
    the G31 only applies to the block its on

    %
    O00903 (TOOL CHANGE SUB )
    M09
    G91 G28 Z0 M05
    G90 G#8 G00 X#24 Y#25
    T#20 M06
    IF [ #20 EQ 1.0 ] GOTO2
    S#19 M03
    M08
    N2 (PROBE SKIP SXXX M03, M08 CMD)
    G43 H#11
    M78 G31 Z#26 F1000.
    M78 G31 F20. Z#23
    M78 G31 F20. Z - #21
    (TOOL APPROACH DONE >> MOTION)
    M99
    %

    %
    O00901 (PROBE PART)

    N901 (ACTUAL PROBING COMMANDS)
    (PROBE TOP OF PART FOR Z OFFESET)
    G90 G#8
    M78 G31 Y - #619 Z#616 F30.
    G65 P9023 A9. S129
    M78 G31 X0 Y0 F1000.

    (PROBE X Y WEB)
    G65 P9023 A4. Y#600 Z-0.318 S129
    G65 P9023 A4. X#600 Z-0.318 S129
    M78 G31 Z1.5 F1000.

    N90199 (PROBING DONE >> RTM)
    G91 G28 Z0
    G90 M99
    %

Similar Threads

  1. Mach Probe plug in what is "maximum z height for stuck probe" option do?
    By Rich05 in forum Digitizing and Laser Digitizing
    Replies: 7
    Last Post: 04-11-2009, 06:05 PM
  2. Kid Safety
    By ToyMaker in forum Safety Zone
    Replies: 10
    Last Post: 09-03-2008, 08:00 AM
  3. Looking for safety pic
    By baltman in forum Safety Zone
    Replies: 5
    Last Post: 08-26-2008, 09:28 PM
  4. Super Probe 17 Functions in one probe
    By thegimpster in forum PIC Programing / Design
    Replies: 0
    Last Post: 01-25-2008, 07:46 PM
  5. Machine Safety
    By Drakkn in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 12-01-2007, 05:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •