Lenze EtherCAT control technology Manual de usuario Pagina 116

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 204
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 115
Control technology | EtherCAT communication manual
EtherCAT function libraries
Function blocks and functions for diagnosing the network
116 L DMS 3.1 EN 01/2011 TD17
9.7.6 L_ECAT_ReadErrCnt (FB)
Inputs (VAR_INPUT)
Outputs (VAR_OUTPUT)
Function: This function block reads the telegram error counters of all connected
slaves (see Error counters of the EtherCAT slaves
( 143)). This block
should be executed cyclically at longer intervals (e.g. every 10
minutes) to evaluate the state of the bus. The values in the
abRedErrCnt array serve to evaluate the cabling quality/EMC
sensitivity of the EtherCAT bus.
Library: SM_Ethercat.lib
Visualisation: VISU_L_ECAT_ReadErrCnt
Identifier/data type Meaning/possible settings
bExecute
BOOL
The function block is activated in an edge-controlled manner:
Positive edge (TRUE) = function block is executed.
Identifier/data type Meaning/possible settings
bDone
BOOL
FALSE: Function block is active or has not been called
TRUE: Function block has been executed.
bError
BOOL
FALSE: No error
TRUE: An error has occurred.
dwErrorID
DWORD
Display of a hexadecimal error code (see also System error messages
( 157)) if an
error has occurred (bError =TRUE).
abRedErrCnt
Array [n] of
L_ECAT_ErrCnt
This array contains the values of the error counters of the telegram errors occurred
for the first time of all connected slaves.
Each slave has 4 telegram error counters.
’n’ corresponds to the number of connected slaves.
abGreenErrCnt
Array [n] of
L_ECAT_ErrCnt
This array contains the values of the error counters of the forwarded telegram errors
of all connected slaves.
Each slave has 4 telegram error counters.
’n’ corresponds to the number of connected slaves.
Vista de pagina 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 203 204

Comentarios a estos manuales

Sin comentarios