Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Aitor
    3. Best
    • Profile
    • Following 4
    • Followers 0
    • Topics 39
    • Posts 181
    • Best 17
    • Controversial 0
    • Groups 0

    Best posts made by Aitor

    • RE: [3.4b3] Homing to negative Y doesn't work

      Good morning @diamondback

      https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x-Beta-&-RC#reprapfirmware-340beta2
      Where a GCode parameter accepts multiple values, you can no longer use a mixture of literals and expressions (which was previously supported in standalone mode only). However, the whole parameter can now be an array expression. For example, M92 E{var.e1}:400:{var.e3} will no longer work and must be replaced by M92 E{var.e1,400,var.e3}.

      In your case this is how it should be:

      M208 X-150:160 Y{global.minY,global.maxY} C0:250 Z0:270     ; set axis minima & maxima
      

      Check if you have any more

      I don't know if this will be the solution for your problem.

      Best regards

      posted in Beta Firmware
      Aitorundefined
      Aitor
    • RE: How to get the result of a M command

      Good morning @siam ,

      Check the object models, in version 3.2 onwards DWC has a plugins to display them, you can also check this section https://duet3d.dozuki.com/Wiki/Object_Model_of_RepRapFirmware#main

      in your case it would be this: heat.heaters[0].avgPwm

      Best regards

      posted in Gcode meta commands
      Aitorundefined
      Aitor
    • RE: In Duet3: Z does not respond as expected

      Good morning @fcwilt , you're right, that would work anyway, but from experience, if you miss an endstop, it will try to get to it for all that extra run and it's annoying, but yes, it would work anyway.

      Anyway, I installed firmware 3.4beta3 and it doesn't fail me anymore, and from what I've read in the fixes, it's fixed since 3.4beta1, now I just need to test the rest of the stuff XD

      Best regards and thanks to all

      posted in Duet Hardware and wiring
      Aitorundefined
      Aitor
    • RE: Single Axis multiple stepper with different steps/mm possible?

      Good morning @jay_s_uk

      Ok, that's clear, a pity because it would have been a good solution for @NORDLE

      And you are right, because I couldn't avoid doing a test, and although it doesn't show error when putting M92 Y100:150 it only keeps M92 Y100 and the axes move correctly.

      Thanks for the clarification

      posted in Firmware installation
      Aitorundefined
      Aitor
    • RE: A fifth option for M291: Display message / wait for response

      Good morning,

      Since I have seen this post, I would like to add my idea that I have had for a long time.

      It would be to add a M291 S4 message that would give the option of "Yes" or "No" and on the other hand that you could add for example a C parameter, for example C "global.reply" and that this would make a: set global.reply = ("yes" or "no") or (true or false)

      It would also be interesting that "this parameter C" in the formats S2 and S3 with X1 Y1 Z1 would save the value of these in the variable, I do not know if in this particular case, which has been requested to show more than one axis, maybe it should be something like this C"{global.xpos,global.ypos,global.zpos}" or maybe the ideal is to request them separately.

      I think these options would open many possibilities to interact with the user.

      Let's see what you think of my idea

      Best regards

      Sorry if something is not well understood, it is very difficult for me to write in English.

      posted in Firmware wishlist
      Aitorundefined
      Aitor
    • RE: [3.5.0-beta.3] Duet2-wifi + Duex5

      Good morning @HERVE_SMITH and @PHAEDRUX,

      I greatly appreciate your response, as it allowed me to solve my problem. The truth is that I was unaware of many of the parameters offered by M569. Thank you again.

      Best regards,
      Aitor

      posted in Firmware developers
      Aitorundefined
      Aitor
    • RE: How can I verify that a file exists

      Good morning @phaedrux @dc42 @owend @oozebot

      When I deleted the double quotes it didn't give me an error, but it generated a blank file, I realised it was because I was trying to run M916 but it didn't exist yet, so I solved it this way.

      M911 S22 R23 P "M913 X0 Y0 Z0 E0 M28""0:/sys/runonce.g"" M98 P""run1.g"" M29"

      in run1.g I typed M916 and this did work as expected

      only that runonce.g is not deleted, something that is good for me because I thought that if I had two blackouts in a row without having recovered this would be deleted and would not work as I wanted, when I finish printing is not deleted either, only to restart again, this makes some errors appear, so I added to my final script and my cancel.g a M30 to delete it.

      This was my solution and it works fine so far:

      config.g I added:

      M911 S22 R23 P "M913 X0 Y0 Z0 E0 M28""0:/sys/runonce.g"" M98 P""run1.g"" M29"
      ; Global Variables
      global delete = 0
      

      run1.g contains:

      set global.delete = 1
      M916
      

      resurrect-prologue.g contains:

      var temp = heat.heaters[1].active
      
      M116 ; wait for temperatures
      G28 XY ; house X and Y, hope Z hasn't moved
      G10 P0 S0
      M291 R "Recovery" P "Want to recover the part" S2 T0
      G10 P0 S{var.temp}
      M116 P0
      

      final script I added: (resurrect.g if automatically deleted)

      if global.delete = 1
      	M30 "/sys/runonce.g"
      	set global.delete = 0
      

      cancel.g I added:

      if global.delete = 1
      	M471 S"/sys/resurrect.g" T{"/sys/resurrect1.g"} D1 ; I rename it in case I want to use it later on.
      	M30 "/sys/runonce.g"
      	set global.delete = 0
      

      I hope you find this solution useful and if you think of any improvement I will be happy to hear it.

      Best regards and thanks for your support.

      posted in Using Duet Controllers
      Aitorundefined
      Aitor
    • echo commands

      Good morning to all,

      I would like to request a new function for echo commands.

      Currently echo>> writes to a new line of the specified file, but I would like to be able to write to the end of the last line for example using echo>>>, this way I would have no problem writing longer lines and I think it would consume less resources than increasing the number of characters allowed in a single line.

      This could be used to write comments or in my case to generate a superlicer profile automatically from the machine.

      By the way I love the new features of the M291.

      Best regards
      Aitor

      posted in Firmware wishlist
      Aitorundefined
      Aitor
    • [3.5.0-beta.3] Problems found with this version

      Good morning @DC42,

      Currently, I am using stepper motors with brakes that have been configured as follows:

      M569.7 P0.2 S100 C"out3"
      

      However, I have noticed that the brake does not activate when executing the M84 command. This is different from what happened in version 3.4.0 of the firmware. Additionally, I have also observed that the brake does not activate immediately when using the emergency stop on the DWC control panel. It is possible that both situations are related.

      If you need more information or if my explanation is unclear, please do not hesitate to ask.

      Regards,
      Aitor

      posted in Firmware developers
      Aitorundefined
      Aitor
    • RE: WIFI without Password

      Good morning @engikeneer,

      Yes, that's how they are working so far, thanks for your input.

      Good morning @dc42,

      Perfect, it worked correctly, I wouldn't have thought that it could work like that. 😂

      I would recommend adding a note in the documentation, I've been thinking for 2 years that it wasn't possible, until I thought to ask. 😂

      Thank you very much to all of you

      Best regards

      posted in Using Duet Controllers
      Aitorundefined
      Aitor
    • RE: Stuck in spin loop, spinning module G-Codes

      Hello @dc42,

      Yeah, that's what I did.

      pull_up_pull_down_01.gif

      posted in Duet Hardware and wiring
      Aitorundefined
      Aitor
    • RE: M291 messages are not always displayed in macros

      Good morning @mfs12,

      Unfortunately the S0 and S1 messages are still not displayed when there is more than one, I have tried to launch this code, in several situations

      If I run the macro from the web control, the messages are shown both in the panel due and in the web control.

      If I run this macro from the due panel, only the messages S2 and S3 are shown in the panel due and all in the web control.

      I have also been able to verify that if I run this macro from web control when the Screensaver is active, the messages are displayed (slow) but also when the Screensaver is finished it is blocked and does not let me control the panel due for a long time (more than 2 min), this also happened to me during a print when the filament detector jumped, in this message also shows a message M291 S3 and I think that is what blocked it, on that occasion I had no patience and restarted the printer.
      Attached is a video to show the problem with Screensaver

      The tests have been done on two machines both in these versions but different panel due

      Board: Duet 2 WiFi (2WiFi)
      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3 (2021-06-15)
      Duet WiFi Server Version: 1.26
      Duet Web Control 3.3.0
      PanelDueFirmware-3.3.0-rc2-5.0i-7.0i-nologo.bin AND PanelDueFirmware-3.3.0-rc2-v3-5.0-nologo.bin

      M291 R "0. No buttons" P "0. No buttons are displayed (non-blocking)" S0
      M300 S300 P1000
      G4 S5
      M400
      M291 R "1. Only Close" P "1. Only Close is displayed (non-blocking)" S1
      M300 S300 P1000
      G4 S5
      M400
      M291 R "2. Only OK" P "2. Only OK is displayed (blocking, send M292 to resume the execution)" S2
      M300 S300 P1000
      G4 S5
      M400
      M291 R "3. OK and Cancel" P "3. OK and Cancel are displayed (blocking, send M292 to resume the execution or M292 P1 to cancel the operation in progress)" S3
      

      I would be happy to carry out further tests, thank you.

      Best regards

      posted in PanelDue
      Aitorundefined
      Aitor
    • RE: How to Monitor MCU Temperature on 3HC?

      Thank you very much, @dc42. I’ll try it out next time. Wishing the whole team a Merry Christmas!

      posted in General Discussion
      Aitorundefined
      Aitor
    • RE: How to Control an LED Strip via heater_3 on Duet2 WiFi?

      Good morning @nikscha,

      For this reason, I used HEATER_3 as if it were a controllable GND. I understood that, when activated, it would behave as GND and, when deactivated, it would act as an open circuit.

      Perhaps @dc42 or another administrator can confirm whether this is correct or not.

      Best regards.

      posted in Duet Hardware and wiring
      Aitorundefined
      Aitor
    • RE: M291 messages are not always displayed in macros

      Good morning @mfs12

      Running the macros from PanelDue:

      M291 S0 and S1 messages are not shown, this is fine according to what we have discussed.
      M291 messages S2 and S3 are displayed normally.

      Running macros from ControlWeb without the guard:

      M291 S0 and S1 messages are displayed but very late, I had to switch from G4 S5 to G4 S10 to get the messages displayed

      M291 messages S2 and S3, displayed normally.

      Running the macros from ControlWeb with Screensaver active:

      The Screensaver is not blocked, so it works correctly, the message is not hidden and Screensaver is not deactivated, it behaves like "Running macros from ControlWeb without the screensaver" but with the Screensaver active at all times, I do not dislike this behaviour,but this is my opinion.

      The Screensaver bug is fixed, I will do more tests if I find something and let you know.

      I'll be happy to do more tests, let me know with anything, I'll be happy to help in any way I can.

      By the way, if something is not well understood tell me, it may be a bad translation.

      Best regards and thanks

      posted in PanelDue
      Aitorundefined
      Aitor
    • RE: Errors M409 and Warning: Commands is not supported

      Good morning @PHAEDRUX and @dc42,

      I have measured the wires and they give me 0.126 ohm, these have a splice, so I will try to make a whole cable and that does not exceed 0.1ohm as it says in the documentation.

      On the other hand, this cable only passes near a cable connected to fan2, for a led strip, but I had already tried disconnecting it and moving it away from any cable, in case interference was transmitted.

      I will try with a cable with less resistance and I will let you know if it has been solved.

      Thanks
      Best regards

      posted in PanelDue
      Aitorundefined
      Aitor
    • RE: PanelDue 3.4.0-pre2 released

      Good morning @mfs12

      I attach two images of version 3.3, in them you can see the difference between combining (image1) and not combining (image2) the heaters.

      Image1
      WhatsApp Image 2021-09-16 at 10.47.02 AM.jpeg

      Image2
      WhatsApp Image 2021-09-16 at 10.47.01 AM.jpeg

      The thing is, in the pre2 version they always remain combined (image1).

      On the other hand, I have noticed that when you change the extrusion distance or extrusion speed, the buttons are no longer highlighted, at first if they are, but as soon as you change the distance or speed, they are all unchecked.

      I take advantage of these images also, to comment that in the version 3.3 at least the home A that I have configured is not shown and that when I have 4 heads if I want to have them without combining, I can't see all the tools, I do not know how, but a scroll button could be added to show the remaining buttons, to the style of the section works to pass of "pages".

      Best regards

      posted in PanelDue
      Aitorundefined
      Aitor