Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 51

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Item
Execution of an input contact
instruction
Execution of an output contact
instruction
Execution of the OUT instruction
■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
X5
55
• Y5E turns on the earliest
0
END
OFF
External contact
OFF
X5
Devices in the
CPU module
OFF
Y5E
OFF
External load
• Y5E turns on the latest
0
END
ON
OFF
External contact
OFF
X5
Devices in the
CPU module
OFF
Y5E
OFF
External load
(Maximum 2 scans)
Description
Input data in the input (X) device memory (3) are read out and the program is executed.
Output data in the output (Y) device memory (4) are read out and the program is executed.
The operation result of the program (5) are stored to the output (Y) device memory.
Y5E
0
56
END
0
ON
ON
ON
ON
Delay time
(Minimum 1 scan)
0
56
END
0
ON
ON
ON
Delay time
: Input refresh
: Output refresh
: Input refresh
: Output refresh
1.3 Data Communication and I/O Processing
1 RUNNING A PROGRAM
1
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents