116
5 WRITING DATA TO THE CPU MODULE
5.2 Online Change
Editable contents
Within a program block, instructions and pointers (P, I) can be added, changed, or deleted. Also, for each program
component, program blocks can be added, changed, or deleted. However, if the user try to edit a label, FB, or FUN, the
following limitations are applied.
■
Editable contents within a program block
To change or delete global label definition and global label, all the programs and FB files using them must match both on the
engineering tool and in the CPU module.
■
Editable contents within FB definition
• To add or change instructions that refer to a local label or the signal flow memory, the size of the instructions cannot exceed
the reserved area capacity
*1
. The same applies to the standard function blocks, process control function blocks, and
module function blocks because those function blocks also have local labels. For details, refer to the following.
• To add a local label, all the programs and FB files referencing the FB file which stores the FB definition to be modified must
match both on the engineering tool and in the CPU module.
• For input and output labels (VAR_INPUT, VAR_OUTPUT, and VAR_IN_OUT) and public labels, to add, change, or delete
subroutine type FB and FUN interface information
*2
, all the programs and FB files referencing the FB file storing the FB
definition to modify must match both on the engineering tool and in the CPU module.
*1 Reserved area refers to the area used for adding or changing a local label or a local instance when a program is changed online. The
area is 48 words for non-latch type local labels, 16 words for latch type labels, and 4 words for signal flow memory by default. The
reserved area can be changed for each function block definition. (
GX Works3 Operating Manual)
*2 The subroutine type FB and FUN interface information means:
All FB definition, FUN definitions, and their definition numbers contained in FB files
Definition names
The number of all input labels, and their data types
The number of all output labels, and their data types
The number of all I/O labels, and their data types
The number of public local labels in FB definition and their data types
The implementation method of FB definition
■
Editable contents within FUN definition
For input and output labels (VAR_INPUT and VAR_OUTPUT), to add, change, or delete subroutine type FB and FUN
interface information, all the programs and FB files referencing the FB file storing the FB definition to modify must match both
on the engineering tool and in the CPU module.
■
Editable contents for each program component
To add or delete FB or FUN definition to or from an FB file, all the programs and FB files referencing the target FB file must
match both on the engineering tool and in the CPU module.
Range changeable in a single session
The following shows the number of steps and number of ladder blocks which can be changed in a single session.
• Number of ladder blocks in a file: 64 blocks
• Maximum number of steps in a ladder block: 65535 steps
• Total number of steps for all blocks (steps before c steps after changes): 364K steps
Item
Reference
Precautions for adding a local label
Precautions when local labels are added into the MELSEC iQ-R series function blocks (FA-A-0232)
Instructions that refer to the signal flow memory
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......