EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R-R00CPU - Page 51

Mitsubishi Electric MELSEC iQ-R-R00CPU
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 END0056
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 END0056
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

Table of Contents

Related product manuals