motor not moving
-
@droftarts config.g file
; General G90 ; absolute coordinates M83 ; relative extruder moves M550 P"printer" ; set hostname ; Network M551 P"Raphaelbreton2008" ; set machine password M552 P0.0.0.0 S1 ; configure Ethernet adapter M586 P0 S1 ; configure HTTP ; Motor Idle Current Reduction M906 I30 ; set motor current idle factor M84 S30 ; set motor current idle timeout ; External Drivers M569 P0.0 S1 R0 T5:5:10:0 ; driver 0.0 goes forwards and requires an active-low enable signal (X axis) M569 P0.1 S1 R0 T5:5:10:0 ; driver 0.1 goes forwards and requires an active-low enable signal (extruder 0) M569 P0.2 S1 R0 T5:5:10:0 ; driver 0.2 goes forwards and requires an active-low enable signal (Y axis) M569 P0.3 S1 R0 T5:5:10:0 ; driver 0.3 goes forwards and requires an active-low enable signal (Z axis) ; Axes M584 X0.0 Y0.2 Z0.3 ; set axis mapping M350 X16 Y16 Z16 I0 ; configure microstepping without interpolation M92 X80 Y80 Z400 ; configure steps per mm M208 X0:1200 Y0:200 Z0:200 ; set minimum and maximum axis limits M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min) M203 X6000 Y6000 Z180 ; set maximum speeds (mm/min) M201 X500 Y500 Z20 ; set accelerations (mm/s^2) ; Extruders M584 E0.1 ; set extruder mapping M350 E16 I0 ; configure microstepping without interpolation M92 E420 ; configure steps per mm M566 E120 ; set maximum instantaneous speed changes (mm/min) M203 E3600 ; set maximum speeds (mm/min) M201 E250 ; set accelerations (mm/s^2) ; Kinematics M669 K0 ; configure Cartesian kinematics ; Endstops M574 X1 P"io0.in" S1 ; configure X axis endstop M574 Y1 P"io1.in" S1 ; configure Y axis endstop M574 Z1 P"io2.in" S1 ; configure Z axis endstop
-
@droftarts said in motor not moving:
@zecreton Please post your config.g, send M122 in the console and post the response, and post a picture of how you have wired the external driver.
Ian
-
@zecreton As far as I can tell your wiring looks correct, and so does the config.g. How are you powering the 6XD? By USB? The power wires have no connection.
What commands are you sending? The stepper driver is connected to Driver 0 on the Duet, which you have mapped to the X axis. The X axis has a range of 0 to 1200mm. For the motor to move, it must be homed, or the position set by G92, and any move must be within the axis limits. Alternatively, send
M564 S0 H0
to allow movement of axes that have not been homed, and allow movement outside boundaries. Then try moving the X axis. Are there any messages in the console?How are SW5, SW6, SW7 and SW8 set on the driver?
Ian
-
@droftarts switch 5,6,7 and 8 are off
-
@zecreton i disconnected the power wires for the picture
-
@droftarts i am sending this : g92 [X400]
-
@zecreton said in motor not moving:
@droftarts i am sending this : g92 [X400]
That sets the axis position, but doesn't move the axis. Are you sending anything after that? eg
G1 X500 F1000
. Or move the X axis using the buttons in DWC.@droftarts switch 5,6,7 and 8 are off
I think that's correct.
Ian
-
@droftarts the brake seem to be always on, is that normal?
-
@droftarts still nothing works
-
@droftarts hello?
-
@zecreton Does your motor have a brake? Post a picture of the motor and model number. If the motor does have a brake, you'll need to wire the brake wires to the BRK/PEND outputs of the driver, and change SW8 to off. If there's no brake, the setting of this switch doesn't matter. If you mean that you can't turn it once it's switched on, that probably means it is enabled.
Try switching SW6 to 'on', to enable open loop mode. If there's a wiring problem for the encoder that is stopping the motor turning, this should ignore it.
How are the switches SW1 to SW4 set? Perhaps post a photo of the switches. They should be set for 3200 steps per revolution to match the config.g, ie SW1 to SW4 should be off, off, on, on.
Please list the exact commands you are sending before and while trying to move the axis.
Ian
-
-
@droftarts i am sending G1 X200
-
@zecreton that motor does not look like it has brake.
Have you changed SW1 to SW4 and SW6 as I suggested? What voltage is the power supply you have connected to the driver?
After power on, send the following:
G92 X100
This sets the axis position. In DWC, check that the axis position for X is 100.
G1 X600 F2000
This should move the motor 500mm to X600, and will take 15 seconds (500mm / 2000mm/m = 1/4 minute = 15 seconds). Check in DWC that it reports the axis position at the end of the move as X600.
If this doesn’t work, check for any error messages in the console.Please report what of the above works or doesn’t work, and the reported axis position after each step.
Does the red LED on the driver flash? If so, this signifies an error. See the driver manual to interpret the error code.
3.5 LED Status Lights
There are two LED lights. The GREEN one is the power indicator which should be always on in normal circumstance. The RED one is a alarm status indication light, which will be OFF while working normally but ON and flash some times in a 3-second period in the case of enabled alarm protections.Driver and motor product page and manual: https://www.omc-stepperonline.com/ts-series-12-0-nm-1699-68oz-in-1-axis-closed-loop-stepper-cnc-kit-nema-34-motor-driver-1-cl86t-s120-v41
Ian
-
@droftarts yes i did change the switches, the power supply has a voltage of 24v
-
@droftarts the reported axis position is correct, there is no error anywhere
-
@droftarts but the motor doesn't move at all
-
@zecreton that means that the 6XD is most likely sending the correct signal.
Please answer my other questions.
Ian
-
@droftarts the reported axis position after the first step is 100, and after the second, 600, the reported speed is 33.33mm/s and it takes about 15 seconds
-
@zecreton These questions:
Have you changed SW1 to SW4 and SW6 as I suggested?
What voltage is the power supply you have connected to the driver?
Does the red LED on the driver flash? If so, this signifies an error. See the driver manual to interpret the error code.Ian