Siemens SIMATIC NET PROFIBUS Wartungshandbuch Seite 168

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 238
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 167
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
168
C79000-G8976-C108-01
error_class Structure Element
The error_class structure element specifies the general error class. The entry in
error_class is
identical
to the return value of the function call.
A DP application can therefore evaluate either the error_class structure element or
the return value of the function call.
The table describes the possible error classes and shows which of the other
structure elements of DP_ERROR_T are valid for the individual error classes.
Error Class Description
DP_OK No error, the job was executed and the results
are available.
DP_OK_ASYNC
Job was execution was triggered successfully,
the confirmation is not yet available. The result
must be fetched later by a DP_get_result call.
This result is only possible with asynchronous
jobs.
DP_ERROR_EVENT
The slave returns an error coding in the
response frame for a DPC1 request
(ds_write/read, alarm_acknowledge).
DP_ERROR_EVENT_NET Error in PROFIBUS communication, for example,
connection abort
DP_ERROR_REQ_PAR Incorrect transferred parameter for a call or call
illegal.
DP_ERROR_CI Error accessing the CP
DP_ERROR_RES Not enough resources available
DP_ERROR_USR_ABORT Active jobs aborted because the user program
has logged off (only possible with
DP_get_result).
Seitenansicht 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 237 238

Kommentare zu diesen Handbüchern

Keine Kommentare