Siemens SIMATIC NET PROFIBUS Wartungshandbuch Seite 78

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 238
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 77
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
78
C79000-G8976-C108-01
4.1.8 DP_get_err_txt
Purpose
This function obtains detailed error information from the return values of the
DP_ERROR_T error structure in plain language.
Syntax
DPR_DWORD DP_get_err_txt (
DP_ERROR_T *error, // in
DPR_STRING *language, // in
DPR_STRING text[DP_ERR_TXT_SIZE] ); // out
Parameters
Name Description
error Address of a structure provided by the user program of the
type DP_ERROR_T. The structure contains the error values
of a previously called DP function (see Section 4.4).
language Language of the error text to be displayed:
"German"
"English"
text Pointer to the data area in which the error text including the
terminating zero byte is stored.
Return Value
Name Description
DP_OK Successful completion of the function
other Unsuccessful completion of the function
Note
If a strin
g
other than "German" or "En
g
lish" is entered in the "lan
g
ua
g
e" parameter,
the error text is displayed in English.
Seitenansicht 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 237 238

Kommentare zu diesen Handbüchern

Keine Kommentare