Reusing Function Blocks - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Usage Procedures
1-5-2

Reusing Function Blocks

1,2,3...
Note
18
Use the following procedure to save a function block definition as a file and
use it in a program for another PLCs.
1. Select the function block that you want to save and save it as a function
block definition file (*.cxf).
2. Open the other PLC's project and open/read the function block definition
file (*.cxf) that was saved.
3. Insert the function block definition in the program when creating the new
program.
Function block definition A
1. Algorithm
Standard
program section
with variable
names a, b, c,
etc.
2. Variables
Table defining usage
and properties of
variables a, b, c, etc.
Save
Function
block
definition
A
Function block
definition file (*.cxf)
In the CX-Programmer Ver. 5.0, each function block definition can be com-
piled and checked as a program. We recommend compiling to perform a pro-
gram check on each function block definition file before saving or reusing the
file.
Program
Instance of function block definition A
Input
condition
a
Input 1.00
Read and
insert.
Section 1-5
b
Output 5.00
Output 6.00
c

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents