This function block is part of the library SM3_Basic. Depending on the inputs ErrorID and Language the function SMC_ErrorString will return a string representing the error.
FUNCTION SMC_ErrorString
|
Type |
Initialization |
Description |
|
|---|---|---|---|
|
VAR_INPUT |
|||
|
ErrorID |
SMC_ERROR |
0 |
Error identification ⇘ “SMC_ERROR” |
|
Language |
SMC_LANGUAGE_TYPE |
english |
Desired language ⇘ “SMC_LANGUAGE_TYPE” |
|
VAR_OUTPUT |
|||
|
SMC_ErrorString |
STRING(100) |
FALSE |
String describing the error |