PLUS+1 User Forum
PLUS+1 Hardware => Controllers => Topic started by: Morten Christensen 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
-
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.
-
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.
-
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.