12/28/2009 4:12 PM | |
Posts: 103 Rating: (11) |
how are you all, I have designed FC (function) in my company library in SIMATIC MANAGER , shortly, this function used to pass DI to 1st DO pin immediatly , to 2nd DO pin with time delay,,, this time (WORD)I enter it by simulation window. when I use this function in SIMATIC MANAGER (OB1) , it works properly. but when I use this function in CFC , I face problem that the SW ignore the time I entered in simulation !!!! I mean that , when M1.0 go to 1 >> M1.1 // M1.2 go to 1 immediatly ignoring delay time.. please help me to solve this problem thanks AttachmentCFC.zip (266 Downloads) |
12/29/2009 1:37 PM | |
Posts: 103 Rating: (11) |
many thanks Ammy , many many thanks daga ,I'm working on step 7 software, I execute your recommendation , I added MW200 in symbol table , my FC is working properly thanks but I have another small problem , when I drag & drop FB5 (time_p) , make instance DB for it , try FB in simulation>>> the result is that , FB doesn't work at all !!!!! I don't know the reasons , please help me. in the attachment you will find pictures of my steps thanks AttachmentFB5.zip (234 Downloads) |
Last edited by: ahmedmae94 at: 12/29/2009 1:55 PM |
|
12/29/2009 1:42 PM | |
Posts: 24 Rating: (1) |
thanks for information |
12/29/2009 4:13 PM | |
Posts: 103 Rating: (11) |
yes, sir I execute your recommendations , the situation changed .... when the input of the timer go to 1 >>>> then the output go to 1 also instantinously ignoring the on time delay.!!! all the data you asked me & the situation now are described in the pictures in the attachment please follow up with me thanks AttachmentCFC.zip (244 Downloads) |
12/29/2009 4:36 PM | |
Joined: 4/19/2008 Last visit: 2/9/2024 Posts: 1525 Rating: (159) |
Hi ahmedmae94. Hi go through your Screen shot one thing I found is the call of the Block, I am Attached here the my remark with red circle. there is some whre some thing is missing, If you are calling FB5 in the project it must be 1/1 display. but it display 1/- I don't understand the why it is showing me like this, in my project it is display as a 1/1 if I call the FB 5 in New project. Please Create the New project with "New Project" Wizard in Step 7 & try to call the above Block. AttachmentCFC2.zip (239 Downloads) |
Ammy |
|
12/30/2009 9:35 AM | |
Posts: 103 Rating: (11) |
yes, sir I should call FB5 under OB35 instead of OB1(CYCL EXEC) !!! the problem is solved and the function is working properly now many many thanks |
Follow us on