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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 238
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 133
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
134
C79000-G8976-C108-01
Parameters
Name Description
user_handle User handle assigned with the DPS_open call.
user_diag_data
Pointer to the user diagnostic data from the 7th byte
onwards. The first 6 bytes contain the standard information
added by the slave module hardware. (Format see Section
4.6).
user_diag_len Length of the user diagnostic data.
diag_state
This bit field can be logically combined bitwise from the
following values:
DPS_EXT_DIAG: if set, this is error information,
otherwise a status message.
DPS_EXT_DIAG_OV: there is more diagnostic data
than can be represented in the
diagnostic buffer.
DPS_STAT_DIAG: a serious error has occurred
and no more useful data can
be supplied.
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 Successful completion of the function
other Unsuccessful completion of the function
Vista de página 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 237 238

Comentários a estes Manuais

Sem comentários