Function Blocks (FBs)
l
Executing Function Blocks and Execution Conditions
• You can call function blocks from programs or other function blocks to execute them.
• Function blocks are always executed.
• To execute a function block for only specific conditions, pass a TRUE value to the
Activate
input
variable of that function block. The function block is not executed if the value of the
Activate
input
variable is FALSE.
l
Notation
• There are both user-defined function blocks and system-defined function blocks.
User-defined function blocks are sometimes called "user-defined FBs". System-defined function
blocks are sometimes called "FB instructions".
For details on function blocks, refer to
6-1-5 Details on Function Blocks
Functions (FUNs)
l
Executing Function and Execution Conditions
• You can call functions from programs or other function blocks to execute them.
• Functions are always executed.
l
Notation
• You cannot create user-defined functions.
• System-defined functions are sometimes called "FUN instructions".
• The values of internal variables are not retained. The output value remains constant as long as
input value is constant.
For details on functions, refer to
6-1-3
Differences between Programs, Functions, and Function Blocks
POU type
Programs
Function blocks
Functions
Item
Types
User-defined only
Instructions or user-de-
fined
Instructions only (User-
defined functions not
supported.)
Execution method
Executed upon execution
of the safety task.
Called from a program or
another function block.
Called from a program or
function block.
Algo-
rithm
Any instruc-
tions
Supported.
Supported.
Not supported.
User-defined
function
blocks
Supported.
Supported.
Not supported.
6 Programming
6 - 4
NX-series Safety Control Unit User's Manual (Z930)
Содержание NX-SIH400
Страница 4: ...Introduction 2 NX series Safety Control Unit User s Manual Z930 ...
Страница 46: ...Revision History 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 108: ...2 Specifications 2 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 132: ...3 Installation and Wiring 3 24 NX series Safety Control Unit User s Manual Z930 ...
Страница 148: ...4 Safety Control Unit Operation 4 16 NX series Safety Control Unit User s Manual Z930 ...
Страница 216: ...5 System Configuration and Setup 5 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 306: ...6 Programming 6 90 NX series Safety Control Unit User s Manual Z930 ...
Страница 378: ...7 Checking Operation and Actual Operation 7 72 NX series Safety Control Unit User s Manual Z930 ...
Страница 390: ...8 Calculating Safety Reaction Times 8 12 NX series Safety Control Unit User s Manual Z930 ...
Страница 412: ...11 Safety Data Logging 11 10 NX series Safety Control Unit User s Manual Z930 ...
Страница 504: ...12 Troubleshooting 12 92 NX series Safety Control Unit User s Manual Z930 ...
Страница 550: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 38 NX series Safety Control Unit User s Manual Z930 ...
Страница 554: ...l I O Map Settings Appendices A 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 558: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 46 NX series Safety Control Unit User s Manual Z930 ...
Страница 564: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 52 NX series Safety Control Unit User s Manual Z930 ...
Страница 623: ...I Index I 1 NX series Safety Control Unit User s Manual Z930 I ...
Страница 625: ......