Controller Tags

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20162
    Paul_85Paul_85
    Participant
      Karma: 19
      Rank: Padawan

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

      #20166
      PLCGurutfgmedia_admin
      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
        StixoffireStixoffire
        Participant
          Karma: 172
          Rank: Jedi

          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
          StixoffireStixoffire
          Participant
            Karma: 172
            Rank: Jedi

            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
            StixoffireStixoffire
            Participant
              Karma: 172
              Rank: Jedi

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