For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: Constant list: //{attribute 'qualifiedonly'} VAR_GLOBAL CONSTANT test :INT := 3; END_VAR Network variable list: VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: Constant list: //{attribute 'qualifiedonly'} VAR_GLOBAL CONSTANT test :INT := 3; END_VAR Network variable list: VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: //{attribute 'qualifiedonly'} VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine why the compiler can't recognize...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: //{attribute 'qualifiedonly'} VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine why the compiler can't recognize...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: *//{attribute 'qualifiedonly'}* VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine why the compiler can't recognize...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: *//{attribute 'qualifiedonly'}* VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine why the compiler can't recognize...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: //*{attribute 'qualifiedonly'}* VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR The same is true for enumerations, you can use them, but only if you don't use the fully qualified name. I can't imagine why the compiler can't recognize...
For anyone reading this later, it turns out that you CAN use constants, you just have to remove the auto-populated pragma {attribute 'qualifiedonly'} and then only reference those constants using their un-qualified name. Ex: //*{attribute 'qualifiedonly'}* VAR_GLOBAL CONSTANT test :INT := 3; END_VAR . . . VAR_GLOBAL arr : ARRAY[0..test] OF INT; END_VAR I can't imagine why the compiler can't recognize the variable as a constant if you use its fully qualified name (NVL_Constants.test vs test). That...