2 l_etc_geterrorstring (fun), L_etc_geterrorstring (fun), L_etc_geterrorstring (fun) ( 143) – Lenze EtherCAT Controller-based Automation User Manual

Page 143: 9function library l_iodrvethercat.lib

Advertising
background image

Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17

143

9

Function library L_IODrvEtherCAT.lib

9.4

Diagnostic Interface

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

9.4.2

L_ETC_GetErrorString (FUN)

This function returns a language-specific string for an L_ETC_ErrorCode.

Inputs (VAR_INPUT)

Return value

L_ETC_GetErrorString

L_ETC_ERRORCODE  eErrorCode

L_ETC_GetErrorString  STRING(256)

L_ETC_LANGUAGE  eLanguage

Identifier/data type

Meaning/possible settings

eErrorCode

L_ETC_ERRORCODE

Error code for which the language-specific string is to be returned.

General error codes (L_ETC_ERRORCODE) ( 183)

SDO abort codes ( 195)

eLanguage

L_ETC_LANGUAGE

Language selection of the

L_ETC_LANGUAGE ( 157)

type

• In the Lenze R3.x control technology, only the English strings are supported at the

moment.

Identifier/data type

Meaning/possible settings

L_ETC_GetErrorString

STRING(256)

Language-specific error string for eErrorCode

Advertising