Siemens SIMATIC NET PROFIBUS Servisní příručka Strana 87

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 238
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 86
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
Zobrazit stránku 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 237 238

Komentáře k této Příručce

Žádné komentáře