• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

M671 like function for Delta printer

Scheduled Pinned Locked Moved
Gcode meta commands
7
45
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    droftarts administrators @tecno
    last edited by 3 Feb 2023, 10:48

    @tecno They are saved to whatever place your browser sets for downloads. I usually have my browser set to ask me where to download stuff (you can change this in your browser's preferences/settings). You can also usually look in the Downloads history to see where it has saved it, if it downloads automatically without asking. Probably your 'Downloads' folder.

    Ian

    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

    undefined 1 Reply Last reply 3 Feb 2023, 11:10 Reply Quote 0
    • undefined
      tecno @droftarts
      last edited by 3 Feb 2023, 11:10

      @droftarts
      Hi Ian,
      I thougt so too but nothing is downloaded to my Downloads 😞

      undefined undefined 2 Replies Last reply 3 Feb 2023, 11:35 Reply Quote 0
      • undefined
        droftarts administrators @tecno
        last edited by 3 Feb 2023, 11:35

        @tecno Strange. I downloaded to my desktop, appeared fine:
        58ea79ce-8d95-437e-a817-5b88f2da5bdb-image.png

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        undefined 1 Reply Last reply 3 Feb 2023, 11:51 Reply Quote 0
        • undefined
          tecno @tecno
          last edited by 3 Feb 2023, 11:48

          Just tested to see if my Ubuntu woks with this = Nothing

          Tested with another W10 = Nothing

          1 Reply Last reply Reply Quote 0
          • undefined
            tecno @droftarts
            last edited by 3 Feb 2023, 11:51

            @droftarts

            2023-02-03 12:50:21 Echo "Hi Ian"
            Error: Bad command: Echo "Hi Ian"

            undefined 1 Reply Last reply 3 Feb 2023, 11:54 Reply Quote 0
            • undefined
              droftarts administrators @tecno
              last edited by 3 Feb 2023, 11:54

              @tecno lower case 'e' in "echo". However, that doesn't explain why your browser isn't saving the console.txt. What version DWC and RRF?

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              undefined 1 Reply Last reply 3 Feb 2023, 11:56 Reply Quote 0
              • undefined
                tecno @droftarts
                last edited by 3 Feb 2023, 11:56

                @droftarts

                🙂 did notice that with echo

                Duet Web Control 3.4.5
                Board: Duet 3 Mini 5+ (Mini5plus)
                Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.4.5 (2022-11-30)

                undefined 1 Reply Last reply 3 Feb 2023, 12:09 Reply Quote 0
                • undefined
                  tecno @tecno
                  last edited by 3 Feb 2023, 12:09

                  Tested with 3 browser = nothing

                  undefined 1 Reply Last reply 3 Feb 2023, 12:27 Reply Quote 0
                  • undefined
                    T3P3Tony administrators @tecno
                    last edited by 3 Feb 2023, 12:27

                    @tecno your browsers may be set to block downloads? not sure why but i just tested this as well and it works with Chrome on windows.

                    www.duet3d.com

                    undefined 1 Reply Last reply 3 Feb 2023, 12:35 Reply Quote 0
                    • undefined
                      tecno @T3P3Tony
                      last edited by 3 Feb 2023, 12:35

                      @T3P3Tony
                      No problems here with dowload, just tested to dowload stl file from thingiverse.

                      Can this be a languae problem, my OS is in Swedish.

                      undefined 1 Reply Last reply 4 Feb 2023, 15:42 Reply Quote 0
                      • undefined
                        tecno @tecno
                        last edited by 4 Feb 2023, 15:42

                        Any ideas what is causing this problem??

                        undefined 1 Reply Last reply 4 Feb 2023, 20:56 Reply Quote 0
                        • undefined
                          OwenD @tecno
                          last edited by 4 Feb 2023, 20:56

                          @tecno
                          Exactly what steps are you taking?
                          If you're trying to use echo then you have to use the correct syntax to write to a file.
                          https://docs.duet3d.com/User_manual/Reference/Gcode_meta_commands

                          If you're trying to save the console then click on the icon with the horizontal lines and select download as text or csv

                          425B979D-E1EA-41CD-9691-2ABC602BA076.jpeg

                          The file will be saved wherever your browser normally saves files.
                          If it doesn't then there is something blocking it. Either browser settings or anti virus perhaps.

                          undefined 1 Reply Last reply 5 Feb 2023, 08:18 Reply Quote 0
                          • undefined
                            tecno @OwenD
                            last edited by 5 Feb 2023, 08:18

                            @OwenD said in M671 like function for Delta printer:

                            If it doesn't then there is something blocking it. Either browser settings or anti virus perhaps.

                            I have no problems dowloading files.
                            I can run backups with ```
                            c:/backup/rfm backup -domain bigdelta -password ******** c:/backup/bigdelta 0:/

                            undefined 1 Reply Last reply 5 Feb 2023, 08:39 Reply Quote 0
                            • undefined
                              tecno @tecno
                              last edited by 5 Feb 2023, 08:39

                              Tested M122 on 3 of my printers now and it works OK, a window with where to save pops up so it isOK.

                              But this I get nowhere
                              99e874a4-32fc-4ea9-823a-d4f138013ace-image.png

                              Want to have the output from macro to a CSV. So what is my problem with this?

                              undefined 1 Reply Last reply 5 Feb 2023, 10:05 Reply Quote 0
                              • undefined
                                OwenD @tecno
                                last edited by 5 Feb 2023, 10:05

                                @tecno
                                I'm going to have to eat my words on this one.
                                There does indeed seem to be some sort of issue with saving echo commands that are not sent from the DWC channel.
                                I tried putting M118 in the macro as well with no joy.

                                Your only option at this point is to use echo to write to the file directly from the macro.

                                echo >"0:/sys/savedData.txt"
                                G30 S-1 ; do probe at current point
                                echo >>"Stopped at height " ^ move.axes[2].machinePosition ^ "mm"
                                undefined 1 Reply Last reply 5 Feb 2023, 10:55 Reply Quote 0
                                • undefined
                                  tecno @OwenD
                                  last edited by tecno 2 May 2023, 10:56 5 Feb 2023, 10:55

                                  @OwenD
                                  Trying this

                                  echo >"0:/sys/savedData.txt"
                                  M562 ; clear any bed transform from mesh leveling
                                  G90 ; absolute positioning
                                  G1 Z50 F4000
                                  G1 X0 Y0 ; 1 point
                                  G30 S-1
                                  echo >>"Stopped at height" ^ move.axes[2].machinePosition ^ "mm"

                                  And get this error:

                                  M98 P"0:/macros/test"
                                  Stopped at height 0.758 mm
                                  Error: in file macro line 7 column 28: meta command: expected an expression

                                  Above creates 2 empty files

                                  undefined undefined 2 Replies Last reply 5 Feb 2023, 11:08 Reply Quote 0
                                  • undefined
                                    OwenD @tecno
                                    last edited by 5 Feb 2023, 11:08

                                    @tecno
                                    Apologies.
                                    Should have had the filename in both echo commands.

                                    echo >"0:/sys/savedData.txt"
                                    G30 S-1 ; do probe at current point
                                    echo >>"0:/sys/savedData.txt" "Stopped at height " ^ move.axes[2].machinePosition ^ "mm"
                                    undefined 1 Reply Last reply 5 Feb 2023, 11:29 Reply Quote 0
                                    • undefined
                                      tecno @OwenD
                                      last edited by 5 Feb 2023, 11:29

                                      @OwenD

                                      No reason to apoligise, I am thankful for all help I can get.

                                      Now I get these values in txtfile, they also show up in console but nothing can be done there.
                                      How to save the file so it can be exported as CSV directly from console.

                                      undefined 1 Reply Last reply 5 Feb 2023, 11:43 Reply Quote 0
                                      • undefined
                                        OwenD @tecno
                                        last edited by OwenD 2 May 2023, 11:48 5 Feb 2023, 11:43

                                        @tecno
                                        I'm not sure I understand what you are looking for.
                                        The use of the echo command is detailed here
                                        https://docs.duet3d.com/User_manual/Reference/Gcode_meta_commands#echo-command

                                        If you want each probe point on a single line then use three > symbols

                                        echo >"0:\sys\testFile.csv" "Test1,Test2,Test3,Test4,Test5,"
                                        while iterations < 5
                                        G30 S-1
                                        echo >>>"0:\sys\testFile.csv" move.axes[2].machinePosition ^ ","

                                        The resulting file will be something like

                                        Test1,Test2,Test3,Test4,Test5,
                                        1.388,1.595,1.595,2.015,2.213,
                                        undefined 1 Reply Last reply 5 Feb 2023, 12:50 Reply Quote 0
                                        • undefined
                                          tecno @OwenD
                                          last edited by 5 Feb 2023, 12:50

                                          @OwenD

                                          Error: in file macro line 8 column 8: meta command: expected string expression

                                          undefined 1 Reply Last reply 5 Feb 2023, 13:32 Reply Quote 0
                                          16 out of 45
                                          • First post
                                            16/45
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA