Omron NX-SL3300 User Manual page 244

Nx series safety control unit
Hide thumbs Also See for NX-SL3300:
Table of Contents

Advertisement

6 Programming
Refer to 6-5-3 Registering Variables on page 6 - 36 for information on how to register varia-
bles, and 6-5-4 FBD Programming on page 6 - 41 for information on programming in the FBD
editor.
Registering Function Blocks
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 6-1-2 Overview of the Three Types of POUs on page 6 - 3 for a detailed description of func-
tion blocks.
l Registering New Function Block
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 function block instructions to use them.
1
Right-click Function Blocks under Programming - POUs in the Multiview Explorer and select
Add - FunctionBlock 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 6-5-3 Registering Variables on page 6 - 36 for information on how to register variables,
and 6-5-4 FBD Programming on page 6 - 41 for information on programming in the FBD editor.
Displaying Properties
This section describes how to display program and function block properties.
Right-click the registered program or function block and select Properties from the menu.
The Properties Dialog Box is displayed.
6 - 28
NX-series Safety Control Unit User's Manual (Z930)

Advertisement

Table of Contents
loading

Table of Contents