Copying And Editing Function Block Definitions; Checking The Source Function Block Definition From An Instance; 3-2-10 Checking Instance Information Such As Nesting Levels - Omron WS02-CXPC1-V9 - V9 Operation Manual

Table of Contents

Advertisement

Procedures
3-2-8

Copying and Editing Function Block Definitions

3-2-9

Checking the Source Function Block Definition from an Instance

3-2-10 Checking Instance Information such as Nesting Levels

106
2. Click the OK Button. Allocations to the function block instance areas will
be optimized.
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.
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.
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.
Section 3-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cx-programmer 9Sysmac ws02-cxpc1-v9

Table of Contents