ninaxx - 2022-07-25

Hello.

I want to access a GVL on my program (PLC somachine) and search for a variable. I did something like:

sK = [childnode for childnode in sProj.get_children(True)]
for x in sK:
if x.get_name() == 'GVL_1'
system.write_message(Severity.Information, 'GVL_1 present')

So i can find the GVL that i need but i cannot access the variables declared inside of it..

Is there a way to do it? Or is not possible?

I want to verify the existence of a variable that supposed to be declared on my GVL_1.

Thanks