Siemens S7, SFC83,84 problems

Looks like the same problem but my german is a bit rusty.

http://www.sps-forum.de/simatic/40935-fehler-bei-sfc83-read_dbl.html

Looks like it has something to do with the DB changing while the SFC is in progress...I think....

.

Yea, i read something like that also.

But this shouldnt be in my case. I have nothing that changes the values in my Source DB except the VAT table im using to put in values.

I have simply done like this

Created two DBs, 1 linked and 1 unlinked.
In them i have created an array with 2 INTs. So they both look the same.

Then i put in my values via a VAT table in the LinkedDB.

I activate a bit which triggers the REQ on the Write SFC to write from the LinkedDB array [0] to the Unlinked array [0].

I then deactivate that bit, change the value in the LinkedDB to 0.

Activate the bit which triggers the REQ on the Read SFC to read from the Unlinked array [0] to the Linked array [0].

So this works on my test rig but not on the actual PLC where i need it.

Edit: I saw now when i read the post one more time that it worked for him for a while if he made the PLC go from RUN to STOP and back. I have not been able to try this due to production.
Mabye i have done something so my PLC go stuck in the same mode as for this guy.
 
Last edited:
Is it being called in an FB/FC? Perhaps the FB/FC is being called multiple times thereby causing the SFC to be called more than once?

(Also did you get a chance to try updating the firmware yet?)
 
Is it being called in an FB/FC? Perhaps the FB/FC is being called multiple times thereby causing the SFC to be called more than once?

Its called in an FC but that FC is only called in one place in OB1.

Edit: About the firmwire. I will try a "cold reboot" tomorrow and see if that german forum post was right. If thats not working i might give that firmwire update a try.
 
Last edited:
Okay so according to the S7 help file error code 80C3 means "The maximum number of simultaneously active SFC 83 is currently reached" but according to this document on page 94 that same error code is described as "The required operating resources are currently occupied." It makes sense that the operating resources would be occupied when calling the SFC too often, but it seems for you that isn't necessarily the case. I'm no expert, so maybe some others can help chime in here about why else your operating resources would be occupied. Maybe check the memory of that PLC? Sounds like a cold reboot could also work though if there may be excess programs being called and got "stuck" that were bogging the PLC down? These are all guesses of course, hopefully not showing my lack of experience here too much...
 
Okay so according to the S7 help file error code 80C3 means "The maximum number of simultaneously active SFC 83 is currently reached" but according to this document on page 94 that same error code is described as "The required operating resources are currently occupied." It makes sense that the operating resources would be occupied when calling the SFC too often, but it seems for you that isn't necessarily the case. I'm no expert, so maybe some others can help chime in here about why else your operating resources would be occupied. Maybe check the memory of that PLC? Sounds like a cold reboot could also work though if there may be excess programs being called and got "stuck" that were bogging the PLC down? These are all guesses of course, hopefully not showing my lack of experience here too much...

I hope you are correct. I have been thinking in the same ways all day. But as you probably know, its not easy to request a stop of production just like that :D

I feel like there arent many more options, and since i can get it to work on a different CPU (With the same code, dbs etc) i feel like there must only be that it has gotten "stuck" or something similar. And that hopefully it can be resolved with a reboot.
 
I can gladly announce that a cold reboot did the trick. So im assuming that i have maybe changed the Source DB while still having the bit for REQ active.

Kinda bad though that there isnt a way out of this by siemens except a reboot. And i havent find any warnings about this either.

Thanks for all the help guys! I will defenitely come back here on a regular basis!
 

Similar Topics

The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
9
Views
188
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
145
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
305
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
114
Hi everyone hope you'll well. Is it possible for me to download a Crack version of tia portal v13..sorry to say this but the software is very...
Replies
5
Views
199
Back
Top Bottom