PLUS+1 User Forum

PLUS+1 Hardware => Controllers => Topic started by: Lukey on May 05, 2024, 08:58:04 AM

Title: Output Configured for both/either Sinking or Sourcing
Post by: Lukey on May 05, 2024, 08:58:04 AM
Is it possible for an output to function as both Sinking and Sourcing?

I successfully test complied an application that changes the Output mode from 1 to 2 during runtime of the controller.

I took examples from this topic https://www.plus1forum.danfoss.com/index.php?topic=1525.0 (https://www.plus1forum.danfoss.com/index.php?topic=1525.0)

By setting my INIT hardware output to constant 1 / sourcing

Then used a switch to change the pin OutputMode from 1 to 2 with an bool signal.

Does the output hardware physically allow this to function as intended/programmed? is there any risk to damage?
Title: Re: Output Configured for both/either Sinking or Sourcing
Post by: jashom1 on May 29, 2024, 12:53:17 AM
Hi Lukey,

Is the output pin on a PVG type?  They can sink or source in this mode, but not sure of the current availability in this mode.
Title: Re: Output Configured for both/either Sinking or Sourcing
Post by: Lukey on May 30, 2024, 09:59:32 AM
I've managed to get the pin to function as both sink and source with out issue on the PLUS+1 Hardware.

Issues arises with the relays I am driving externally.
As the configuration is basically 2 relays in series, the coil holding voltage once energised is high enough that the relays do not energise.
24V system, 2 relays in series, sees 12v across each coil, this is enough for them to energised.

I believe I can you some kind of diode configuration but I haven't worked out which yet.