Hello to everyone;
I have to control 2 DC motor and in order to do that I need to send them some voltage. I need to use PID controller. Set point is the voltage I would like to send, and process variable is the voltage I recive. The problem, I am dealing with is output. It is constantly changing and its value is not the value that should be. I dont know what is the problem, so I would appreciate any help. In attachments you can find screanshots of my program.
Thanks in advance