Probe Programming - Checking a Fixture to ensure it is closed/open

Started by TSmcam, September 07, 2021, 01:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TSmcam

Hi there,

I have a probe programming task on a Fanuc 31i control. I have a fixture that has a clamp used to locate a large casting. The clamp is used to position the casting against stops, so that side clamps can be applied. Once the side clamps are applied, the "stop clamp" needs to be released and retracted.

If it isn't retracted, a facemill will try to machine it off :)

So, I'd like to position the probe and sweep across the front, or do a width measurement on the clamp, and if nothing is encountered, proceed with the rest of the programme. However, if it errors, I would like to it to stop the programme and flash a warning/error saying the clamp is in place and needs to be removed.

It is a Renishaw probe on a Toyoda FA1050s HMC.

Has anyone ever programmed something like this, and if so, can provide sample code? I've never programmed a probe to do a touch/no touch (on a Fanuc control) and then either output a warning, or proceed. Kind of a go/no go procedure. I've only ever done measuring etc

Cheers,

Mick/Mike/Goober :)
Like Like x 1 View List
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Tryon

Use the M1 command with the 9810 safe positioning cycle.  Then it will set a flag ,#148 I think if it is triggered.   Then add logic and jump based on what the flag is.  I think #148=0 of it doesn't hit and 1 if it does hit.

TSmcam

Quote from: Tryon post_id=15495 time=1631047945 user_id=154Use the M1 command with the 9810 safe positioning cycle.  Then it will set a flag ,#148 I think if it is triggered.   Then add logic and jump based on what the flag is.  I think #148=0 of it doesn't hit and 1 if it does hit.


Thank you for the prompt reply. Yes, I thought the safe positioning cycle would be the best option. Unfortunately, this is a Toyoda FA1050s, and it appears that Toyoda use their own probing cycles, and the 9810 macro isn't listed in the manual :(
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

MIL-TFP-41

Quote from: TSmcam post_id=15499 time=1631050316 user_id=91Thank you for the prompt reply. Yes, I thought the safe positioning cycle would be the best option. Unfortunately, this is a Toyoda FA1050s, and it appears that Toyoda use their own probing cycles, and the 9810 macro isn't listed in the manual :(

DMG-Mori also tries to force you into using their probe cycles. I pretty much ignore those cycles and load the standard Renishaw stuff....I have never had an issues doing this even with the Mori/celos mitsubishi control. Where Toyoda uses standard Fanuc stuff...it should be seamless.
Like Like x 1 View List

Tim Johnson

Here's what I use.

O4162
 (4" LONG OMP400 PROBE -- BLOCK REMOVAL CHECKING)
IF[#153EQ#0]GOTO1
N34710 G00 G90 X18.8509 Y-14.8989 (B0.) M19
N34720 G43 H04 Z2.7
N34730 G65 P9810 Z1.875 F200.
N34740 G65 P9810 Z2.7 F200.
N34750 Z20.99
N1 M99
FJB

TSmcam

Thank you for all your replies. The Protected Positioning Move looks to be the best solution.

I'll give that a go :)
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

CNCAppsJames

Protected position move is usually my go to for testing clamping/positioning.
"We have run out of money. I guess we'll have to think." Ernest Rutherford

Inventor Pro 2026 - CAD
CAMplete TruePath 2026 - CAV and Post Processing
Fusion360 and Mastercam 2026 - CAM

TSmcam

Quote from: CNCAppsJames post_id=15709 time=1631575156 user_id=62Protected position move is usually my go to for testing clamping/positioning.


I've never actually used it before James, but as always, I am keen to try something new :)
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Tim Johnson

It works well. If you forget to remove a fixture block you will get a "Probe Open" alarm. If not the program will keep running.
FJB

TSmcam

[quote="Tim Johnson" post_id=15752 time=1631645812 user_id=68]
It works well. If you forget to remove a fixture block you will get a "Probe Open" alarm. If not the program will keep running.
[/quote]


I can see a lot of uses for this.

Down here, probes aren't used enough by manufacturing companies. I need to help them embrace the processes :)
Like Like x 1 View List
CNC Softwares own 'lil piece of Poison Ivy.
TopSolid for the Win :)

Rstewart

Bringing up an older thread.

I have received the task of dumbing down our machine set-ups and instructions Yay!!!!

We're having a lot of trouble with operators killing parts on the first set-up where it's obviously essential to pick up the datums. I mean it's kinda getting outta hand IMHO and these are NOT cheap parts!

All DMG Mori, a mix between DMU 50s and DMC 80s with Siemens controllers.  All have similar Renishaw probes.

I would need more than a protected position move, I think.  Some of our set-ups have a hole to probe to set X, Y and some parts I would like to be able to probe, say the X of where a part should be and error if more than an amount.

I've written some macros on a Haas w/ Renishaw, but it's been a minute...

Anyone willing to pitch in their two cents? I'll owe you a beer  ;D  :cheers:

CADCAM396

yep our company hires kids right out of high school if even that and wonder why they crash the machines or cannot dial in a part. asked to probe and they crash the probe.
sorry no help here just rant.
if they cannot set zero correctly and use common sense they do not belong in the trade IMHO
management these days want to pound a square peg in round hole and expect programmers or engineers to find a way. stop it i say.
sorry six pack in and ready to retire

JakeL

Quote from: CADCAM396 on March 23, 2023, 07:32 PMyep our company hires kids right out of high school if even that and wonder why they crash the machines or cannot dial in a part. asked to probe and they crash the probe.
sorry no help here just rant.
if they cannot set zero correctly and use common sense they do not belong in the trade IMHO
management these days want to pound a square peg in round hole and expect programmers or engineers to find a way. stop it i say.
sorry six pack in and ready to retire

LOL I was one of those "just out of high school hires". Now I'm not saying I didn't crash a machine a few too many times, but I think I turned out half decent.

As for the actual thread topic. When we receive a low quantity job the first few toolpaths are typically "double check pickup" toolpaths. I imagine this is something most machinists do anyway, but if you've got operators trying to be machinists...  :wallbash:  :help:

JParis

So back in the day...here's what I did...

I had the people set the material in the vise or fixture.....the only thing that they "had" to do was to dial the machine over the given start point...Z return...any cycle start...

All offsets would be entered via a G10....they were all preset with given values in the program header...

The probe would then come down, over a "Safe" location, touch the table and set a Z offset...it would move to the corner, piuck up the corner origin....pick up, move over the part, touch the top of the part and usaing the available Z offset information would set the Z height offset in the assigned G5X....

More automation could be done but fixtures or vises would need to be located in "known" positions....then you could remove the operator need to eyeball the corner.

Zoffen

Quote from: JParis on March 24, 2023, 04:43 AMMore automation could be done but fixtures or vises would need to be located in "known" positions....then you could remove the operator need to eyeball the corner.

Quick Change Fixtures and Probing go together like peanut butter n' jelly.

You "can" do just one or the other but the real magic happens when you slide them together!
Like Like x 1 View List
Believe none of what you hear and only half of what you see.

Safety! is no Accident!