Is there a way to create proportional logic for a control valve without using a PID function? I want to create a simple P controller without using the Rslogix PID function block.
Yes, 3 SCP instructions. One to convert counts to engineering units. One to compute the control output 0-100 using a proportional band and the third one to convert the control output to counts.I like to use an SCP instruction for this, which I think makes it easier to visualize. Input range on the top, output range on the bottom.
That is the way proportional only control works with servo valves.Being that the error reduces as the valve position gets closer to the setpoint, the servo closes and the control valve slows way down.
Servo valves shouldn't have a deadband. If they have one it better be very small.The problem you usually end up running into is that the valve and system will have a deadband below which your command won't make a difference and as such you won't get to the value you really want to be at.

One common model for controllers uses
Output = K*(setpoint-actual),
adjust K so it works and put it in a fixed scan cycle for best result.
Just copy what you need from wikipedia or internet since you can paste most of it directly into ST code.