Author Topic: Voltage output 0-5v and 0-10v  (Read 6282 times)

Offline Morten Christensen

  • PLUS+1 Novice
  • *
  • Posts: 4
  • Karma: +0/-0
Voltage output 0-5v and 0-10v
« on: January 26, 2018, 07:13:13 PM »
Hey,

I need 0-5v out and 0-10v out on a MC50-010.

Anyone who have made that before?

Regards

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: Voltage output 0-5v and 0-10v
« Reply #1 on: January 29, 2018, 05:22:20 PM »
I've approximated it by referencing the power pin (pin 2) voltage and doing whatever math is necessary with an open loop PWM output to generate an analog voltage.  So you'll configure an output for duty cycle control.  If your power pin shows, for example, a 24V input then a duty cycle of 0 to 41.67% will result in 0 to 10V...approximately.  In practice you'll find that you won't be able to get as repeatable and accurate of an output as you'd get from an industrial PLC, so it just depends on what you're trying to do.
Controls Engineer
Hydra-Power Systems

Offline Morten Christensen

  • PLUS+1 Novice
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Voltage output 0-5v and 0-10v
« Reply #2 on: January 29, 2018, 08:25:49 PM »
Thanks for the reply.
I recived a stable and linary signal with the use og math, compared to the Voltage supply of the controller, and then used the PVE out function. Added a "RC-led" to minimize the "ripple".

It works for both 0-5 and 0-10 volt.

Offline bryantmorris

  • PLUS+1 Expert
  • ****
  • Posts: 51
  • Karma: +0/-1
Re: Voltage output 0-5v and 0-10v
« Reply #3 on: February 19, 2018, 10:11:04 PM »
When you do this also make sure to run as high PWM frequency as possible to get a nice voltage out. The SC controllers are better for doing this as you can run higher PWM output frequencies.