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

    Ps-on / PS-off Duet3 6HC

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    39
    2.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.
    • Heartleander81undefined
      Heartleander81 @oozeBot
      last edited by Heartleander81

      @oozebot yes M80 C"!pson" have I in my config. Must M80 in the config.g?
      When I turn the Main switch on then is all ok. All start and the tool board is there.
      But when I switch with Software off and then on there is no thermistor there. After M999 is all good.

      How make I this with the macro?

      I've never worked with macros so I don't know how to do it.

      [ Edit ]

      I have copy your macro.
      I must changes > TO < then work power of but power not.
      With M80 in the macro goes the PSU on but the M999 will not be performed.

      Without M80 and M80 in the Firmware do the macro nothing from off to on.

      1 Reply Last reply Reply Quote 0
      • Heartleander81undefined
        Heartleander81
        last edited by

        if boards[0].vIn.current < 22
        
        	M291 R"Turn on power" P":-)" S1 T5
                M80
                G4 S1
                M999 ; Soft-reset Mainboard
                ;M999 A1 ; Soft-reset PanelDue
        
        else
        
        	M291 R"Turn off power" P" Zzzz" S1 T5
        	M81 S1 ; Power off 24v power supply
        	;G4 S1 ; Pause for one second
        	;M999 A1 ; Soft-reset PanelDue
        

        That is what I use. I doun't have a PanelDue to time but is the next what I buy

        oozeBotundefined 1 Reply Last reply Reply Quote 0
        • oozeBotundefined
          oozeBot @Heartleander81
          last edited by

          @heartleander81 Awesome! Glad you got it working..

          1 Reply Last reply Reply Quote 0
          • Heartleander81undefined
            Heartleander81
            last edited by

            @oozebot not completed. At power on doun't come M999 AMD the board stand at working

            oozeBotundefined 1 Reply Last reply Reply Quote 0
            • oozeBotundefined
              oozeBot @Heartleander81
              last edited by

              @heartleander81 that's why the M80 is in our config.g..

              Heartleander81undefined 1 Reply Last reply Reply Quote 0
              • Heartleander81undefined
                Heartleander81 @oozeBot
                last edited by

                @oozebot to time I doun't have M80 in the config.g.
                M999 is not executed because the board is busy. The next step would be M999 but it will not be executed

                1 Reply Last reply Reply Quote 0
                • Heartleander81undefined
                  Heartleander81
                  last edited by

                  I think that an M999 cannot be executed by a macro. I commented out all M999 and the macro is running. I added an G4 S5 and then M98 P "config.g" after the M80, which works. I only get 2 error messages that read as follows.

                  Warning: Board 20 does not have input handle 3000
                  Warning: Board 20 does not have input handle 1000

                  what are the warnings and how can you turn them off?

                  if boards[0].vIn.current < 22
                  
                  	M291 R"Turn on power" P":-)" S1 T5
                          M80
                          G4 S4
                          M98 P"config.g"
                  
                  else
                  
                  	M291 R"Turn off power" P" Zzzz" S1 T5
                  	M81 S1 ; Power off 24v power supply
                  	
                  
                  oozeBotundefined 1 Reply Last reply Reply Quote 0
                  • oozeBotundefined
                    oozeBot @Heartleander81
                    last edited by

                    @heartleander81 I just tested with a single line macro that only contains "M999" and it is properly restarting. This is on 3.4b4 but I'm certain it works on 3.3 as well.

                    Heartleander81undefined 1 Reply Last reply Reply Quote 0
                    • Heartleander81undefined
                      Heartleander81 @oozeBot
                      last edited by

                      @oozebot i use RFF 3.4b4. Can you test the complet macro without M98 but with M999?

                      oozeBotundefined 1 Reply Last reply Reply Quote 0
                      • oozeBotundefined
                        oozeBot @Heartleander81
                        last edited by

                        @heartleander81 said in Ps-on / PS-off Duet3 6HC:

                        @oozebot i use RFF 3.4b4. Can you test the complet macro without M98 but with M999?

                        I do believe the status becomes busy when M98 is run. I can try to test this soon, but just started a job on the printer I was testing with.

                        Heartleander81undefined 1 Reply Last reply Reply Quote 0
                        • Heartleander81undefined
                          Heartleander81
                          last edited by

                          I have create a single line macro with M999 in it and at my System doun't work it.

                          DWC say Work and Do nothing. After write in console M999 is all normal

                          1 Reply Last reply Reply Quote 0
                          • Heartleander81undefined
                            Heartleander81 @oozeBot
                            last edited by Heartleander81

                            @oozebot OK. On my system, a Macro with M999 comes busy. With M98 P "config.g" it runs except for 2 warnings regarding the toolboard

                            Sorry in the last Post i doun't mean status work, I mean status busy. Sorry my english is not the best

                            XD

                            oozeBotundefined 1 Reply Last reply Reply Quote 0
                            • oozeBotundefined
                              oozeBot @Heartleander81
                              last edited by

                              @heartleander81 The toolboard will cause a few warnings.. Glad you found a work-around. I'm not sure why M999 isn't working from a macro. It seems to be working fine for us..

                              Heartleander81undefined 1 Reply Last reply Reply Quote 0
                              • Heartleander81undefined
                                Heartleander81 @oozeBot
                                last edited by

                                @oozebot Yes, I get 2 warnings when loading the config. It doesn't seem to matter. Will start a test print with it tomorrow. Unfortunately, I don't know why M999 doesn't work for me in the macro.

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