Personal Data

Username:
bosulliv
Joined:
2021-04-19 15:05:21

Projects

  • No projects to display.

User Activity

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    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...

View All