Hi Anh, I've quickly looked over your program and a couple of things come to mind. - Do not set the PID parameters directly off of the instruction execution. The auto tune will not be able to function. - You are writing channel 3 into channel 10 every scan. This will be the input of the PID. (PV value) www.fa.omron.com.cn/data_pdf/mnu/w451-e1-03_cp1h_cp1l.pdf?id=1916 I would suggest going the manual (3-17-2 PID CONTROL WITH AUTOTUNING: PIDAT(191)) and using the example. Hope this helps you out. Regards, Garry
@@ACCautomation I wanna control the MV by limit it from 1000 to 6000. I change the value of C+7 (&1000), C+8 (&6000) and C+6 (#1494) but it isn't executed. I don't know why
Hi Anh, Bit 12 of C+6 must be on to enable the MV limits. You have a correct value to enable it. (#1494) Remember that all parameters are set in Binary. If you want a limit from 1000 to 6000 then C+7 (#03e8) 1000 and C+8 (#1770) 6000. Regards, Garry
Garry Shortt
I have a problem with PIDAT. When I make same the example in manual then the value of Output Word no change.Help me. Please!
drive.google.com/file/d/1aaRFeF-t8sSYvV2ZWRLfM4HW0hDVymvD/view?usp=sharing
Hi Anh,
I've quickly looked over your program and a couple of things come to mind.
- Do not set the PID parameters directly off of the instruction execution. The auto tune will not be able to function.
- You are writing channel 3 into channel 10 every scan. This will be the input of the PID. (PV value)
www.fa.omron.com.cn/data_pdf/mnu/w451-e1-03_cp1h_cp1l.pdf?id=1916
I would suggest going the manual (3-17-2 PID CONTROL WITH AUTOTUNING: PIDAT(191)) and using the example.
Hope this helps you out.
Regards,
Garry
@@ACCautomation I wanna control the MV by limit it from 1000 to 6000. I change the value of C+7 (&1000), C+8 (&6000) and C+6 (#1494) but it isn't executed. I don't know why
Hi Anh,
Bit 12 of C+6 must be on to enable the MV limits. You have a correct value to enable it. (#1494)
Remember that all parameters are set in Binary. If you want a limit from 1000 to 6000 then C+7 (#03e8) 1000 and C+8 (#1770) 6000.
Regards,
Garry
@@ACCautomation And value of MV to 4095 (0FFF hex) is max. I want it to 65535 (FFFF hex)