bluenoser337
Member
I have a status word being read from a device (N address). Bits 00 to 07 have a BCD error code number, and bits 08 to 15 contain a BCD error location code number. I need to split this word and convert the BCD values to decimal, so I can use the separated values in compare instructions...to turn on various fault bits to display error information on a PanelView. What's the easiest way to get these byte values separated...and then converted to decimal. Thanks in advance!!