131
Procedures
Section 3-2
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.
1,2,3...
Right-click the instance and select
Go To - Function Block Definition
from
the popup menu. The function block definition will be displayed.
3-2-10 Checking the Size of the Function Block Definition
CX-Programmer can be used to check the size of the function block definition
being created using a similar method to checking the program capacity. The
procedure is as follows:
1.
Select
Memory View
from the View Menu.
2.
The function block definition size and number of function block definitions
will be displayed in the Memory View Dialog Box as shown below.
• The
Used FB
,
Free FB
, and
Total
fields under
Function Block
refer to the
size of the function block definitions. The values are displayed in step
units. 1 step = 4 bytes, so the function block source memory capacity (K
bytes) in the CPU Unit’s internal flash memory is the value multiplied by
1,024 and divided by 4.
• The
Used #
,
Free #
, and
Max #
fields under
Function Block
refer to the
number of function block definitions.
3-2-11 Compiling Function Block Definitions (Checking Program)
A function block definition can be compiled to perform a program check on it.
Use the following procedure.
1,2,3...
Select the function block definition, right-click, and select
Compile
from the
popup menu. (Alternately, press the
Ctrl + F7
Keys.)
The function block will be compiled and the results of the program check will
be automatically displayed on the Compile Table Page of the Output Window.
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...