Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order
    1. Home
    2. tjb1
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 103
    • Best 2
    • Groups 0

    tjb1

    @tjb1

    5
    Reputation
    12
    Profile views
    103
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tjb1 Follow

    Best posts made by tjb1

    • ESP8266 Controlled Display Project Log

      I'm currently working on adding an LCD to my printer. I've read a bit about the pins being available on the board but no firmware support and I lack the knowledge to change the firmware so I'm doing the next best thing!

      I'm going to attach that LCD to an ESP8266 and use the HTTP commands to control the printer, the only connection to the Duet will be power/ground. So far I've got to the point where I can parse status 1 and 2, print those values to serial, and turn the fan on/off based off axis position - no real use yet I was just testing reading values and sending g-code.

      alt text

      I have built a torch height control for my plasma cutter with a similar display but I really struggled with making a menu in Arduino - if you are interested in seeing how I did it go here and for a video of it in action go here and an older video of navigating/working the display before I added more values is here.

      Once I get it working I'll roll a pcb to allow easy attachment to the display, here's the board for the plasma cutter alt text

      I'm doing this because I would like to learn more about the ESP8266 and it seems like a cheap solution to getting a cheap LCD working with the Duet without firmware/hardware changes. If anyone is interested in helping with the LCD, JSON parsing, or just the project in general please let me know!

      posted in General Discussion
      tjb1
      tjb1
    • RE: Creality CR-10 upgrade

      I changed the text in Quoted Strings and added a note to M98 to reflect this.

      posted in Duet Hardware and wiring
      tjb1
      tjb1

    Latest posts made by tjb1

    • RE: BlTouch not responding to commands?

      @phaedrux said in BlTouch not responding to commands?:

      @tjb1 Ideally your printer should be configured to use a left hand cartesian coordinate system

      0_1542214160026_Cartesian-coordinate-system.png

      So if the offset is to the left or below the nozzle it will be negative value. If it is to the right or above it will be a positive value.

      Thank you, I think that would be a good picture to add to the G31 command in the wiki.

      posted in General Discussion
      tjb1
      tjb1
    • RE: BlTouch not responding to commands?

      @phaedrux said in BlTouch not responding to commands?:

      To get accurate probe results, the Duet needs to know how far the BLTouch is from the nozzle in X and Y. To measure this, place a piece of paper on the bed and use tape to hold it in place. Move the nozzle down until the it touches the paper and leaves a small imprint. Make note of the current X and Y coordinate. Use a marker to make the spot clearly visible. Now jog the print head in X and Y until the BLTouch pin is on the exact spot you marked. Make note of the new X and Y coordinates. The difference between the two will be your X Y offset in the G31 command.

      How do you know which sign to use on the offset?

      posted in General Discussion
      tjb1
      tjb1
    • RE: Firmware 2.02 Release candidate 3 now available

      Now that 12864 support is in the firmware does that mean it will work on a Duet WIFI/Ethernet?

      posted in Firmware installation
      tjb1
      tjb1
    • RE: Firmware 2.02 Release candidate 3 now available

      @garyd9 said in Firmware 2.02 Release candidate 3 now available:

      @bluedust

      WARNING: What follows is a WAG. Well, and educated WAG, but still a guess.

      I wonder what the actual gcode DWC is sending - in particular if its actually sending a M290 R0 or M290 R1.

      I wonder this because there's a commit that appears to be functionally different for R0. Previously, it would call PushBabyStepping(val - current). Now it's calling PushBabyStep(val)

      I really don't understand the code I'm looking at, and my initial impression is that this change fixes a bug where the absolute mode (R0) was doing relative changes instead of absolute changes.

      You can see what DWC is sending the Duet by opening the Developer Tools for your browser (usually F12), select the Network tab and then click any of the buttons and you'll see something along the lines of http://ip_address/rr_gcode?gcode=

      posted in Firmware installation
      tjb1
      tjb1
    • RE: Bl-touch re-deploy after probing or z homing

      Would this include it randomly falling in the middle of a print or is that a different issue?

      posted in General Discussion
      tjb1
      tjb1
    • RE: Bl-touch re-deploy after probing or z homing

      I had this same issue with a BLTouch from TriangleLab. It would deploy, touch the bed, retract, and then shoot back out and retract again. It also fell down in the middle of the print several times causing it to keep catching on the print and if it didn't fall all the way it would error out. I tried rewiring it (including pulling the wires away from the stepper/heater wires) and even mode 9 with no success. I don't know if it's because it's a clone or not but I took it off and switched to piezo.

      posted in General Discussion
      tjb1
      tjb1
    • RE: Nozzle can't fall to 60°C

      @jul said in Nozzle can't fall to 60°C:

      M106 P0 S1.0 L1.0 I0 F500 H1 T60 works well for keeping my fan alive until temperature reached
      Thx
      As I don't already have my relay, I can't test the M81 command. I'll test as soon as I can

      Why do you have the G4 S300 and M116?

      posted in General Discussion
      tjb1
      tjb1
    • RE: Make use of variables

      @dc42 I would say most of industry is accustomed to Fanuc Custom Macro B and might be a good standard to follow if you are looking for industry support.

      Sometimes its a bit convoluted to do loops or proper if statements but it works. Something I use in my programs to calculate a loop variable based on a hole diameter is below

      IF[#510NE#4115]THEN#3000=1(LOAD WORKSHIFTS) - #3000=1 is program ending alarm
      IF[#504EQ0]GOTO7 - Will skip ahead in program to line N7
      IF[#507EQ0]GOTO7
      #100=.5
      #101=.45
      IF[#500GE#100]THEN#3000=1(ORDER HOLE TOO LARGE)
      IF[#500GT.35]THEN#101=[#500+.1]
      #102=#100-#101
      #103=FIX[#102/.012](NUMBER OF PASSES ROUNDED DOWN)
      #104=[#102MOD2](EVEN-ODD TEST)
      IF[#104EQ0]THEN#105=#103+2(EVEN PASS)
      IF[#104NE0]THEN#105=#103+1(ODD PASS)
      #106=[#102/#105](NEW DEPTH OF CUT)
      #105=#105/2(DOUBLE PASS SPLIT)

      and then the while loop that uses it

      #107=0
      WHILE[#107LT#105]DO1
      G1 U-[#106] F6.
      Z-1.0
      U-[#106] F1.
      Z.0625 F6.
      #107=#107+1
      END1

      #100-#199 variables are called common and are typically cleared at program end/reset, this can be changed on some machines by changing a parameter in the control

      #500-#999 are maintained between programs and power cycles

      #1000 and above are typically machine variables that can be read (and sometimes modified) but these are defined in the Fanuc Operation and Maintenance handbook for the control. On Fanuc 16i/18i/21i (and possibly more) #5021-#5028 will give you the machine coordinate for the respective axis (X, Y, Z, etc...) while #5041-#5048 will give you the workpiece coordinate for the respective axis. In the above sample #4115 is the currently loaded program number.

      This is a good reference for Fanuc Custom Macro B that I use at work, it also goes pretty deep into bitwise operations available on Fanuc.

      posted in Firmware wishlist
      tjb1
      tjb1
    • RE: Nozzle can't fall to 60°C

      @jul said in Nozzle can't fall to 60°C:

      ok for my fan, I will give it a try.
      Is there a way to do something when the fan shutdown? I want my printer to blow until 60°C is reached then turn the printer off

      You can use M81 S1 per https://duet3d.dozuki.com/Wiki/GCode#Section_M81_ATX_Power_Off or if you aren't using M81 I assume something like the following would work as well?

      M106 P0 S0.0 I0 F500 H1 T60 ;Change fan P0 to thermostatic control with 60C target
      G10 P0 R60 S60 ;Set tool 0 to 60C Standby/Active temperature
      M116 ;Wait for temperature
      G10 P0 R0 S0 ;Set tool 0 heaters off - needs confirmed
      *Command to shutdown here*
      
      posted in General Discussion
      tjb1
      tjb1
    • RE: Nozzle can't fall to 60°C

      @jul said in Nozzle can't fall to 60°C:

      Just for be clear:
      P0 (wich I want to wait until asked temperature) is the fan wich blow on my print, so I want to manage speed on the slicer, not themostatic.
      But I can maybe put your command in my slicer's end script after M104 S0 ?

      Yes if you place M106 P0 S0.0 I0 F500 H-1 in the starting g-code (this is needed in the starting g-code to reset the fan to g-code control if you don't reset Duet between prints) it should allow that fan to be controlled with g-code like a normal print fan then when you reach the end (ending g-code) you should be able to place M106 P0 S0.0 I0 F500 H1 T60 and the fan will stay on until 60C is reached.

      posted in General Discussion
      tjb1
      tjb1