Working with a MicroLogix 1400 Ser B.
I have a Divide Instuction and need to know if the result is a whole number or has a remainder.
Currently the instruction just rounds the result.
I'm not so concerned if the result gets rounded but just need to know if there was a remainder at all.
Currently my values are Integers, but could use Floating Point if necessary.
This seems like it should be simple but I can't land on a method to do this with RSLogix500.
I have a Divide Instuction and need to know if the result is a whole number or has a remainder.
Currently the instruction just rounds the result.
I'm not so concerned if the result gets rounded but just need to know if there was a remainder at all.
Currently my values are Integers, but could use Floating Point if necessary.
This seems like it should be simple but I can't land on a method to do this with RSLogix500.