Displaying a longer additional text works this way:
The Unit/Addon FB has a string variable that is marked with UseInHmi
When calling SetExtEvent, the additional text is set to the name of the string variable preceeded by @.
The DDL Event uses this feature already: The additional text is set to '@TraceText', which is a VAR_OUTPUT of type STRING(255) of the OpconDdlEventAddon FB. Before setting the event, the TraceText variable is filled with the trace text received from MES.
So much about how it works in general...
Currently, the DDL event only uses the extended additional text in case there is a TraceErrorNo or TraceWarnNo received from MES. But we will check if it can also be used in this case.
... View more