Siemens SIMATIC NET PROFIBUS Manual de servicio Pagina 89

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 238
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 88
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
89
Table continued from previous page
Name Description
"Request"
continued
The order_id is a job identifier assigned by the user
program. The identifier is returned unchanged in the
asynchronous confirmation and can be used to identify the
job to which the confirmation belongs.
The c_ref element specifies the slave. The value of c_ref
can be obtained using the function DP_get_cref(user_id,
slv_add).
For information on the elements slot_number and index,
refer to the description of the particular slave.
The length_s element specifies the length of the data to be
read. After receiving the DP_ds_read confirmation,
length_s contains the actual number of data received from
the slave. The received data are entered in data_s.
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_ASYNC Execution of the function was activated successfully.
other Unsuccessful completion of the function
Vista de pagina 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 237 238

Comentarios a estos manuales

Sin comentarios