Lenze EtherCAT Controller-based Automation Instrukcja Użytkownika Strona 129

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 205
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 128
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17 129
9 Function library L_IODrvEtherCAT.lib
9.2 CoE Interface
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.2.4 L_ETC_CoE_SdoReadEx (FB)
This function block triggers uploading of a CoE object (SDO) from the slave or from the master.
Visualisation: VISU_L_ETC_CoE_SdoReadEx
Complete access
By setting bit 0 at dwFlags, all subindices of an object are read by the slave using a single SDO
service. The following rules apply for transmission via "complete access":
Subindex 1 always begins at an even byte address.
Boolean/bit variables are packed in bytes. Following non-bit objects begin at the next byte
address.
Non-existent subindices do not require any memory space.
"Complete access" can start with subindex 0 or subindex 1. Other subindices are not permitted.
Note!
For executing the function block, the EtherCAT master and the slave must be at least in
the "Pre-Operational" state.
L_ETC_CoE_SdoReadEx
BOOL xExecute xDone BOOL
BOOL xAbort xBusy BOOL
USINT usiCom xError BOOL
UINT uiDevice eErrorCode L_ETC_ERRORCODE
DWORD dwFlags udiSdoAbort UDINT
WORD wIndex szDataRead CAA_SIZE
BYTE bySubindex
UDINT udiTimeOut
CAA_PVOID pBuffer
CAA_SIZE szSize
Przeglądanie stron 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 204 205

Komentarze do niniejszej Instrukcji

Brak uwag