A script program status is halted with an error indicating "Tried to divide a value by zero"
EcoStruxure Building Operation
- Building Operation MP-C Controllers
- Building Operation MP-V Controllers
- Building Operation RP-C Controllers
- Building Operation RP-V Controllers
The halted program, or a function used within the program, has within itself a divisor that equals or can equate to zero. An example would be if using Scan as a divisor - (Err - Lerr) / Scan
Ensure that no divisor within the program or function can possibly become zero. One way to do this would be to either set the divisor to a value greater than zero prior to using it or add a small value to the divisor. For example: (Err - Lerr) / (Scan + 0.00001)