20 pid´s in siemens

darkest_shade

Member
Join Date
Jun 2007
Location
monclova
Posts
54
icon10.gif
how can i program or make an arrange to manipulate 20 or more pid´s in siemens s-7, remember a thread of NICK B & KEN M but dont understand at all, can i make an acumulator on ob35? for trigger pid´s individual?

ROGER
icon10.gif
 
Hello shade;

In one project we did 25 temperature loops in a S7-313C-2DP processor, all in OB35, set at 100ms. Of course the rest of the program was as compact as we could make it (we used the available technological functions to control heating SCRs), and we used multi-instance DBs to limit the amount of memory we needed to process the whole project. But the OB35 call was not a problem.
Your main limitation will be the work memory available on your CPU, not the cyclic OBs.
Hope this helps,
Daniel Chartier
 
thanxs for your reply D.Chartier
icon10.gif


all at the same time? ill need to check the specifications of your cpu vs mine, im using a cpu 417-4h. ill try for trigger the pid´s at diferent times, i dont know if 2 or 4 at a time will be fine.

kensuke.jpg
 
A 417 is a lot of Horsepower...and thus would not worry about it. You have a lot of Interrupt OB's (OB30~38). On a small 300 with only OB35 to play with I would probably build a mux and break the calls into 4 to keep the jitter done.

Nick
 
As Nick B says, "A 417 is a lot of Horsepower!"

When setting up your timed interrupts for processing you PID loops, bear in mind the process. There is no point running your PID loops faster than the the feedback is likely to change. i.e. a temporature control loop will run acceptably at a relatively low update time but a position control loop would want to run much faster!

Nick
 
icon10.gif
thanx nick´s!!

is great to know that
icon17.gif
i´m using a filter level control, for a gas refinery. think i need low update 500ms 1sec maybe.
so if i do a 24 pids with this proccesor, Nick you think i need to make interrupts???
icon10.gif


if yes
can you please give me some small explanation how can i do that any example will be great.

else
just for curiosity, can you please give me some small explanation how can i do that any example will be great.

////////////THANX!!!!!
icon10.gif


end.

kensuke.jpg
 
icon9.gif
damn i have troubles, i can make one of the pids work fine, but i cannot make 2 work simultaneously, or switch them, there only works the first one, the second stays into zeros.

does any one have any solution????

i know, it must be simple, but i cant see the answer, i need my 23th coffee cup,
icon10.gif
 
Timed interrupt OBs are configured in the hardware config for the processor and are executed at a regular interval e.g. OB35 every 100mS.

If you post the code the doesn't work for you, someone may be able to offer advice on what's wrong with it.

Nick
 
icon10.gif
SORRY MY MISTAKE
icon17.gif


I´m using a 412-1 for tests right now, cuse the 417-4h is on instalation, alrready manipulate 3 pid into ob35, they don´t worked cuse i dont toggle the setpoint input, when i toggle the inputs they start to work! is that normal??? isn´t COM_RST that for¡???

kensuke.jpg
 

Similar Topics

Hello, I have a CPU 317-2DP Firmware Version V2.1.8. In TIA Portal only V2.6 is available, and there is no option to upgrade FW. Then I open it...
Replies
2
Views
103
HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
9
Views
303
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
107
Hello everyone, I've had this issue for the last 2 days where I try to assign the profisafe address to an IO block (6ES7 146-6FF00-0AB0) but when...
Replies
5
Views
160
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
197
Back
Top Bottom