Sign in to follow this  
Followers 0
Veganic

Conditional jumps in FBD

3 posts in this topic

What is the simplest way to do a conditional jump for a FBD POU to run another POU? The simplest way I can think of is to make a FBD function block : ----------------------------------- FB_enable not------<return> ----------------------------------- POU_name_in_a_box ----------------------------------- Is there an easier way?

Share this post


Link to post
Share on other sites
There may be an easier way, but SFC is better suited for sequencing types of programs than FBD, do you have the option to choose another one of the IEC languages?

Share this post


Link to post
Share on other sites
Yes I can choose any of the IEC languages. I'm limiting myself to FBD and SFC until I get used to the quirks. And there are quite a few quirks so far. For example 'double coils' can be a no-no in standard ladder but with CoDeSys I find it is almost required. Switch something on here, assign False to it there, set it if the mood takes you, reset if in doubt.....etc The implementation I'm working on doesn't have tasks. I guess that would be the standard way to make a conditional jump?

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
Sign in to follow this  
Followers 0