How Can We Help?
How to add a PWM to 0-5/10 V converter to a ACE PLC?
It is sometimes useful to be able to connect the ACE PLC or any other device to a PWM to 0-10 V converter.
What we can do with analog output…
- Speed drive control – Regulating a motor via an analog input.
- Converter – Convert and scale another analogue value to a 0-10 V value (via an ACE PLC)
- LED lighting control – Adjusting brightness using a 0-10 V signal.
- Proportional valve control – Fine management of fluid flow.
- Servo motor control – Converting PWM signal to analog voltage.
- Heating regulation – Controlling power via an analog input.
- Industrial automation – Interface between PLC with PWM outputs and analog actuators.
- Fan speed control – Regulating speed using a 0-10 V input.
Imagine you need:
an ACE-11 PLC (6 DI + 6 DO) at 59€ or an ACE-1630 PLC (3 DI + 3 DO + 3 AI + RS232) at 89€ but an analog output is missing!
You can use one of its digital outputs, as PWM output, to add a 0-10V analogue output.
This converter is inexpensive, well designed electronically and reliable. It has 6 connection terminals. You can buy it here
Convert 0-100% PWM digital signal to analogue signal Linear conversion, 1% accuracy, 200 ms delay Analog output:
Digital PWM input:
Power supply from 16 to 30 VDC, 100 mA |
![]() |
Note: This new version accepts 4.5 V to 28 V on its PWM input, without the need to select the voltage via a jumper.
The connection diagram
First, wire the (+) to the 24 VDC (+) to get a 24 VDC on digital output:
Outputs wiring description
|
|
Wiring of the PWM converter at the output of the ACE PLC :
CONVERTER PWM TO 0-10V |
ACE PLC DIGITAL OUTPUT |
![]() |
|
PWM – IN | < > | One of its digital output (NPN) | |
PWM + IN | < > | + 4.5 – 28 VDC | |
24 V + IN | < > | + 24 VDC | |
24 V – IN | < > | GND – (Same as the ACE PLC) | |
0-10V – OUT | < > | GND Ouput – (Optional, it is the same as above) | |
0-10V + OUT | < > | Your 0-5/10 V for your external device |
The subroutine for easy integration
We provide you with this subroutine to convert the requested output value into a PWM value and apply it to the PLC output.
You can import this subroutine (PWM_To_ANA.viofs) in your ACE PLC project.
The best value for the PWM signal frequency for this product is 0.3 kHz. We have set the “Period Length” to 3000 microseconds.
See “PWM – Pulse-width Modulation” page for more information on PWM if you wish to understand this function.
And we scale the values: For example, if you ask 5400 mV (5.4 V), the subroutine set the “On Time” at 1500 microseconds.
Converter calibration
You can use the above subroutine for calibration
- Ask with the subroutine, the value 5400 mV for OutAnaMV
- With a voltmeter, measure the output.
- Open the case: 2 screws, one at the bottom left and one at the top right behind the label!
- With a screwdriver, turn the potentiometer until you get the value 5.4 V / 5400 mV
- Done!