Situation: I have created an application that uses an AB PLC5/40 and a PID control Loop. I have changed from the integer control block to PD because all my variables are floating point. All my inputs are already scaled 0.0-100.0% which is also the engineering units that I desire.
Problem: When I try to enter floating point values for SP & PV into the PID block I get an error of "Invalid Data Type". So I ended up having to send my PV and SP to integer values before I send them to the PID block.
Question: Is there a way that I may send the floating point values directly into the PID block?
Problem: When I try to enter floating point values for SP & PV into the PID block I get an error of "Invalid Data Type". So I ended up having to send my PV and SP to integer values before I send them to the PID block.
Question: Is there a way that I may send the floating point values directly into the PID block?