![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241105.webp)
79
SECTION 3
Creating Function Blocks
This section describes the procedures for creating function blocks on the CX-Programmer.
3-1
Procedural Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
3-2
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82
3-2-1
Creating a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82
3-2-2
Creating a New Function Block Definition . . . . . . . . . . . . . . . . . . .
82
3-2-3
Defining Function Blocks Created by User . . . . . . . . . . . . . . . . . . .
85
3-2-4
Creating Instances from Function Block Definitions . . . . . . . . . . . .
97
3-2-5
Setting Function Block Parameters Using the Enter Key . . . . . . . . .
99
3-2-6
Setting the FB Instance Areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
102
3-2-7
Checking Internal Address Allocations for Variables . . . . . . . . . . .
104
3-2-8
Copying and Editing Function Block Definitions . . . . . . . . . . . . . .
106
3-2-9
Checking the Source Function Block Definition from an Instance .
106
3-2-10
Checking Instance Information such as Nesting Levels . . . . . . . . . .
106
3-2-11
Checking the Size of the Function Block Definition . . . . . . . . . . . .
107
3-2-12
Compiling Function Block Definitions (Checking Program). . . . . .
108
3-2-13
Printing Function Block Definition . . . . . . . . . . . . . . . . . . . . . . . . .
108
3-2-14
Password Protection of Function Block Definitions. . . . . . . . . . . . .
109
3-2-15
Comparing Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
112
3-2-16
Saving and Reusing Function Block Definition Files . . . . . . . . . . .
112
3-2-17
Downloading/Uploading Programs to the Actual CPU Unit . . . . . .
113
3-2-18
Monitoring and Debugging Function Blocks . . . . . . . . . . . . . . . . . .
113
3-2-19
Online Editing Function Block Definitions . . . . . . . . . . . . . . . . . . .
121
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: ......