6. Function blocks
6.3 UF - User function block
Supported manufacturer function blocks:
All standard function blocks can be used in a user function block, with the exception of
function blocks that have a hardware interface or firmware reference (i.e., OT, CF, CH,
CI, PW, PO, GT, PT, SC, AL, D, DL, and ST). Function blocks BC, BT, and MR can be used,
but will only act on the user function block's local data arrays.
l The Copy, Cut, and Paste functions are supported the same way as in the main pro-
gram. However, they can only be used between user function blocks.
l Just like in the main program, the keyboard can be used to enter the I, Q, IA, QA, M,
MB, MW, and MD operands as contacts and coils.
l In addition, and just like in the main program, the keyboard can be used to create
contacts and coils corresponding to the supported function blocks, inputs, and out-
puts. This applies both to entering an operand completely and to changing the index
number for an operand.
l As soon as a change is made to a user function block, the Save user function block
option in the main menu and the Save user function block button in the toolbar will
become available.
6.3.6.1 Programming view tabs
The tabs in the Programming view are intended to help you keep your project more
manageable.
When applicable, tabs for user function blocks and interrupt function blocks will be
found next to the tab for the main program. Different colors and icons will be used to dif-
ferentiate between them:
Color Registers
Blue Main program
Green User function block that is not being used
Yellow User function block that is being used
Magenta Interrupt function block
Inactive tabs will be shown with a brighter color. A total of 11 tabs can be displayed.
6.3.7 Exporting a user function block
User function blocks can be saved in a separate folder as a uf7 file. The "Export user
function block..." menu option will become available if a user function block call is selec-
ted or the Programming view for a user function block is open.
Before the user function block is exported, it will be subjected to a plausibility check.
Please note that it will only be possible to export the function block if it does not contain
any errors. Finally, if the function block is protected with a password and is not open, a
prompt asking you to enter the password will appear.
easyE4 11/18 MN050009 EN www.eaton.com
447