Sign in to follow this  
Followers 0
ah_abodaif

DB problem

2 posts in this topic

Dear All, Today I have problem with S7 PLC, there is no O/P. The CPU is 315-2DP. I uploaded the program and found that all the O/P is inside FC13. the OB1 dosen't call FC13 directly like other FCs which is called directly from OB1. the condition to call FC13 is normal close contact from DB113.DBX4.1 I opened DB113 and found the following table: address name type intial value comment 0.0 STRUCT +0.0 STAT0 DINT L#0 +4.0 STAT1 BOOL FALSE +4.1 STAT2 BOOL FALSE =6.0 END_STRUCT When I made monitor I found current value of +4.1 is true and I think that made normal close of DB113.DX4.1 off so FC13 which contain O/Ps not called.

Share this post


Link to post
Share on other sites
Does all address and data blocks in FC13 other than DB113.DBX4.1 were not called? if not then check the fc13, what memory address or input address connected to DB113.DBX4.1. You can use variable table for monitoring much easier. in OB1 call FC13--> this should work

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0