Lenze EtherCAT Controller-based Automation Manuale Utente Pagina 135

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 205
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 134
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17 135
9 Function library L_IODrvEtherCAT.lib
9.2 CoE Interface
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.2.7 L_ETC_CoE_SdoWriteEx (FB)
This function block triggers downloading of a CoE object (SDO) to the slave or to the master.
Visualisation: VISU_L_ETC_CoE_SdoWriteEx
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_SdoWriteEx
BOOL xExecute xDone BOOL
BOOL xAbort xBusy BOOL
USINT usiCom xError BOOL
UINT uiDevice eErrorCode L_ETC_ERRORCODE
DWORD dwFlags udiSdoAbort UDINT
WORD wIndex
BYTE bySubindex
UDINT udiTimeOut
CAA_PVOID pBuffer
CAA_SIZE szSize
Vedere la pagina 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 204 205

Commenti su questo manuale

Nessun commento