Hello everyone,
From an basic instrumentation course I attended i wanted to try PID control in S7 300 PLC.
I'm using fb41 called in OB35 with both having cycle time of 100ms. My problem arises when I change SP_INT. In theory with P term only the following occurs,
PV = 50%
SP = 50%
MV = 50%
PV = 40%
SP = 50%
MV = 60% or 40% depending on Direct or Reverse Acting.
I have tried as much as i possible can to replicate this in S7 300 but with no success. The only success i have had is when i set gain to -1.0 and the SP to 0.0, LMN HLM 100, LMN LLM 0. The input is scaled in FC105, 0 - 100. With this i get the expected results on the PV and the MV but they make no sense as the SP is 0. I have read that the SP is -100 to 100% or a real value. How do i enter a percentage on the SP_INT input?
Any guidance would be appreciated.
Regards
Barry.
From an basic instrumentation course I attended i wanted to try PID control in S7 300 PLC.
I'm using fb41 called in OB35 with both having cycle time of 100ms. My problem arises when I change SP_INT. In theory with P term only the following occurs,
PV = 50%
SP = 50%
MV = 50%
PV = 40%
SP = 50%
MV = 60% or 40% depending on Direct or Reverse Acting.
I have tried as much as i possible can to replicate this in S7 300 but with no success. The only success i have had is when i set gain to -1.0 and the SP to 0.0, LMN HLM 100, LMN LLM 0. The input is scaled in FC105, 0 - 100. With this i get the expected results on the PV and the MV but they make no sense as the SP is 0. I have read that the SP is -100 to 100% or a real value. How do i enter a percentage on the SP_INT input?
Any guidance would be appreciated.
Regards
Barry.