3/24/2010 12:29 PM | |
Posts: 1 Rating:
|
I am new to step 7 basic, here is my problem: |
3/24/2010 3:04 PM | |
Posts: 691 Rating:
|
Have a look at the Attachment
AttachmentMultiple Instance.zip (3646 Downloads) |
3/24/2010 3:11 PM | |
Joined: 4/24/2006 Last visit: 3/14/2025 Posts: 8894 Rating:
|
Hi, In addition, have a look at this link: how can you reduce memory usage with Multi instancing? Best regards, Wizard |
This contribution was helpful to
2 thankful Users |
3/24/2010 4:16 PM | |
Joined: 5/28/2008 Last visit: 3/6/2025 Posts: 1343 Rating:
|
We are talking about Step7 Basic. Multiinstance like in "normal" Step 7 is not possible in that way. What you can do is, call the FB several times and enter the DB, that already exists (not a new one). Then every call uses the same DB. But beware, data from previous call will be overwrite. Make sure, that you deal with the data before that. regards |
3/24/2010 4:37 PM | |
Joined: 4/24/2006 Last visit: 3/14/2025 Posts: 8894 Rating:
|
Dear Robster, Yes, you are right, it is about Step 7 basic. So is the link I already mentioned Best regards, Wizard |
This contribution was helpful to
1 thankful Users |
3/24/2010 9:17 PM | |
Joined: 9/23/2005 Last visit: 3/14/2025 Posts: 4406 Rating:
|
Hi, note that the link talk just about Timers... Timers enables the buttons "multi instance", FBs not. |
Denilson Pegaia |
|
This contribution was helpful to
1 thankful Users |
3/25/2010 10:26 AM | |
Posts: 27 Rating:
|
And all variables will be deleted and changed be new ones, declared in a new FB or just supplemented by new values? Trying to check this, because FB doesn't see DB that is already generated by the priviouse FB. Perheps, previous FB should declare the variables of the future FB? |
Last edited by: SmashManfis at: 3/25/2010 10:49 AM |
|
3/25/2010 11:33 AM | |
Joined: 5/28/2008 Last visit: 3/6/2025 Posts: 1343 Rating:
|
In attached picture you see what I mean. You have one FB calling several times. For every call you use the same instance datablock. You can have different In- and Outputs at FB. If first call is ready the datablock will handle the datas of second call. The actual data in datablock are always the data from actual FB is calling. E.g. USS or Modbus library of S7-1200 uses this process. I think what you want to have is to have one instance DB for severeal instances of different FB's? It is described in S7-1200 online help but in my opinion it is not possible at this time. I tried it also, but doesn't work. |
3/25/2010 4:09 PM | |
Joined: 9/23/2005 Last visit: 3/14/2025 Posts: 4406 Rating:
|
Hi, This functionality will be included in a later version. |
Denilson Pegaia |
|
This contribution was helpful to
2 thankful Users |
6/7/2010 5:30 PM | |
Joined: 6/1/2010 Last visit: 2/17/2025 Posts: 36 Rating:
|
HI, I can read in the documentation STEP 7 V10.5 SP2 (ID 40808553) point 7.2.1.3 Multi-instances Page 352. the scheme "One instance data block for multi-instances of a function block" describe multinstance in FB. at the page 460 you can read the procedure to doing that. I try but it doesn't work. Does Siemens write this if it's not possible ? it's for the next version as you told ? |
Follow us on