Probe Error on 5.22

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Probe Error on 5.22

Post by occustoms »

report_0008DC111213-0109190740_2024-12-08_20-30-14.zip
current report
(6.42 MiB) Downloaded 5 times
Ok so this is a lil weird i can do probing cycles like boss or outside corner etc in cnc12, 5.22. But when i try to do a calibration sylus i get an error Undefined variable probe check configuration.cnc, line 64.

Also swissi chips wont open up either.

uploaded current report :?:

i have tried wiring a probe detect switch to see if that helped and it does not. reason being my probe doesn't have a probe detect feature.


cncsnw
Community Expert
Posts: 4491
Joined: Wed Mar 24, 2010 5:48 pm

Re: Probe Error on 5.22

Post by cncsnw »

It is likely that Centroid imported Acorn probing cycles into the Oak software.

The Acorn Wizard uses Parameter 406 to indicate the probe-tripped state, instead of using the sign of Parameter 11.

How does it behave, if you change P11 from -50769 to +50769, and change P406 from 0 to 1?

Also: can you post a picture of the (whole) CNC12 screen with the error message showing?

Also: please remind me -- and tell everyone else -- what brand, model, and type of probe you are using.

All that said, if you get a "518 Undefined variable" message running a Centroid-supplied probing macro, then there is probably a software bug in the macros that Centroid needs to track down. If the issue were simply a run-time problem with your probe configuration or status, then the macro should display a meaningful error message.


centroid467
Posts: 760
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by centroid467 »

Yes, please tell us what probe you are using.

There is a bug in probe_check_configuration.cnc that would cause it to use an incorrect value when Parameter 11 has a negative value. We are working on a fix but for now, please do what Marc suggested.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

Reinshaw renigade 400 probe and omi-2h reciever with ots tool setter.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

Will screenshot when i get home.but when i try and start chips its error message is on line 63.


cncsnw
Community Expert
Posts: 4491
Joined: Wed Mar 24, 2010 5:48 pm

Re: Probe Error on 5.22

Post by cncsnw »

It is possible that CHIPS, and possibly also CNC12 or the Centroid macros, also do not correctly allow for an output (60001-61312) or memory bit (70001-71024) in Parameter 18 and other contexts.

That should be considered a bug as well, since "PLC bit" parameters (P0, P11, P18, P44/P244, P85, P257, etc.) should allow any PLC bit reference, and not just inputs. There are legitimate reasons to use an output or a memory bit for many of those applications.

In Mark's case, he reports that the Renishaw interface unit has no "/ERROR" or "READY" output that could be wired to a PLC input to indicate when the probe is ready to use. Therefore we have to assume that any time we turn on the output to enable the wireless probe (OUT31 in his case), then the probe is available for use. Therefore P18 = 60031.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

cncsnw wrote: Mon Dec 09, 2024 1:14 pm It is possible that CHIPS, and possibly also CNC12 or the Centroid macros, also do not correctly allow for an output (60001-61312) or memory bit (70001-71024) in Parameter 18 and other contexts.

That should be considered a bug as well, since "PLC bit" parameters (P0, P11, P18, P44/P244, P85, P257, etc.) should allow any PLC bit reference, and not just inputs. There are legitimate reasons to use an output or a memory bit for many of those applications.

In Mark's case, he reports that the Renishaw interface unit has no "/ERROR" or "READY" output that could be wired to a PLC input to indicate when the probe is ready to use. Therefore we have to assume that any time we turn on the output to enable the wireless probe (OUT31 in his case), then the probe is available for use. Therefore P18 = 60031.
i tried changing parameter 18 to 0 and still had same outcome.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

ok i think i see somewhat the problem is the picture of the probe is showing tripped when its not.

So the renishaw omi2h receiver has a SS relay built into it. whenever the probe is not detected the the SS relay is open.
When the probe is in site and connected then the ss relay goes to closed contact. And then when tripped it goes back open on touch.

Just so everyone knows how the probe and tool setter work. They use same output on ss relay for both.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

Ok things i have tried. Changing parmeter 11 and 44 to posi not neg. also tried changing parameter 406.
Still dont work same errors.

tried using the probe detect wired to switch and changed parameter 18 to 50771
Still dont work same error.

i saved and restarted cnc12 both times.


occustoms
Posts: 161
Joined: Sun Jan 27, 2019 3:51 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No

Re: Probe Error on 5.22

Post by occustoms »

here are pics
Attachments
c24ee88c-097f-43f8-b42b-3fda98b14fa4.jpg
image000000 (1).jpg
image000000 (2).jpg


Post Reply