Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 133

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 132
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
133
4.2.9 DPS_set_diag
Purpose
This function transfers diagnostic data to the DP slave module. The CP 5614 slave
module passes on the data to the master that controls it.
Note
The length of the diagnostic data can vary during operation!
The 6 standard diagnostic bytes are managed by the CP 5614 slave module itself.
For more information on the structure and formats of diagnostic information see
Section 4.6.
Syntax
DPR_DWORD DPS_set_diag(DPR_DWORD user_handle, // in
DPR_BYTE *user_diag_data, // in
DPR_WORD user_diag_len, // in
DPR_WORD diag_state, // in
DP_ERROR_T *error ); // out
Vista de pagina 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 237 238

Comentarios a estos manuales

Sin comentarios