22.11.2.4 Copy Memory (Variable Specification)

Copies device memory in one operation. The data of addresses specified with Parameter 3 are copied from the source word address specified with Parameter 2 to the destination word address specified with Parameter 1.
The number of addresses that can be used is from 1 to 640. With the "_memcpy_EX" function, the source address, destination address, and number of addresses can be designated indirectly.

_memcpy_EX ([Copy To Address], [Copy From Address], Words)

Example expression:

[t:0000]=10, [t:0001]=20
_memcpy_EX ([w:[#INTERNAL]LS0100]#[t:0000], [w:[PLC1]D0100]#[t:0001], 5)

In the example above, five words of data are read out from D0120 and written into LS0110 to LS0114.