Components and adding an alias to global variables in the schema

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.

Good day.

This feature is already implemented, 99% is already in the last public build V12.0.61.u4 what we have on the site, if not, it will be in V12.0.61.u5, it will be released within a few weeks + -

What does mean “Text” to define external parameters?

It is possible to enter a value as a text constant, eg. when I don’t want to connect the parameter on a variable.

Is it possible to detect a value change (external reference) within a component and make a script call?

In ESL it is not possible to detect the change, in Java it should do the same via addChangeListener.