Jump to content

JSonne

Members
  • Posts

    5
  • Joined

  • Last visited

JSonne's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. We have deleted all PID FBs completely from the project, saved it, built all, transferred to the PLC, then inserted the PID FBs again, saved again, built all, transferred to the PLC. The PID Config FB is now in !Main Module.!Main Routine with a SB2 set condition. We still have the PID status 9 issue, and when reading the PID values with READ CC, I and D value are 0, P is changing. Parameters are: P = 30, I = 20, D = 20. Do you have a hint what to do? With best regards, JSonne
  2. Hello Emil, We replaced version 8.01 by version 9.01, and it works good. The PID config block should be scanned the first time with SB2 = Hi and then EVERY scan afterwards, is that correct? The ON-OFF strategy is a normal nonlinear control strategy which can be run with a linear controller within certain margins... I replaced the control for two of the valves (out of 6) with a PWM at a frequency of 1 Hz. This shows the same results as the old configuration, however still we have the PID status 9 issue. With best regards, JSonne
  3. Hello Emil, The FB PID Conf is only scanned once. It is part of a larger init subroutine, which is just scanned during power on. I have to ask back with a colleague regarding the version change. He must have a reason for not changing the version. Regarding our suggestion of driving a solenoid valve with a 100 Hz PWM to make it kind of a proportional valve: I think this can cause severe thermal problems and will shorten the solenoid life drastically. So this is no option, I'm afarid. The issue is that the control is just P and I and D have no effect (status 9 permanently). With best regards, JSonne
  4. Hello Emil, Thank you very much for your promp reply. 1. Hardware is a V530-53-B20B Rev. A, 2. Visilogic is 8.0.1 build 0, OS is 5.04 (13), 3. Log is attached. CV is used to control a solenoid valve. CV range is -80 to +80, valve is opened if Cv is > 0. I have changed from I = D = 0 to I = D = 20 during logging (time set to zero 3 times: I = D = 20 after the last time). No changes as far as I can see. With best regards, JSonne
  5. Hello All, I have an issue with PID control. The process to be controlled is quite fast, so auto tune makes no sense and I approach the optimal PID parameters manually. To get a feeling for it, I started with P = 5% and switched off I and D: P = 50, I = D = 0. Sample time is set to 50 ms. Control is doing ok but I want to make it better, of course I want to optimize with I and D (setting I and D to non-zero values). But then I found that PID status is 9 permanently, independent from I = D = 0 or not. The PID values for I and D read with "READ CC" are 0 permanently. I repeat: This behaviour is independent from the values of I and D. Setting PID status to 4 manually does not help. There are no "PID PAUSE I & D" or "FORCE ERR INTEGRAL" blocks in the control loop. Why do I have PID status 9 permanently, even when I = D = 0? Any help is appreciated. Regards - JSonne
×
×
  • Create New...