Ps-on / PS-off Duet3 6HC
-
@oozebot I can already find a solution I hope Meanwell answers promptly so that I can find out and possibly make a repair or get an exchange because it has a 3 year guarantee.
-
@oozebot I doun't know why, but now is it work.
I think it was a Bad connection on the power supply.
-
@oozebot so there is no question now.
-
So now It runs. But when I switch from off to on I must reset the duet3 6hc to connect my tool board.
-
@heartleander81 is should be sufficient to re-run config.g.
-
@dc42
An M999 is also possible.
Only when I want to pack this into a Gcode print file does it skip the M999 command because a print has started.
I thought that after printing with M81 S1 I would switch off the power supply and switch on the power supply with a new M80 print job, but because the M999 command in the start code does not work, this is currently not possible.
It is no problem to switch to on by hand and then run an M999.The method with the start code would be luxury if possible
-
@heartleander81 Here is a snippet from our power toggle macro that might assist:
if boards[0].vIn.current > 22 M291 R"Turn on power?" P"Are you sure you want to turn on power?" S3 M999 A1 ; Soft-reset PanelDue M999 ; Soft-reset Mainboard else M291 R"Turn off power?" P"Are you sure you want to turn off power?" S3 M0 ; Unconditional stop M81 S1 ; Power off 24v power supply G4 S1 ; Pause for one second M999 A1 ; Soft-reset PanelDue
** edit ** the M80 is in our config.g
M80 C"!pson" M80
-
@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.
-
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
-
@heartleander81 Awesome! Glad you got it working..
-
@oozebot not completed. At power on doun't come M999 AMD the board stand at working
-
@heartleander81 that's why the M80 is in our config.g..
-
@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 -
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 1000what 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
-
@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.
-
@oozebot i use RFF 3.4b4. Can you test the complet macro without M98 but with M999?
-
@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.
-
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
-
@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
-
@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..