EasyManua.ls Logo

Omron G9SP-N20S - 7-3 Ethernet Communications

Omron G9SP-N20S
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
97
Creating and Using User-defined Function Blocks Section 6-5
6-5 Creating and Using User-defined Function Blocks
The function blocks provided by the G9SP Configurator can be combined by
the user to create new function blocks called user-defined function blocks.
These user-defined function blocks can be used to reuse programming.
6-5-1 Application Examples
Unifying Programming in Different Locations
When the same programming is used in different locations, the programming
can be defined as a user-defined function block. This reduces maintenance
work when changes are required to the programming contained in the user-
defined function block.
Reusing Programming from Other Project Files
User-defined function blocks that were created in other project files can be
imported and exported. This enables using programming that has already
been debugged, to reduce programming work and improve quality.
Increasing Program Structure and Readability
All of the function blocks used in a user-defined function block are seen as
only one function block. This helps to make programs more structured, which
makes them more readable.
Precautions for Correct Use
Using user-defined function blocks does not reduce the program size. For
example, if a user-defined function block that contains five function blocks is
used three times, the number of function blocks will be 5 times 3, or 15
function blocks.
To use user-defined function blocks, you must have Windows administrator
or power user rights.
You can register up to 256 user-defined function blocks in the Project Win-
dow.
You can create up to 16 folders in the User-defined Function Block folder.
You can use up to 48 characters in a user-defined function block name,
page name, or folder name.
You can use between 6 and 16 alphanumeric characters in the editable or
read only password.
You can position up to 128 user-defined function blocks in the Editor.
A user-defined function block is created for
this part.

Table of Contents

Related product manuals