Good Morning
I have a small problem that I’m hoping someone can help me resolve.
I want to take one byte of Data from a data structure and make it into an Integer
The 8 bits of data are stored as a bit array. I can use BITARR_TO_INT with no issues so long as the data is stored as Bits (M coils for example)
My problem is that the Data is stored in a ZR register bits 0-7.
So basically I need to read ZR62000.0 – ZR62000.7 into an integer. Is this possible?
Thanks for looking.