Lenze EtherCAT Controller-based Automation Instrukcja Użytkownika Strona 144

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 205
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 143
9 Function library L_IODrvEtherCAT.lib
9.4 Diagnostic Interface
144
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.4.3 L_ETC_GetMasterDiagnostic (FB)
When called, this function block returns a structure with diagnostic information at the oDiagnostic
output (type L_ETC_DIAGNOSTIC
( 156)).
The processing of the POU requires some microseconds (μs).
Visualisation: VISU_L_ETC_GetMasterDiagnostic
Inputs (VAR_INPUT)
Outputs (VAR_OUTPUT)
L_ETC_GetMasterDiagnostic
BOOL xReset xDone BOOL
xBusy BOOL
xError BOOL
eErrorCode L_ETC_ERRORCODE
oDiagnostic L_ETC_DIAGNOSTIC
Identifier/data type Meaning/possible settings
xReset
BOOL
A positive edge (TRUE) resets the error counter of the output structure oDiagnostic.
(Exception "Frame Lost Counter")
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
eErrorCode
L_ETC_ERRORCODE
Error code of the incorrectly executed action (xError =TRUE).
General error codes (L_ETC_ERRORCODE)
( 183)
SDO abort codes
( 195)
oDiagnostic
L_ETC_DIAGNOSTIC
Diagnostic information of the L_ETC_DIAGNOSTIC ( 156) type that is returned
when the function block is called.
•The output oDiagnostic.xDC_InSync is set (TRUE) if the DC master and all DC
slaves have been synchronised.
Przeglądanie stron 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 204 205

Komentarze do niniejszej Instrukcji

Brak uwag