Refresh Device Read (In 16-Bit Units) - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Refresh device read (in 16-bit units)

S(P).REFDVRDW
High
Basic
Process
performance
• 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.
S.REFDVRDW
SP.REFDVRDW
n1:
Start I/O number (0H to FEH) (BIN 16-bit)
(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
Internal device
data
Bit
n1
(S1)
(D1)
n2
*2
(D2)
*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.
Device
Item
(S1)+0
Station number
(S1)+1
Type
(S1)+2
Offset
(S1)+3
• Instruction execution possibility of an execution type for each program.
• Enabled: Initial program and scan execution type program
• Disabled: Fixed scan execution type program and interrupt 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.
8 INSTRUCTIONS FOR DATA LINK
842
8.3 Refresh Device Write/Read Instructions
Ver.
Ver.
Redundant
Universal
LCPU
Command
Command
*1
of the master station controlling the station assigned the refresh device which reads data
R, ZR
Word
*2
*2
Setting contents
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.
Type of the refresh device which reads data
• 1: Remote register (RWr)
• 2: Remote register (RWw)
• 3: Link special register (SW)
Offset from the head of the refresh device assigned the device specified in (S1)+0 and (S1)+1
S.REFDVRDW
SP.REFDVRDW
J\
U\G
Bit
Word
n1
S1
D1
n2
D2
n2
n1
S1
D1
D2
Zn
Constant
K, H
Setting range
1 to 120
1 to 3
0 to 2147483647
Others

Advertisement

Table of Contents
loading

Table of Contents