Ps-on / PS-off Duet3 6HC
-
@oozebot ok. Then I can connect +5V on RC+ and RC- on pson. Right?
-
@heartleander81 I think you should do some testing between the two power supplies first to validate. If it works, then I believe you are right.
-
@oozebot I connected RC + 5v and RC- to GND but the power supply did not switch off. I'm afraid that my power supply has a fault. I contacted Meanwell to see if they can give me information on how I can test whether my power supply has a fault or not because it does not work as described in the instructions
-
@heartleander81 Sorry to hear that - that model appears to work differently than many of the others. Where the two power supplies negative terminals tied together?
-
@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?