BLV Mgn Cube Motion



  • I just finished the Hardware build and connected my Duet 3. Can't seem to get the motion to work correctly. Lots of grinding sounds. No motion.

    Config.g
    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 16 2020 08:02:01 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes forwards
    M569 P0.1 S0 ; physical drive 0.1 goes forwards
    M569 P0.2 S0 ; physical drive 0.2 goes forwards
    M569 P0.3 S0
    M569 P0.4 S0
    M569 P0.5 S0 ; physical drive 0.3 goes forwards
    M584 X0.0 Y0.1 Z0.2:3:4 E0.5 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm
    M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X9000.00 Y9000.00 Z480.00 E3600.00 ; set maximum speeds (mm/min)
    M201 X2500.00 Y2500.00 Z20.00 E1000.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X330 Y330 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in
    M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
    M558 P9 C"^io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds height + speeds
    G31 P500 X-40 Y-10 Z6 ; set Z probe trigger value, offset and trigger height
    M557 X50:260 Y50:260 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4008 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"temp1" Y"thermistor" T100000 B3950 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S300

    ; Fans
    M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
    M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency
    M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 F0 ; 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

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    M501


  • Moderator

    Can you post the results of M122?
    Are you on firmware 3.1.1?
    Are you getting any error messages?
    Are the motor phases wired correctly?
    Are you motor currents set correctly?
    Does the motion system move smoothly when disconnected from the motors?
    How are you trying to move the motors?



  • I am using 3.1.1. Everything moves fine when the machine is turned off. I have the motors set at 800. Checking with the manufacturer on what it should be. M112 says
    8/10/2020, 6:28:50 PM m112
    8/10/2020, 6:28:50 PM Emergency stop, attemping to reconnect...
    8/10/2020, 6:28:50 PM Warning: Firmware halted
    8/10/2020, 6:28:14 PM Warning: M307: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 667C



  • @Phaedrux I used the wires that came with the stepper motors. I now have the specs for them. I'm sure some of the issues are coming from using 3 z motors.
    Phase A 1.7 Phase B 1.5 Inductance 2.8. From the stepper motor manufacturer. Not sure what I should change them to.



  • Grinding noise and no motion is what happened to me when I had motors working against each other or didn't have the two coils hooked up correctly.

    I would start by unplugging one motor at a time and then moving a little bit in each direction just to see that the motor responds.

    And make sure you have the two coils properly identified -- DONT go by wire color. The BLV MGN instructions based on color has lead many astray -- there is no standard for color or order



  • @I_Jedi I bought a kit and it can with wires already with ends on them... So I am just assuming the are correct.


  • Moderator

    M112 is emergency stop. M122 is diagnostic report.

    Use this method to identify your motor phase pairs. Each phase should be connected to either side of the motor connector.

    https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

    For the stepper motor current you should target to use between 60-85% of their rated max current.

    Make sure you don't unplug the motors while the board is powered.

    @mrenz999 said in BLV Mgn Cube Motion:

    So I am just assuming the are correct.

    There is no standard. If the motors came with a spec sheet that shows the wire pairs, then make sure you are wiring those pairs correctly to the board. If it doesn't show which pair is which wires, use the test linked above.

    And here: https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Using_the_internal_drivers



  • Adding my voice to the recommendations to test your motor phases. My BLV cube kit came with inconsistent wire colors on the motors and I burned out one of my Duet2 drivers before I learned better!

    I also think it’s likely that you have motors working against each other. Try (IIRC) G1 Y20 F500 S2 and see if just one motor turns.



  • @Phaedrux Ok. You were of course correct. Rewired the stepper motors. Going through the setups to get the motors working together correctly. Right now when I go to home x it heads for y home. And then on to getting the 3 Z motors to work together.



  • @mrenz999 Congrats!! πŸ‘ And you didn't even burn a driver out in the process. πŸ˜…



  • @whopping-pochard I sure hope not LOL



  • @mrenz999 If you're homing is messed up you need to verify your drive assignments in config.g and your wiring on the physical board.

    Have you checked the BLV Facebook page? I'm a moderator on the page and there's a lot of good information on there.



  • @dhusolo I have everything homing correctly now. Thank you. I will go to the facebook though. I am now messing with getting the triple z motors working together. Also, I need to figure out setup correctly for speeds, steps and amps for the motors. One step at a time. Too much work and not enough time to play lol.



  • @mrenz999 what turned out to be the issue, in case someone with the same problem stumbles across this months/years from now...



  • @I_Jedi Phases of the motors were in fact wrong. It was pin 1 and pin and 3 and 2 and 6 that were the 2 phases.



  • @mrenz999 good job tracking that down!


Log in to reply