Build and Test a Composite Function Block Type
- Start the
FBDK.
- Import library elements if and as
needed.
- Create a new composite FB type in the editor by
double-clicking on the Composite fb type of the
template
folder in the Library Navigator.
- Edit the function block's elements:
- When your editing is complete, save your work with the Save As... button.
It is a good idea to save your
work from time to time while editing, too!
- Generate and compile a Java® source file with the 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.
- Test the FB type.
- Document your work. It's not done
until it's documented!