u_ctrl
Purpose:
-
Change specification settings for a user control task.
Enter:
-
u_ctrl <loop_name> [option=value] …
Where:
-
loop_name
Specify the name of the user controller as it was entered in the user control specification file.
option
Specify any or all of the following options. Do not enter units.
- md or mode to set the mode to Open or Closed
- orr or olrr to set the open loop ramp rate (output units per second)
- crr or clrr to set the closed loop ramp rate (output units per second)
- tol, t, or tolerance to set the closed loop tolerance (output units)
- pgain or pg to set the proportional gain
- igain or ig to set the integral gain
- dgain or dg to set the derivative gain
- ffgain, ffg or ff to set the feedforward gain
- lob, lowob, lowerbm or lowb, to set the lower output bound (output units)
- uob, upb, upperb, or upob to set the upper output bound (output units)
- clt, tar, or target to set the closed loop target (feedback units)
- olt. oltar, or oltarget to set the open loop target (feedback units)
- rit or reset to reset integral term
Example:
-
u_ctrl my_loop pg=3 ig=0.5 mode=C
The above resets the proportional and integral gains for controller my_loop and changes the mode to closed loop
Notes:
-
Many specification options can be entered as a value, value with units, label, or expression.
Only a simple value can be overwritten with this command.
A value with units is treated as an expression.