3-2-15 Comparing Function Blocks; 3-2-16 Saving And Reusing Function Block Definition Files - Omron CX-PROGRAMMER V8.1 Operation Manual

Function blocks/ structured text
Table of Contents

Advertisement

Procedures

3-2-15 Comparing Function Blocks

3-2-16 Saving and Reusing Function Block Definition Files

Saving a Function Block
Library File
1,2,3...
Reading Function Block
Library Files into Other
Projects
1,2,3...
112
2. The Function Block Protection Collective Release Dialog Box will be dis-
played. Select the names of the function blocks that you want to be unpro-
tected, input the password, and click the Release Button.
3. If the password input matches the selected function blocks' passwords, the
protection will be cleared for all of the function block definitions at once.
It is possible to compare the edited function block with a function block in the
actual PLC or another project file to check whether the two function blocks are
identical. For details on comparing programs, refer to the CX-Programmer
Operation Manual (W446).
The function block definition that has been created can be saved indepen-
dently as a function block library file (*.cxf) to enable reusing it in other
projects.
Note
(1) Before saving to file, or reusing in another project, compile the function
block definition and perform a program check.
(2) When function blocks are being nested, the function block definition of the
called (nested) function blocks are included and saved in the function
block library file.
Use the following procedure to save a function block definition to a function
block library file.
1. Select the function block definition, right-click, and select Save Function
Block to File from the pop-up menu. (Alternately, select Function Block
- Save Function Block to File from the File Menu.)
2. The following dialog box will be displayed. Input the file name. Function
Block Library Files (*.cxf) should be selected as the file type.
Use the following procedure to read a function block library file (*.cxf) into a
project.
1. Select the function block definition item under the PLC directory in the
Project Workspace, right-click, and select Insert Function Block - From
File from the pop-up menu (or select File - Function Block - Load Func-
tion Block from File).
2. The following dialog box will be displayed. Select a function block library
file (*.cxf) and click the Open Button.
Section 3-2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents