commissioning a new custom 4'x4'x4' printer..have questions



  • Hello All,
    the group helped magnificently to get my RPi4 and Duet3d 6HC to work together. I'm at the point now where I would like to test the motors before I install them on the belt driven XYZ printer frame. Is there a simple and easy way to do this? I have the configtool.reprapfirmware about half set up. Once I know the motors rotate as desired, then I'll install them, the endstops, the pulley wheels, and belts, then take measurements needed in the config tool. Hope all this works! Then comes the steep learning curve called g-code!
    Thanks for any advice or comments,
    Jim


  • Moderator

    This guide may be useful to you at this point in your basic commissioning.

    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+3:+Commissioning/39

    The specifics won't match your printer of course, but the methods would be the same.



  • X Y Z motors won't rotate until homed. Use M564 H0 to override this.

    Extruder motors won't rotate until the associated heater is hot. Lookup "cold extrude" in the doc to override this.


  • administrators

    To test motors individually (incuding on CoreXY, delta etc. machines), first send G91 to select relative mode. Then use G1 H2 commands to move the motors by specified amounts. For example, send G1 H2 X20 to move the X motor in one direction, and G1 H2 X-20 to move it in the other direction.



  • Gentlemen,
    I hope you all are having a great Easter.
    On my PC (Windows 10) I managed to get the config.reprapfirmware.org process to finish w/o errors by deleting all the heaters, tools and the like and generate the files. I was able to download the config zip file to my PC. Then, input the system files into the DWC (raspberry pi) yet, inputting the g-codes you suggested didn't cause any of the motors to turn. I wonder what I may have left out? Any ideas? Thanks, Jim

    IMG_5111.JPG

    these 3 screen shots may help. Also, the x-axis motor is on Driver 1; two Y axis motors are on Drivers 2 & 3, and the two Z axis motors are on Drivers 4 & 5. Yet, I doubt the system knows this.

    IMG_5112.JPG

    IMG_5113 (3024 x 2268).jpg

    Thanks so much for your help...
    Jim



  • Hi everyone,
    I've never used the microsd card. I'm assuming that if I have the config.reprapfirmware.org and the DWC (Rpi4) connected via the router that I don't need to use the microSD card. Also, does the RPi4 and Duet3d update automatically if changes are made on the PC or do I need to the same thing using the RPi4 screen (Not the PC)?:


  • Moderator

    If you use the rpi the duet doesn't need an SD card. That's correct.

    Also, does the RPi4 and Duet3d update automatically if changes are made on the PC or do I need to the same thing using the RPi4 screen (Not the PC)?

    I'm not exactly sure what you mean by that. If you mean that you're making changes to config.g through the web interface, then that's all you need to do. Those changes get saved to the rpi which is in communication with the duet.



  • Thanks Phaedrux, that helps a lot. So, to be clear I don't need the microSD card in the Duet to make the system work?
    Still trying to figure out why the motors aren't being activated by the g-codes while trying to test them. Any ideas?


  • Moderator

    You only need the SD card in the Duet when running in standalone mode without the Pi.

    Are you sending a command to set the axis as homed before trying to move them? They won't move unless in a homed state. For testing, you can send M564 H0 S0 which will allow you to jog the axis as much as you want, but be careful because it won't stop itself at the physical limits.



  • Presently, the motors are sitting on my work table, not installed in the printer.
    I've run M65 H0. then G91. Followed by G1 H2 X20 and Y20 and Z20. And, then M654 H0 S0 followed by G91, then G1 H2 X10, and Y10 and Z10. The microSD card is not installed in the Duet. The RPi4 is connected to the router via Lan Cable.
    Now movement when directed by the PC or when doing the same on the RPi4 screen. Its a mystery!
    Here is the PC screen:
    IMG_5115.JPG



  • Opps bad typing its M564


  • Moderator

    Try sending G92 X100 Y100 Z100
    That will force the axis as homed and at the 100mm position. You should then be able to use the job buttons in DWC?

    What versions of firmware, dwc and pi framework are you using? I'm thinking you may have some updating to do, if you're not already up to date.



  • Greetings Phaedrux,
    M115 on my PC raspberrypi (DWC) gave back the following:

    FIRMWARE_NAME: RepRap Firmware for Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet 3 MB6HC FIRMWARE DATE: 2020-01-03b3.

    The Duet/Pi/24vMeanwell-PS are all on and appear to be running ok.

    Nothing happened with G92 and G92 X100 Y100 Z100. I did it from the PC and on the RPi4 screen.
    It just shows a green table on the screen with the code that was input and a check mark.

    Thanks for your help and sticking with me.
    What next?
    Jim


  • Moderator

    @Jim46 said in commissioning a new custom 4'x4'x4' printer..have questions:

    Nothing happened with G92 and G92 X100 Y100 Z100. I did it from the PC and on the RPi4 screen.

    Yes, but afterwards were you able to use the jog buttons?



  • Hi,
    I re-ran the RRF Config tool again and update the files into the raspberrypi (DWC) then re-ran the g-code sequence
    M654 H0
    G91
    G1 H2 X20 and Y20 and Z20
    then
    G2 X100 Y100 Z100
    No movement.
    tried the jog buttons also, no movement
    did get pink tab errors:
    G2 X100 Y100 Z100 error: code has been cancelled
    G2/G3: no I or J or R parameter

    what does this tell you?


  • Moderator

    @Jim46 said in commissioning a new custom 4'x4'x4' printer..have questions:

    did get pink tab errors:
    G2 X100 Y100 Z100 error: code has been cancelled
    G2/G3: no I or J or R parameter
    what does this tell you?

    With this one I think you meant G1. G2 is an arc move that needs additional parameters to define the arc.

    Are you sure the motors are connected correctly? Do you hear any sound from the motors? Does it change when you send G92 X100 Y100 Z100? I believe that should energize them.

    I think at this point it's probably going to be a good idea to update the firmware and pi environment. Have you done any updates thus far?



  • HI Phaedrux,
    Not sure about...
    "a good idea to update the firmware and pi environment. Have you done any updates thus far?"
    Today, I re-ran the RRF configtool.reprapfirmware tool. It gave me similar files to those shown on my 12 April post. I uploaded them on my PC to what I think is the DWC screen labeled as raspberrypi.

    The raspberrypi system files show everything except Duet files as 4/15/2020: 6:15pm. The Duet files are all 3/16/2020.
    Is this the update of the Duet you are referring to? I'm very new at this.

    On the Pi screen, I did sudo apt update and downloaded package information from all configured sources, I hope the system knows what the latest updates are.

    then I ran sudo apt full-upgrade it then download all the updates and installed them, I hope.

    I waited (it seemed pretty quick on the Pi screen) for the updates to be installed on the PC raspberrypi screen (DWC?).

    Do you have to re-run the RRF Configtool.reprapfirmware.com each time you try to run the raspberrypi (DCW)? do the files have to be unzipped or does it do it automatically when downloaded to the raspbeerypi system on the PC? I set the system size again 0-1000mm on all three axes. set the steppers to belt drives at 53.33 on all axes. deleted all the tools, I hope.

    At any rate, I did it again on the PC and ran the g-codes
    M564 H0
    G91
    G1 H2 X20 and Y20 and Z20...no movement yet
    G92 X100 Y100 Z100
    then tried the jog motion buttons...no movement
    I seem to have a new message on the system page... Drive is Unmounted...what does that mean?
    I'm trying to upload 2 pics of my screens... Having server parsing errors...
    Ill try it later



  • @Jim46 said in commissioning a new custom 4'x4'x4' printer..have questions:

    I hope the system knows what the latest updates are.

    Yes, and no. There are two sources of updates. run grep duet3d -r /etc/apt to check which one(s) you're using. You can also run apt list 2>/dev/null | grep duet to list all the relevant version numbers currently installed.


  • Moderator

    @Jim46 said in commissioning a new custom 4'x4'x4' printer..have questions:

    I'm very new at this.

    And you've jumped right into the deep end to boot!

    It may be easier if you set the rpi aside for the moment and tried to get the Duet 3 setup in standalone mode. Once you have commissioned the machine, you can re-integrate the rpi, by then there will likely be some more stable and fully featured versions available.



  • Hi All,
    thanks for all the comments and advice. I'll see if I can run the Duet3D 6HC on its own. Do I have to install the microSD card to do this. Or, if I have the Duet connected to the router would it be easier to get working?
    Here are the screen shots I hope
    Nope: Error
    Something went wrong while parsing server response.


  • Moderator

    Yes, to run the Duet 3 in standalone mode you would need a SD card (formatted as fat32) in the Duet 3 SD card. It would need your config.g and all the other files present. The Duet 3 would be connected to your network via the ethernet port. You would connect to it via the DWC using the duet name or IP address provided by the router.

    For the photos, can you try dragging them onto the forum post window, or even copy pasting them? That may work. Otherwise you may be able to put them on dropbox or google drive and sharing a link to them here.



  • my pic file sizes are half the size limit 4096 kB and yet I am still the error: Something went wrong while parsing server response. I'll try other methods.


  • Moderator

    color-8.jpg

    test upload


  • Moderator

    Seems to work for me on chrome on a mac. What browser are you using?



  • @Jim46 said in commissioning a new custom 4'x4'x4' printer..have questions:

    Something went wrong while parsing server response.

    I get this about 50% of the time lately. Refresh the page and retry works 11 of 10 times in my case. Also using chrome.


Log in to reply