Data transfer via network
792
Part III FP Instructions
F152_RMRD
Data read from the slave station
s1 stores the control data for the configuration of the Master and Slave units in the network. n
words are read beginning from the shared memory address number in the intelligent unit specified
by s2. The result is stored in d.
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Specifications of s1:
·········
15 12 11 8 7 4 3 0
·········
15 12 11 8 7 4 3 0
s1 higher word
s1 lower word
s1 high word
s1 low word
Bit
Bit
Bank No.
(16#00 to 16#FF if
there is a bank to
specify, otherwise
16#00)
Slot No.
(16#00 to 16#1F,
FP3: to 16#17)
Master station No.
(16#01 to 16#04)
Slave station No.
(16#01 to 16#20)
Reference: Intelligent unit with bank
Name Order Number
FP3 expansion data memory
unit
AFP32091
AFP32092
PLC types
Availability of F152_RMRD (see page 1321)
Variable Data type Function
s1 DWORD stores control data for Master/Slave configuration
s2 ANY16 starting memory address number of words to be read
n INT number of words to be read (max. 32 words)
d ANY16 starting 16-bit area where words read are stored, (see F153
(see page 794))
The variables s2 and d have to be of the same data type.
Description
Reads data from the specified intelligent unit of the MEWNET-F Slave station.
Data types