![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526126.webp)
111
SECTION 3
Creating Function Blocks
This section describes the procedures for creating function blocks on the CX-Programmer.
3-1
Procedural Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
112
3-2
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114
3-2-1
Creating a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
114
3-2-2
Creating a New Function Block Definition . . . . . . . . . . . . . . . . . . .
114
3-2-3
Defining Function Blocks Created by User . . . . . . . . . . . . . . . . . . .
117
3-2-4
Creating Instances from Function Block Definitions . . . . . . . . . . . .
124
3-2-5
Setting Function Block Parameters Using the P Key . . . . . . . . . . . .
125
3-2-6
Setting the FB Instance Areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
128
3-2-7
Checking Internal Address Allocations for Variables . . . . . . . . . . .
129
3-2-8
Copying and Editing Function Block Definitions . . . . . . . . . . . . . .
131
3-2-9
Checking the Source Function Block Definition from an Instance .
131
3-2-10
Checking the Size of the Function Block Definition . . . . . . . . . . . .
131
3-2-11
Compiling Function Block Definitions (Checking Program). . . . . .
131
3-2-12
Printing Function Block Definition . . . . . . . . . . . . . . . . . . . . . . . . .
132
3-2-13
Saving and Reusing Function Block Definition Files . . . . . . . . . . .
133
3-2-14
Downloading/Uploading Programs to the Actual CPU Unit . . . . . .
134
3-2-15
Monitoring and Debugging Function Blocks . . . . . . . . . . . . . . . . . .
134
Summary of Contents for CS1-H Series
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS...
Page 15: ...xvi Application Precautions 4...
Page 151: ...136 Procedures Section 3 2...
Page 153: ...138 Data Types Appendix A...
Page 177: ...162 External Variables Appendix C...
Page 181: ...166 Revision History...