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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 34
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 23
4.8 L_MemWriteDINT
Function library LenzeMemDrv.lib
Functions for RAM memory access
4−10
L
LenzeMemDrv.lib EN 1.1
4.8 L_MemWriteDINT
INT. L_MemWriteDINT(dnData, byRamBlockNr, wOffset)
This function can be used to write the value of a variable of type "double integer" into a RAM block
of the PLC.
wOffset
Block 1 (64KByte)
Block 2 (64 KByte)
RAM
byRamBlockNr
1
n
Block n (64 KByte)
2
Double Integer
(32 Bit)
dnData
Transfer parameters
Identifiers Data type Info/possible settings
dnData Double integer Data value to be written (32 bits).
byRamBlockNr Byte Selecting the RAM memory block into which dnData is to be written.
1 RAM memory 1, size: 64 kbytes
2 RAM memory 2, size: 64 kbytes
wOffset Word Destination address in the selected RAM memory block to which dnData is to be written.
0 ... 65532 Destination address (offset)
· Only even values are permissible as offset!
Return value: Integer
Value Meaning
0 Write request completed.
−60 Write request has not been transferred to the operating system since the transfer parameters are faulty:
byRamBlockNr is invalid.
−35 Copy job has not been transferred to the operating system since the transfer parameters are faulty:
wOffset is an odd address or a value beyond the permissible range (0 ... 65532).
−50 Copy job has not been transferred to the operating system since the memory is presently accessed
(e. g. via codes).
Vista de página 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 33 34

Comentários a estes Manuais

Sem comentários