File Register Block No. Switching; Set Of File Register File - Mitsubishi MELSEC-q Programming Manual

Melsec q series; melsec l series
Hide thumbs Also See for MELSEC-q:
Table of Contents

Advertisement

5 MELSEC FUNCTIONS

5.19.7 File register block No. switching

The block No. of the file registers used in a program is changed into the specified block No.
Function definition

5.19.8 Set of file register file

The file name of the file registers used in a program is changed into the specified file name.
Function definition
5- 105
BOOL RSET_MD (BOOL EN, ANY16 S1);
Argument Name
EN
S1
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the block No. of the file registers used *)
(* in the program is changed into the block No. stored in the device specified in iData. *)
RSET_MD (X0, iData);
Corresponding MELSEC command
RSET (File register block No. switching)
QDRSET_M
BOOL QDRSET_M (BOOL EN, STRING S1);
Argument Name
EN
S1
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the file name of the file registers of
(* drive No. 1 is changed into "ABS.QDR".
QDRSET_M (X0, "1: ABC");
Corresponding MELSEC command
QDRSET (Set of file register file)
RSET_MD
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
IN
New block No. data (BIN 16-bit data)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
"Drive No.: File name" of target file registers (character
IN
string data)
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
Description
Description
*)
*)
5- 105

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents