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). . . . . .
107
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 CX-PROGRAMMER V8.1
Page 3: ...iv...
Page 5: ...vi...
Page 7: ......
Page 15: ...xvi...
Page 19: ...xx...
Page 25: ...xxvi Application Precautions 4...
Page 26: ...Part 1 Function Blocks...
Page 27: ......
Page 153: ...128 Procedures Section 3 2...
Page 154: ...Part 2 Structured Text ST...
Page 155: ......
Page 159: ...134 CX Programmer Specifications Section 4 2...
Page 205: ...180 Procedures Section 6 1...
Page 207: ...182 System defined external variables supported in function blocks Appendix A...
Page 229: ...204 Revision History...
Page 230: ......