Gcode classification by subject



  • 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


  • administrators

    @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



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



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

    No, because home is before the problem.



  • @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)


  • administrators

    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.


  • Moderator

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



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



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



  • Classification Gcode par sujet

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


Log in to reply