
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
82
C79000-G8976-C108-01
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
slv_add
Address of the slave or 0xFF with the meaning: Activate or
deactivate AUTOCLEAR for all.
slv_mode Required slave state:
DP_SLV_ACTIVATE Activate the slave
DP_SLV_DEACTIVATE Deactivate the slave
AUTOCLEAR setting:
DP_AUTOCLEAR_ON Activate
DP_AUTOCLEAR_OFF Deactivate
The values can also be ORed.
error
Address of a structure provided by the user program of the
type DP_ERROR_T. If an error occurred, the structure
contains details for troubleshooting (see Section 4.4).
Return Value
Name Description
DP_OK Successful completion of the function
other Unsuccessful completion of the function
Comentarios a estos manuales