Lenze · 9300 Series
A float error, such as division by zero, has occurred in task 8 (ID 9) during real number calculations. This indicates an issue within the program code specific to task 8's arithmetic operations.
Click steps to track your progress.
1. Connect to the controller with the development software and use breakpoint debugging to isolate the exact instruction or expression in Task 8 responsible for the fault.
2. Implement robust error handling or clamping logic around division, square root, and trigonometric functions within Task 8 to prevent undefined results.
3. Validate the source of input data for Task 8 (e.g., `Sensor_Value_RTD`, `Motor_Feedback_Position`) and ensure its integrity and realistic range.
4. Optimize Task 8's code to reduce computational complexity if it involves heavy floating-point arithmetic, potentially by using fixed-point approximations where suitable.
5. Increase the stack size allocated to Task 8 in the controller's configuration (e.g., `Task8_Stack_Size_KB`) if a stack overflow is suspected after code review.