Builds a read-discrete-inputs request (function 0x02).
0x02
The unit address to ask.
The address of the first input.
How many inputs to read.
The frame to send.
Builds a read-discrete-inputs request (function
0x02).