Direct Mode - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

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

Advertisement

Direct mode

The CPU module performs I/O processing when each instruction is executed in a program.
Device memory
0
DX10
On/off
data
With this mode, the CPU module uses the direct access input (DX) and direct access output (DY) to perform I/O processing.
Outline of the processing
The following describes the details of the direct mode.
CPU (operation
processing area)
(3)
DX0
Y20
DY25
*1 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
*2 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
Item
Execution of an input contact
instruction
Execution of an output contact
instruction
Execution of the OUT instruction
1 RUNNING A PROGRAM
50
1.3 Data Communication and I/O Processing
Input of on/off data upon
instruction execution
Output of on/off data upon
instruction execution
CPU module
CPU module
Input (X) device memory
(4)
(5)
Description
The OR processing is executed with the input information of the input module (1) and the input data of the engineering
tool input area (2) or remote input refresh area. The result is stored in the input (X) device memory and is used as input
data (3) to execute the program.
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 output to the output module, and stored in the output (Y) device memory.
On/off data
Input module or
output module
(2)
*1
Engineering tool input area
*2
Output (Y) device memory
(1)
Input module
Output module

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents