How can I set a signal that is specified in a string?

Is it possible to set a signal, which name is defined in a string.

something like:
var string signalName;=“Signal1”;
Set signalName;

U can use AliasIO to connect to a signal specified by a string. From the ABB “RAPID instructions, functions and data types” manual
VAR signaldi alias_di;
PROC prog_start()
CONST string config_string := “config_di”;
AliasIO config_string, alias_di;ENDPROC
You could change the example to using a signaldo and using the normal I/O operations to set the output. (SetDO alias_do, 1)