8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
833
8
Refresh device write (in 16-bit units)
S(P).REFDVWRW
*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.
• 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 write data to 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 writes data
(S1): Start number of the device stored control data (device name)
(S2): Start number of the device stored write data to the refresh device assigned the device specified in (S1)+0 and (S1)+1 (device name)
n2: Number of write points (1 to 2147483647) (BIN 32-bit)
(D1): Start number of the bit device which turns on for 1 scan by the instruction completion. (D1)+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)
(S2)
*2
*2
n2
(D1)
*2
Device Item Setting contents Setting range
(S1)+0 Station number Station number for the station assigned the refresh device which writes 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 writes 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.REFDVWRW
SP.REFDVWRW
Command
S.REFDVWRW
n1
S1 S2 D1
n2
Command
SP.REFDVWRW
n1
S1 S2 D1
n2