106
Procedures
Section 3-2
2.
Click the
OK
Button. Allocations to the function block instance areas will
be optimized.
3-2-8
Copying and Editing Function Block Definitions
Use the following operation to copy and edit the function block definition that
has been created.
1.
Select the function block to copy, right-click, and select
Copy
from the pop-
up menu.
2.
Position the cursor over the function block item under the PLC in the
project directory, right-click and select
Paste
from the pop-up menu.
3.
The function block definition will be copied (“copy” is indicated before the
name of the function block definition at the copy source).
4.
To change the function block name, left-click or right-click and select
Re-
name
from the pop-up menu.
5.
Double-click the function block definition to edit it.
3-2-9
Checking the Source Function Block Definition from an Instance
Use the following procedure to check the function block definition from which
an instance was created.
Either double-click the instance or right-click the instance and select
To
Lower Layer
from the pop-up menu. The function block definition will be dis-
played.
3-2-10 Checking Instance Information such as Nesting Levels
When function blocks are nested in the created program, the structure of the
nesting levels can be checked by selecting
Windows - FB Instance Viewer
from the View Menu. The function block relationships will be shown in a direc-
tory tree format, with the calling function blocks at the higher level and the
called function blocks at the lower level.
The FB Instance Viewer Window will provide other information, such as the
array variables being used and internal addresses allocated to the variables,
as shown in the following diagram. Variables can be registered in the Watch
Window just by dragging the variable from the list of variables used in the
instance and dropping the variable in the Watch Window.
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: ......