
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
87
4.1.13 DP_ds_read
Purpose
This function sends a "Read Data Record" call to a DP-V1 slave. The DP-V1 data
are read parallel to cyclic operation. This is, however, not slave input but an
additional data packet addressed using the slot and index of a slave. The structure
and meaning of the data can vary depending on the slave type.
Note
Reading is executed
asynchronously
(DP_OK_ASYNC). The result must be
fetched with DP_get_result.
Syntax
DPR_DWORD DP_ds_read (DPR_DWORD user_handle, // in
DPC1_REQ_T *request, // in
DP_ERROR_T *error ); // out
Comentarios a estos manuales