PIDProp, PIDInt, PIDDeriv

Error,program NOT Sent!
pls correct what wrong below code ?

10 VAR1 = PIDPROP ( 1,5 )

Format: PIDPROP(PID# , value )

Hi @wsf2w,
Below is an example code that can help you.
In the example, we pass the PID coefficients to the PID1 controller using the external variables of the controller:
10 REM *** PID1 SETTINGS ***
20 P = CONPROP ( 1 , VAR1 )
30 I = CONRESET ( 1 , VAR2 )
40 D = CONRATE ( 1 , VAR3 )
50 END