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

  • 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 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.
Vue de la page 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 204 205

Commentaires sur ces manuels

Pas de commentaire