Data transfer within the PLC
831
Part III FP Instructions
F13_ICWT
IC card extended memory write
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 F13_ICWT (see page 1321)
Variable Data type Function
s1_Start
ANY16 source data, starting 16-bit area
s2_Number number of words to be read then written to IC card
d_Start
ANY32
destination area of IC card expansion memory
For Relay T/C Register Constant
s1_Start
WX WY WR WL SV EV DT LD FL -
s2_Number DWX DWY DWR DWL DSV DEV DDT DLD DFL dec. or hex.
d_Start - - - - - - - - - dec. or hex.
Description
The data for the number of words specified by s2_Number are read from the address specified by
s1_Start and written to the extended memory area in the IC card 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.