Controller Tags

  • This topic has 1 reply, 3 voices, and was last updated 5 months ago by AdminFred Graham.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20162
    Paul_85James White
    Participant
    Karma: 14
    Rank: Padawan

    Is there a way to move local/program tags to controller tags without doing it offline?

    #20166
    AdminFred Graham
    Keymaster

    Hi James,

    Unfortunately there is no way to do this online. When you’re creating tags essentially what you are doing is allocating a block of memory whose size is based on the data type you choose. For example, an INT will allocate 16-bits of memory which can represent a number from -32,768 to 32,767. Whereas, a DINT will allocate 32-bits of memory for that tag which can represent a much bigger number -2,147,483,648 to 2,147,483,647. These memory allocations cannot be changed dynamically at runtime.

    Hope that helps!

    #20170
    StixoffireKen S
    Participant
    Karma: 43
    Rank: Padawan

    Just create controller tags with the same name, and change the tag for the instructions to use the controller tag. Then delete the program tags.

    If you have a lot of them – I exported and edited the exported file in EXCEL and then re-imported it, that made it quick a 5 minute downtime operation versus a lot

    #20171
    StixoffireKen S
    Participant
    Karma: 43
    Rank: Padawan

    Just create controller tags with the same name, and change the tag for the instructions to use the controller tag. Then delete the program tags.

    If you have a lot of them – I exported and edited the exported the tag file in EXCEL and then re-imported it, that made it quick a 5 minute downtime operation versus a lot

    #20172
    StixoffireKen S
    Participant
    Karma: 43
    Rank: Padawan

    What I mean is the excel file shows program tags one way and controller tags another way – just match the same pattern in the excel file for controller tags and you will have an easy import.

    #20173
    AdminFred Graham
    Keymaster

    Some great tips here Ken! I’m seeing one of your posts here twice…hmmm. That’s strange.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.