
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
88
C79000-G8976-C108-01
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
Request
Pointer to DP-V1 structure DPC1_REQ_S with entries for
the read data record job.
typedef struct DPC1_REQ_S
{
DPR_WORD order_id; // in
DPR_DWORD c_ref; // in
union
{
DP_DS_READ_T dp_ds_read;
DP_DS_WRITE_T dp_ds_write;
DP_ALARM_ACK_T dp_alarm_ack;
DP_ENABLE_EVT_T dp_enable_evt;
DP_GET_CFG_T dp_get_cfg;
}req;
} DPC1_REQ_T;
where
typedef struct DP_DS_READ_S
{
DPR_BYTE slot_number; // in
DPR_BYTE index; // in
DPR_BYTE length_s; //inout
DPR_BYTE
data_s[DPR_DPC1_MAX_LENGTH];
// out
} DP_DS_READ_T;
Table continued on next page
Comentarios a estos manuales