6-150
6.7 I/O Refresh Instructions
6.7.1 I/O refresh
RFS
6.7
I/O Refresh Instructions
6.7.1
I/O refresh
RFS
F
unct
i
on
(1) Refreshes only the device being scanned during a scan, and functions to fetch external input
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 end of program execution, 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.
RFS(P)
P: Executing condition
:
indicates any of the following
instructions.
RFS
RFSP
Input argument,
EN:
Executing condition
: Bit
s:
Start number of the device that executes the refresh function : Bit
n:
Number of refreshes
: ANY16
Output argument,
ENO:
Execution result
: Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
(X,Y only)
−
−
n
−
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
Structured ladder
ST
RFS
EN
ENO
s
n
RFS
(EN, s, n);
ENO:=
s
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......