Refresh Mode - Mitsubishi Q-Series User Manual

Programmable logic controller
Hide thumbs Also See for Q-Series:
Table of Contents

Advertisement

4 SEQUENCE PROGRAM CONFIGURATION & EXECUTION
CONDITIONS
4.7 Input/Output Processing and Response Lag

4.7.1 Refresh mode

4 - 15
The Basic model QCPU features a refresh type input/output processing format in
which a batch communication with the input/output module occurs at END processing.
A direct communication format is also possible by using direct access inputs/outputs at
the sequence program to enable direct communication with the input/output module
when the sequence program instructions are executed.
For details regarding direct inputs and direct outputs, refer to Sections 10.2.1 and
10.2.2, respectively.
(1) Definition of refresh mode
With the refresh mode, batch communication with the input/output modules
occurs at END processing.
(a)
Batch reading of the input module ON/OFF information is executed in the
Basic model QCPU's internal input device memory when END processing
occurs. This ON/OFF data (in the input device memory) is then used for
processing which occurs when a sequence program is executed.
(b)
The processing result of the output (Y) sequence program is output to the
Basic model QCPU's internal output device memory, and batch output of
the ON/OFF data (in output device memory) to the output module is
executed when END processing occurs.
Basic model QCPU
CPU (operation processing area)
Input (X)
3)
device
X0
memory
4)
Y22
Y20
5)
• Input refresh:
Input information is read in a batch 1) from the input module at END processing, and
is stored in the input (X) device memory by an OR operation in the peripheral device
input area.
• Output refresh:
Data in the output (Y) device memory is output in a batch 2) to the output module at
END processing.
• When an input contact instruction has been executed:
Input information is read 3) from the input (X) device memory, and a sequence
program is executed.
• When an output contact instruction has been executed:
Output information is read 4) from the output (Y) device memory, and a sequence
program is executed.
• When an output OUT instruction has been executed:
The sequence program operation result 5) is stored in the output (Y) device memory.
Fig.4.7 Input/Output Information Flow at Refresh Mode
Remote input
refresh area
3
GX Developer
input area
1
1) At input
Area for
refresh
communication
with input module
2
For device
memory
output (Y)
MELSEC-Q
Network
module
At input
refresh
Input
module
1)
At output
refresh
Output
2)
module
Network
module
4 - 15

Advertisement

Table of Contents
loading

Table of Contents