Access

This is only available in FBD sections.

You have the following options to access the Replace FFB feature:

  • Select the Edit > Replace FFB menu command.

  • Select the Replace FFB command in the context menu (right-click on one or more FFBs in the section).

Replace FFB

Selecting the Replace FFB feature opens the FBD-Editor: FFB Type Selection dialog box.

For more information about this dialog box see FFB Selection Dialog box.

Select the desired type and confirm with OK . The FFBs selected in the FBD section are replaced with the new type.

Links and variables connected will be retained if possible (if a pin on the same position of the new type exists).

Type Changing

There are different cases of type changing:

Type Changing

Description

EF -> EF

changes the type for the existing EF only

EF -> FB

creates a new instance of the FB type

FB -> EF

creates the new EF template,

does not delete the old FB instance in the Data Editor (even if it is the only instance)

FB -> FB

creates the new FB instance,

does not delete the old FB instance in the Data Editor (even if it is the only instance)

Undo/Redo

Replace FFB supports Undo/Redo, which means that the original state will be recreated on Undo (of course without deleting the new FFBs from Data Editor) and the state after replacement on Redo.

Online Mode

Replace FFB is supported in online mode.