Ramz

I/O not getting updated in one rung

9 posts in this topic

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

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 (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 by Ramz
new update

Share this post


Link to post
Share on other sites

Posted (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 by innoaloe

Share this post


Link to post
Share on other sites

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

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

PLC_IMG.jpg.cd61fe317db810cb757b619187c1

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
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
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...:slydog:

Search all progress for END

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