315 2dp

Unregistered

Guest
U
Hi ,
Anyone know off the top of their head what the maximum local data area size is for 315 2dp ? I've left site , and forgotten to save the error log , and I was hoping to butcher down some of the local stuff this pm to get it to run tomorrow - Many thanks
 
sorry , should have been clearer , locally assigned temp variables - I have 18 pid loops in one FC , and these are encapsulated to make them easier to use , i also have some scales , and some temporary dints and reals assigned , the processor is groaning that this local data ( and I assume they mean all of the nested local data as well ) is too big - as I said , I didn't paste the error before coming back this pm , if I recall though the 315 2 dp supports 2048 bytes (?) of local data and if I count the nested blocks , then I am up there ( this fb was directly copied from a 416 where space wasn't too much of an issue) - it is not too much of a job to cut the call pids block in half as each pid has its own db rather that a common instance db .
Thanks
 
ps , siemens refer to it as local data , and if you go to part 2 of object properties , you can see the local data usage
 
Just checked on the Siemens Support pages, (I'm not at work now, so don't have the catalogue handy).

Local data per priority class: May 1024 Bytes per run level, 510 Bytes per Block.

Hope that covers you.
 
Depends

Hi,

You should first check if your 315-2DP is the old one or the new one (with a memory card with a size similar to a Secure Digital flash memory).

If you have copied the block from the S7-400 one the problem migth be on the size of the block (S7-400 has a maximun block size of 64kB).

I hope this helps
 
thank you all , I did try the support pages , but can't get them to open from my location.
 
Thanks !!
Job done and dusted - 63 motors , 18 PID loops , and all in a poor little 315.
100 ms cycle , but there we go!
 

Similar Topics

Dear sir, I am using SIMATIC 300, CPU 315-2DP , (6ES7 315-2AF03-0AB0) VIPA 603-1CC21 A1.0 RAM 32KB, Firmware=V4.0.8 The problem Im using MPI...
Replies
2
Views
205
Hi , Looking for some help. We have a 343-1 PN Lean Card & 315-2DP connected to an external system collecting data. After a recent shutdown...
Replies
0
Views
77
I'll preface this by saying this is the first time I've worked on a Siemens system and I'm fairly unfamiliar with them. I might mess up some of...
Replies
29
Views
832
Hi We were having a few power cuts and the CPU would not work. I had to reset the memory and he CPU would read from the memory card and start...
Replies
13
Views
3,217
Hi! I have never cross this kind of problem.. I have kind of working program on 315-2dp cpu. Program has been working nearly 20 years like this...
Replies
11
Views
2,436
Back
Top Bottom