Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z probing throwing error upon completion. #742

Closed
aforww opened this issue Sep 5, 2017 · 16 comments
Closed

Z probing throwing error upon completion. #742

aforww opened this issue Sep 5, 2017 · 16 comments
Labels

Comments

@aforww
Copy link

aforww commented Sep 5, 2017

Z probing working well now and applying offsets as expected. However, now we are throwing this error upon completion: Error Processing response and PRB:-192.200,-202.000,-40.400:1]:-19.

@winder winder added the bug label Sep 5, 2017
@RoadkillUK
Copy link

I get 2 errors, basically the same, I assume it's when the probe touches. I used to use UGS(not platform) and I always had to 'Unlock' the machine after probing (using macros).

This is one such message. "Error while processing response [PRB:-488.000,-498.000]>:-48"

@winder
Copy link
Owner

winder commented Sep 11, 2017

@RoadkillUK if you could run UGS from the console there should be a detailed error message about where the problem originated. I haven't been able to reproduce the problem at this point, so that message would be very useful.

Also, did you copy/paste that error message or type it in? The probe should report X/Y/Z but there is only 2 sections there.

@RoadkillUK
Copy link

Hey @winder , thanks for the reply, it's 1:10 am Monday morning here, I should be in bed already, just about to go. I'll give it a go tomorrow after work. As for the error message, I copied and pasted it ... I think.

We'll have another look tomorrow :)

@jahnj0584
Copy link

I had this probe error this morning. It a working now when I wanted to get the code for you. Try clearing your eeprom (first copy your $$ to notepad) then delete all arduino libraries and flash GRBL 1.1 again. It worked for me

@RoadkillUK
Copy link

Here is the console log from switchon. I don't know if it makes any difference but I'm using WinXP!

**** Connected to COM4 @ 115200 baud ****

Grbl 1.1f ['$' for help]

$$
$G
$0 = 10 (Step pulse time, microseconds)
$1 = 25 (Step idle delay, milliseconds)
$2 = 0 (Step pulse invert, mask)
$3 = 0 (Step direction invert, mask)
$4 = 0 (Invert step enable pin, boolean)
$5 = 0 (Invert limit pins, boolean)
$6 = 0 (Invert probe pin, boolean)
$10 = 11 (Status report options, mask)
$11 = 0.010 (Junction deviation, millimeters)
$12 = 0.002 (Arc tolerance, millimeters)
$13 = 0 (Report in inches, boolean)
$20 = 0 (Soft limits enable, boolean)
$21 = 0 (Hard limits enable, boolean)
$22 = 1 (Homing cycle enable, boolean)
$23 = 11 (Homing direction invert, mask)
$24 = 50.000 (Homing locate feed rate, mm/min)
$25 = 1500.000 (Homing search seek rate, mm/min)
$26 = 250 (Homing switch debounce delay, milliseconds)
$27 = 2.000 (Homing switch pull-off distance, millimeters)
$30 = 1000 (Maximum spindle speed, RPM)
$31 = 0 (Minimum spindle speed, RPM)
$32 = 0 (Laser-mode enable, boolean)
$100 = 800.000 (X-axis travel resolution, step/mm)
$101 = 800.000 (Y-axis travel resolution, step/mm)
$102 = 2560.000 (Z-axis travel resolution, step/mm)
$110 = 2500.000 (X-axis maximum rate, mm/min)
$111 = 2500.000 (Y-axis maximum rate, mm/min)
$112 = 500.000 (Z-axis maximum rate, mm/min)
$120 = 30.000 (X-axis acceleration, mm/sec^2)
$121 = 30.000 (Y-axis acceleration, mm/sec^2)
$122 = 10.000 (Z-axis acceleration, mm/sec^2)
$130 = 490.000 (X-axis maximum travel, millimeters)
$131 = 475.000 (Y-axis maximum travel, millimeters)
$132 = 60.000 (Z-axis maximum travel, millimeters)
ok
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok
$X
[MSG:Caution: Unlocked]
ok

** THIS IS WHERE I PRESS THE INITIATE PROBE BUTTON **

G21 G91 G49
G38.2 Z-20 F75
G90 G21
ok

** PROBE TOUCHES, THEN THIS ERROR (SOMETIMES IT DOES THIS TWICE AS IT'S MEANT TO, BUT NOT TODAY **

Error while processing response <[PRB:0.000,0.000,-5.379:1]>ok
ok

** THIS IS WHERE I TRY AGAIN, INITIATE PROBE BUTTON **

$J=G21G91Z10F500
ok

** NOTHING HAPPENS, SO I ISSUE THE FOLLOWING COMMAND AND THE PROBE GOES DOWN **

G38.2 Z-30 F70

** PROBE TOUCHES, THEN THIS ERROR **

Error while processing response <[PRB:0.000,0.000,-5.476:1]>ok

** I ISSUE THE FOLLOWING COMMAND TO SET MANUALLY **

G92 Z19.33
ok

** WHEN I ISSUE THIS COMMAND MANUALLY THE PROBE IS STILL TOUCHING **

z10 F300
(ALARM:4) Probe fail. Probe is not in the expected initial state before starting probe cycle when G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.(ALARM:4) Probe fail. Probe is not in the expected initial state before starting probe cycle when G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.
Error while processing response : An unexpected command was completed by the controller.

@RoadkillUK
Copy link

@winder Here, have another log, this one is verbose (you don't say).

From connection to error.

**** Connected to COM4 @ 115200 baud ****

Grbl 1.1f ['$' for help]

$$
$G
$0 = 10 (Step pulse time, microseconds)
$1 = 25 (Step idle delay, milliseconds)
$2 = 0 (Step pulse invert, mask)
$3 = 0 (Step direction invert, mask)
$4 = 0 (Invert step enable pin, boolean)
$5 = 0 (Invert limit pins, boolean)
$6 = 0 (Invert probe pin, boolean)
$10 = 11 (Status report options, mask)
$11 = 0.010 (Junction deviation, millimeters)
$12 = 0.002 (Arc tolerance, millimeters)
$13 = 0 (Report in inches, boolean)
$20 = 0 (Soft limits enable, boolean)
$21 = 0 (Hard limits enable, boolean)
$22 = 1 (Homing cycle enable, boolean)
$23 = 11 (Homing direction invert, mask)
$24 = 50.000 (Homing locate feed rate, mm/min)
$25 = 1500.000 (Homing search seek rate, mm/min)
$26 = 250 (Homing switch debounce delay, milliseconds)
$27 = 2.000 (Homing switch pull-off distance, millimeters)
$30 = 1000 (Maximum spindle speed, RPM)
$31 = 0 (Minimum spindle speed, RPM)
$32 = 0 (Laser-mode enable, boolean)
$100 = 800.000 (X-axis travel resolution, step/mm)
$101 = 800.000 (Y-axis travel resolution, step/mm)
$102 = 2560.000 (Z-axis travel resolution, step/mm)
$110 = 2500.000 (X-axis maximum rate, mm/min)
$111 = 2500.000 (Y-axis maximum rate, mm/min)
$112 = 500.000 (Z-axis maximum rate, mm/min)
$120 = 30.000 (X-axis acceleration, mm/sec^2)
$121 = 30.000 (Y-axis acceleration, mm/sec^2)
$122 = 10.000 (Z-axis acceleration, mm/sec^2)
$130 = 490.000 (X-axis maximum travel, millimeters)
$131 = 475.000 (Y-axis maximum travel, millimeters)
$132 = 60.000 (Z-axis maximum travel, millimeters)
ok
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok
$X
[MSG:Caution: Unlocked]
ok
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|WCO:0.000,0.000,0.000>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|Ov:100,100,100>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|WCO:0.000,0.000,0.000>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|Ov:100,100,100>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|WCO:0.000,0.000,0.000>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|Ov:100,100,100>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|WCO:0.000,0.000,0.000>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z|Ov:100,100,100>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
[verbose] <Idle|MPos:0.000,0.000,0.000|Bf:15,128|FS:0,0|Pn:Z>
G21 G91 G49
G38.2 Z-20 F75
G90 G21
ok
[verbose] <Run|MPos:0.000,0.000,0.000|Bf:14,120|FS:30,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-0.074|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-0.469|Bf:14,120|FS:75,0|Pn:Z|WCO:0.000,0.000,0.000>
[verbose] <Run|MPos:0.000,0.000,-0.630|Bf:14,120|FS:75,0|Pn:Z|Ov:100,100,100>
[verbose] <Run|MPos:0.000,0.000,-0.822|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-1.071|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-1.321|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-1.571|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-1.820|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-2.070|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-2.320|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-2.569|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-2.819|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-3.068|Bf:14,120|FS:75,0|Pn:Z>
[verbose] <Run|MPos:0.000,0.000,-3.318|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-3.568|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-3.817|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-4.066|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-4.316|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-4.566|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-4.815|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-5.065|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-5.314|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-5.564|Bf:14,120|FS:75,0|Ov:100,100,100>
[verbose] <Run|MPos:0.000,0.000,-5.814|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-6.063|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-6.313|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-6.563|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-6.812|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-7.061|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-7.311|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-7.561|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-7.810|Bf:14,120|FS:75,0|WCO:0.000,0.000,0.000>
[verbose] <Run|MPos:0.000,0.000,-8.060|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-8.310|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-8.559|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-8.809|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-9.058|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-9.308|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-9.557|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-9.807|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-10.057|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-10.306|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-10.555|Bf:14,120|FS:75,0|Ov:100,100,100>
[verbose] <Run|MPos:0.000,0.000,-10.805|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-11.055|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-11.304|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-11.554|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-11.804|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-12.053|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-12.303|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-12.552|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-12.802|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-13.051|Bf:14,120|FS:75,0>
[verbose] <Run|MPos:0.000,0.000,-13.301|Bf:14,120|FS:45,0|Pn:P>
Error while processing response <[PRB:0.000,0.000,-13.243:1]>ok
ok
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|Pn:P>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|Pn:P>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|Pn:P>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|Pn:P>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|WCO:0.000,0.000,0.000>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|Ov:100,100,100>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0>
[verbose] <Idle|MPos:0.000,0.000,-13.375|Bf:15,128|FS:0,0|WCO:0.000,0.000,0.000>

@winder
Copy link
Owner

winder commented Sep 12, 2017 via email

@RoadkillUK
Copy link

@winder I have no idea what you mean, what .bat file, which application. Also WindowsXP. Cheers.

@RoadkillUK
Copy link

I think this is a problem with the hardware (grbl/arduino) as it worked fine after a reinstall but happened again after I reinstated my settings.

@winder
Copy link
Owner

winder commented Oct 13, 2017

@RoadkillUK could you try using the platform build? When the error happens the detailed error message occurs there is an icon at the bottom with the detailed error message I need to investigate this problem. See the screenshot below.

error

@aforww
Copy link
Author

aforww commented Oct 13, 2017 via email

@winder
Copy link
Owner

winder commented Oct 13, 2017

@aforww the ones you sent me were related the SurfaceScanner, which has so many other problems it might have obscured this more specific issue around parsing the probe result. If you're still seeing this issue with singular probes any data you can get me would help. If you can run the G38.2 command manually and reproduce the problem, that would be even better.

@aforww
Copy link
Author

aforww commented Oct 13, 2017 via email

@RoadkillUK
Copy link

@winder Here you go, I just typed in the console G38.2 F50 Z-20 and here is the result..

Imgur files.

winder added a commit that referenced this issue Oct 14, 2017
@winder
Copy link
Owner

winder commented Oct 14, 2017

@RoadkillUK @aforww This should be resolved now, let me know if you continue to see issues with basic probe operations.

@winder winder closed this as completed Oct 14, 2017
@RoadkillUK
Copy link

Problem resolved, thanks. It was nice to be able to Zero without cancelling 2 errors. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants