Hello
I’m looking for a way to set the value of a variable in a PLCnext Engineer program using its symbolic name, provided as a string in the program itself.
I’m aware of the GET_SYMBOL function, which allows you to retrieve the symbolic name of a variable, but am kind of searching for the opposite : a function that allows me to assign a value to a variable by referencing its symbolic name as a string on the input of the function.
Is there a possibility for doing that in PLCnext?
Thanks,
Kind regards,
Adrien
Hello,
Would the PBCL_SysDataAccess Functionblock be the one you are looking for? this is part of the PLCnext library. Seems to be available in 1.6.4. I do not know if it is available in earlier versions.
kind regards