Bit extraction
Posted: Wed Dec 18, 2013 8:07 am
Is there a way to extract bit status from a UInt32 word. I only have access to words in the controller, but need to extract whether a certain bit is on/off so I know status of that input. The controller I'm communicating with puts all data into words, even bits. So the only way to tell what discrete inputs are on/off is to convert the word to bits, like AB does, I suppose. I'm communicating via Modbus.