Lenze DDS Function library MemDrv Manual do Utilizador Página 23

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 34
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 22
Function library LenzeMemDrv.lib
Functions for RAM memory access
4.7 L_MemReadWORD
4−9
L
LenzeMemDrv.lib EN 1.1
4.7 L_MemReadWORD
WORD L_MemReadWORD(byRamBlockNr, wOffset)
This function can be used to read a 16−bit value of type "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
Word
(16 Bit)
return value
Transfer parameters
Identifiers Data type Info/possible settings
byRamBlockNr Byte Selecting the RAM memory block from which the 16−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 16−bit value is to be read.
0 ... 65534 Start address (offset)
Return value: Word
Value Meaning
Data 16−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.
Vista de página 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 33 34

Comentários a estes Manuais

Sem comentários