Your post appears to contain code that is not properly formatted as code.
There is no code in my post, only text and links.
Here is a link to my question: Limit Drive Starts with Function Block Diagram
The following is a copy-paste of the edit I am trying to apply:
I have a drive (modulating fan) which needs to be interlocked and prevented from starting. The requirement is that:
The drive is limited to 3 starts per hour with a minimum of 10 minutes between starts.
I am programming using function blocks diagrams. Some information to aid in your understanding of the function block diagram I created:
- Program flow follows the execution numbers on the function blocks.
- Cyan lines show values of the integer short data type.
- Black lines show binary values (0/1)
- References (small rounded rectangles with an alphanumeric identifier and no execution number) are used to move data without the need for connecting lines.
Many of the blocks used are self-explanatory, however, the following information may be of use:
- "diss" function block - routes either "in1" or "in2" to "out" depending on "bse". When "bse" equals 0 "in1" is used.
- "ccob"/"ccos" depends on the "mode". 1=rising edge, 2=falling edge.
- "dvss" function block - outputs the min/max of the two inputs.
[ I have broken the Function Block Diagram into three views: 1 2 3 ]
Here is the function block diagram, I am interested in alternate or more efficient methods to achieve the requirement. Criticism and help is desired.
I have exported my loop diagram as an SVG: http://svgshare.com/s/306