Posted 3 Apr 2018 Hi.. someone please help me.. i'm working in omron CS1H-H CPU67 PLC. My struggle is I/O in one particular rung is not getting updated. Note: the rung is consist of a P_On flag followed by a FB ; all I/O to the FB were correctly assigned. but the inputs inside the FB instance are not getting updated so that the output not updated. can anyone please help me....???? sorry for my poor english... thanks in advance. Share this post Link to post Share on other sites
Posted 3 Apr 2018 Is the function block used elsewhere in the code? If so, were unique instance names used? If you post your code, we can take a look and let you know some more ideas. Share this post Link to post Share on other sites
Posted 4 Apr 2018 (edited) firstly thanking you. yes same FB was used in other parts of program. But it was not just copied from previous instance, the FB was inserted with new FB invocation option only. Note: Now I recently noticed that all I/O's in newly inserted sections in a program are not getting updated. Please help me. Thank you. Edited 4 Apr 2018 by Ramz new update Share this post Link to post Share on other sites
Posted 4 Apr 2018 (edited) Check whether your program is in between Interlock (IL and ILC) instructions. Other case, you may have created that part as a separated program (not section), and forget to set its properties as a Cyclic Task. Edited 4 Apr 2018 by innoaloe Share this post Link to post Share on other sites
Posted 4 Apr 2018 double verified bro.. there is no IL instructions and it is a section only not a separate program. Share this post Link to post Share on other sites
Posted 4 Apr 2018 Did you verify that the code is in the CJ? Attach your program and we will look. We are just guessing without seeing the code. Share this post Link to post Share on other sites
Posted 4 Apr 2018 Please refer attached image.. Red circled sections are newly inserted sections while other programs and sections are existing one... IO's in all these new sections alone not getting updated.. For your kind information.. i can't attach the program here because it is belongs to my client... sorry.... Share this post Link to post Share on other sites
Posted 4 Apr 2018 5 minutes ago, Ramz said: For your kind information.. i can't attach the program here because it is belongs to my client... sorry.... Then unfortunately, all we can do is guess.... 1) Did you download the code to the PLC? 2) You said that you looked for IL commands, did you look for Jump commands? 3) Is the code in SEC_04_15 - SEC_04_17 working? If not, look for an extra END statement before your code that is not updating. Share this post Link to post Share on other sites
Posted 4 Apr 2018 Quote Is the code in SEC_04_15 - SEC_04_17 working? If not, look for an extra END statement before your code that is not updating. I'm betting on this this one... Search all progress for END Share this post Link to post Share on other sites