ReplaceAlarmPlaceholderString (FUN)¶
FUNCTION ReplaceAlarmPlaceholderString : STRING
This function can be used to replace placeholders in a message (i.e. latch variables as “LATCHVAR1” or “LATCHVAR2”) by some strings. This function can be used to get the resulting alarm message for display when getting a module call after an alarm was issued.
- InOut:
- Scope - Name - Type - Comment - Return - ReplaceAlarmPlaceholderString- STRING- The replaced string. - Input - strMessage- STRING- Message which has a placeholder to be replaced - strPlaceholder- STRING- The placeholder - strReplacement- STRING- The string the placeholder shall be replaced with