Page 1 of 1

In-program probing

Posted: Fri Dec 27, 2024 8:40 pm
by sdavi584
Hello everyone! Been using my acorn for awhile now and recently got the KP-1. I'm trying to use the outside_corner_probe.cnc to probe parts at the beginning of my program but I keep getting an undefined variable on line 28. Can anyone post a copy of the .cnc file from the system folder? Mine seems to have an argument missing.

Currently running CNC 12 V5.10 on a Bridgeport Boss 3 custom build. StepperOnline CL86T drives with Nema 34 1699.68oz/in steppers. Independent 72v power supplies for X&Y and a 48v power supply for Z.

I should note - This feature works fine when used in the Setup/probe/outside corner. So, I'm sure its user error somewhere on my part.

Line 28

if [#[#34002]] then ; force synchronization with the motion control card

I think there needs to be something after the "then"

Or if anyone has a better solution I'm all ears!

Attached is my current report.zip and a copy of the probing program and how its called in my program.

I think my variables are set correctly. I may have the directions flipped :lol: Going for X- edge and Y+ edge

Thanks for any help!

Re: In-program probing

Posted: Fri Dec 27, 2024 11:18 pm
by suntravel
The probe_outside_corner.cnc is ok.

Uwe

Re: In-program probing

Posted: Sat Dec 28, 2024 12:10 am
by cncsnw
The built-in cycle probably calls probe_cycle_select.cnc, which calls probe_get_modals.cnc, which calls probe_get_constants.cnc, which assigns a value to variable #34002.

Start by looking at probe_cycles_select as an example. Your routine probably just needs a call to probe_get_modals.cnc.

Re: In-program probing

Posted: Sat Dec 28, 2024 8:37 am
by suntravel
cncsnw wrote: Sat Dec 28, 2024 12:10 am The built-in cycle probably calls probe_cycle_select.cnc, which calls probe_get_modals.cnc, which calls probe_get_constants.cnc, which assigns a value to variable #34002.

Start by looking at probe_cycles_select as an example. Your routine probably just needs a call to probe_get_modals.cnc.
Yes that might work.

But what is the benefit of probing at the beginning of a part in the program?

IMHO on single part it will not save time, and on a series of parts I spend my time for a repeatable work holding, probing only the first part.

Uwe

Re: In-program probing

Posted: Sat Dec 28, 2024 9:15 pm
by sdavi584
suntravel wrote: Sat Dec 28, 2024 8:37 am
cncsnw wrote: Sat Dec 28, 2024 12:10 am The built-in cycle probably calls probe_cycle_select.cnc, which calls probe_get_modals.cnc, which calls probe_get_constants.cnc, which assigns a value to variable #34002.

Start by looking at probe_cycles_select as an example. Your routine probably just needs a call to probe_get_modals.cnc.
Yes that might work.

But what is the benefit of probing at the beginning of a part in the program?

IMHO on single part it will not save time, and on a series of parts I spend my time for a repeatable work holding, probing only the first part.

Uwe
Thanks!! I'll look into all the suggestions.

Uwe- I typically only run 5-10 part runs so "better fixturing" isn't always financially responsible for me :lol: :lol: !! As much as I'd love to load up a plate with mitee bites I'd end up spending more than the job pays.

I would also like to get my head around these cycles for in process part measurements to guarantee sizes before removing from the vise/fixture.

Really appreciate all the help!! I'll try to update this post so hopefully someone else can benefit.