How to adjust this value for my plc? And where can I find relevant info about this value for my module?
Maximum Cycle Time Violation
Adjusting the Maximum Cycle Time Violation Value
- Understanding the Violation:
- A maximum cycle time violation occurs when the tasks in a cyclic task class are not completed within the allowed cycle time, even after the allowed cycle time violation period has run out. This triggers the “TC max. cycle time violation” (Exception #145).
- Adjusting the Cycle Time and Tolerance:
- Cycle Time: The cycle time is the predefined time interval within which all tasks in a task class must be executed.
- Cycle Time Tolerance: The cycle time tolerance is an additional time period that can be set to allow for sporadic cycle time violations. This can help avoid immediate system restarts due to minor delays.
- Steps to Adjust:
- Increase the Cycle Time:
- Open the B&R Automation Studio.
- Navigate to the target system configuration.
- Locate the task class for which you want to adjust the cycle time.
- Increase the cycle time to a value that accommodates the longest expected runtime of the tasks in the class.
- Increase the Cycle Time Tolerance:
- In the same target system configuration, find the cycle time tolerance setting for the task class.
- Increase the tolerance to a value that allows for occasional delays without triggering a violation.
- Using the Profiler:
- Use the profiler to monitor the task runtimes and ensure that the adjusted cycle time and tolerance are sufficient to handle the workload.
- The profiler can help you identify if the task runtimes are within the allowed limits and if any adjustments are necessary.
1 Like
If you want more assistance from us, you need to tell us what PLC you have, provide information from the logger, and generally give us more details about what you are doing.
here you have something to study task class
1 Like