data blocks

Hello, panthripu;
A DataBlock (DB) is an area of S7 CPU memory than can be reserved and configured for the use of a program. If you use a "Shared DB", you configure it for your own needs. If you program a Function Block (FB), an "Instance DB" is generated, based on the structure of the memory requirements of the FB.
I suggest you read (and practice) a Siemens document called "Working with Step7"; it comes in PDF format and is included with the documentation of your Step7 (Start--> Simatic--> Documentation--> English--> Working with Step7). This should give you a good start.
Hope this helps,
Daniel Chartier
 

Similar Topics

Hi. I'm new to TIA Portal. I recently discovered that F-I/O data blocks are generated from the hardware config using the starting address and the...
3
Replies
868
Views
Hi All, relatively new to the world of Siemens and have a question regards the options between Instance data blocks (IDB's) that can be assigned...
15
Replies
3,763
Views
Is it possible to access data from a Siemens S7-1500 PLC by using Node-RED, Python, KEPServer, an OPC server or client, or any other method if the...
13
Replies
8,094
Views
I'm relatively new to Siemens so bare with me. I've done several projects in V18 and have compiled a decent library of Data Blocks and Data...
4
Replies
5,090
Views
What is the difference between Instance and shared DB. I can access both blocks variables in main block OB1. So what is the major difference...
3
Replies
1,058
Views
Top