Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 109

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 108
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
109
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
timeout
Duration of the maximum wait time (in milliseconds) until the
function returns.
Limit values:
0: no wait time - the function
returns immediately
0x7FFFFFFE: maximum wait time
DP_TIMEOUT_FOREVER: "Endless" wait time
req_type Address of a variable for the job type. After receiving a
confirmation, the job type is entered here:
DP_NO_CNF: No confirmation received
DP_DS_READ: Confirmation for DP_ds_read
DP_DS_WRITE: Confirmation for DP_ds_write
DP_ALARM_ACK: Confirmation for
DP_alarm_ack
DP_ENABLE_EVENT Confirmation for
DP_enable_event
DP_GET_CFG_EVENT Confirmation for
DP_get_actual_cfg
result The result parameter points to a structure of the type
DPC1_REQ_T. When a confirmation is received, the
confirmation parameters are entered in the relevant
substructures of this structure (according to the entry in
req_type).
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).
Vista de pagina 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 237 238

Comentarios a estos manuales

Sin comentarios