Step7 V11 using plc data types in FB call

Join Date
Sep 2011
Location
Skåne
Posts
3
In older step7 versions it was not preferable using direct acess to UDT data in the block interface. (defined as in/out paramters to FB/FC blocks. As we all know doning this would create loads of over head code in the background, making your project grow rapidly.

What about step7 V11, is the code comiled in a smarter way, making it possible to use own defined data types (PLC data types) as in/out parameters to FB/FC block. Or is the limitation the S7 CPU itself.

What about S71200.

Anybody that have done any tests?
 
I made some tests:

The complied blocks is equally big when using tia portal step7 V11 or step7 V5.5. But if using S7 1200 the work memory consumed is much less.

The test used 1 UDT with 32 bool as IN/Out parameter to a FC/FB
All 32 bools were used once within the FC/FB.
See below table:

With UDT
Step7 Version CPU Loadmem Workmem Blocktype Operators
-------------------------------------------------------------------
V11 + SP1 S7315 1720 1574 FC 32
V11 + SP1 S7315 1596 1382 FB 32
V11 + SP1 S71200 5095 132 FC 32
V11 + SP1 S71200 5310 132 FB 32
V5.5 S7315 * 1574 FC 32
V5.5 S7315 * 1382 FB 32

Same code when using 32 separatet bool as in/outs.

Without UDT
Step7 Version CPU Loadmem Workmem Blocktype Operators
---------------------------------------------------------
V11 + SP1 S7315 312 166 FC 32
V11 + SP1 S71200 4518 101 FC 32

Conclusion:
So there is no inprovement in using UDT as inOUt to FC FB for S7300.
BUt there is a big improvement when using s71200
 
Last edited:
How could there be? Think about hw arch, u cant just change it on the fly how cpu handles addresses.

s7-1200 is all new arch so they could make it more efficient from the start.
 

Similar Topics

Is anyone else in this situation? Two people work in office, we have been using Step7 V11 Basic since 10.5 to program our S7-1200's. We also have...
Replies
5
Views
6,455
Hi, the new STEP7 v11 is appearing on the weather-radar. If you are using STEP7 (not Pro version), then it can save you a bit of money if you...
Replies
10
Views
11,207
A new website called "TIA Portal" has been launched today. http://www.industry.siemens.com/topics/global/en/tia-portal/Pages/default.aspx...
Replies
9
Views
8,312
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
160
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
156
Back
Top Bottom