Unable to run Gcodes from Estlcam in Web control
-
@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.