Create and/or Call Functions or Function Blocks

  1. Drag an item from the Libraries into a program.
  2. Name the new instance of the function or function block.

See Call Functions or Function Blocks.

Call a Function or Function Block

  1. Declare the function or function block by right-clicking on Subprograms in the Project Tree.
  2. Name the function or function block.
  3. Define the inputs and outputs, and any private variables.
  4. Call the new function or function block.

See Also