Build and Test an Adapter Interface Type
- Start
the FBEditor.
- Create a new adapter interface type in the editor by
double-clicking on the
AdapterType
file in the template
folder.
- Edit the adapter'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... button.
- Adapters cannot be tested independently of their use as
plugs and sockets, so you will have to create special composite function block types and a system configuration to do this testing. For
an example see the
TEST_ADP_SYS
configuration.
- Document your work. It's not done
until it's documented!