Jan Steen Nielsen FB121 won't work...

nightline

Member
Join Date
Feb 2010
Location
Prinsenbeek
Posts
425
Gents,

I've a machine with a S7 313C PLC, and have to control a temperature. At this moment it's done by some timers, with a lot of temperature alarms.
So I found a sample program from Jan Steen Nielsen from Danmark, who programmed a FB121 Pid controller.
I've copy passed the FB121 with the DB121 instance block in the controller.
I've put the FB121 in FC70, and created the Data in DB70.
If I monitor DB121, I see a lot of parameters changing, except the output variable.

Has anyone any idea, what I do wrong?
Or is more information needed?

Thanks in advance!

Jack
 
Never used or even heard about your blocks.

Any particular reason you don't use the FBs from Siemens' standard control library? If I remember correctly there is a FB58 foreseen for temp control.

Kalle
 
Hi Kalle,

It's probably my knowledge about programming Siemens S7, but I've tried FB58 also, but I've not found a good manual for this FB how to program it, and to use it.

Jack
 
There are many users of FB58 and FB41 on this forum, so I think it is much easier to get help and advice on those FBs.


In this old thread I posted a screenshot of a FB58 call. It is done in CFC, but if you don't use CFC you can still use the settings to make the controller start working. There's some further explanation in later posts. It will of course need additional tuning to fit to your process' parameters.

http://www.plctalk.net/qanda/showthread.php?t=55913

Kalle
 
Okay, I've a FB58 with DB58 in my program FC70.
And an OB35 with a call for DB58.
The FB58 will not work, and I don't know why, I've read several manuals, and threads, but can't find the problem...
 
Is that a Typo and you really meant you call FB58 in OB35?

Also what do you mean by "will not work"?

It would help if you could post a PDF of OB35 showing how you've parameterised FB58.

FB58 is programmed in FC70, in OB35 is a call for FB58/DB58
 
Last edited:

Similar Topics

I just noticed this.... http://arstechnica.com/security/2014/06/attackers-poison-legitimate-apps-to-infect-sensitive-industrial-control-systems/ rix
Replies
3
Views
1,761
I don't get a lot of geek chatter - but I found this "FBI shutting down my computer" news report to be somewhat interesting ... a quick forum...
Replies
2
Views
1,448
The following Step 7 project has been run using PLCSIM and contains code that flashes Q0.0 The Project is based on a UK board game called Cluedo...
Replies
8
Views
4,589
http://www.theregister.co.uk/2010/07/20/win_shortcut_vuln_exploit_code/ Somebody is definitely reading our discussions about shop floor...
Replies
13
Views
5,102
Back
Top Bottom