Function Blocks EN & ENO - used for executing in a sequence?

SCADA_Dude

Member
Join Date
Feb 2008
Location
California
Posts
115
Reality Check Question:

For a Function Block Diagram, can I safely assume that a function will not output ENO until it has completed execution? I am assuming that by stringing the EN-ENO-EN-ENO-EN I can establish an order of execution as if they were in order in Structured Text?


I hope this is the case, or I am missing the point of EN ENO.
 
A better description of ENO is block result. When a function executes, the block result will be set to true or false depending on the processing inside the function. It does not indicate that a function has completed execution.
 
Why would you want to string them up in the first place? Like in ST, even with FBD, what you see is what you get. The sequence of FBs that you see in your programming environment is the sequence in which they get executed. Which software are you using?

EN only enables or disables execution of that FB and ENO := EN. If you string an ENO from one FB (say 'A') to EN of another FB (say 'B') and if B is placed before A in the FBD, B would still get executed only in the next execution cycle after A was excuted.
 
I am using Unity Pro XL 3.0.

How do I know the order that the FBD will execute? Is it left to right then down to next row? Does it completely evaluate the first block before moving to the next one?

Thanks
 
I found an option on the FB that says "execute after" in the properties menu, with a drop down of all the other FB's on the diagram.

Problem solved! Thanks everyone for the help.


:)
 

Similar Topics

Good morning crew! Ok my logic works but I am missing something. When the start button is pushed it should like the red light for 4sec then shut...
Replies
13
Views
424
Hallo, I have Tia Portal V16 and I'm upgrading an older machine. That machine has a component running on rs232. The machine has still the old...
Replies
7
Views
955
Hi Folks I have made a function block that has the EN input enabled. (FBD language) In want to run some code at the top of the function block as...
Replies
9
Views
1,735
Hello. For a FactoryTalk View SE application, I recently upsized the PC monitor to a 46 inch. Now after changing the resolution to make...
Replies
4
Views
1,168
Hi, I'm getting a bunch of these warnings when I build the program in Connected Components Workbench. The program is legacy code. The program...
Replies
5
Views
2,378
Back
Top Bottom