Bit extraction
Bit extraction
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.
Re: Bit extraction
I know replying to my own post. Found the "Expressions" function that does the bit extraction. Knew there was a way.