Siemens SIMATIC NET PROFIBUS Servisní příručka Strana 133

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 238
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 237 238

Komentáře k této Příručce

Žádné komentáře