6-1
POUs (Program Organization Units)
The safety program that runs on a Safety CPU Unit is made from a combination of POUs (program
organization units).
This section describes the configuration and specifications of POUs.
Refer to
on page 6 - 26 for the procedures to create POUs on the Sys-
mac Studio.
Refer to
Sysmac Studio Version 1 Operation Manual (Cat. No. W504)
for the procedures to create
POUs that are used with an NJ/NX-series CPU Unit.
6-1-1
POU
A POU (program organization unit) is a unit that is defined in the IEC 61131-3 user program execution
model. A POU includes a local variable table and an algorithm (i.e., a series of code or logic). It is the
basic unit used to build the safety program.
You combine POUs to build a complete safety program.
There are three types of POUs, as described below.
• Programs
A program corresponds to a main routine. It is the main type of POU that is used for algorithms.
You can place any instruction, function, or function block in the algorithm of a program.
• Function Blocks ("FBs")
A function block can output different values even with the same inputs. Function blocks are execut-
ed when they are called from a program or another function block.
• Functions ("FUNs")
A function always outputs the same values for the same inputs. Functions are executed when they
are called from a program, another function, or a function block.
The POU consists of a combination of these three types of POUs. You can create many POUs.
You assign the created programs to a safety task to execute them. Only one safety task can be used
by the Safety CPU Unit.
6-1-2
Overview of the Three Types of POUs
Program
l
Executing Programs and Execution Conditions
• You execute a safety task to execute the programs that are assigned to that safety task.
• Programs are always executed.
l
Notation
• The POUs must include at least one program. More than one program can be assigned to the
safety task.
6 Programming
6 - 3
NX-series Safety Control Unit User's Manual (Z930)
6-1 POUs (Program Organization Units)
6
6-1-1
POU
Содержание 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: ......