IFSysSem.SysSemEnter(hSem:=PARAM_DATA.DATA_EEPROM.SEMAPHORE)=SysSem.Errors.ERR_OKTHEN
    IFPARAM_DATA.DATA_EEPROM.FB_NO_IN=0THEN
      PARAM_DATA.DATA_EEPROM.FB_NO_IN :=PARAMETER_NO;
      PARAM_DATA.DATA_EEPROM.WRITE_VALUE :=TRUE;
      PARAM_DATA.DATA_EEPROM.VALUE_IN.LWORD_T :=PARAM.LWORD_T;
      PARAM_DATA.DATA_EEPROM.ADDRESS_VALUE :=GET_PAGE_ADRESS_EEPROM(DATA:=PARAM_DATA);
    END_IF Â
  END_IF
  SysSem.SysSemLeave(hSem:=PARAM_DATA.DATA_EEPROM.SEMAPHORE);
try to use the device as no multiplex in device config.
IF DATA_EEPROM.FB_NO_OUT = PARAMETER_NO THEN
  //got my request back Â
  //get value
  VALUE_FROM_EEPROM.LWORD_T := DATA_EEPROM.VALUE_OUT.LWORD_T;
  DATA_EEPROM.FB_NO_OUT := 0;//delete response
  LOAD_VALUE_FROM_EEPROM := FALSE;//delete request
END_IF
```
I think I have to make a god example too.
BR Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
Does anyone have any examples how to use devices from this library?
Especially how to use 24C512?
Hi Pawel,
sure I know this…
The eeprom works assyncron call it like this:
try to use the device as no multiplex in device config.
DB_IN_OUT.FB_NO_AUTO := 0;//reset FB number
IF DATA_EEPROM.FB_NO_OUT = PARAMETER_NO THEN
  //got my request back
IF DATA_EEPROM.FB_NO_OUT = PARAMETER_NO THEN
  //got my request back Â
  //get value
  VALUE_FROM_EEPROM.LWORD_T := DATA_EEPROM.VALUE_OUT.LWORD_T;
  DATA_EEPROM.FB_NO_OUT := 0;//delete response
  LOAD_VALUE_FROM_EEPROM := FALSE;//delete request
END_IF
```
I think I have to make a god example too.
BR Stefan