Mitsubishi MELSEC Q Series Programming Manual page 347

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.7
I/O Refresh Instructions
6.7.1
I/O refresh (RFS(P))
RFS(P)
RFS
RFSP
Setting
Data
S
n
Function
(1) Refreshes only the device being scanned during a scan, and functions to fetch input from
external sources or to output data to an output module.
(2) Fetching of input from or sending output to an external source is conducted in batch only
after the execution of the END instruction, so it is not possible to output a pulse signal to an
outside source during the execution of a scan.
When the I/O refresh instruction is executed, the inputs (X) or outputs (Y) of the
corresponding device numbers are refreshed forcibly midway through program execution.
Therefore, a pulse signal can be output to an external source during a scan.
(3) Use direct access inputs (DX) or direct access outputs (DY) to refresh inputs (X) or outputs
(Y) in 1-point units.
[Program based on the RFS instruction]
[Program based on direct access input and direct access output]
Command
Command
: Head number of the devices to be refreshed (bits)
S
n : Number of refreshes (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
(Only X, Y)
Command
RFS
X0
X0
Command
RFS
Y20
DX0
Direct access input
High
Basic
performance
RFS
RFSP
J
\
U
\G
Bit
Word
––
K1
Refreshes X0
Y20
K1
Refreshes Y20
DY20
Direct access output
RFS(P)
Process
Redundant Universal
LCPU
n
S
n
S
Constants
Zn
Other
K, H
––
––
6-145
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents