Hello,
I am trying to modify a working program that uses parameter files for the different control items in the system.
So for PID Loops there a popup screen with numeric inputs for Setpoint, P, I, D, Min, Max that are tied to various parts of the PID instruction. These all work great.
Example: Setpoint Numeric Input ->Connections->Value: {#21}
Parameter file:
#21 = {[PLC1]PSI_01.SP}
This works great. Change the setpoint and it shows up in the PLC PID block.
Now, I am trying to add parameters for Min&Max Values.
Updated Example:
Setpoint Numeric Input ->Connections->
Value: {#21}
Minimum: {#50}
Minimum: {#51}
Updated Parameter file:
#21 = {[PLC1]PSI_01.SP}
#50 = 20
#51 = 150
So the idea is this would limit the customer input between 20-150, but when it is loaded on the screen the limits are both 0.
Do the numbers have to be in {} as well? I was thinking that was just for the PLC tags?
Any idea why it is not working? Tried to read the manual on parameter values, but can't find anything pertaining to min & max.
I have about 10-15 of these through out the program and none are working, so it seems to be something in how it is coded.
Thanks.
I am trying to modify a working program that uses parameter files for the different control items in the system.
So for PID Loops there a popup screen with numeric inputs for Setpoint, P, I, D, Min, Max that are tied to various parts of the PID instruction. These all work great.
Example: Setpoint Numeric Input ->Connections->Value: {#21}
Parameter file:
#21 = {[PLC1]PSI_01.SP}
This works great. Change the setpoint and it shows up in the PLC PID block.
Now, I am trying to add parameters for Min&Max Values.
Updated Example:
Setpoint Numeric Input ->Connections->
Value: {#21}
Minimum: {#50}
Minimum: {#51}
Updated Parameter file:
#21 = {[PLC1]PSI_01.SP}
#50 = 20
#51 = 150
So the idea is this would limit the customer input between 20-150, but when it is loaded on the screen the limits are both 0.
Do the numbers have to be in {} as well? I was thinking that was just for the PLC tags?
Any idea why it is not working? Tried to read the manual on parameter values, but can't find anything pertaining to min & max.
I have about 10-15 of these through out the program and none are working, so it seems to be something in how it is coded.
Thanks.