Limit axe problem.
-
Configuration of limits axe not working correctly?
I have a CNC and I am using Duet ethernet. (Cartesian)
Home routines work good.
But when the CNC moves for example on the X axis (G21, G1 X250 F1800)
The CNC stops at always at 203mm and not 250mm?
The maxima is 203mm, but I write X279.4
M208 X279.4 Y346.075 Z136.525 S1;================================
; homez.g
G91 ; relatif
G1 Z-145 F1800 S1 ; Homing speed 30mm/s*60=F1800mm/minute Z 136.525mm=5 3/8" 5.375"
G1 Z4 F300 S2
G1 Z-7 F300 S1
G92 Z0 ; reset origin
G90 ; absolue; homex.g
G91 ; relatif
G1 Z5 F2160 S2 ; Homing speed 36mm/s60=F2160mm/minute
G1 X-285 F1800 S1 ; Homing speed 30mm/s60=F1800mm/minute X 279.4mm=11"
G1 X4 F300 ; Homing speed 36mm/s60=F2160mm/minute
G1 X-7 F300 S1 ; Homing speed 6mm/s60= F360mm/minute
G1 Z-5 F2160 S2 ; lower Z again
G90 ; absolue; homey.g
G91 ; relatif
G1 Z5 F2160 S2 ; Homing speed 36mm/s60=F2160mm/minute
G1 Y-355 F1800 S1 ; Homing speed 30mm/s60=F1800mm/minute Y 346.075mm=13 5/8" 13.625"
G1 Y4 F300 ; Homing speed 36mm/s60=F2160mm/minute
G1 Y-7 F360 S1 ; Homing speed 6mm/s60= F360mm/minute
G1 Z-5 F2160 S2 ; lower Z again
G90 ; absolue;config.g
;...
; Drives
M569 P0 S0 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M584 X0 Y1 Z2 ; set drive mapping
M350 X16 Y16 Z16 I1 ; configure microstepping with interpolationM92 X800.00 Y800.00 Z800.00 ; set steps/mm
M579 X0.988 Y0.988 Z0.988 ; 300/303.6=0.98814 Calibration (en mode cartesian-> 300mm=longueur demander, 303.6mm=longueur réel)
M669 K0 ; (before M671) info for kinematics K0=cartesianM566 X300.00 Y300.00 Z300.00 ; set maximum instantaneous speed changes 5mm/s60= 300mm/min
M203 X2520.00 Y2520.00 Z2520.00 ; set maximum speeds 42mm/s60=2520mm/min
M201 X150.00 Y150.00 Z150.00 ; set accelerations 150mm/s^2
M906 X800 Y800 Z800 I30 ; set motor currents 800mA/bobine & motor idle 30%
M84 S10 ; Idle stepmotors after 10 seconds of inactivity.; Axis Limits
M208 X0 Y0 Z0 S0 ; Limit min axe=S0 X-> 279.4mm= 11" Y-> 346.075mm= 13 5/8" Z-> 136.525mm= 5 3/8"
M208 X279.4 Y346.075 Z136.525 S1 ; Limit max axe=S1 13.625" 5.375"
M564 H1 S1 ; H1=mov need set Home. H0=mov unNeed set Home. S1=use M208. S0=unused M208->LIMIT
; Endstops
M574 X1 Y1 Z1 S0 ; endstops XYZ 0=none,1=low_end,2=high_end S 0=active_low_endstop,1=active_high_endstop,2=Z_probe,3=motor_load_detection;...
-
@Clement-B said in Limit axe problem.:
M208 X0 Y0 Z0 S0 ; Limit min axe=S0 X-> 279.4mm= 11" Y-> 346.075mm= 13 5/8" Z-> 136.525mm= 5 3/8"
M208 X279.4 Y346.075 Z136.525 S1 ; Limit max axe=S1 13.625" 5.375"I think you have those reversed.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M208_Set_axis_max_travel
Snnn 0 = set axis maximum (default), 1 = set axis minimum
-
thank you, this is resolve