Mitsubishi Electric MELSEC iQ-R Series User Manual page 158

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Configuration of a program file
The following figure shows the configuration of a program.
■Configuration of a program
This file consists of a file header, execution program, reserved area for online change, and program restoration information.
Program configuration
File header
Execution program
Reserved area for
online change
Program restoration
information
When the program is stored in the CPU module, file header, execution program, and reserved area for online change are
allocated to the program memory. Program restoration information is allocated to the data memory. The following table shows
the destination memory to which each area is allocated when a program is stored in the CPU module.
Area
File header
Execution program
Reserved area for online change
Program restoration information
■FB file
This file consists of a file header, execution program, reserved area for online change, and program restoration information.
FB file configuration
File header
Execution program
Reserved area for
online change
Program restoration
information
When an FB file is stored in the CPU module, the file header, execution program, and reserved area for online change are
allocated to the program memory. Program restoration information is allocated to the data memory. The destination memory
to which each area is allocated when an FB file is stored in the CPU module is the same as that for programs.
10 MEMORY CONFIGURATION OF THE CPU MODULE
156
10.4 Files
The size changes depending on the created
program.
The capacity can be set from an engineering
tool (Default: 500 steps).
Destination memory
Description
Program memory
This area stores the configuration of the file, and the labels and information of FBs used in the
program. The size differs depending on the created program.
This area stores the execution program of the created program.
This area is used when the online program change which increases the number of steps is
executed (default: 500 steps (2000 bytes)). At writing to the programmable controller or at
online ladder block change, the capacity of the area can be changed from the engineering
tool.
Data memory
This area stores information required for reading the program from the programmable
controller.
The size changes depending on the created
program.
The capacity can be set from an engineering
tool (Default: 500 steps).

Advertisement

Table of Contents
loading

Table of Contents