Use variables without namespace

wsnieders
2022-01-31
2022-02-01
  • wsnieders - 2022-01-31

    Hello everyone!

    So far we have been using Codesys 3.5 SP5, where variables are inserted without a namespace.
    In Codesys 3.5 SP16, however, the namespace is automatically inserted, which we don't really want.
    I think I have found the right option to switch off (see screenshot attached), but it doesn't do anything.
    Does anyone know more?

     
  • wsnieders - 2022-01-31

    Hello, there is no attribute 'instance-path' on the GVL.

     
  • wsnieders - 2022-01-31

    There are no attributes on my GVL.
    It starts with "VAR_GLOBAL" in the first line.

     
  • dFx

    dFx - 2022-01-31

    Well, on SP12 it is okay at least.
    Did you done the usual restart of codesys ?

     
  • gatto

    gatto - 2022-02-01

    hi, here I am in 3.5.14 and although in the options, smartcoding, there is no tick in insert with namespace, when you insert a variable the system automatically puts the namespace on it.
    The tick seems to have no effect πŸ˜’

     

Log in to post a comment.