1 RUNNING A PROGRAM
1.3 Data Communication and I/O Processing
49
1
■
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).
Response delay
An output response which corresponds to the status change in the input module delays for two scans (maximum) depending
on the on timing of an external contact.
[Example] A program that turns on the output Y5E when the input X5 turns on
• Y5E turns on the earliest
• Y5E turns on the latest
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.
Item
Description
55
X5
Y5E
OFF
ON
0
END
END
0
0
56
OFF
ON
X5
OFF
ON
Y5E
OFF
ON
Delay time
(Minimum 1 scan)
: Input refresh
External contact
External load
Devices in the
CPU module
: Output refresh
OFF
ON
0
END
END
0
0
56
OFF
ON
X5
OFF
ON
Y5E
OFF
ON
Delay time
(Maximum 2 scans)
: Input refresh
External contact
External load
Devices in the
CPU module
: Output refresh
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: ......