Lenze 3241C Manual de usuario Pagina 14

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 32
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 13
3 API functions
12
A configuration parameter of an I/O module is treated as an SDO in the IPC and is
transferred to the BPB controller via the FIFOs in the form of a structure, which
contains the data in a format suitable for DS 401. Access of the IPC to the BPB
controller is effected in 2 possible ways:
IPC BPB controller
Writing: Write request Status message
Reading: Read request Response
3.4.2 SDO functions
BpbReadSdo function
Parameter
[in] HANDLE hOpen Pointer to open context (handle) for identification
[out] PUCHAR pReadBuffer SDO memory area
[in] WORD usBufferSize Size of the memory area
[out] PWORD pusActualSdoSize 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)
BpbWriteSdo function
Parameter
[in] HANDLE hOpen Pointer to open context (handle) for identification
[in] PUCHAR pWriteBuffer SDO memory area
[in] USHORT usBufferSize Size of the memory area
[in] USHORT usSdoCount Number of SDOs
[out] PUSHORT pusSdoWritten Number of SDOs written
Return values
S_OK Successful
E_HANDLE Incorrect (handle is invalid)
E_FIFO Incorrect (output buffer has overflown)
Vista de pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 31 32

Comentarios a estos manuales

Sin comentarios