96
8 RUNNING A PROGRAM
8.3 Data Communication and I/O Processing
Outline of the processing
The following describes the details of the refresh mode.
*1 The remote input refresh area indicates the area to be used when refresh is set to the input (X) in CC-Link IE Controller Network, CC-
Link IE Field Network, MELSECNET/H, or CC-Link.
*2 Data in the engineering tool input area can be turned on or off by the following:
Test operation of an engineering tool
Writing data from the network module
Writing data from an external device using SLMP
*3 Data in the output (Y) device memory can be turned on or off by the following:
Test operation of an engineering tool
Writing data from the network module
Writing data from an external device using SLMP
■Input
On/off data of an input module are batch-input to the area for communication with the input module in the CPU module at a
specified timing (at END instruction execution or before specified program execution). The CPU module performs program
operations using the on/off data stored in the input (X) device memory.
■Output
The operation results of the program is output to the output (Y) device memory in the CPU module every time program
operation is performed. Then, the CPU module batch-outputs the on/off data in the output (Y) device memory to an output
module at a specified timing (at END instruction execution or before specified program execution).
Item Description
Input refresh At a specified timing (at END instruction execution or before specified program execution), input data are collectively
read out from the input modules (1), the OR processing with the engineering tool input area and remote input refresh
area is executed, and then the data are stored in the input (X) device memory.
Output refresh At a specified timing (at END instruction execution or before specified program execution), data in the output (Y)
device memory (2) are collectively output to the output module.
Execution of an input contact
instruction
Input data in the input (X) device memory (3) are read out and the program is executed.
Execution of an output contact
instruction
Output data in the output (Y) device memory (4) are read out and the program is executed.
Execution of the OUT instruction The operation result of the program (5) are stored to the output (Y) device memory.
X0
Y22
(3)
(4)
(5)
(1)
(2)
Y20
*3
CPU module
CPU (operation
processing area)
Input (X) device memory
Input module access area
Output (Y) device memory
Input refresh
Network module
Network module
Input module
Output module
Output refresh
Remote input refresh area
*1
Engineering tool input area
*2