EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Refresh Device Read (in 16-Bit Units)

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
842
8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
Refresh device read (in 16-bit units)
S(P).REFDVRDW
*1 The first 3 digits of the hexadecimal 4 digits which represent the start I/O number.
*2 Local devices and the devices designated for individual programs cannot be used.
Processing details
The contents of the data stored in the area starting from (S1) are as indicated below.
Instruction execution possibility of an execution type for each program.
To read data from a refresh device, the data reflection to the station number specified by the instruction is executed at the
timing for the auto refresh.
QnUD(H)CPU, QnUDE(H)CPU: the serial number (first five digits) is "14072" or later
QnUDVCPU: the serial number (first five digits) is "16043" or later.
Built-in Ethernet port LCPU: Supported
Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, L02SCPU, and L02SCPU-P cannot be used.
n1: Start I/O number (0H to FEH) (BIN 16-bit)
*1
of the master station controlling the station assigned the refresh device which reads data
(S1): Start number of the device stored control data (device name)
(D1): Start number of the device stored read data from the refresh device assigned the device specified in (S1)+0 and (S1)+1 (device name)
n2: Number of read points (1 to 2147483647) (BIN 32-bit)
(D2): Start number of the bit device which turns on for 1 scan by the instruction completion. (D2)+1 also turns on at the error completion (bit).
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
n1  
(S1)  
(D1) 
*2
*2

n2  
(D2)
*2
 
Device Item Setting contents Setting range
(S1)+0 Station number Station number for the station assigned the refresh device which reads data.
When the link special register (SW) is specified as type of (S1)+1, the setting is disabled.
1 to 120
(S1)+1 Type Type of the refresh device which reads data
1: Remote register (RWr)
2: Remote register (RWw)
3: Link special register (SW)
1 to 3
(S1)+2
(S1)+3
Offset Offset from the head of the refresh device assigned the device specified in (S1)+0 and (S1)+1 0 to 2147483647
Enabled: Initial program and scan execution type program
Disabled: Fixed scan execution type program and interrupt program
Basic
High
performance
Process
Redundant
Universal
Ver.
LCPU
Ver.
S.REFDVRDW
SP.REFDVRDW
Command
S.REFDVRDW
n1
S1 D1 D2
n2
Command
SP.REFDVRDW
n1
S1 D1 D2
n2

Table of Contents

Related product manuals