I am seeking advice on moving/loading Memory Bit status, (8 bits or 1byte)into Data Words in a Data Block. IE I want the 16 bits of the data word(or 2 bytes of the data) each to hold the 8 bits from two Memory Bit bytes(?)The 8 bits per byte will hold valve status. Bit 1= opn, bit 2= closd, bit 3=FTO, etc
OR maybe there is a better way of moving 8 bits of contiguous boolean data into a DW in a DB. Any assistance will be welcome!
OR maybe there is a better way of moving 8 bits of contiguous boolean data into a DW in a DB. Any assistance will be welcome!