EasyManua.ls Logo

IFM Electronic CR0451 - Page 223

IFM Electronic CR0451
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
223
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
Managing the data Saving, reading and converting data in the memory
MEMCPY
8160
= Memory Copy
Unit type = function block (FB)
Contained in the library: ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
Symbol in CoDeSys:
MEMCPY
ENABLE
RESULT
DST
SRC
LEN
Description
412
MEMCPY enables writing and reading different types of data directly in the memory.
The FB writes the contents of the address of SRC to the address DST. In doing so, as many bytes as
indicated under LEN are transmitted. So it is also possible to transmit exactly one byte of a word file.
► The address must be determined by means of the operator ADR and assigned to the FB.
Parameters of the inputs
8162
Parameter Data type Description
ENABLE BOOL TRUE: unit is executed
FALSE: unit is not executed
> POU inputs and outputs are not active
DST DWORD address of the target variable
SRC DWORD address of the source variable
LEN WORD number of the data bytes to be transmitted (max. 65 536 bytes)
Parameters of the outputs
8163
Parameter Data type Description
RESULT BYTE feedback of the function block
(possible messages following table)
Possibly values for RESULT:
Value
dec | hex
Description
000 00 function block is not active
001 01 FB execution completed without error – data is valid
002 02 function block is active (action not yet completed)
152 98 inadmissible memory area

Table of Contents