Lenze DDS Function library MemDrv Manuale Utente Pagina 21

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 34
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 20
Function library LenzeMemDrv.lib
Functions for RAM memory access
4.5 L_MemReadDWORD
4−7
L
LenzeMemDrv.lib EN 1.1
4.5 L_MemReadDWORD
DWORD L_MemReadDWORD(byRamBlockNr, wOffset)
This function can be used to read a 32−bit value of type "double word" from a RAM block of the PLC.
wOffset
Block 1 (64KByte)
Block 2 (64 KByte)
RAM
byRamBlockNr
1
n
Block n (64 KByte)
2
Double Word
(32 Bit)
return value
Transfer parameters
Identifiers Data type Info/possible settings
byRamBlockNr Byte Selecting the RAM memory block from which the 32−bit value is to be read.
1 RAM memory 1, size: 64 kbytes
2 RAM memory 2, size: 64 kbytes
wOffset Word Start address within the selected RAM memory block from which the 32−bit value is to be read.
0 ... 65532 Start address (offset)
Return value: Double word
Value Meaning
Data 32−bit value read in the RAM memory block byRamBlockNr from position wOffset.
ZERO Read request has not been transferred to the operating system since the transfer parameters are faulty:
byRamBlockNr is invalid.
Vedere la pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 33 34

Commenti su questo manuale

Nessun commento