3/12/2015 12:41 AM | |
Posts: 1 Rating:
|
Hello!
I am programming a PLC 400 with STEP 7... inside of the program I create a FB in order to control a Valves... I call this FB 40 times because I have 40 valvs... My problem is because it seems the data overwrite... When I call a FB one DB is created (DB instance)... so I call the same FB 40 times but with different DB, because every FB requires a DB... when I run the program and I go online in order to see the behavior of the program. I have a variable outside the FB and this variable (bool) has a 1 (True) but inside the FB this variable blinks... this behavior is wrong. This variable is a IN that is configured into the FB... I already review the programa and I don't call this variable another time... so... there are something that I must know about how to configure a FB so that the varibles don´t overwrite between FB (themselves)
-------------- |
Last edited by: Min_Moderator at: 3/12/2015 9:40:42 AMNew subject after splitting |
|
3/12/2015 6:01 AM | |
Joined: 2/6/2009 Last visit: 8/2/2024 Posts: 939 Rating:
|
Hi AutoGen, You won't be able to monitor the status of the particular instance/Selected call environment when the FB is called multiple times as multiple instance. Open it online with the call path via Test Operation,to monitor the status of the selected call environment,
Here is the link for "How do you monitor a block with the desired call environment in STEP 7". |
Last edited by: Saravana kumar at: 3/12/2015 6:03:17 AM_______________________________________________________________ |
|
6/3/2015 11:02 AM | |
Joined: 9/1/2005 Last visit: 8/12/2024 Posts: 4104 Rating:
|
new question published by lemagicien1978 is split to a seperate thread with the subject step 7 v5.5 - application close when running block
Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on