Unable to run Gcodes from Estlcam in Web control
-
I've just run your config.g file, homing files (with my changes) and print file on my bench system. I didn't see any error messages or large Z movements. But the job completed very quickly.
I notice that the movement amounts in the GCode print file are tiny. I've already commented on the very low feed rate. Are the units supposed to be inches instead of mm? I tried inserting G20 at the start and G21 at the end, so that the values would be interpreted as inches, and the job took around a minute.
-
The print file was from yesterday. I think Estlcam wasn't setup correctly, but now it should be. I just want to test something, to see if it works and then finetune from there. First I want to draw this picture with a pen to see if its square and later I want to try it with the spindle:
Maybe you could try the new test file:
;Project test
;Created by Estlcam version 11 build 11,105
;Machining time about 00:03:30 hoursG90
G00 X0.0000 Y0.0000 Z0.0000
G00 Z5.0000;No. 1: Gravur 1
G00 X100.0000 Y100.0000
G01 Z-0.0100 F1200 S1
G01 Y363.9995
G01 X364.0001
G01 Y100.0000
G01 X100.0000;No. 2: Gravur 6
G00 X100.0000 Y231.9997
G00 Z0.5000
G01 Z-0.0100 F1200
G01 X364.0001;No. 3: Gravur 5
G00 X217.2431 Y248.3160
G01 Z-0.0100 F1200
G02 X253.5093 Y236.6217 I14.7572 J-16.3163
G02 X225.2486 Y211.0614 I-21.5090 J-4.6220
G02 X217.2431 Y248.3160 I6.7517 J20.9383;No. 4: Gravur 4
G00 X206.4779 Y267.8410 Z5.0000
G00 Z0.5000
G01 Z-0.0100 F1200
G02 X275.8010 Y236.1822 I25.5225 J-35.8413
G02 X213.7221 Y191.9760 I-43.8007 J-4.1825
G02 X206.4779 Y267.8410 I18.2782 J40.0237
G00 Z5.0000;No. 5: Gravur 3
G00 X169.7751 Y294.2244 Z5.0000
G00 Z0.5000
G01 Z-0.0100 F1200
G02 X317.0017 Y254.7751 I62.2253 J-62.2253
G02 X209.2243 Y146.9978 I-85.0013 J-22.7760
G02 X169.7751 Y294.2244 I22.7760 J85.0013
G00 Z5.0000;No. 6: Gravur 2
G00 X129.6062 Y315.3036 Z5.0000
G00 Z0.5000
G01 Z-0.0100 F1200
G02 X355.3407 Y279.0238 I102.3942 J-83.3038
G02 X211.0542 Y101.6719 I-123.3403 J-47.0240
G02 X129.6062 Y315.3036 I20.9462 J130.3279
G00 Z5.0000;No. 7: Gravur 7
G00 X232.0004 Y363.9995 Z5.0000
G00 Z0.5000
G01 Z-0.0100 F1200
G01 Y100.0486
G00 Z5.0000
G00 X0.0000 Y0.0000Edit: After the outer square is done the Z axis rises unreasonably high and I get the error message "G0/G1 outside machine limits".
-
I now get "Error: G0/G1: outside machine limits". The reason is this line:
G01 Z-0.0100 F1200 S1
This commands Z to -0.01 which is below the limit of 0 set by your M208 S1 command. If I send M208 S1 Z-1 before I run the job, then it continues at that point.
When it fails, I don't see a Z movement to a high value. Do you have a cancel.g or stop.g file that might be commanding that movement?
-
I already tryed to change the M208 command to: M208 X0 Y0 Z-100 U0 V0 S1, but it doesn't help.
This is cancel.g:
; stop.g
; called when a print is cancelled after a pause.This is stop.g:
; stop.g
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
;
; generated by RepRapFirmware Configuration Tool v2 on Sat Mar 09 2019 22:37:11 GMT+0100 (MitteleuropƤische >Normalzeit)Do you have any other idea what it could be?
-
@3drikat said in Unable to run Gcodes from Estlcam in Web control:
I already tryed to change the M208 command to: M208 X0 Y0 Z-100 U0 V0 S1, but it doesn't help.
Are you saying that with that change, it still gives the "outside machine limits" error? It doesn't on my bench system, when I use Z-1 where you have used Z-100. Did you allow the machine to restart after you saved this change to config.g?
-
@dc42 yes still the same error with either Z-1 or Z-100 and I restarted everytime I changed something in the config.g.
-
@3drikat said in Unable to run Gcodes from Estlcam in Web control:
@dc42 yes still the same error with either Z-1 or Z-100 and I restarted everytime I changed something in the config.g.
That is odd, the whole file works for me. Please try the following:
- Send M208 without parameters, and check that the Z minimum is reported as -100 or whatever you have set it to.
- Try entering the lines of your print one at a time into the GCode Console and see which one is failing.
-
@dc42 said in Unable to run Gcodes from Estlcam in Web control:
- Send M208 without parameters, and check that the Z minimum is reported as -100 or whatever you have set it to.
M208
Axis limits X0.0:731.0, Y0.0:731.0, Z-1.0:108.0, U0.0:731.0, V0.0:731.0Looks fine to me
- Try entering the lines of your print one at a time into the GCode Console and see which one is failing.
;Project test
;Created by Estlcam version 11 build 11,105
;Machining time about 00:03:30 hoursG90
G00 X0.0000 Y0.0000 Z0.0000
G00 Z5.0000;No. 1: Gravur 1
G00 X100.0000 Y100.0000
G00 Z0.5000
G01 Z-0.0100 F1200 S1
G01 Y363.9995
G01 X364.0001
G01 Y100.0000
G01 X100.0000
G00 Z5.0000The error appears in the bold line. The Z axis rises unreasonably high and I have to stop with the emergency stop button.
-
- In your M92 command you specified 200 steps/mm @ x16 microstepping. Is that correct?
- If you send M92 without parameters, does it report that the Z steps/mm is 200?
- If you use the jog buttons to jog Z up 5mm, does it rise the correct amount?
-
@dc42 said in Unable to run Gcodes from Estlcam in Web control:
- In your M92 command you specified 200 steps/mm @ x16 microstepping. Is that correct?
Changed it to 400 steps/mm (T8 screw)
- If you send M92 without parameters, does it report that the Z steps/mm is 200?
Steps/mm: X: 100.000, Y: 100.000, Z: 400.000, U: 100.000, V: 100.000, E: 420.000:420.000
- If you use the jog buttons to jog Z up 5mm, does it rise the correct amount?
Yes, I measured the correct amount with my digital caliper. The difference is only 0,01mm.
-
@3DRikat Please try to use a work piece coordinate system. If you generated G-code with a Z-axis zero position at work piece upper surface, Z-axis will move outside machine limits when the tool dives into the material. Same can happen if your cad design touches X- or Y Axis zero in Estlcam and you add cutter radius compensation. Toolpath will be outside machine limits.
I used following G-code: G10 L2 P2 X5 Y5 Z25 to select 2nd coordinate system and activated it with G55.
-
@radiomodell I tryed it but it was just like before. After the outer square is done the Z axis rises and I have to stop it. There's the error message "outside machine limits".
I really don't know why the Z axis rises so high.
-
@3drikat said in Unable to run Gcodes from Estlcam in Web control:
I really don't know why the Z axis rises so high.
Neither do I!
What happens if you send the commands in that file one at a time from the command line?
-
I got it working now
There was a endstop set for the z axis
; Endstops
M574 X1 S1 C0
M574 Y1 S1 C1
M574 Z2 S1 C2
M574 U1 S1 C4
M574 V1 S1 C3So I changed it to
M574 X1 S1 C0
M574 Y1 S1 C1
M574 Z0
M574 U1 S1 C4
M574 V1 S1 C3and now it's working. Thank you all for your help.