Block Selector
To access the Block Selector
From the Toolbox, drag the block element into the language container.
Use the
Block Selector
to select operators, functions, and function blocks for use in block elements defined in programs. For Function Block Diagram (FBD) and Ladder Diagram (LD) programs, enter blocks and declared instances.The
Block Selector
lists the available operators, functions, and function blocks for IEC 61131-3 programs. The available items are operators (OPE), standard functions (SFU), standard function blocks (SFB), user IEC 61131-3 Functions (IFU), user IEC 61131-3 Function Blocks (IFB) and all C Functions (CFU) and C Function Blocks (CFB) supported by the current target.
For the block list, the properties are:
Property | Description |
---|---|
Name | Name of the function, function block, or operator. |
Type | Type of function, function block, or operator. Possible types are "C" function (CFU), "C" function block (CFB), IEC 61131-3 function (IFU), IEC 61131-3 function block (IFB), operator (OPE), standard function block (SFB), and standard function (SFU). |
Category | Category of function, function block, or operator. Possible categories vary depending on the target definition. |
Comment | Comment for the function, function block, or operator. Free-format text. |
Scope | Indicates where the POU is defined. |
When selecting operators like addition, multiplication, and AND, specify the number of inputs.
Use the
Block Selector
to refine the list of available blocks by sorting the block list and limiting searches. Also choose to display the parameters while viewing the blocks.In the
Block Selector
, navigate with keyboard and mouse controls.Arrow keys | Move up, down, left, and right within the cells of the blocks list. |
---|---|
Tab key | Move left and right within the cells of each row in the blocks list. After exiting the blocks list, move from left to right between the fields, option, command buttons and back to the blocks list. |
Esc key | Move from the blocks list to the fields. |
Space bar | Open the parameters display when the Show Parameters option is selected. |
Enter key | Close the Block Selector and display the selected block in the workspace. |
From the
Block Selector
, access help for the displayed operators, functions, and function blocks.Task | Procedure |
---|---|
Create a declared instance of a function block | Declared instances are function blocks with assigned instances. For graphical and non-graphical programs, declare instances in the Block Selector . These instances are considered as variables.
|
Sort the block list | Sort the columns of the block list by setting these in ascending or descending order.
|
Limit searches | Type text in the Search field to list only the blocks containing these characters.
|
Provide Feedback