Lenze EtherCAT Controller-based Automation Manuel d'utilisateur Page 135

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 205
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 204 205

Commentaires sur ces manuels

Pas de commentaire