This formula is for a Rewind application that is running correctly I am just having trouble under standing what it is doing. It tapers off the OA_Layon_Pressure_SP as the roll grows. I am just not seeing how it does it. The light bulb is has not turned on yet.
//10.6 = (10.6 inch) Min Diameter
//29.4 = Max Diameter (40 inch) - Min Diameter (10.6 inch)
//0.4 = (0.4 Bars) Pressure for Min Analog Output (0 PLC Scale = 4mA = 2V)
//2 = (2 Bars) Pressure for Max Analog Output (10000 PLC Scale = 20mA = 10V)
//1.6 = Pressure for Max Analog Output - Pressure for Min Analog Output
//10000 = Max PLC Scale
OA_Layon_Pressure_SP := ((((((Spool_Diameter - 10.6) / 29.4) * (PV_Final_Layon_Pressure - PV_Begin_Layon_Pressure)) + PV_Begin_Layon_Pressure) - 0.4) / 1.6) * 10000;
I am having trouble under standing this formula. I know it is Y=MX+B
M= ((Spool_Diameter - 10.6) / 29.4)
X=(PV_Final_Layon_Pressure - PV_Begin_Layon_Pressure)
B= PV_Begin_Layon_Pressure
But what is the - 0.4) / 1.6) * 10000
//10.6 = (10.6 inch) Min Diameter
//29.4 = Max Diameter (40 inch) - Min Diameter (10.6 inch)
//0.4 = (0.4 Bars) Pressure for Min Analog Output (0 PLC Scale = 4mA = 2V)
//2 = (2 Bars) Pressure for Max Analog Output (10000 PLC Scale = 20mA = 10V)
//1.6 = Pressure for Max Analog Output - Pressure for Min Analog Output
//10000 = Max PLC Scale
OA_Layon_Pressure_SP := ((((((Spool_Diameter - 10.6) / 29.4) * (PV_Final_Layon_Pressure - PV_Begin_Layon_Pressure)) + PV_Begin_Layon_Pressure) - 0.4) / 1.6) * 10000;
I am having trouble under standing this formula. I know it is Y=MX+B
M= ((Spool_Diameter - 10.6) / 29.4)
X=(PV_Final_Layon_Pressure - PV_Begin_Layon_Pressure)
B= PV_Begin_Layon_Pressure
But what is the - 0.4) / 1.6) * 10000