add 0x02 read discrete inputs functions