5 MELSEC FUNCTIONS
5.9 I/O Refresh
5.9.1 I/O refresh
n points of I/O devices, starting at the specified device, are refreshed.
Function definition
5 - 38
RFS_M
BOOL RFS_M (BOOL EN, BOOL S1, ANY16 n);
Argument Name
EN
S1
n
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, 32 points of devices, starting at
(* X100, are refreshed.
RFS_M (M0, X100, H20);
Corresponding MELSEC command
RFS (I/O refresh)
IN/OUT
Execution condition (Function is executed only when
IN
the result is TRUE)
IN
Devices to be refreshed (bit data)
IN
Number of data to be refreshed (BIN 16-bit data)
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
*)
*)
5 - 38