› PLCGurus.NET Live & Interactive Forum › PLC Questions and Answers › Rockwell, Allen-Bradley, Stratix › Controller Tags
- This topic has 1 reply, 3 voices, and was last updated 2 years, 5 months ago by
tfgmedia_admin.
- AuthorPosts
- April 14, 2021 at 1:59 pm #20162
Paul_85
ParticipantKarma: 19Rank: PadawanIs there a way to move local/program tags to controller tags without doing it offline?
April 24, 2021 at 8:51 am #20166tfgmedia_admin
KeymasterHi 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!
April 26, 2021 at 1:09 pm #20170Stixoffire
ParticipantKarma: 172Rank: JediJust 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
April 26, 2021 at 1:11 pm #20171Stixoffire
ParticipantKarma: 172Rank: JediJust 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
April 26, 2021 at 1:13 pm #20172Stixoffire
ParticipantKarma: 172Rank: JediWhat 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.
April 27, 2021 at 8:54 am #20173tfgmedia_admin
KeymasterSome great tips here Ken! I’m seeing one of your posts here twice…hmmm. That’s strange.
- AuthorPosts
- You must be logged in to reply to this topic.