Industry Online Support
Technical Forum
11/1/2010 10:57 AM | |
Joined: 3/21/2006 Last visit: 4/12/2023 Posts: 10221 Rating:
|
Hello, Instead of using timer you could try with reading of CPU clock and on the right time to execute some logic. Look at http://support.automation.siemens.com/WW/view/en/21222026 But if you want to use existing logic with timers, look at SFC/SFB library instructions, you can look at SFB4, "TON", which uses a Time datatype for the preset and accumulated time of the timer, TIME is an IEC32-bit datatype, actually an integer value reperesenting milliseconds, which makes it very useful for timer math, but also gives you a range of up to 24 days. BR, Hristo Mihalev |
Last edited by: UMENCHO at: 11/1/2010 11:12 AM |
|
11/25/2010 1:52 PM | |
Posts: 13 Rating:
|
Thank you very much for the help. I made small program with SFB4 block.Mabe i can try read cpu time with PLC sim. |
Follow us on