DataObj.var 1.9 KB

12345678910111213141516171819202122232425262728
  1. VAR CONSTANT
  2. doERR_TOOLONG_MODULNAME : UINT := 20613; (*module name too long (max. 10 characters)*)
  3. doERR_CHECKSUM_WARNING : UINT := 20630; (*wrong target memory specified for the "doNO_CS" option*)
  4. doERR_MODULNOTFOUND : UINT := 20609; (*data object not found*)
  5. doERR_ILLEGALLENGTH : UINT := 20608; (*wrong length specified*)
  6. doERR_STARTHANDLER : UINT := 20612; (*error while enabling asynchronous handler (only SG4)*)
  7. doERR_ILLPARAMETER : UINT := 20600; (*wrong parameter given (NULL pointer)*)
  8. doERR_WRONGOFFSET : UINT := 20607; (*wrong offset specified*)
  9. doERR_ILLOBJTYPE : UINT := 20606; (*wrong object type (not data object)*)
  10. doERR_ILLMEMTYPE : UINT := 20602; (*wrong target memory specified*)
  11. doERR_WRONGTIME : UINT := 20610; (*wrong date in SetDate (DatObjChangeDate)*)
  12. doERR_ILLOBJECT : UINT := 20605; (*object not found*)
  13. doERR_DUPOBJECT : UINT := 20601; (*object already present*)
  14. doERR_BRINSTALL : UINT := 20604; (*error installing data object*)
  15. doERR_NOMEMORY : UINT := 20603; (*no memory available for module to be created*)
  16. doERR_ILLSTATE : UINT := 20611; (*incorrect state of the data object*)
  17. doERR_BURNINGOBJECT : UINT := 20614; (*error while saving the data object in "Flash" memory*)
  18. doERR_MODULDELETE_SYSROM : UINT := 20615; (*a module in SYSROM cannot be deleted*)
  19. doSYSROM : USINT := 0; (*SYSROM (SYSTEM FLASH)*)
  20. doNO_CS : USINT := 1; (*no cyclic checksum monitoring and no checksum monitoring during installation and booting*)
  21. doUSRROM : USINT := 2; (*USERROM (USER FLASH)*)
  22. doUSRRAM : USINT := 3; (*USERRAM (target memory for pointer handling)*)
  23. doMEMCARD : USINT := 4; (*MEMCARD (only for SG3)*)
  24. doFIXRAM : USINT := 5; (*FIXRAM (only for SG3)*)
  25. doTEMP : USINT := 65; (*Temporary data object (DRAM, only for SG4)*)
  26. END_VAR