Siemens SIMATIC NET CP 5613 Manual page 178

Dp base programming interface
Table of Contents

Advertisement

Description of the DP Functions, Data, and Error Codes
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.
DP_OK
DP_OK_ASYNC
DP_ERROR_EVENT
DP_ERROR_EVENT_NET
DP_ERROR_REQ_PAR
DP_ERROR_CI
DP_ERROR_RES
DP_ERROR_USR_ABORT
178
Error Class
Description
No error, the job was executed and the results
are available.
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.
The slave returns an error coding in the
response frame for a DPC1 request
(ds_write/read, alarm_acknowledge).
Error in PROFIBUS communication, for
example,connection abort
Incorrect transferred parameter for a call or call
illegal.
Error accessing the CP
Not enough resources available
Active jobs aborted because the user program
has logged off (only possible with
DP_get_result).
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cp 5614

Table of Contents