gimmephone
Member
I have a ML1100 PLC and a DC motor with a potentiometer mounted to its shaft. I want to demonstrate positional control using a PID loop(no load).
The ML has 2 analog inputs 0-10 Volts so I connected resistances in series with the potentiometer and using a 10V power supply, I obtained a voltage range of 5-8.5V between the two extreme positions. I do not want a great resolution, anything close to demonstrating my point will do. My plan is to use one analog input to input the reference analog voltage input (i am guessing this should also be in the range 5-8.5V) the user wishes to track and the second to get the actual voltage from my shaft mount potentiometer setup.
I havent ever used PID loops with a PLC so I need some help in setting this up. Can anyone please provide any ladder logic that they have used or any ideas how I can do this. I am just not able to understant how my output from the PLC will make the motor stop at the exact position that I desire.
Thanks a lot for your help
The ML has 2 analog inputs 0-10 Volts so I connected resistances in series with the potentiometer and using a 10V power supply, I obtained a voltage range of 5-8.5V between the two extreme positions. I do not want a great resolution, anything close to demonstrating my point will do. My plan is to use one analog input to input the reference analog voltage input (i am guessing this should also be in the range 5-8.5V) the user wishes to track and the second to get the actual voltage from my shaft mount potentiometer setup.
I havent ever used PID loops with a PLC so I need some help in setting this up. Can anyone please provide any ladder logic that they have used or any ideas how I can do this. I am just not able to understant how my output from the PLC will make the motor stop at the exact position that I desire.
Thanks a lot for your help