7 - 29
7 Programming
NX-series Safety Control Unit User’s Manual (Z930)
7-5 Programming Operations
7
7-5-2 Registering POUs
This section shows how to register programs and function blocks.
Registering New Programs
1 Right-click Programs under Programming − POUs and select Add
−
Program from the menu.
A new program is added under Programs.
2 Double-click the program that was added.
The variable table and FBD editor are displayed in the Edit Pane. From here you can edit pro-
grams.
Refer to 7-5-3 Registering Variables on page 7-38 for information on how to register variables,
and 7-5-4 FBD Programming on page 7-43 for information on programming in the FBD editor.
Function blocks are written in the FBD language. You can call them from safety programs as required.
You can use functions inside function blocks. Refer to 7-1-2 Overview of the Three Types of POUs on
page 7-4 for a detailed description of function blocks.
Registering New Function Blocks
This section describes the procedures for registering a new user-defined function block. Function
block instructions are registered in the Sysmac Studio in advance. You do not need to register func-
tion block instructions to use them.
1 Right-click Function Blocks under Programming - POUs in the Multiview Explorer and select
Add - Function Block from the menu.
A new function block is added under Function Blocks.
2 Double-click the new function block.
The variable table for the function block and the FBD editor are displayed in the Edit Pane. From
here you can create local variables and FBD networks.
Refer to 7-5-3 Registering Variables on page 7-38 for information on how to register variables,
and 7-5-4 FBD Programming on page 7-43 for information on programming in the FBD editor.
7-5-2 Registering POUs
Registering Programs
Registering Function Blocks