Build and Test an Adapter Interface Type

  1. Start the FBEditor.
  2. Create a new adapter interface type in the editor by double-clicking on the AdapterType file in the template folder.
  3. Edit the adapter's elements:
  4. 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!
  5. Generate and compile a Java® source file with the Save As... button.
  6. 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.
  7. Document your work. It's not done until it's documented!