6/19/2018 6:41 PM | |
Joined: 9/8/2011 Last visit: 4/24/2024 Posts: 527 Rating: (84) |
Trying to use a timer called from OB1 is only as accurate as the cycle time *2. Even calling an add function in say OB 32 set to fire every second (1000ms) is still going to be inaccurate over time. You should think about using the built in clock in the CPU.You can paste it in your project by opening a sub and drilling down in the [overview] to [Libraries]. I'll paste a link to documentation: |
Last edited by: Jen_Moderator at: 6/20/2018 11:52:40 AMOptimized link. A smart person learns from their mistakes |
|
6/19/2018 8:56 PM | |
Joined: 1/21/2013 Last visit: 3/19/2024 Posts: 4618 Rating: (705) |
Hello, some other infos: http://support.automation.siemens.com/WW/view/en/8736315 and |
Last edited by: Jen_Moderator at: 6/20/2018 11:54:44 AMOptimized link. |
|
Follow us on