In-program probing

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
sdavi584
Posts: 3
Joined: Mon May 27, 2024 8:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 544538046CEC-0104247791
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

In-program probing

Post 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!
Attachments
Motor Nut Bar Op1.nc
(576 Bytes) Downloaded 2 times
probe_outside_corner.cnc
(5.28 KiB) Downloaded 1 time
report_544538046CEC-0104247791_2024-12-27_19-21-36.zip
(1.02 MiB) Not downloaded yet


suntravel
Community Expert
Posts: 3672
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: In-program probing

Post by suntravel »

The probe_outside_corner.cnc is ok.

Uwe


cncsnw
Community Expert
Posts: 4600
Joined: Wed Mar 24, 2010 5:48 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No

Re: In-program probing

Post 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.


suntravel
Community Expert
Posts: 3672
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: In-program probing

Post 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


sdavi584
Posts: 3
Joined: Mon May 27, 2024 8:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 544538046CEC-0104247791
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: In-program probing

Post 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.


Post Reply