G38.2 Probe tripped during non-probe MDI command
24 Jan 2013 17:46 #29071
by lutz95326
G38.2 Probe tripped during non-probe MDI command was created by lutz95326
Hello,
i want to probe a center of a hole by pressing a button pyvcp.
So i have wrote a Subroutine O900 wich is called from the ini-File
[HALUI]
MDI_COMMAND = O900 call
This work very well but just the probe touch the material the axe stops
and i get the error: "Probe tripped during a non-probe MDI command"
When i call my Subroutine from a "normal" ngc-File per "O900 call"
everything works perfectly.
Now i have linuxcnc updated to 2.5.1 an have hopped the error is patched
(i saw then in the patch report for 2.5.1).
Unfortunelly the error is not gone.
Can anybody help me with a tip?
Many thanks
Best regards horst
i want to probe a center of a hole by pressing a button pyvcp.
So i have wrote a Subroutine O900 wich is called from the ini-File
[HALUI]
MDI_COMMAND = O900 call
This work very well but just the probe touch the material the axe stops
and i get the error: "Probe tripped during a non-probe MDI command"
When i call my Subroutine from a "normal" ngc-File per "O900 call"
everything works perfectly.
Now i have linuxcnc updated to 2.5.1 an have hopped the error is patched
(i saw then in the patch report for 2.5.1).
Unfortunelly the error is not gone.
Can anybody help me with a tip?
Many thanks
Best regards horst
Please Log in or Create an account to join the conversation.
24 Jan 2013 18:33 #29073
by Rick G
Replied by Rick G on topic G38.2 Probe tripped during non-probe MDI command
Perhaps it would be good to attach a copy of the sub.
Are you using the button from Manual or MDI mode? Same results?
Rick G
Are you using the button from Manual or MDI mode? Same results?
Rick G
Please Log in or Create an account to join the conversation.
24 Jan 2013 21:57 #29087
by lutz95326
Replied by lutz95326 on topic G38.2 Probe tripped during non-probe MDI command
Hello Rick,
many thanks for the quick reply.
I have try out to press the button with selected Register Tab "Manual Mode" or "MDI" and
have wrote "O900 call" direct in command line with the same results.
The sourcecode of the subroutine is attached
Horst
many thanks for the quick reply.
I have try out to press the button with selected Register Tab "Manual Mode" or "MDI" and
have wrote "O900 call" direct in command line with the same results.
The sourcecode of the subroutine is attached
Horst
Please Log in or Create an account to join the conversation.
26 Jan 2013 19:34 #29159
by Rick G
Replied by Rick G on topic G38.2 Probe tripped during non-probe MDI command
Unfortunately the one machine I have a probe on is apart right now so I cannot test.
I took a quick look and do not see any obvious reasons it should not work.
I believe there have been reports of some sub not working correctly from the mdi line or buttons that make MDi call.
I currently use a NGCGUI sub for finding the center of a hole, as I like to set the parameters depending on the work.
Rick G
I took a quick look and do not see any obvious reasons it should not work.
I believe there have been reports of some sub not working correctly from the mdi line or buttons that make MDi call.
I currently use a NGCGUI sub for finding the center of a hole, as I like to set the parameters depending on the work.
Rick G
Please Log in or Create an account to join the conversation.
30 Jan 2013 15:27 #29295
by lutz95326
Replied by lutz95326 on topic G38.2 Probe tripped during non-probe MDI command
Hello Rick,
i have try a NGCGUI sub for calling my O900-Subroutine and it works perfectly.
I think, there must be a bug in LINUXCNC when a subroutine is called from a pyvnc-Button per
MDI-Command...
Many thanks for your help!
Best regards
Horst (Germany / Bayern)
i have try a NGCGUI sub for calling my O900-Subroutine and it works perfectly.
I think, there must be a bug in LINUXCNC when a subroutine is called from a pyvnc-Button per
MDI-Command...
Many thanks for your help!
Best regards
Horst (Germany / Bayern)
Please Log in or Create an account to join the conversation.
30 Jan 2013 18:21 #29301
by Rick G
Replied by Rick G on topic G38.2 Probe tripped during non-probe MDI command
Hello Horst,
Glad to hear you have got things working!
Rick G
Glad to hear you have got things working!
Rick G
Please Log in or Create an account to join the conversation.
30 Jan 2013 19:51 #29305
by alan_3301
Replied by alan_3301 on topic G38.2 Probe tripped during non-probe MDI command
Also good to keep in mind, that error will come up if your probe makes intermittent contact when returning to the untriggered state.
A debounce would help stop this.
It looks like you had a completely different problem, but for anyone who searches and finds this thread title, I thought it would help someone.
A debounce would help stop this.
It looks like you had a completely different problem, but for anyone who searches and finds this thread title, I thought it would help someone.
Please Log in or Create an account to join the conversation.
11 Sep 2013 13:39 #38653
by pietvr
Replied by pietvr on topic G38.2 Probe tripped during non-probe MDI command
Hi
Does any one know if this problem/bug has been sorted out in Ver 2.6?
I have the same problem. I am developing a gui and has an o-word file with a G38.2 call and when executing with MDI it only executes upto the G38.2 line but if called from within another ngc file it works perfectly.
I don't want to go through the hassle of doing a manual upgrade on my machine computers as they are not linked to the internet.
Or have someone found a work around for this maybe
Cheers
Piet
Does any one know if this problem/bug has been sorted out in Ver 2.6?
I have the same problem. I am developing a gui and has an o-word file with a G38.2 call and when executing with MDI it only executes upto the G38.2 line but if called from within another ngc file it works perfectly.
I don't want to go through the hassle of doing a manual upgrade on my machine computers as they are not linked to the internet.
Or have someone found a work around for this maybe
Cheers
Piet
Please Log in or Create an account to join the conversation.
11 Sep 2013 16:44 - 11 Sep 2013 16:45 #38662
by ArcEye
Replied by ArcEye on topic G38.2 Probe tripped during non-probe MDI command
Hi
It looks as though the bug report was put down to noise on the line, because it went with the addition of a debounce component, so it was closed
sourceforge.net/p/emc/bugs/312/
I would submit another bug report, refering to the last one and be sure to include details of the actual sub you used and the calling method
Make sure you try a debounce component first so that you can rebut noise as being the issue
regards
It looks as though the bug report was put down to noise on the line, because it went with the addition of a debounce component, so it was closed
sourceforge.net/p/emc/bugs/312/
I would submit another bug report, refering to the last one and be sure to include details of the actual sub you used and the calling method
Make sure you try a debounce component first so that you can rebut noise as being the issue
regards
Last edit: 11 Sep 2013 16:45 by ArcEye.
Please Log in or Create an account to join the conversation.
12 Sep 2013 02:30 #38676
by pietvr
Replied by pietvr on topic G38.2 Probe tripped during non-probe MDI command
Hi ArcEye
Thank you for the help, the debounce component did the trick.
Regards
Piet
Thank you for the help, the debounce component did the trick.
Regards
Piet
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds