222
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
More functions in the ecomatmobile controller
Saving, reading and converting data in the memory
10.3.7
Function E2READ
Contained in the library:
ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302
•
PCB controller: CS0015
•
SmartController:
CR2500
Function symbol:
E2READ
ENABLE
RESULT
SRC
LEN
DST
Description
E2READ enables reading of different data from the serial EEPROM.
The function reads the contents as from the address of SRC from the serial EEPROM. Given that the
processing of the function takes some time it must be monitored via the function output RESULT. If
RESULT =1 , the input ENABLE must be set to FALSE again.
NOTE
The address for DST must be determined using the function ADR and assigned to E2READ.
Parameters of the function inputs
Name
Data type Description
ENABLE
BOOL
TRUE: function is executed
FALSE: function is not executed
SRC
INT
Start address in the memory
(0...2FF
16
and 400
16
up to EEPROM size)
LEN
INT
Number of data bytes to be transmitted
DST
DINT
Address of the target variables
Parameters of the function outputs
Name
Data type Description
RESULT
BYTE
0 = Function inactive
1 = Function stopped
2 = Function active