Function Inputs: Adding/Deleting

 

In order to help prevent unnecessary cascading of functions, it is possible to add inputs to AND/AND_S functions and OR/OR_S func­tions. Adding inputs to other functions is not possible.

Adding inputs

  1. In the code worksheet, double-click the function to be extended.

    The 'Function/Function Block' dialog appears.

  2. In the 'Formal parameters' area, mark the lowest input.

  3. Click on 'Duplicate FP'.

  4. Confirm the dialog.

    The new input is added below the previously selected input.

Deleting previously added inputs

To delete an added function input, left-click the input and press the <Del> key.

Alternatively, you can delete inputs in the formal parameters list in the 'Function/Function Block Properties' dialog. Double-click the function to call the dialog.

The following applies:

To adjust the height of the block symbol after deleting inputs, double-click the block and edit the value in the 'Height' field of the 'Func­tion/Function Block Properties' dialog.