Haas Probing Macros

Started by TSmcam, November 20, 2024, 11:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TSmcam

I've got a customer with a Haas VF5 vmc.

I'm trying to find info on the probing cycles, so I can tweak their post. They use O9352 to probe a rectangle, but I cant seem to find any information on these cycles. It doesn't match the Renishaw manual from the Haas website.

Does anyone have the manual for these Haas cycles?
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

JParis

They have a Haas?

You should probably just apologize
Funny Funny x 4 View List

Zoffen

Believe none of what you hear and only half of what you see.

Safety! is no Accident!

TSmcam

Thanks Zeffen. I notice the Haas uses its own cycles to probe a Z surface and probe a rectangle.

9359 and 9352 respectively. They must be Haas macros, that call the Renishaw macros.

Weird that the Haas macros use W for the work coordinate to be set, yet the Renishaws use S.
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Zoffen

#4
I use "S" on my 2014 Haas VF4SS

I use X Y Z single surface measurement – macro O9811 for setting Z
and I would use 2 Web / pocket measurement – macro O9812 to set the XY
Believe none of what you hear and only half of what you see.

Safety! is no Accident!

TSmcam

Quote from: Zoffen on November 20, 2024, 12:47 PMI use "S" on my 2014 Haas VF4SS

I use X Y Z single surface measurement – macro O9811 for setting Z
and I would use 2 Web / pocket measurement – macro O9812 to set the XY

This is the macro they used for setting a rectangle and Z:

N10
(PROBE - RECTANGLE)
T1 M6
G90 G54 G0 X0.0000 Y0.0000
G91 G0 Z-13.7474
G01 Z-2. F 500.
G65 P9352 W54. A1.3 B3. K-0.3
(PROBE - Z HEIGHT)
G65 P9359 W54. Z-0.3

CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Flycut

All I know is that the probing cycles I get from Fusion360 work much better than the ones the Haas control spits out.
Here's what probing a 2.5" square looks like using Fusion360

%
O01001
(DSI Post- HAAS 4Th AXIS NGC_STH V9)
(STEELHAUS)
(11-20-2024 15.17)
(Using G0 which travels along dogleg path.)
(T30 | Haas Renishaw | CR = 0.1181 | FLUTE LENGTH = 0.4724)
(TOOL S/N: )
(HOLDER S/N: BT30-ER32-60 | TOOL HANG OUT = 1.6 | Z MIN= -0.2362)
(-----)
G90 G94 G17
G20
G53 G0 Z0.

(OPERATION Probe WCS1)
(OPERATION Z MIN= -0.2362)
(T30 | Haas Renishaw | CR = 0.1181 | FLUTE LENGTH = 0.4724)
(TOOL S/N: )
(HOLDER S/N: BT30-ER32-60 | TOOL HANG OUT = 1.6)
(-----)
N10 T30 M6
G54
G53 G0 Z0.
G0 A0.
G0 X0. Y0.
G43 Z2.2 H30
G65 P9832
G65 P9810 Z0.2 F40.
G65 P9812 Z-0.2362 X2.5 R0.4724 Q0.4 S1.
G65 P9812 Z-0.2362 Y2.5 R0.4724 Q0.4 S1.
G65 P9810 Z0.2
G0 Z2.2
G65 P9833

M5
G53 G0 Z0.
G0 A0.
X0.
G53 G0 Y0.
M30

%

Zoffen

#7
Quote from: TSmcam on November 20, 2024, 02:19 PMThis is the macro they used for setting a rectangle and Z:

N10
(PROBE - RECTANGLE)
T1 M6
G90 G54 G0 X0.0000 Y0.0000
G91 G0 Z-13.7474 (CRASHSHSHSHSHSHSHS<<<<<<<<<<<<<<<<<<<<<)
G01 Z-2. F 500.
G65 P9352 W54. A1.3 B3. K-0.3
(PROBE - Z HEIGHT)
G65 P9359 W54. Z-0.3


This code makes no sense. There is no G43 tool length call for the probe. It then crashes down to -13. then comes back to -2.?

Here is some sample code for setting Z on top and X/Y center of a rectangular workpeice:

( ************************* )
( *  T O O L  C H A N G E * )
( ************************* )
N20 (  STATION 1 - PROBE G54 Z  )
IF[#500 EQ 20] THEN M00 (#500 STOP BEFORE MCX OPNUMBER)
(**TOOLCHANGE**)
(T25)
(NOM TOOLSET = 6.9773 )
( T25 - PROBE )
T25 M06
T1
(**TOOLCHANGE**)
G187 P3 E.001
G00 G17 G20 G40 G80 G90 G94
G54
X0. Y0. A5. B-5.
A0. B0.
G43 H25 Z2.
G65 P9832
G94
G65 P9810 Z.5 F150.
G65 P9811 Z.015 S1.  (PROBE Z SURFACE)
G00 Z2.
N30 (<-> STATION 1 - PROBE G54 X/Y WEBB  )
G187 P3 E.001
G00 G17 G20 G40 G80 G90 G94
G54
X0. Y0. A0. B0.
Z2.
G17 G00
G65 P9810 Z.5 F150.
G65 P9812 X9.375 Z-.5 S1. (PROBE X WEB)
G65 P9812 Y5. Z-.5 S1. (PROBE Y WEB)
G00 Z2.
G65 P9833
M09
G90 G00 G53 Z0.0 M05
G90
M01
M99
Believe none of what you hear and only half of what you see.

Safety! is no Accident!

TSmcam

Quote from: Zoffen on November 20, 2024, 02:40 PMThis code makes no sense. There is no G43 tool length call for the probe. It then crashes down to -13. then comes back to -2.?

Here is some sample code for setting Z on top and X/Y center of a rectangular workpeice:

( ************************* )
( *  T O O L  C H A N G E * )
( ************************* )
N20 (  STATION 1 - PROBE G54 Z  )
IF[#500 EQ 20] THEN M00 (#500 STOP BEFORE MCX OPNUMBER)
(**TOOLCHANGE**)
(T25)
(NOM TOOLSET = 6.9773 )
( T25 - PROBE )
T25 M06
T1
(**TOOLCHANGE**)
G187 P3 E.001
G00 G17 G20 G40 G80 G90 G94
G54
X0. Y0. A5. B-5.
A0. B0.
G43 H25 Z2.
G65 P9832
G94
G65 P9810 Z.5 F150.
G65 P9811 Z.015 S1.  (PROBE Z SURFACE)
G00 Z2.
N30 (<-> STATION 1 - PROBE G54 X/Y WEBB  )
G187 P3 E.001
G00 G17 G20 G40 G80 G90 G94
G54
X0. Y0. A0. B0.
Z2.
G17 G00
G65 P9810 Z.5 F150.
G65 P9812 X9.375 Z-.5 S1. (PROBE X WEB)
G65 P9812 Y5. Z-.5 S1. (PROBE Y WEB)
G00 Z2.
G65 P9833
M09
G90 G00 G53 Z0.0 M05
G90
M01
M99

I agree, the code makes no sense. Although, it does actually work. The probe is doing an incremental move from Z home to the target point above the face. I certainly dont agree with the format or practice though.

Outputting the probe cycle via the post processor returns code almost the same as yours, and what I would expect.
Like Like x 1 View List
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

TSmcam

Quote from: Flycut on November 20, 2024, 02:20 PMAll I know is that the probing cycles I get from Fusion360 work much better than the ones the Haas control spits out.
Here's what probing a 2.5" square looks like using Fusion360

%
O01001
(DSI Post- HAAS 4Th AXIS NGC_STH V9)
(STEELHAUS)
(11-20-2024 15.17)
(Using G0 which travels along dogleg path.)
(T30 | Haas Renishaw | CR = 0.1181 | FLUTE LENGTH = 0.4724)
(TOOL S/N: )
(HOLDER S/N: BT30-ER32-60 | TOOL HANG OUT = 1.6 | Z MIN= -0.2362)
(-----)
G90 G94 G17
G20
G53 G0 Z0.

(OPERATION Probe WCS1)
(OPERATION Z MIN= -0.2362)
(T30 | Haas Renishaw | CR = 0.1181 | FLUTE LENGTH = 0.4724)
(TOOL S/N: )
(HOLDER S/N: BT30-ER32-60 | TOOL HANG OUT = 1.6)
(-----)
N10 T30 M6
G54
G53 G0 Z0.
G0 A0.
G0 X0. Y0.
G43 Z2.2 H30
G65 P9832
G65 P9810 Z0.2 F40.
G65 P9812 Z-0.2362 X2.5 R0.4724 Q0.4 S1.
G65 P9812 Z-0.2362 Y2.5 R0.4724 Q0.4 S1.
G65 P9810 Z0.2
G0 Z2.2
G65 P9833

M5
G53 G0 Z0.
G0 A0.
X0.
G53 G0 Y0.
M30

%

Yes, that is the code that is output using TopSolids post and probing function. I am going to head on site and test it on their machine.

That code makes far more sense, as it aligns with the renishaw formats.
Like Like x 1 View List
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Here's Johnny!

Quote from: JParis on November 20, 2024, 12:07 PMYou should probably just apologize

Or send your condolences!!!! ;D
Funny Funny x 1 View List

gms1

Ive had this for a long time. its the haas built in probing routines. uhh how do i upload a file here?

JParis

Quote from: gms1 on November 27, 2024, 02:50 AMuhh how do i upload a file here?

You'll need to host it...Dropbox is what many use..though some use Google Drive...

Then post the link to the shared file

TSmcam

gms1 that would be really handy thanks.

I was on site at the customers last night. We could bypass the Haas routines and just use the Renishaw routines, but there is no Renishaw rectangle routine, which is where the Haas one is handy.

I can tweak the post to output rectangle functionality, and use the Haas routine easily enough.
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)