2/15/2022 2:56 AM | |
Joined: 10/7/2005 Last visit: 8/28/2025 Posts: 3049 Rating:
|
According to which book? Suggest you grab yourself the Instruction manual for your chosen CPU and check out execution times for each Instruction you have in your loop. You'll probably find that the CPU will crunch through the 1000 loops you do per OB1 scan in anywhere from 100 microseconds to max 2 ms or thereabouts (but - as said - it depends on the chosen CPU). It is either way a far cry from the 150ms scan time monitoring. But of course it will as that is what you programmed it to do (i.e. count to 1000 in MW0 in the first OB1 scan, then to 2000 in the second OB1 scan and so forth) |
Cheers |
|
4/8/2022 9:34 AM | |
Joined: 9/14/2021 Last visit: 1/31/2023 Posts: 99 Rating:
|
Yea. that's true. |
Just with a floral skirt♥♣, and nothing else |
|
Follow us on