285
RFS, RFSP
1
2
3
4
6
7
8
6.7
I/O Refresh Instru
ctions
6.7.1
R
FS, R
F
SP
6.7
I/O Refresh Instructions
: Head number of the devices to be refreshed (bits)
n
: Number of refreshes (BIN 16 bits)
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.
RFS, RFSP
I/O refresh
6.7.1
RFS, RFSP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
(Only X, Y)
––
––
n
––
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
RFSP
RFS
n
n
S
S
RFSP
RFS
S
S
Command
K1
X0
Command
Y20
X0
RFS
K1
Y20
RFS
Direct access input
DY20
DX0
Direct access output
Refreshes X0
Refreshes Y20
[Program based on the RFS instruction]
[Program based on direct access input and direct access output]