Data transfer within the PLC
851
Part III FP Instructions
F151_WRT
Write into memory of intelligent units
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.
Writes n words of the initial data from the area specified by s2 of the CPU to the address specified
by d of the shared memory of the intelligent unit specified by s1.
The number of variable arguments at the inputs is limited by the available index registers of the
PLC.
Specifying s1
Intelligent unit without bank
Specify the slot number in which the target intelligent unit has been installed.
16#00
s1
Upper byte
Lower byte
Slot No.: 16#00 to 16#1F
Intelligent unit with bank
Specify the slot number (hex. constant) in which the target intelligent unit has been installed, and
the bank number (hex. constant).
s1
Upper byte
Lower byte
Slot No.: 16#00 to 16#1F
Bank No.: 16#00 to 16#FF
Reference: Intelligent unit with bank
Name Order Number
FP3 expansion data memory
unit
AFP32091
AFP32092
FP expansion data memory
unit
AFPG201
PLC types
Availability of F151_WRT (see page 1321)
Description
Writes data into the shared memory of an intelligent unit.