X and Y motors not moving
-
Hi there everyone,
I am having issues with the core xy printer that I am building. I am running 3x Z axis Nema 23 motors that are working fine, but the X and Y axis are not. I have tried switching the motors to the Z drivers and they work. Z axis ones do not work on drivers 0 and 1. I have a DueX2 and have put the x and y motors on there and it still does not work. I am thinking it could be something to do with the config. Can someone cast their eye over it and see if they can see anything.
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
M667 S1 ; Select CoreXY mode
;M912 P0 S# CPU Temp; Network
M550 PSam's Printer ; Set machine name
M552 P192.168.1.40 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 goes forwards X Axis
M569 P1 S0 ; Drive 1 goes forwards Y Axis
M569 P2 S0 ; Drive 2 goes forwards Z Axis 1
M569 P3 S1 ; Drive 3 goes forwards Z Axis 2
M569 P4 S0 ; Drive 4 goes forwards Z Axis 3
M569 P5 S1 ; Drive 5 goes forwards Extruder; Motor remapping for dual Z
M584 X0 Y1 Z2:3:4 U3 V4 E5 P6 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5
M350 X16 Y16 Z16:16:16 U16 V16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z400:400:400 U400 V400 E420 ; Set steps per mm
M566 X150 Y150 Z12:12:12 U12 V12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X150 Y150 Z180:180:180 U180 V180 E1200 ; Set maximum speeds (mm/min)
M201 X250 Y250 Z250:250:250 U250 V250 E250 ; Set accelerations (mm/s^2)
M906 X850 Y850 Z1850:1850:1850 U1850 V1850 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 U0 V0 S1 ; Set axis minima
M208 X400 Y400 Z420 U420 V420 S0 ; Set axis maxima
M671 X256.6:-53.6:100 Y239.10:239.1:65.50 S3 ; Define the X and Y coordinates of the leadscrews. Motor order: FR (1), FL (2), RC (3).Snn Maximum correction in mm to apply to each leadscrew (optional, default 1.0); Endstops
M574 X1 Y1 S1 ; X home to min. Y home to max. Normally Closed limit switches.
M307 H5 A-1 C-1 D-1 ; Disable the 4th Heater to free up PWM channel 2 on the Duex board for BL TOUCH.
M574 Z1 S2 ; Define Z to use Probe. Home to Min
M558 P5 X0 Y0 Z1 H5 F120 T6000 ; MUST CHANGE H=== TO SUIT BEFORE RUNNING!!!!!!!!!!!!!!
G31 X0 Y0 Z1.5 P25 ; MUST CHANGE X AND Y OFFSET BEFORE RUNNING AND THEN TUNE Z!!!!!!!!!!!!11
M581 E0 S1 T1 C0 ; invoke trigger 2 when a rising edge is detected on the E1 or E2 endstop input; Define mesh grid
M557 X0:400 Y0:400 S20; Heaters
M140 H1 ; Remap heated bed to heater 1
M305 P0 X200 ; Set PT100 for Hot End
M143 H0 S300 ; Set temperature limit for heater 0 to 300C
M307 H0 A350 C139 D5.5 B0 ; set model parameters for heater 0 and use PID mode
M305 P1 X201 ; Set PT100 Channel 2 to Heat Bed
M143 H1 S130 ; Set temperature limit for heater 1 to 130C
M307 H0 A249.7 C1079.9 D20.0 S1.00 V24.3 B0 ; set model parameters for heater 1 and use PID mode gain 249.7, time constant 1079.9, dead time 20.0,; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 H0 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H0 S"Extruder" ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic power saving
M911 S10 R11 P"
M913 X0 Y0
G91
M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power lossRegards,
Sam -
If you send M584 with no parameters in the console what do you get back?
-
Hi there,
This is what I get:
11:51:28 AM M584
Driver assignments: X0 Y1 Z2:3:4 U3 V4 E5, 5 axes visibleRegards,
Sam -
Can you test without your additional axis defined?
-
Yeah just tried it and nothing.
-
this is what I have in there
M584 X3 Y4 Z2 P3 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5 :0:1 U3 V4 E5
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation :16:16 U16 V16
M92 X80 Y80 Z400 E420 ; Set steps per mm :400:400 U400 V400
M566 X150 Y150 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) :12:12 U12 V12
M203 X150 Y150 Z180 E1200 ; Set maximum speeds (mm/min) :180:180 U180 V180
M201 X250 Y250 Z250 E250 ; Set accelerations (mm/s^2) :250:250 U250 V250
M906 X850 Y850 Z1850 E800 I50 ; Set motor currents (mA) and motor idle factor in per cent :1850:1850 U1850 V1850
M84 S30 ; Set idle timeoutDoes it look correct?
-
I have done some more troubleshooting. When I remap the extruder to one of the x and y drivers it works as it should. I can use the extrude and retract buttons to make the x and y axis to move. When I remap it back, I can not get it to home. The Z axis moves as it should, but the x or y won't move
-
How are you trying to move the motors?
If you send this does the motor move?
G91
G1 S2 X10 F3000 -
Currently I have just been trying to get it to home the axis. I have the homing g code files from the configurator and when I run it, the Z axis shifts up (down in my case being a corexy) and then nothing for the x and y until I push the end stops in. Once I do this, the z axis then moves again. It says that the axis have homed and when I try and shift it, nothing happens.
I will give that a try and let you know.
-
I gave that a go and it doesn't move.
-
@samlogan87 said in X and Y motors not moving:
this is what I have in there
M584 X3 Y4 Z2 P3 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5 :0:1 U3 V4 E5
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation :16:16 U16 V16
M92 X80 Y80 Z400 E420 ; Set steps per mm :400:400 U400 V400
M566 X150 Y150 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) :12:12 U12 V12
M203 X150 Y150 Z180 E1200 ; Set maximum speeds (mm/min) :180:180 U180 V180
M201 X250 Y250 Z250 E250 ; Set accelerations (mm/s^2) :250:250 U250 V250
M906 X850 Y850 Z1850 E800 I50 ; Set motor currents (mA) and motor idle factor in per cent :1850:1850 U1850 V1850
M84 S30 ; Set idle timeoutDoes it look correct?
-
Please clarify: do you have X and Y mapped to drivers 3 and 4 as here, or mapped to drivers 0 and 1 as in the config.g file you listed in your first post?
-
You can send following commands to test the X motor individually:
G91 ; relative movement
G1 S2 X10 F1000 ; move the X motor forward 10mm
G1 S2 X-10 F1000 ; move the X motor back 10mmSimilarly for the Y motor.
-
-
@dc42 said in X and Y motors not moving:
G1 S2 X-10 F1000
Hi there,
Yes sorry it is as the above configuration. I was just making sure in that bit, that it was not a motor issue by mapping it to other drivers. Turns out the motors are fine.
I tried that and nothing. They do not move at all.
I am very confused as they turn when I set them up as extruders and use the retract button on the UI
-
Just on a lark, can you delete the entire line and type it out again from scratch?
-
Yeap I did that.
G1 S2 X100 F1000 and it did not move at all
-
Sorry, I meant the M584 command
-
Also, are you sure the x and y steps per mm are 80?
You said when you switched them to be extruders they worked but the extruder steps are 400. -
Sorry I typed M584 and got
M584
Driver assignments: X0 Y1 Z2:3:4 U3 V4 E5, 5 axes visibleI tried changing the steps per mm to 800 and it just sits there and hums
-
If you replace your m584 command in config.g with just M584 X0 Y1 and nothing else do they work then?
-
Tried that and still nothing. Sounds like it wants to move but it doesn't do anything unfortunately
-
Can you send M906 and verify that the motor currents are being accepted?