Siemens SIMATIC NET PROFIBUS Manual de Serviço Página 113

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 238
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 112
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
113
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
sema_type Type of semaphore:
x
DP_OBJECT_TYPE_INPUT_CHANGE -
Hardware event when slave input data changes.
x
DP_OBJECT_TYPE_DIAG_CHANGE -
Hardware event when diagnostic data changes.
x
DP_OBJECT_TYPE_CYCLE_INT -
Hardware event at the start of a new DP cycle
(reserved for later expansions)
x
DP_OBJECT_TYPE_ASYNC -
Software event on completion of an asynchronous call,
can be fetched with DP_get_result.
x
DP_OBJECT_TYPE_FAST_LOGIC -
Hardware event for fast logic.
Apart from DP_OBJECT_TYPE_ASYNC, the semaphores
can be initialized only once per CP.
sema_handle Address of a variable for the semaphore object. The
returned semaphore object must be used with the Win32
API functions.
error
Address of a structure provided by the user program of the
type DP_ERROR_T - If an error occurred, the structure
contains details for troubleshooting (see Section 4.4).
Return Value
Name Description
DP_OK The semaphore could be initialized.
other Unsuccessful completion of the function
Vista de página 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 237 238

Comentários a estes Manuais

Sem comentários