Lenze DDS Function library MemDrv Instrukcja Użytkownika Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 34
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
Function library LenzeMemDrv.lib
General memory functions
3.3 L_MemGetStateOfMemory
3−3
L
LenzeMemDrv.lib EN 1.1
3.3 L_MemGetStateOfMemory
This FB shows you the state of the PLC memory.
L_MemGetStateOfMemory
wFlashSectorClear
wFlashSectorInUse
byFlashDownloadState
byNumOfLoadedBlocks
dwLengthOfLoadedData
dwNumOfFlashWriteCycles
dwStartAddressFlashBlock1
dwStartAddressRamBlock1
dwStartAddressRamBlock2
FLASH
info
RAM
info
byRamBlock1InUse
byRamBlock2InUse
wMemDriverVersion
Outputs ð (Variable type: VAR_OUTPUT)
Identifiers Data type Value Meaning
wFlashSectorClear Word Bit:
0 0 Flash memory segment 1 has not been erased.
1 Flash memory segment 1 has been erased.
1 0 Flash memory segment 2 has not been erased.
1 Flash memory segment 2 has been erased.
... 0 Flash memory segment 3 ... 14 has not been erased.
1 Flash memory segment 3 ... 14 has been erased.
14 0 Flash memory segment 15 has not been erased.
1 Flash memory segment 15 has been erased.
15 Is used by the PLC operating system.
wFlashSectorInUse Word Bit:
0 0 Flash memory segment 1 is currently not written.
1 Flash memory segment 1 is currently written.
1 0 Flash memory segment 2 is currently not written.
1 Flash memory segment 2 is currently written.
... 0 Flash memory segment 3 ... 14 is currently not written.
1 Flash memory segment 3 ... 14 is currently written.
14 0 Flash memory segment 15 is currently not written.
1 Flash memory segment 15 is currently written.
15 Is used by the PLC operating system.
byFlashDownloadSta
te
Byte 0 Flash erased
1 Flash download has been completed, no changes.
2 Flash download failed ("Timeout Communication Error").
byNumOfLoadedBloc
ks
Byte 1 ... 15 Number of downloaded Flash memory segments.
dwLengthOf
LoadedData
Double word 1 ... 983040 Number of bytes loaded into the Flash memory.
dwStartAddress
FlashBlock1
Double word Start address of Flash memory segment 1
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 33 34

Komentarze do niniejszej Instrukcji

Brak uwag