...
- slave: The address of the server to connect to
- port: The port where the service is found
- ref: the position to start
- count: the number of bytes to read
- function_code: The function to use: 2 = ReadInputDiscretesRequest, 4= ReadInputRegistersRequest;
- unitid (integer): The id of the unit to use.
This operator always return a tuple with a BitVector. (TODO: describe MEP-Functions: toLong, [], and subset, BitSet is interpreted from left to right)
...