30.8.3 Editing Function Blocks

The following explains how to edit Function Blocks (FBs).

Copying Function Blocks

When creating multiple FBs that perform similar processes, you can create a new FB easily by copying and pasting an existing FB.

  1. Select the FB you want to copy in the Screen List window.

  2. Click the icon .

    • You can also copy the FB by right-clicking it when it is selected, and selecting [Copy] from the pop-up menu.

  3. Paste the copied FB in the [Screen List] window.

  4. A dialog box opens where you can specify a name for the FB. Enter a name in [Name] and click [Paste]. You can use up to 4 alpha-numeric characters.

Changing Attributes

You can edit existing FB names and management information.

  1. Select the FB for which you want to change attributes in the [Screen List] window.

  2. Click the icon .

    • You can also change attributes by right-clicking the FB when it is selected, and selecting [Change Attributes] from the pop-up menu.

  3. In the [Change Function Block Attributes] dialog box that appears, edit [Name], [Creator], [Revision], [Title] etc.

Delete

You can delete an FB from the [Screen List] window.

  1. Select the FB you want to delete in the Screen List window.

  2. Click the icon .

    • You can also delete the FB by right-clicking it when it is selected, and selecting [Delete] from the pop-up menu.

    • You cannot delete FBs that are placed in logic programs. You must delete the FB in the logic program first, then delete it in the [Screen List] window.