Data transfer within the PLC
829
Part III FP Instructions
F12_ICRD
IC card extended memory read
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.
PLC types
Availability of F12_ICRD (see page 1320)
Variable Data type Function
s1_Start starting 32-bit area to be read in extended memory
s2_Number
ANY32
number of words to be read
d_Start ANY16 destination, starting 16-bit area
For Relay T/C Register Constant
s1_Start - - - - - - - - - dec. or hex.
s2_Num
ber
DWX DWY DWR DWL DSV DEV DDT DLD DFL dec. or hex.
d_Start - WY WR WL SV EV DT LD FL -
Description
The data for the number of words specified by s2_Number are read from the address in the IC
card extended memory area specified by s1_Start and written to the area specified by d_Start.
Data types
Operands
Example
In this example the function has been programmed in ladder diagram (LD) and structured text
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.