Larsinator
Hi, I was wondering if it was possible to run dc motors with the analog signal pins on OpenPLC without additional hardware. I have tested the motors and know they'll work with the digital output pins, so in theory I just need the analog output pins to act like digital pins. The reason I want to do this is that I've run out of digital output pins. How is this done in OpenPLC?
 
I only need them to rotate in a set speed without the need of changing the RPM.
 
Thanks
 
Edit: I want to use digital bits for inputs, but if analog input is easier, I'm able to use that as well
Reply 0 0
thiagoralves
Your full program includes variable declaration, resource, instances, etc. That screenshot is just a snippet. Things can be wrong in other portions of your program that could be affecting the output. However, just by looking at your snippet again, I realized that you're using falling edge contacts with the MOVE blocks. This means that the MOVE instruction happens only for a fraction of a second (one single pulse). That's probably why you're not seeing any voltage at the analog output pin.
Reply 0 0
Reply