Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. doigal
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    doigal

    @doigal

    0
    Reputation
    2
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    doigal Unfollow Follow

    Latest posts made by doigal

    • M408 for CNC

      Hi All,

      I am almost finished building my CNC (a lowrider) which has a duet 2 mounted onto one of the gantries. The duet has made many things super easy (multi steppers/endstops have been a breeze), and is a massive step up against RAMPS. The long term aim is for this to be controlled by a raspberry pi running a browers and talking via wifi in AP mode.

      Id like to have a physical display (7 segment LEDs) for the machine and work coordinates, spindle status, leds for the homed status, etc.

      My understanding is that sending M408 (probably with S2) would give me most of this info, but not all of it at this stage.

      Questions:
      Is there a way to get this from DWC directly rather than making another call to the duet?
      Is there a flag in M408 that says what the current WCS is?
      Any chance spindle data (on/off, speeds/etc) will be supported on a future edition of M408?
      Can anyone see a better way to do this?

      Thanks in advance!

      posted in CNC
      doigalundefined
      doigal
    • RE: Duet for Lowrider CNC

      Just a quick update, I ordered one from the local swedish reseller, and 10 minutes after getting it out I had it working on a test bed for dual endstops, exactly as expected! I'm not sure anything has been so simple before!

      This is just a simple spinner, which plugs into Y and E0. E0 is defined as axis U, and the config file has M584 Y1:3 U3 to join them at the hip. The homing file seperates them again, and homes them both individually. Its purely for me to learn how it works in practice.

      So far it works perfectly!

      0_1543163810585_IMG_4136.jpg

      posted in General Discussion
      doigalundefined
      doigal
    • RE: Duet for Lowrider CNC

      @dc42 said in Duet for Lowrider CNC:

      The VFD manual says that MODBUS is implemented over RS485. So one option would be for you to connect an RS485 transceiver to the PanelDue port, wire that to the VFD, and modify RepRapFirmware to send the required MODBUS commands to that port.

      So basically what you are saying is that its possible? perfect!

      I know that it can be done as a 0-10v input (the 'analog' method), i think thats been discussed here before.

      posted in General Discussion
      doigalundefined
      doigal
    • RE: Duet for Lowrider CNC

      @t3p3tony The manual (a manual at least) talks about it towards the end:
      http://www.cnczone.ru/forums/index.php?act=attach&type=post&id=4180

      Theres some other links about it here as well.
      http://fightpc.blogspot.com/2014/10/vfd-control-with-arduino-using-rs485.html
      https://www.cnczone.com/forums/phase-converters/91847-software.html

      I dont have one in my hands to play with, im still working out how much the lowrider CNC would need to be modified to fit the spindle in.

      posted in General Discussion
      doigalundefined
      doigal
    • RE: Duet for Lowrider CNC

      Thanks for all the replies!

      @dc42 said in Duet for Lowrider CNC:

      @doigal, from my research into ModBus I see that it normally uses either Ethernet or async serial at the hardware level. Which one do those VFD controllers provide?

      Im honestly not that sure and cant claim to know much about the protocol. My plan was to use a Huanyang style VFD from alibay, and they seem to be able to be controlled via either analog or modbus. I know I'll end up with long wire runs from the duet to the VFD, so was hoping to use digital rather than analog.

      posted in General Discussion
      doigalundefined
      doigal
    • Duet for Lowrider CNC

      Hi all,

      At some point next year I hope to be building a lowrider style CNC machine. (See https://www.v1engineering.com/the-lowrider2-cnc/ ) I'm currently hunting around for parts, and just want to check a couple of things before ordering a Duet to run it all.

      1. Spindle control. I plan to use one of the Chinese VFD controllers, which requires either 0-10v or MODBUS input. I know the 0-10v can be achieved via an external module (this was discussed on another thread) but is there any way to do modbus?

      2. Endstops. I plan to use dual endstops on the Y and Z axis, by running them on separate drivers and virtual axis (U and W) and constraining the machine to three visible axes. I think this has been discussed before, and I'm reasonably sure I have the config code in my head for this. My question is - can duet also support a max endstop to serve as a limit switch? I know that I could set soft endstops, but they only work if the machine is homed every time. Whilst that will probably be the norm I don't want to be forced to do it.

      3. Z end stops. Kinda further to the second question. I want to home to Z max on both Z axes, and then I need to have a touch probe (Contact on the tool to a touch plate of known height) - effectively a zmin probe for tool height but after a z max homing for squareness. Is this possible using the z probe connection? I believe this is refered to as mode 5, I want to make sure that this and the Z max is possible.

      Thanks, sorry if any of these are silly questions!

      posted in General Discussion
      doigalundefined
      doigal