Hello ALL,
I am facing a problem while executing the PID instruction. As soon as the Processor is put in Run mode the CPU goes to fault indicating PID fault. If the instruction is deleted then the rest of the program works fine.
I have set the parameters as follows -
Kc-0.5, Ti- 0.1, Td- 0.0 , Loop update - 0.2 , Mode- Sp-PV, Control - Auto, Time mode - STI, SP MAx- 16383, SP min 0, CV Max - 100, CV MIn -0
In the processor status-STI tab S30= 20, S31 = 7, s:2/1 = 1
Is the S31 related to the Program file where the PID instruction is placed? Mine is in File 7.
In Run mode my Loop update time gets reset to 0.
I am not able to find the exact cause of this, so would appreciate any pointers in right direction.:nodi:
Thanks,
I am facing a problem while executing the PID instruction. As soon as the Processor is put in Run mode the CPU goes to fault indicating PID fault. If the instruction is deleted then the rest of the program works fine.
I have set the parameters as follows -
Kc-0.5, Ti- 0.1, Td- 0.0 , Loop update - 0.2 , Mode- Sp-PV, Control - Auto, Time mode - STI, SP MAx- 16383, SP min 0, CV Max - 100, CV MIn -0
In the processor status-STI tab S30= 20, S31 = 7, s:2/1 = 1
Is the S31 related to the Program file where the PID instruction is placed? Mine is in File 7.
In Run mode my Loop update time gets reset to 0.
I am not able to find the exact cause of this, so would appreciate any pointers in right direction.:nodi:
Thanks,