Hello everyone.
Does anyone know if it is possible to stop Twincat being stopped when a divide by zero error occurs?
Many variables that are divided are changable via scada etc
The other alternative I am doing is at every calculation that divides (there are many), if variable = 0 then variable := 0.01
or not executing the divide calculation if variable = 0
This is a pain. I know AB control logix you can stop the processor from faulting on a divide by zero..
Any suggestions? Thanks
Does anyone know if it is possible to stop Twincat being stopped when a divide by zero error occurs?
Many variables that are divided are changable via scada etc
The other alternative I am doing is at every calculation that divides (there are many), if variable = 0 then variable := 0.01
or not executing the divide calculation if variable = 0
This is a pain. I know AB control logix you can stop the processor from faulting on a divide by zero..
Any suggestions? Thanks