Chapter 9
261
Logic programming – Function blocks
The inputs and outputs that have been added to the grouped function block will
appear on the function block itself in the main program and devices can be attached to
them. Once a device is attached, it will be displayed in the logic of the grouped
function block when the view is switched to external view.
To switch between the internal tag names of the grouped function block (internal view)
and the external I/O descriptions (external view), click on Switch View in the toolbar.
The internal view shows the grouped function block’s tag names for its inputs and
outputs.
The external view shows what is connected to the grouped function block.
How to transfer a grouped function block to another PC:
Save the project file and open it on the other PC. Grouped function blocks
contained in the project will be imported automatically.
The import of function blocks must be enabled in the Hardware configuration view
(Settings, General tab, disable the option Don’t ask to import customized
function blocks). You will be asked to confirm the import, when you open the
project file.
Figure 248:
Grouped function block with
devices attached
Figure 249:
Switching between internal
and external view
Note