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

    Gcode classification by subject

    Scheduled Pinned Locked Moved
    CNC
    5
    10
    482
    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.
    • Clementundefined
      Clement
      last edited by

      Why in home XY different G1 is not execute in my code?

      ; Duet2 Firmware v2.03 Cartesian CNC
      G90
      M669 K0
      M453 S0
      M550 P"CBeam"
      M586 P0 S1
      M586 P1 S0
      M586 P2 S0
      M569 P0 S1
      M569 P1 S1
      M569 P2 S1
      M584 X0 Y1 Z2
      M350 X16 Y16 Z16 I1
      M92X800.0 Y800.0 Z800.0 ;400step/rev
      M566 X300.0 Y300.0 Z300.0
      M203 X2000.0 Y2000.0 Z2000.0
      M201 X150.0 Y150.0 Z150.0
      M906 X800 Y800 Z800 I30
      M579 X0.988 Y0.988 Z0.988
      M84 S10
      M18
      M208 X0:280 Y0:347 Z0:137
      M564 S1 H1
      M574 X2 Y2 Z2 S0
      M558 P0 H5 F120 T2160
      M140 H-1
      M563 P0
      M911 S21.0 R23.0 P"G91G1Z3F1000"
      ; homex
      G91
      G21
      G1 Z20 H1 F500
      G1 X-300 H1 F1800
      G1 X5 F300
      G1 X-10 H1 F300 ;this is not execute?
      G1 Z-20 H1 F500 ;this is not execute?
      G92 X0
      G90
      ; homey
      G91
      G21
      G1 Z20 H1 F500
      G1 Y-360 H1 F1800
      G1 Y9 F300
      G1 Y-10 H1 F300 ;this is not execute?
      G1 Z-20 H1 F500 ;this is not execute?
      G92 Y0
      G90
      ; homez
      G91
      G21
      G1 Z180 H1 F1800
      G1 Z-5 F300
      G1 Z9 H1 F300
      G1 Z-120 F1400
      G92 Z-120
      G90
      ; homeall
      G91
      G21
      G1 Z170 H1 F1800
      G1 Z-5 F300
      G1 Z9 H1 F300
      G1 X-300 Y-360 H1 F1800
      G1 X-5 Y-5 F300
      G1 X10 Y10 H1 F300
      G1 Z-120 F1400
      G92 X0 Y0 Z-120
      G90

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @Clement
        last edited by

        @Clement-B Please can you give a little more information about the issue? One problem is you could be trying to move Z before it is homed

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • Clementundefined
          Clement
          last edited by

          Translate french to english.

          I think I don't understand the M208 command well.
          I think the commands in homex and homey are due to my misunderstanding of M208 ... G92
          There are a few things that I don't quite understand.

          The lengths of the axes of my CNC are: X = 280 Y = 347 Z = 137mm

          For the LSW to be touched by the Z axis by command G1 Z180 H1 F1800.
                                           X G1 X-300 H1 F1800.
                                           Y G1 Y-360 H1 F1800.
          After these 3 commands, my router is at the left limit on the X axis (at the X- limit)
                                                      base limit on the Y axis (at the Y- limit)
                                                      high limit on the Z axis (at the Z + limit)

          I want my Home position to be there for the X and Y axes.
          But for Z, I want the position to be 120mm below the Z limit. So Z-120mm.

          I want my movements work only within the limits of my CNC.

          How I write this in Gcode in my config.g and home_.g files

          And then, if possible, translate my RRF2.03 version into RRF3 version.

          1 Reply Last reply Reply Quote 0
          • Clementundefined
            Clement
            last edited by

            One problem is you could be trying to move Z before it is homed.

            No, because home is before the problem.

            Clementundefined 1 Reply Last reply Reply Quote 0
            • Clementundefined
              Clement @Clement
              last edited by

              @Clement-B

              Clarify, I going to home by the button Home
              and only after it is not possible to moving X & Y in positif place, X+100 Y+100 (example)

              1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators
                last edited by

                I suggest you start with a configuration from the config tool.

                Do the axes stop when the endstops are triggered and do the "Home" buttons turn blue when they stop ? It sounds like your axes are never homed so positioning using the movement buttons is not possible.

                Duet software engineer

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @chrishamm
                  last edited by

                  @chrishamm I think this got resolved in his other thread.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • nickjalldayundefined
                    nickjallday
                    last edited by

                    I bet it's because software e-stops are on enabled and he's commanding it to a negative value.

                    1 Reply Last reply Reply Quote 0
                    • Clementundefined
                      Clement
                      last edited by

                      I start with the forum. I put my problem in the wrong place

                      1 Reply Last reply Reply Quote 0
                      • Clementundefined
                        Clement
                        last edited by

                        Classification Gcode par sujet

                        Ce sujet avec la bonne information ce trouve dans la classification: General Discussion

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