Function Blocks: Modifying the Instance Name
You can modify the instance name of a function block used in the FBD/LD code by selecting it from the list of declared instance names. Proceed as follows:
Declare the new instance name to be assigned in the local variables worksheet of the POU by adding a declaration line, typing an instance 'Name', and selecting the function block as 'Type'. Refer to the topic "Variables/FB Instances: Declaring in Variables Worksheets" for details.
In the FBD/LD code worksheet, right-click the function block to be modified and select 'Object Properties...' from the context menu.
The 'Function/Function Block' dialog appears. The combo boxes 'Group' and 'Name' are inactive because the object is already created.
Select the new instance name from the 'Instance' combo box.
Confirm the dialog.