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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 205
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 140
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17 141
9 Function library L_IODrvEtherCAT.lib
9.4 Diagnostic Interface
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.4 Diagnostic Interface
The "Diagnostic Interface" provides diagnostic blocks for the master and the slaves. The
L_ETC_GetErrorString function converts the internal error code into a readable string.
9.4.1 L_ETC_GetEmergency (FB)
This function block outputs CoE emergency frames which have been stored in a buffer by the I/O
driver before.
Visualisation: VISU_L_ETC_GetEmergency
Inputs (VAR_INPUT)
Outputs (VAR_OUTPUT)
Note!
For executing the function block, the EtherCAT master and the slave must be at least in
the "Pre-Operational" state.
L_ETC_GetEmergency
USINT usiCom xDone BOOL
BOOL xExecute xBusy BOOL
BOOL xReset xError BOOL
eErrorCode L_ETC_ERRORCODE
oEmcy L_ETC_COE_EMERGENCY
uiCount UNIT
Identifier/data type Meaning/possible settings
usiCom
USINT
EtherCAT master instance number
In the Lenze control technology R3.x, only instance number 1 is currently
supported. usiCom has been pre-assigned with 1, so that the input can be left
open.
A value that does not equal 1 causes the error ETC_E_INVALIDPARM
(0x9811000B).
xExecute
BOOL
A positive edge (TRUE) activates a read request of a CoE emergency frame from the
buffer.
xReset
BOOL
A positive edge (TRUE) resets the buffer and deletes all CoE emergency frames saved
until then.
Identifier/data type Meaning/possible settings
xDone
BOOL
TRUE: An action has been executed successfully.
FALSE: No action active / action is still being executed.
xBusy
BOOL
TRUE: An action is currently being executed.
•FALSE: No action active
xError
BOOL
TRUE: An error has occurred.
•FALSE: No error
Vista de página 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 204 205

Comentários a estes Manuais

Sem comentários