l
Order of Execution
You can set the order of execution of all programs in a safety task.
You set this order in the
Program Assignment Settings
Display of the
Task Settings
Tab Page
on the Safety CPU Unit Setup and Programming View on the Sysmac Studio. Refer to
on page 6 - 26 for programming operations.
6-1-5
Details on Function Blocks
You can use system-defined function blocks (instructions) and user-defined function blocks in the
Safety Control Unit.
Procedure to Create Function Blocks
A function block consists of a "function block definition" that is made in advance and "instances" that
are used in the actual programs.
Create function blocks in the following order.
1
Create the function block definition.
Create the algorithm.
2
Place an instance of the function block definition in the program.
Call the function block definition from a program or another function block. You can call the
same function block definition from more than one program or function block. After you place
an instance of a function block definition in a program or in another function block, you can ma-
nipulate and execute it as an independent entity.
Structure of Function Blocks
With the FBD language, function blocks are represented as rectangular boxes as shown below.
Function blocks consist of the following parts.
In
Q
MyFB
SetValue
SET
RESULT
Output variable
Output variable
Input variable
Input parameters
Output parameters
Result
MyFB_instance
Instance name
Input terminals
Output terminal
TRIG
OUT
Input variable
Function block name
or instruction name
• Function Block Settings
When you create an instance of a function block definition, make the following settings.
6 Programming
6 - 6
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: ......