I have created a test project in purpose to develop a FB for handling communication between some CPU's.
1 CPU, will read out info from 1 DB from 6 other CPU's.
In my test project i only use 2 CPU, but instead i poll the comm partner 6 times.
I have discovered a BUG which i can't explain nor fix. Therefor i hope for you guys to help me out.
I Use a DB (DB20) where i have put the ID's for the comm partner CPU's. Because i only have 1 other CPU to communicate with, this DB has W#16#1 as ID for each PLC.
When i force communication error by changing ID for one of the rows in DB20. I have noticed that my FB100 fails to read the data from that CPU (OFCOURCE) but the BUG is, it also always misses to read out for the consecutive CPU, regardless of what ID i change in my DB20 connection table.
Is this my Code, or is it some mechanism inside SFB14 that causes this problem.... ?
I attach the project, which is mixed FDB and STL. Swedish Comments (SORRY) but i think you skilled people will figure out how it is intended to work.
My Archive was 409Kb to big for the forum so my project can be found here:
http://dc204.4shared.com/download/220390930/174ef778/S7-komm.zip?tsid=20100212-043249-5fe53e0
Or if it does not work please try this link
http://www.4shared.com/file/220390930/174ef778/S7-komm.html
Best Regards
Pethoek
1 CPU, will read out info from 1 DB from 6 other CPU's.
In my test project i only use 2 CPU, but instead i poll the comm partner 6 times.
I have discovered a BUG which i can't explain nor fix. Therefor i hope for you guys to help me out.
I Use a DB (DB20) where i have put the ID's for the comm partner CPU's. Because i only have 1 other CPU to communicate with, this DB has W#16#1 as ID for each PLC.
When i force communication error by changing ID for one of the rows in DB20. I have noticed that my FB100 fails to read the data from that CPU (OFCOURCE) but the BUG is, it also always misses to read out for the consecutive CPU, regardless of what ID i change in my DB20 connection table.
Is this my Code, or is it some mechanism inside SFB14 that causes this problem.... ?
I attach the project, which is mixed FDB and STL. Swedish Comments (SORRY) but i think you skilled people will figure out how it is intended to work.
My Archive was 409Kb to big for the forum so my project can be found here:
http://dc204.4shared.com/download/220390930/174ef778/S7-komm.zip?tsid=20100212-043249-5fe53e0
Or if it does not work please try this link
http://www.4shared.com/file/220390930/174ef778/S7-komm.html
Best Regards
Pethoek