error messege with FB

islam nasser

Member
Join Date
Oct 2010
Location
mansoura
Posts
5
hi that i may first time to create fb in siemens S7 300 plc
i try to create a Fb(function block) to use in my programe
but while saving this messege apper
112010071149t054ru0.bmp


any one can help me?
 
you need to recreate your IDB.

Delete it, open block where FB is called and cut and re-paste the FB, DB call and it will recreate the IDB, then transfer it into the PLC.
 
you need to recreate your IDB.

Delete it, open block where FB is called and cut and re-paste the FB, DB call and it will recreate the IDB, then transfer it into the PLC.

this problem not happens when calling the Fb , it happens when i finished from writting the code of FB and try to save the FB code
 
When ever you change the interface in an FB, you will get this message. Creating the FB is also changing the interface as previously it did not exist.

An interface change refers to a change to IN, OUT, IN_OUT and STAT variables - adding or changing a data type. Changing the temp area is not classed as an interface change.
 
When ever you change the interface in an FB, you will get this message. Creating the FB is also changing the interface as previously it did not exist.

An interface change refers to a change to IN, OUT, IN_OUT and STAT variables - adding or changing a data type. Changing the temp area is not classed as an interface change.

thanks for your reply
but please tell me your explanation to that 'When this block is
loaded, the CPU goes into the STOP mode."
 
It means the PLC could stop, not will. It is possible if the DB is no longer valid (too short for example) then the PLC can go to stop mode if it tries to access data that does not exist in the DB in the PLC.

You need to do as I said above after saving the FB and download both blocks.

Either download when the system is stopped, therefore the PLC crashing is not a problem, or ensure OB121 is loaded into the PLC which will stop the PLC crashing on program fault.
 
It means the PLC could stop, not will. It is possible if the DB is no longer valid (too short for example) then the PLC can go to stop mode if it tries to access data that does not exist in the DB in the PLC.

You need to do as I said above after saving the FB and download both blocks.

Either download when the system is stopped, therefore the PLC crashing is not a problem, or ensure OB121 is loaded into the PLC which will stop the PLC crashing on program fault.

...after saving the FB and download both blocks and instance DB
 
Also you can
1 Save you FB
2 Open OB, FB or FC where calling you modified FB, press file / Check and update Accesses, save it
3 Select both blocks and instance DB and download it to PLC :)
All must work without ‘CPU goes into the STOP mode’
 
Also you can
1 Save you FB
2 Open OB, FB or FC where calling you modified FB, press file / Check and update Accesses, save it
3 Select both blocks and instance DB and download it to PLC :)
All must work without ‘CPU goes into the STOP mode’

thanks to all for your efforts
problem is solved

i think that "Select both blocks and instance DB and download it to PLC "
is the proper solution
 

Similar Topics

I am kind of new to GE products, but we have several in my area. I made a minor logic change and it verified good, but when I tried to download I...
Replies
5
Views
43
Hi, I'm currently having issued with a PowerFlex 252. It was working fine last week, and suddenly decided to stop working. When I go into...
Replies
2
Views
104
Hi there, I'm new to plc programming and was wondering why I get this error code when I run my simulation for these temperature sensors? What I'm...
Replies
2
Views
87
Hi Everyone. Not posted on here for a long time, but I am hoping someone can help me. I am doing a differential pressure calculation in a L27ERM...
Replies
16
Views
391
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
120
Back
Top Bottom