G_DeMark

Series Output Instructions

3 posts in this topic

In Logix 5000 you are allowed to put multiple output instructions in series.  I am curious how this works if you put two copy (COP) instructions in series at the end of a rung.  In this case will the first COP execute and finish before the second COP begins?  Or will they both execute in parallel?

Share this post


Link to post
Share on other sites

From left to right, top to bottom, each will execute and complete.

Share this post


Link to post
Share on other sites

But...

beware that the COP instruction executes the copying one byte at a time and can be interrupted by higher priority tasks at any point. If the data being copied originates from I/O or DNet or ENet, etc. or from a periodic task, it is likely that it will change during the copy. If that matters to your application (usually would) use CPS instead of COP.

 

1 person likes this

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