Large Scale printer - Test of stepper motor



  • Hi

    I am currently designing a large scale printer for which i'm using external drivers and the Duet 2 Wifi Board + Breakout Board. Currently i am testing to see how the board works and how the stepper drivers work, but i cannot get the motor to run. Every time i send a G0 command it returns with "G0/G1: Insufficient axes homed. The command M564 H0 S0 which should solve the problem does nothing.
    I there something i'm missing, or is it simply impossible to test the stepper motor without having the rest of the printer hooked up?

    0_1555327740276_329266a6-0a31-4c0a-bef1-f20c314a4fa0-image.png

    Best regards
    Andreas



  • try relative moves with G91



  • For homing routines you need to add S2 in any G0 / G1 commands that moves an axis before it is homed.

    For testing move the head/platform to some where where it can move in all directions then tell the machine it is at a specific location such as (10,10,10) with G92:

    G92 X10 Y10 Z10

    This will let you move the axis (go small distances and slow to start) before you are ready to launch into setting up and testing homing routines.



  • You could quite easily bench test the electronics with the limit switches and probes loose if you wished. Get direction sorted then write a rough homing routine and prod the switches at appropriate times to give you some confidence in the macros. To be fair though it's not that bad on the machine if you take it easy.



  • Hi Everyone

    Thank you for the answers. This is the setup i am using at the moment. The printer is designed but not build at the moment.

    0_1555329134799_IMG-2099.JPG

    Using the G0 Xnnn S2 code, the warning disappears as it should, but the stepper motor is not moving still. I have the driver hooked up the the breakout board on port E2, number 5. I then use the M584 X5 to set the x-direction to this port.
    With this and the S2 addition to G0 i would expect the motor to start turning.


  • administrators

    To test stepper motor individually, send G91 to select relative mode, then use G1 S2 moves.



  • I'm not expecting to be any help but others will need to see the motors section of your config file including acceleration, instantaneous speed, direction, max speed, steps per mm and the feed rate that you have been trying to use.



  • This might be a really stupid question. I have the board hooked up to my laptop now, and the stepper driver directly to the wall, but does the board need more power than what my laptop can provide to send the signal?



  • @eplov : you need to supply VIN voltage to drive the onboard stepper motor drivers, not sure about external drivers though...



  • @whosrdaddy Yeah that makes sense in my head too. If i need to run stepper motors of the build in drivers then i would need extra voltage, but given that the stepper driver is hooked directly up to the wall, and the board only has to output a digital signal i do not know if i needs more voltage.


  • administrators

    It sounds that you are using an external stepper driver. How have you connected it to the Duet?


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.