718
8 APPLICATION INSTRUCTION
8.26 Module Access Instruction
8.26
Module Access Instruction
I/O refresh
REF(P)/RFS(P)
These instructions refresh the (n) points of devices starting from the device specified by (s), and receive an external input or
generate an output.
The REF(P) instructions can also be used as RFS(P).
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1 Only X and Y can be used.
Processing details
• This function refreshes only the corresponding devices in the middle of a scan and receives an external input or generates
an output.
• Since the input receptions and external outputs are performed at one time only after the END instruction is executed in the
program, a pulse signal cannot be output externally in the middle of a scan. The execution of the I/O refresh instruction
forcibly refreshes the corresponding input (X) or output (Y) in the middle of program execution, and then a pulse signal can
be output externally in the middle of a scan.
Ladder diagram
Structured text
ENO:=REF(EN,s,n);
ENO:=REFP(EN,s,n);
ENO:=RFS(EN,s,n);
ENO:=RFSP(EN,s,n);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
Head device number to be refreshed
Bit
ANY_BOOL
(n)
Number of devices to be refreshed
0 to 65535
16-bit unsigned binary
ANY16_U
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
(n)
(s)
(n)
EN
ENO
s
n
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......