Again, post your code. I'm assuming you're using the scan engine and not FPGA. No, what you're seeing is not common. A 24 volt signal is usually fairly robust. Can you check with a scope or something to see if there's any transients. If so, then, yes, maybe you need to debounce but I've always done that on the FPGA side.