Posted 13 Mar 2018 Hello, I want to count rotation time or cycle. I am using bellow code in the picture. If I set timer 10 ms, when counter working well, but I set timer 1 ms the counter working same how set timer 10 ms. I have question in my code is slow timer or counter and somebody give me advice how need count the rotation ms accuracy. Share this post Link to post Share on other sites
Posted 14 Mar 2018 (edited) Perhaps it has something to do with the program scan time? 1 ms is challenging. Edited 14 Mar 2018 by atanas Share this post Link to post Share on other sites
Posted 14 Mar 2018 More information would be required. WHICH PLC? Different models have different cycle times, and they should document the accuracy of the timer function in the manuals. WHAT IS THE CYCLE TIME SET TO? Many PLCs have a setting for the cycle time. Maybe it's set to 10ms and so you can't be more accurate than that. Share this post Link to post Share on other sites
Posted 22 Mar 2018 My PLC is M241CE24T/U Where are can find Cycle time setting? Share this post Link to post Share on other sites
Posted 23 Mar 2018 Don't know that model, I only know the older ones, haven't touched Modicon in a decade. Someone more familiar with the current software will have to answer, sorry. But I do see in the manual that there are task settings to be made to determine which programs run and how often. That is what I was referring to. Share this post Link to post Share on other sites
Posted 4 Oct 2018 you might find more information on the PLC from the manuals provided by Schneider: https://www.schneider-electric.com/en/product-range-download/62129-logic-controller---modicon-m241/#tabs-top @saruans Share this post Link to post Share on other sites
Posted 4 Oct 2018 (edited) The operator manual is located here: http://www.eschneider.pl/download/04%20Automatyka%20przemyslowa/PLC%20sterowniki/M241_PLC_Modicon-Hardware_Guide_2014ENG.pdf and http://www.filkab.com/files/category_files/file_3079_bg.pdf From this last manual I found the following: Edited 4 Oct 2018 by Akahige Share this post Link to post Share on other sites