Lenze 3241C Manual do Utilizador Página 21

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 32
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 20
API functions 3
19
3.4.7 PDO functions
BpbReadPdo function
Parameter
[in] HANDLE hOpen Pointer to open context (handle) for identification
[out] PUCHAR pReadBuffer PDO memory area
[in] WORD usBufferSize Size of the memory area
[out] PWORD pusActualPdoSize Size of the memory area assigned
Return values
S_OK Successful
E_HANDLE Incorrect (handle is invalid)
E_MEMORY Incorrect (BPB message memory area overflown)
BpbWritePDO function
Parameter
[in] HANDLE hOpen Pointer to open context (handle) for identification
[in] PUCHAR pWriteBuffer PDO memory area
[in] USHORT usBufferSize Size of the memory area
[out] PUSHORT pusSdoWritten Number of PDOs written
Return values
S_OK Successful
E_HANDLE Incorrect (handle is invalid)
PDO block structure
The structure of the process data results from the group configuration of the I/O
modules.
Size of the PDO memory area 1. DWORD
Status register 2. DWORD
BpbPdoBlockHeader
SDOs
3. DWORD
n. DWORD
(binary data, according to process
image)
After a read or write access the status register contains the current status of the BPB
and does not serve to change the status of the BPB.
Vista de página 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 31 32

Comentários a estes Manuais

Sem comentários