Posted 26 Apr 2019 Hi All I am struggling to get a TON in TIA v15 to work properly (s7_1212). I have tried reading what i can but still dont understand why what i have is not working. I have attached a screen shot. I am trying to achieve a bit that is active for 1 scan cycle and resets every second. Coil1 is just staying active however and not resetting the timer. What i have written works in Connected Components Workbench and other plc software i have used. What am i doing wrong? Thank you in advance. Trevor Share this post Link to post Share on other sites
Posted 26 Apr 2019 (edited) Do not use "Local Data" use "Global Memory instead" - ie use %M1.0 Edited 26 Apr 2019 by Moggie Share this post Link to post Share on other sites
Posted 26 Apr 2019 using global memory fixed it thank you Share this post Link to post Share on other sites
Posted 3 May 2019 Siemens do have built in memory bits that allow you to do just what you are wanting. Called clock bits. Share this post Link to post Share on other sites