Posted 31 Aug 2018 Hi, I am using PID function (PID operation instruction) from GX Works 3 library but it doesn't work. I set all necessary parameters (sampling time, direction and upper/lower limit values + KP, TI). My input PID_Par is array of 25 points (in manual is written: "*1When auto tuning is not used, the same number of points are occupied as when the step response method is used."). For example, in GX Works 2, PID function works ok. Did someone have similar problem? Does someone have mitsubishi library (GW Works 3) with PID function that works correctly? Regards Luka Share this post Link to post Share on other sites
Posted 31 Aug 2018 Which PLC are you using iQ-F or iQ-r ? Share this post Link to post Share on other sites
Posted 31 Aug 2018 8 minutes ago, Gambit said: Which PLC are you using iQ-F or iQ-r ? Sorry, I forgot to mentioned--- iQ-R (RO4 CPU) Share this post Link to post Share on other sites
Posted 4 Sep 2018 On 8/31/2018 at 5:00 PM, Luka0204 said: Hi, I am using PID function (PID operation instruction) from GX Works 3 library but it doesn't work. I set all necessary parameters (sampling time, direction and upper/lower limit values + KP, TI). My input PID_Par is array of 25 points (in manual is written: "*1When auto tuning is not used, the same number of points are occupied as when the step response method is used."). For example, in GX Works 2, PID function works ok. Did someone have similar problem? Does someone have mitsubishi library (GW Works 3) with PID function that works correctly? Regards Luka In GXW3 PID have some strange difference with GXW2. 1) PID doesn't work if you place it in FB. Works only in program body (FC i didn't test) 2)Array of PID parameters must be declared global variables with preset address 3)All inputs/outputs of PID (s1,s2,s3,D) also must be declared as global variables with preset address This is that i have understood during the working with fx5u plc. Share this post Link to post Share on other sites
Posted 19 Oct 2018 Hi, once again question regarding the PID control. When I am using PID Control Instructions (Exact Differential) and I am limiting Manipulated Value (MVLL, MVHL), from 0 to 32000. But, when I run a PLC with these limits, I can't get MV more than 2050. In manual is mentioned that PID limit can be restricted (-50, 2500) or not (-32768, 32767). How to disable PID limit restriction to get limit range (-32768, 32767)? Regards Luka p.s. Thanks to Clear Mind for previous answer Share this post Link to post Share on other sites
Posted 22 Oct 2018 On 10/19/2018 at 1:49 PM, Luka0204 said: Hi, once again question regarding the PID control. When I am using PID Control Instructions (Exact Differential) and I am limiting Manipulated Value (MVLL, MVHL), from 0 to 32000. But, when I run a PLC with these limits, I can't get MV more than 2050. In manual is mentioned that PID limit can be restricted (-50, 2500) or not (-32768, 32767). How to disable PID limit restriction to get limit range (-32768, 32767)? Regards Luka p.s. Thanks to Clear Mind for previous answer Hi, solution lies in special register SD 792 where for loop 1 I needed to activated bit b0 to set 'No limit restriction'. Regards Luka Share this post Link to post Share on other sites
Posted 14 Jul 2019 Hi, I'm new here realy need a help, I am stuck. I need to make PID temperature regulation of heat chamber ( for my school work), using Mitsubishi plc fx5u in GX Works3 FBD/LD program. I don't have any modul of temperature sensor. I use NTC resistor connected to AD. I use PID function block, I made almost all program but , don't understand two things: 1. How to input my paramerers ( Before I made matlab simulatiom of proces and I got the paramerers, Proportional gain and Integral time. Problem is my Kp= 0.072 and my Ti=144.82s, dont use KD. ) In manual writes: setting range is 1 to 32767 (%) and I dont now how ti write my value. What meant this precentage. For Ti Setting range is 0 to 32767 (x100 ms), here I need writes my time in ms? 2. I don't now how to connected my output of PID (MV) to turn on and off heater. Can I use PWM function? Or i need to use high speed timer? How to make it? Can it make like I started or need to change all conncept? please help me!!!! Share this post Link to post Share on other sites