motor not moving
-
@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
-
@droftarts yes i did change the switches, the power supply is a 24v and no the red led doesn't flash