Create 16 single bit input to a 16bit modbus value

This should get you started...