You can use the FBDK to build a subset of the simple function block type described in Annex D.2 of IEC 61499-1:
REQ/CNF
pair.
REQ
algorithm.
REQ input,
the REQ algorithm is executed, following which an event
is issued at the CNF output.
These restrictions permit the generation of somewhat more efficent runtime code, as well as simplifying the programming of simple FB types.
To build a new simple FB type, use the following steps:
template folder in the Library Navigator.
package
fb.rt.<mypkg>; in the header field, where <mypkg>
is the name of the src subdirectory you are
working in, for example, student or book.
REQ/CNF
pair is allowed.
Save As... button.
It is a good idea to save your
work from time to time while editing, too!
Save As...
=>Java dialog. The results of the compilation (including errors,
if any) will be displayed in the Log tab of the Text panel, and a dialog will open
indicating whether the compilation has succeeded or not.