12/5/2024 12:26 PM | |
Joined: 3/14/2008 Last visit: 9/8/2025 Posts: 2216 Rating:
|
Hi, APL blocks must be executed in an interrupt OB, otherwise they do not work properly. You can use the CPU_RT block to diagnose any problems and see the actual load of the OB's->How is your CPU running. For example, if OB35 cannot be maintained, the CPU can go to emergency mode where it will reduce the cyclic time by half. So 100ms will take 200ms. This is done to prevent a CPU stop. See the following manual: Engineering and usage of the function block CPU_RT Common practice is to divide the blocks over multiple OB's. For example standard control like valve, motors can be used in 1 second OB, slow PID controllers can be used in 2s or slower and high speed logic such as fast PID control or digital counters can be used in 500mS or faster. |
If I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to
1 thankful Users |
12/5/2024 2:03 PM | |
Joined: 1/1/2017 Last visit: 8/27/2025 Posts: 343 Rating:
|
Hi Dear,
|
Follow us on