• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Unable to run Gcodes from Estlcam in Web control

Scheduled Pinned Locked Moved
Duet Web Control
5
26
2.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dc42 administrators @3DRikat
    last edited by 16 Mar 2019, 14:07

    @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?

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    undefined 1 Reply Last reply 16 Mar 2019, 14:27 Reply Quote 0
    • undefined
      3DRikat @dc42
      last edited by 3DRikat 16 Mar 2019, 14:27

      @dc42 yes still the same error with either Z-1 or Z-100 and I restarted everytime I changed something in the config.g.

      undefined 1 Reply Last reply 16 Mar 2019, 14:53 Reply Quote 0
      • undefined
        dc42 administrators @3DRikat
        last edited by 16 Mar 2019, 14:53

        @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:

        1. Send M208 without parameters, and check that the Z minimum is reported as -100 or whatever you have set it to.
        2. Try entering the lines of your print one at a time into the GCode Console and see which one is failing.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • undefined
          3DRikat
          last edited by 16 Mar 2019, 15:05

          @dc42 said in Unable to run Gcodes from Estlcam in Web control:

          1. 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.0

          Looks fine to me

          1. 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 hours

          G90
          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.0000

          The error appears in the bold line. The Z axis rises unreasonably high and I have to stop with the emergency stop button.

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 16 Mar 2019, 15:41

            • 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?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            undefined 1 Reply Last reply 16 Mar 2019, 16:01 Reply Quote 0
            • undefined
              3DRikat @dc42
              last edited by 16 Mar 2019, 16:01

              @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.

              1 Reply Last reply Reply Quote 0
              • undefined
                radiomodell
                last edited by 16 Mar 2019, 19:50

                @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.

                undefined 1 Reply Last reply 17 Mar 2019, 20:39 Reply Quote 0
                • undefined
                  3DRikat @radiomodell
                  last edited by 17 Mar 2019, 20:39

                  @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.

                  undefined 1 Reply Last reply 18 Mar 2019, 18:21 Reply Quote 0
                  • undefined
                    dc42 administrators @3DRikat
                    last edited by 18 Mar 2019, 18:21

                    @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?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      3DRikat
                      last edited by 21 Mar 2019, 11:43

                      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 C3

                      So I changed it to

                      M574 X1 S1 C0
                      M574 Y1 S1 C1
                      M574 Z0
                      M574 U1 S1 C4
                      M574 V1 S1 C3

                      and now it's working. Thank you all for your help.

                      1 Reply Last reply Reply Quote 0
                      26 out of 26
                      • First post
                        26/26
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA