Siemens TIA P (v13) PID compact troubles

DairyBoy

Member
Join Date
Jun 2007
Location
UK
Posts
393
I have set up some "PID_Temp" loops in a 1517F3 processor and they seem to work ok. For pressure and flow rate I've used "PID_Compact". The issue is that one of them only outputs it's manual value, even when the manual enable i/p is false. I've checked the output address and man en i/p for multiple use. All clear. Is this just another bug? Thanks.
 
Sounds like a programming error...
Are the PID's called from a cycle OB?...
Cycle time correct?....
Overwriting any instance data block bits etc?.....
Separate instance data blocks?...
 
Hi,

you should check the value of the tags "RunModeByStartup" and "Mode".
If "RunModeByStartup" = TRUE, then the PID will go to the operating mode specified by tag "Mode" after a CPU STOP -> RUN transition.
The default value of "Mode" is 4, so PID will start with manual mode after download, if "Mode" was not changed before.
If you want him to start in automatic mode you could change to "Mode" = 3.

During operation the value of "State" will always be written back to "Mode". So the PID will restart with the last operating mode if there are further STOP -> RUN transition of the CPU.

Regards
 

Similar Topics

I am working on a program that was developed in 2015 for an S7-300 safety PLC. The new copy of this machine uses an S7-1500 safety plc. We were...
Replies
4
Views
1,885
Hi guys. Sorry. I can help me please, i no dont the program of a furnace, i do download en simatic manager, but so export a tia portal 13 i have...
Replies
3
Views
1,826
Hi, I have a 315-2 PN/DP CPU. It was programmed in Step 7 V5.5. Then a colleague programmed it in TIA Portal V13 for a test. Now I want to...
Replies
6
Views
2,279
I am hoping someone can help me. I have a siemens system in our facility that was built by a 3rd party. It arrived in less than stellar...
Replies
21
Views
10,449
Hi, I've just created a function block in TIA portal and would like to add it to global libraries, but struggling to do it. Has anyone got any...
Replies
14
Views
5,501
Back
Top Bottom