Author Topic: Output Configured for both/either Sinking or Sourcing  (Read 1253 times)

Offline Lukey

  • PLUS+1 Expert
  • ****
  • Posts: 53
  • Karma: +5/-0
Output Configured for both/either Sinking or Sourcing
« 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

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?

Offline jashom1

  • PLUS+1 Expert
  • ****
  • Posts: 80
  • Karma: +6/-0
Re: Output Configured for both/either Sinking or Sourcing
« Reply #1 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.

Offline Lukey

  • PLUS+1 Expert
  • ****
  • Posts: 53
  • Karma: +5/-0
Re: Output Configured for both/either Sinking or Sourcing
« Reply #2 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.