Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Displaying the IP address using the N520 command

    Example setups and prints
    6
    27
    1815
    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.
    • NOVAprint
      NOVAprint last edited by

      I am trying to get the board to display the IP address when it is connected to the network. The command lines are at the very top. I am wondering if the issue if the decimals, I have removed the D (decimal) variable and it yields the same. I have varied the width all the way out to 70 and nothing happened. Here is the code. I am using an LED screen and although it would be great to buy a screen that displays outomatically, I want to make this screen work it seems reasonable to me.

      My code: the IP part appears, and three asterix.
      text R3 C5 F0 T"IP:"
      value R3 C30 F0 W27 D0 N530
      ;
      text R15 C5 F0 T"Hotend:"
      value R15 C50 F0 D1 W27 N79
      text R15 C80 F0 T"/"
      value R15 C87 F0 D0 W27 N179
      ;
      text R27 C5 F0 T"Bed:"
      value R27 C50 F0 D1 W27 N80
      text R27 C80 F0 T"/"
      value R27 C87 F0 D0 W27 N180
      ;
      text R39 C5 F0 T"Fan:
      value R39 C50 F0 D0 W19 N399
      ;
      text R51 C5 F0 T"Feed Rate:"
      value R51 C50 F0 D0 W19 N500
      ;
      ; hold one selectable item, off-screen, so that a click brings you to e_main:
      button R51 C132 F0 T"Get Started »" A"menu" L"e_main"
      ;

      1 Reply Last reply Reply Quote 0
      • 3dmntbighker
        3dmntbighker last edited by

        N530 = octet 1
        N531 = octet 2
        N532 = octet 3
        N533 = octet 4

        I suspect all you need is octet 4. You probably have to build out the whole IP address appending the octets and periods one at a time.

        Scratch built CoreXY with Maestro
        Heavily modified Ender 3 with Maestro
        MPCNC work in progress with Duet WiFi

        NOVAprint 1 Reply Last reply Reply Quote 0
        • NOVAprint
          NOVAprint last edited by

          OK,, should each set of octets be on a seperate line or on one single line witht eh spaces counted out. Also is it possible that anyone out there has the display file for the duet wifi hd display? Even though it is HD the basic planning should be the same.

          1 Reply Last reply Reply Quote 0
          • patakopecek
            patakopecek last edited by

            What screen do you use and how did you configure it on the duet wifi?

            NOVAprint 1 Reply Last reply Reply Quote 0
            • NOVAprint
              NOVAprint @patakopecek last edited by

              @patakopecek LCD 12864 and right now I am using a modified factury configuration obviously I have to change it. The first three lines of code are modified here. There is a guide that outlines how to program the menu screen, it is hared to do so far. If I take a few days I could get it done, but how has a few days?

              1 Reply Last reply Reply Quote 0
              • Dougal1957
                Dougal1957 last edited by

                I Would suggest that it is on a Meastro not a WiFi!

                1 Reply Last reply Reply Quote 0
                • NOVAprint
                  NOVAprint last edited by

                  Sorry I did not make that clear this is the Maestro, perhaps I mispoke. At any rate the formatting and the question still stands is there any examples perhapos the menu from the Wifi can be translated over, can anyone post the menu files form the Duet Wifi as it lists the IP address on the HD screen

                  aidar 1 Reply Last reply Reply Quote 0
                  • NOVAprint
                    NOVAprint last edited by

                    @3dmntbighker Do you have any menu code or formatting that could help with this, perhaps something that could copy and paste?

                    3dmntbighker 1 Reply Last reply Reply Quote 0
                    • aidar
                      aidar @NOVAprint last edited by

                      @novaprint Wifi doesnt support LCD 12864 as far as i know. Only Maestro does. So there are no menu files for Wifi.

                      NOVAprint 1 Reply Last reply Reply Quote 0
                      • NOVAprint
                        NOVAprint @aidar last edited by

                        @aidar There is code that lines up the commands for the wifi. The code the N commands in the wifi shoild be common between the two platforms. There is no alternaive st of copmmands for the siplay on the LCD screen versus the HD The commands are the same, I would like to see the commands, would someone please post them?

                        aidar 1 Reply Last reply Reply Quote 0
                        • NOVAprint
                          NOVAprint @3dmntbighker last edited by

                          @3dmntbighker Do you have an example of lining up the N commands for this one, I wonder how many different ways the width, the decimals etc would need to be manipulated before I get it correct.

                          1 Reply Last reply Reply Quote 0
                          • aidar
                            aidar @NOVAprint last edited by

                            @novaprint Not sure what code and commands you are talking about. LCD 12864 and PanelDue are two completly different things. PanelDue has its own firmware and talks to board via serial connection. Btw PanelDue firmware is open source so if you want to look at it .. https://github.com/dc42/PanelDueFirmware/releases

                            NOVAprint 1 Reply Last reply Reply Quote 0
                            • NOVAprint
                              NOVAprint @aidar last edited by

                              @aidar I will take a look.

                              1 Reply Last reply Reply Quote 0
                              • dc42
                                dc42 administrators last edited by

                                On a PanelDue, to find the IP address go to the Console page, press the keyboard icon and enter M552.

                                Duet WiFi hardware designer and firmware engineer
                                Please do not ask me for Duet support via PM or email, use the forum
                                http://www.escher3d.com, https://miscsolutions.wordpress.com

                                1 Reply Last reply Reply Quote 0
                                • 3dmntbighker
                                  3dmntbighker @NOVAprint last edited by

                                  @novaprint said in Displaying the IP address using the N520 command:

                                  @3dmntbighker Do you have any menu code or formatting that could help with this, perhaps something that could copy and paste?

                                  No, I'm not displaying the IP on my display.

                                  Scratch built CoreXY with Maestro
                                  Heavily modified Ender 3 with Maestro
                                  MPCNC work in progress with Duet WiFi

                                  NOVAprint 1 Reply Last reply Reply Quote 0
                                  • NOVAprint
                                    NOVAprint @3dmntbighker last edited by

                                    @3dmntbighker THis is the code that I have so far:
                                    My code: the IP part appears

                                    text R3 C5 F0 T"IP:"
                                    value R3 C30 F0 W27 D0 N530

                                    1 Reply Last reply Reply Quote 0
                                    • dc42
                                      dc42 administrators last edited by

                                      At present you have to display the 4 octets separately, for example:

                                      text R3 C5 F0 T"IP:"
                                      value D0 N530
                                      text T"."
                                      value D0 N531
                                      text T"."
                                      value D0 N532
                                      text T"."
                                      value D0 N533

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      NOVAprint 1 Reply Last reply Reply Quote 0
                                      • NOVAprint
                                        NOVAprint last edited by

                                        @dc42 said in Displaying the IP address using the N520 command:

                                        text R3 C5 F0 T"IP:"
                                        value D0 N530
                                        text T"."
                                        value D0 N531
                                        text T"."
                                        value D0 N532
                                        text T"."
                                        value D0 N533

                                        thank you for that line of code, but at present, the display shows a series of asterixs (little stars) after each period. As if it is trying to show the information, but is somehow unable. I Had this unit connected to the internet last night and when I woke up it would not react to the same ISP numbers that it previously was assigned. The display of the little stars is consistent with the behavior that I was able to get before. The operating system is the latest from M3D. Just got it in November.

                                        1 Reply Last reply Reply Quote 0
                                        • NOVAprint
                                          NOVAprint @dc42 last edited by

                                          @dc42 Yes it is connected to the internet and I am getting yellow and green lights on the Connecting network wire.

                                          1 Reply Last reply Reply Quote 0
                                          • dc42
                                            dc42 administrators last edited by

                                            What firmware version are you using? I don't think M3D has updated to 2.02 yet.

                                            Duet WiFi hardware designer and firmware engineer
                                            Please do not ask me for Duet support via PM or email, use the forum
                                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                                            NOVAprint 1 Reply Last reply Reply Quote 0
                                            • NOVAprint
                                              NOVAprint last edited by

                                              2.01 beta is the firmware that it shipped with. Do I need to update? Is that a new feature in 2.02?

                                              1 Reply Last reply Reply Quote 0
                                              • NOVAprint
                                                NOVAprint @dc42 last edited by

                                                @dc42
                                                2.01 beta is the firmware that it shipped with. Do I need to update? Is that a new feature in 2.02?

                                                dc42 1 Reply Last reply Reply Quote 0
                                                • dc42
                                                  dc42 administrators @NOVAprint last edited by

                                                  @novaprint said in Displaying the IP address using the N520 command:

                                                  @dc42
                                                  2.01 beta is the firmware that it shipped with. Do I need to update? Is that a new feature in 2.02?

                                                  This is working for me using 2.02:

                                                  text R54 C0 T"IP "
                                                  value N530 W15
                                                  text T". "
                                                  value N531 W15
                                                  text T". "
                                                  value N532 W15
                                                  text T". "
                                                  value N533 W15
                                                  

                                                  I guess 530-533 were not supported in 2.02.

                                                  Duet WiFi hardware designer and firmware engineer
                                                  Please do not ask me for Duet support via PM or email, use the forum
                                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                                  NOVAprint 1 Reply Last reply Reply Quote 0
                                                  • NOVAprint
                                                    NOVAprint @dc42 last edited by

                                                    @dc42 said in Displaying the IP address using the N520 command:

                                                    text R54 C0 T"IP "
                                                    value N530 W15
                                                    text T". "
                                                    value N531 W15
                                                    text T". "
                                                    value N532 W15
                                                    text T". "
                                                    value N533 W15

                                                    David,

                                                    The information did not make itself visible, the screen is not the more expensive LCD screen, it is the smaller LED one and I am now running the firmware 2.02.

                                                    dc42 1 Reply Last reply Reply Quote 0
                                                    • dc42
                                                      dc42 administrators @NOVAprint last edited by

                                                      @novaprint, which LED screen are you using? Does it display anything at all?

                                                      Duet WiFi hardware designer and firmware engineer
                                                      Please do not ask me for Duet support via PM or email, use the forum
                                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                                      NOVAprint 1 Reply Last reply Reply Quote 0
                                                      • First post
                                                        Last post
                                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA