3
SECTION 1
Introduction to Function Blocks
This section introduces the function block functionality of the CX-Programmer and explains the features that are not
contained in the non-function block version of CX-Programmer.
1-1
Introducing the Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
1-1-1
Overview and Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
1-1-2
Function Block Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5
1-1-3
Files Created with CX-Programmer Ver. 6.0 or Later . . . . . . . . . . .
8
1-1-4
Function Block Menus in CX-Programmer Ver. 5.0
(and later Versions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
1-2
Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
1-2-1
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
1-2-2
Advantages of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
1-2-3
Function Block Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
1-3
Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
1-3-1
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
1-3-2
Variable Usage and Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
1-3-3
Variable Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
1-3-4
Variable Properties and Variable Usage . . . . . . . . . . . . . . . . . . . . . .
20
1-3-5
Internal Allocation of Variable Addresses . . . . . . . . . . . . . . . . . . . .
21
1-4
Converting Function Block Definitions to Library Files . . . . . . . . . . . . . . . .
23
1-5
Usage Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
1-5-1
Creating Function Blocks and Executing Instances . . . . . . . . . . . . .
23
1-5-2
Reusing Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
1-6
Version Upgrade Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
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: ......