Ps-on / PS-off Duet3 6HC
-
This post is deleted! -
@oozebot Hi. Which contact do you use on the switching power supply? There are 4 connections and unfortunately I have not yet found any instructions from Meanwell which contact is for what. I have RC-, RC +, S- and S +.
-
Must I connect RC+ on pson and RC- on GND on the Duet3 6hc Board?
-
Here is the specifications for your power supply:
https://www.meanwell.com/webapp/product/search.aspx?prod=RSP-500
Here are the important bits:
RC- Return for RC+ signal input RC+ Turns the output on and off by electrical or dry contact between pin 4 ( RC+) and pin 3 (RC-). 0~0.8VDC or open: Power ON, 4~10VDC: Power OFF
This Power Supply is a bit different than the models we use, but it's similar. I'd start by seeing if RC+ is carrying voltage. I suspect it is. If so, try connecting it to RC- to see if that sinks RC+ to ground and turns off the Power. I suspect it will. If so, to control your power supply, you will need to sink RC+ to ground to turn off power and then unsink it to turn it back on.
By tying the grounds between the 5v and 24v power supplies, you can then control your 24v power supply by sinking RC+ to PSON on the Duet board when used in conjunction with M80 C"!pson"
-
@oozebot
Hi. Rc+ to gnd 0V RC- to gnd 0V -
I have this found
If I understand correctly I need an external + 5V and GND to switch it.
-
@heartleander81 All models we tested worked a bit different, but I think you are right. I just read this:
POWER OFF: 4~10VDC between RC+(Pin 4)&RC-(Pin3) on CN100
So try tying the negative terminals between power supplies and then applying 5v to RC+ to turn off the power supply.
-
@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