Lenze EtherCAT Controller-based Automation Manual do Utilizador Página 157

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 205
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 156
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17 157
9 Function library L_IODrvEtherCAT.lib
9.7 Data types
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.7.6 L_ETC_ERRORCODE
The type L_ETC_ERRORCODE describes all possible EtherCAT error codes that can be output at the
eErrorCode output of the EtherCAT function blocks.
A detailed description of the EtherCAT error codes is provided in the chapter entitled "Diagnostics":
General error codes (L_ETC_ERRORCODE)
( 183)
SDO abort codes
( 195)
9.7.7 L_ETC_IOCTLOPARMS
The L_ETC_IOCTLOPARMS type describes the reference to the I/O buffer e.g. for the L_ETC_IoControl
(FUN) ( 139) function.
9.7.8 L_ETC_LANGUAGE
The L_ETC_LANGUAGE type describes the languages in which e.g. an error text can be output via the
L_ETC_GetErrorString (FUN)
( 143) function.
9.7.9 L_ETC_SLAVE_PORTS
The type L_ETC_SLAVE_PORTS describes ports 0 ... 3 of the EtherCAT slaves.
TYPE L_ETC_IOCTLOPARMS :
STRUCT
pbyInBuf : POINTER TO BYTE; // Input data buffer
dwInBufSize : DWORD; // Size of input data buffer in bytes
pbyOutBuf : POINTER TO BYTE; // Output data buffer
dwOutBufSize : DWORD; // Size of output data buffer in bytes
pdwNumOutData : POINTER TO DWORD; // Number of output data bytes stored in
// output data buffer
END_STRUCT
END_TYPE
TYPE L_ETC_LANGUAGE :
(
eng, // english
de // german
);
END_TYPE
TYPE L_ETC_SLAVE_PORTS :
STRUCT
Port0 : BYTE; // Slave port 0
Port1 : BYTE; // Slave port 1
Port2 : BYTE; // Slave port 2
Port3 : BYTE; // Slave port 3
END_STRUCT
END_TYPE
Vista de página 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 204 205

Comentários a estes Manuais

Sem comentários