Message: ambiguous use of name '<variable name>'
Possible error cause: A variable is declared in multiple GVLs.
Error correction: Qualify the variable with the desired GVL.
Example of the error:
PROGRAM PLC_PRG VAR j : INT := g_i; END_VAR GVL1: VAR_GLOBAL g_i : INT; END_VAR GVL2: VAR_GLOBAL g_i : INT; END_VAR --> C0136: ambiguous use of name 'g_i'
Error correction:
Example: j : INT := GVL1.g_i;