Transistor

Selecting alternate POUs on FX5U

3 posts in this topic

I've to modify this program I wrote back in 2015 and modify the sequence in Seq100Bins. I'd like to work on a copy Seq101Bins during development and toggle between the two POUs.

622bbf8b51604_GXWorks3executionsequence.

I can't find or remember how the various POUs are called. In most other systems I've used they'd be called from the MAIN / Program but the logic isn't in there.

Can anyone jog my memory or correct my understanding?

Share this post


Link to post
Share on other sites

> 70 views so far and no replies!

After some consideration I think I should just create the second POU and use `CP` Conditional Jump instruction and matching program pointer in each to skip to the end of the routine if not required.

Share this post


Link to post
Share on other sites

basically everything under scan in run in the CPU. So you can create a copy and put it either below unregistered or no executions type.

In no execution it will be checked and send to the plc but it won't be executed.

You can drag and drop the programs

 

Edited by Gambit

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