![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241138.webp)
112
Procedures
Section 3-2
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.
3-2-15 Comparing Function Blocks
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).
3-2-16 Saving and Reusing Function Block Definition Files
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.
Saving a Function Block
Library File
Use the following procedure to save a function block definition to a function
block library file.
1,2,3...
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.
Reading Function Block
Library Files into Other
Projects
Use the following procedure to read a function block library file (*.cxf) into a
project.
1,2,3...
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.
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......