
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
132
C79000-G8976-C108-01
Parameters
Name Description
user_handle User handle assigned with the DPS_open call.
dps_state • DPS_OFFLINE the slave module has not started up.
• DPS_WAIT_PRM the slave module is waiting for a
parameter assignment frame from
the remote master.
• DPS_WAIT_CFG the slave module is waiting for a
configuration frame from the remote
master.
• DPS_DATA_EX the slave module is taking part in
data exchange (productive phase).
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