Good day.
When working with components, we encountered one unpleasant feature, which is very lacking there. We would also need to transfer the object to the component and determine its attributes within the component itself (description)
{D}, technical units {U}, or even HOBJ).
For example, if I need to create a component that contains text with a format mask: "{D}
{IN}
{U}
", it is completely unrealistic to do this. It is still possible to use a struct with 1 alias, but creating structures for each variable is a bit unnecessary.
So we tried to use the source structured variable (we entered the item SV.Cerpadlo [5], but it transferred the whole structure to the component (say 250 rows without finding out which row to use).
Is there anything you can do about it?
PS: What mean “Text” which define external parameters?
PS2: Is it possible to detect a value change (external reference) within a component and make a script call? For example, if we need to signal a light based on 2 states (for example, we transmit _MOD and _REM points to external ones, and need to do the following expression when changing)
IF! _REM THEN
_mode: = 0
ELSIF _MOD THEN
_mode: = 1
ELSE
_mode: = 2
ENDIF
Thank you.