Art
Did al little testing, its some what confusing to me, so I will try my best to explain..
The probeinvert keeps it setting now when rebooting..
Tested the probe in the MDI one line G31 Z-1 F10, second line G0 Z0 F30, started to probe with dro's set to 0 so it probed till touch plate hit and stopped, ran the second line and it retracted back to start position 0..
Ran with the probe button and got mixed results, sometimes it would only probe down a real short distance and then retract not hitting probe, one thing I did seem to find if I ran it first in the MDI then the button script it did probe down and retract ok.. but never the same results more that once or twice. then it would go back to the old way and hit plate and not retract it would dive into plate..
It still seems to me that the system is getting lost as to where it is, not sure if its still between the mach cord and work, but it seems to get thrown way off even though the DRO's are zeroed
Also I ran into a problem with the MDI at a point, it seemed to stop working the script button would still run and axis move but the G31 Z-1 in the MDI stop working no axis movement..
I think you are close with the probing..
I also ran simulator mode and had a lot of problems in that mode same as machine mode but I took it a little further and was finding that if I loaded a gcode file and ran it, it would run maybe 1/4 or more though the file then auggie would crash, and I would get the dialog with a bunch of error lines and when I close out the dialog auggie would shut down also, I tried 2 different gcode files and both crashed auggie. tried it 4 times and crashed 4 times, I used the same gcode files in that last version with no problems. also was having major problem like before with jogging it seems to loose position when axis zeroed..
I also get a message after I run the jog script, then try to jog with the jog buttons I get the message wrong state for jog on axis.
If I hit estop and then estop on it works again..
Let me know where I have you confused, and I will try to explain that area better...
I thinking maybe we should just try to get the axis's to be in sink with the dros first then go from there. this seems to me to be messing things up somewhat.
mostly with scripts. the script gcode moves seem to be way off.. and feed rates still off..
you may want to pull this version from the web site just incase running gcode may be a problem..
Gary
reading Pokeys pins
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
Ill be running a lot of code tomorrow on my laser so I wont pull it till
I have. Your pretty much the only one running Gcode driven scripts so
our tests shouldn't affect anyone else.
I would stay away from simulator mode, theres too many things not
hooked into it, such as probing, all bets are off in sim mode if you
use a probe as it may well confuse it badly. So lets stay on actual
hardware till we know whats going on.
Ok, so lets take it a touch at a time so I can try to figure out whats up,
I cannot duplicate your hardware and Im simulating a probe with a button
so we need it to be simple tests.
>>Tested the probe in the MDI one line G31 Z-1 F10, second line G0 Z0 F30, started to probe with dro's set to 0 so it probed till touch plate hit and stopped, ran the second line and it retracted back to start position 0..
OK, so thats good, no problem there.
>> The probeinve rt keeps it setting now when rebooting .
This too is good, that fix seems to work.
>>sometimes it would only probe down a real short distance and then retract not hitting probe
This one bothers me, it shouldn't be possible unless some script code is causing the probe to be interrupted
somehow. My probe always goes down till I hit the button, then stops. This is all controlled by the pokeys
BUT I can see if the sync if off before the probe call, it may go down a short amount as it doesnt really know
the correct starting position, so something prior to the probe would have to be screwing the sync. Perhaps
zeroing the Z axis maybe. Though I added code to try to ensure that cant happen.
This is all too scattershot though, I need you to make a script that fails that I can easily test and we know it
will fail. Something like... run this script call , jog left once at .01 and then the probe in the script doesnt
go down. Lets get this down to one example, that I can easily test with set parameter. Its best if ,as you describe
you can show me how to make the probe not go down all the way, in that scenario I shouldnt even have
to press the button. Lets get it to display one problem so I can kill it and then move to the next ..and so
on, I find Im having trouble duplicating your issue because I dont follow your workflow.
If I can make it fail, its usually easy to fix, the problem is Im fixing what looks like it may fail..instead of what
does fail. The probe invert I could see so it was easy to fix.
So if Im following you, I can zero my DRO's, then use the probe button and it doesnt always go down
all the way? Is this while running code and after an M6 hit, or just the pressing the probe
button in standby?
Im thinking if th eprobe doesnt go down all the commanded distance the only possability
is the engine isnt synced, we just need to figure out whats unsyncing it..
Art
So can you give me a scenario and a script that fail?
Ill be running a lot of code tomorrow on my laser so I wont pull it till
I have. Your pretty much the only one running Gcode driven scripts so
our tests shouldn't affect anyone else.
I would stay away from simulator mode, theres too many things not
hooked into it, such as probing, all bets are off in sim mode if you
use a probe as it may well confuse it badly. So lets stay on actual
hardware till we know whats going on.
Ok, so lets take it a touch at a time so I can try to figure out whats up,
I cannot duplicate your hardware and Im simulating a probe with a button
so we need it to be simple tests.
>>Tested the probe in the MDI one line G31 Z-1 F10, second line G0 Z0 F30, started to probe with dro's set to 0 so it probed till touch plate hit and stopped, ran the second line and it retracted back to start position 0..
OK, so thats good, no problem there.
>> The probeinve rt keeps it setting now when rebooting .
This too is good, that fix seems to work.
>>sometimes it would only probe down a real short distance and then retract not hitting probe
This one bothers me, it shouldn't be possible unless some script code is causing the probe to be interrupted
somehow. My probe always goes down till I hit the button, then stops. This is all controlled by the pokeys
BUT I can see if the sync if off before the probe call, it may go down a short amount as it doesnt really know
the correct starting position, so something prior to the probe would have to be screwing the sync. Perhaps
zeroing the Z axis maybe. Though I added code to try to ensure that cant happen.
This is all too scattershot though, I need you to make a script that fails that I can easily test and we know it
will fail. Something like... run this script call , jog left once at .01 and then the probe in the script doesnt
go down. Lets get this down to one example, that I can easily test with set parameter. Its best if ,as you describe
you can show me how to make the probe not go down all the way, in that scenario I shouldnt even have
to press the button. Lets get it to display one problem so I can kill it and then move to the next ..and so
on, I find Im having trouble duplicating your issue because I dont follow your workflow.
If I can make it fail, its usually easy to fix, the problem is Im fixing what looks like it may fail..instead of what
does fail. The probe invert I could see so it was easy to fix.
So if Im following you, I can zero my DRO's, then use the probe button and it doesnt always go down
all the way? Is this while running code and after an M6 hit, or just the pressing the probe
button in standby?
Im thinking if th eprobe doesnt go down all the commanded distance the only possability
is the engine isnt synced, we just need to figure out whats unsyncing it..
Art
So can you give me a scenario and a script that fail?
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
On reflection on this, Id like for you to try an experiment for me,
can you reproduce the problem without triggering the probe at all.
So put the device at a good height. Make a simple GCode program..
like
G0X0Y0
M6
G0X10Y10
G0x0y0
m30
Then, in the m6 dialog run, test your buttons. Can you make the probe not go down far
enough..if so I can reproduce it by following your instructions. I should
be able to fix whatever we find, and then we can see if the probe hit
works after we make sure no-hit scenarios work. Im just trying to cut
down on the possible things that can be biting us.
Art
On reflection on this, Id like for you to try an experiment for me,
can you reproduce the problem without triggering the probe at all.
So put the device at a good height. Make a simple GCode program..
like
G0X0Y0
M6
G0X10Y10
G0x0y0
m30
Then, in the m6 dialog run, test your buttons. Can you make the probe not go down far
enough..if so I can reproduce it by following your instructions. I should
be able to fix whatever we find, and then we can see if the probe hit
works after we make sure no-hit scenarios work. Im just trying to cut
down on the possible things that can be biting us.
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
thanks art
Will test it on the machine later today.
As for the probe testing its always been tested with the probe on screen button and scripts, not with the M6 dialog so lets say the M6 call isn't in play endless I am running a gcode file..
I did reinstall the last version of auggie last night and had no problem running the same gcode file in simulator mode. but as you request I will try all testing now in machine mode..
Will get back to you later, I had a feeling you would want to throw in the towel after my last message..
Gary
Will test it on the machine later today.
As for the probe testing its always been tested with the probe on screen button and scripts, not with the M6 dialog so lets say the M6 call isn't in play endless I am running a gcode file..
I did reinstall the last version of auggie last night and had no problem running the same gcode file in simulator mode. but as you request I will try all testing now in machine mode..
Will get back to you later, I had a feeling you would want to throw in the towel after my last message..
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
I think I found the major source of all this. Try the version I just uploaded.
I found if I zeroed the axis the next probe wouldnt work, this has been corrected so
now after a jog and zero the probe works fine.
Let me know of any change.. Good luck
Art
I think I found the major source of all this. Try the version I just uploaded.
I found if I zeroed the axis the next probe wouldnt work, this has been corrected so
now after a jog and zero the probe works fine.
Let me know of any change.. Good luck
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Will give the new version a try,
Think I have a few issues to work out first, I had a few minutes and went out to test, I am having homing problem now its will home but not backoff, I will check the pokeys config to see if any thing changed, but I do get the message axis homed, but I can't jog down, once it homed and I try to jog I get the message wrong state for jog on axis so i'm stuck and can't move the axis endless I hit estop and re hit estop..
I'm hoping it just because it not backing off.. I have auggie reverse set to true, or is this option just for the direction of homing and not back off?.
I did run mach4 a few days ago maybe it changed the pokeys config.. but I have homing set to backoff in mach4
Gary
Will give the new version a try,
Think I have a few issues to work out first, I had a few minutes and went out to test, I am having homing problem now its will home but not backoff, I will check the pokeys config to see if any thing changed, but I do get the message axis homed, but I can't jog down, once it homed and I try to jog I get the message wrong state for jog on axis so i'm stuck and can't move the axis endless I hit estop and re hit estop..
I'm hoping it just because it not backing off.. I have auggie reverse set to true, or is this option just for the direction of homing and not back off?.
I did run mach4 a few days ago maybe it changed the pokeys config.. but I have homing set to backoff in mach4
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
Hmm, you may want to update just in case its that bad version doing it. I took out some changes and fixed
a couple bugs I could prove. I dont think it woudl affect your homing but you never know.
Art
Hmm, you may want to update just in case its that bad version doing it. I took out some changes and fixed
a couple bugs I could prove. I dont think it woudl affect your homing but you never know.
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
I installed the new version, and fixed homing it was a pokeys config that got changed and the logic was wrong and there were no backoff pulse's.. so now backs off, and that also fixed the jogging not working when homed looks like it has to back off and the home switch needs to go off, or jogging does not work.
here is the code I tested it with its in inch
G0X0Y0
M6
G0X2Y2
G0x0y0
m30
Ok first m6 dialog I just hit exit and continue button worked fine the x and y moved good and returned to 0.. no problems
Second run m6 dialog I hit the probe Z touch off button
Its setup to read the probe.panel dros.
It reads the Z Max Travel distance its set to 1, in the engine.gcode I have the Z set to Z- it should it go down works for me
Also reads Slow and fast feed rates 10 is slow 30 is fast at least what I have them set at
and the Retract if probe not hit will be set to the Probe start position usably = 0 endless you start from a different position
That worked fine did, not hit probe but went to -1 and retracted to 0 and then x and y moved to 2 and back to 0..
I did not do any manual jogging for this test...
Is this what you were looking for..?
Gary
I installed the new version, and fixed homing it was a pokeys config that got changed and the logic was wrong and there were no backoff pulse's.. so now backs off, and that also fixed the jogging not working when homed looks like it has to back off and the home switch needs to go off, or jogging does not work.
here is the code I tested it with its in inch
G0X0Y0
M6
G0X2Y2
G0x0y0
m30
Ok first m6 dialog I just hit exit and continue button worked fine the x and y moved good and returned to 0.. no problems
Second run m6 dialog I hit the probe Z touch off button
Its setup to read the probe.panel dros.
It reads the Z Max Travel distance its set to 1, in the engine.gcode I have the Z set to Z- it should it go down works for me
Also reads Slow and fast feed rates 10 is slow 30 is fast at least what I have them set at
and the Retract if probe not hit will be set to the Probe start position usably = 0 endless you start from a different position
That worked fine did, not hit probe but went to -1 and retracted to 0 and then x and y moved to 2 and back to 0..
I did not do any manual jogging for this test...
Is this what you were looking for..?
Gary
-
ArtF
- Global Moderator

- Posts: 4557
- Joined: Sun Sep 05, 2010 5:14 pm
- Contact:
Re: reading Pokeys pins
Gary:
Yup, thats what I needed. So all that worked well. Now try it with jogging after the probe, or before
and see if it fails or works..
Art
Yup, thats what I needed. So all that worked well. Now try it with jogging after the probe, or before
and see if it fails or works..
Art
-
gburk
- Site Admin
- Posts: 324
- Joined: Mon Nov 26, 2018 2:57 am
Re: reading Pokeys pins
Art
Tested
1 - ran gcode then jogged while M6 dialog displayed, exited without probe and all when good returned to 0 then x2 y2 and back to 0
2 -ran gcode then jogged with M6 dialog and then hit Z touch off button let it run in air and go to max distance, all went well then went to x0 y0 then x2 y2 and back to 0..
3- ran this test 5 times, ran the gcode at M6 dialog jogged z x y then hit the Z touch off button, and let the probe hit the touch plate, it stopped good and retracted to Z1 correctly it did not seem to mess up at all never seemed to get confused and dive into the part just hit and retract..
I did not use an probeinvert with g31 to backoff the probe I have a g1 or G0 I forget Z-RetractHight, Also I haven't tried the probing yet with the on screen buttons.
It looks good so far, any other test you want to try before I get ahead of us.. it may be a good day for testing cooled off a little at least for 24hours
Gary
Tested
1 - ran gcode then jogged while M6 dialog displayed, exited without probe and all when good returned to 0 then x2 y2 and back to 0
2 -ran gcode then jogged with M6 dialog and then hit Z touch off button let it run in air and go to max distance, all went well then went to x0 y0 then x2 y2 and back to 0..
3- ran this test 5 times, ran the gcode at M6 dialog jogged z x y then hit the Z touch off button, and let the probe hit the touch plate, it stopped good and retracted to Z1 correctly it did not seem to mess up at all never seemed to get confused and dive into the part just hit and retract..
I did not use an probeinvert with g31 to backoff the probe I have a g1 or G0 I forget Z-RetractHight, Also I haven't tried the probing yet with the on screen buttons.
It looks good so far, any other test you want to try before I get ahead of us.. it may be a good day for testing cooled off a little at least for 24hours
Gary