Parameter Description
Function
Type
Function type - depends on the type of the data (see manual of the Modbus device).
1: Read Coils,
2: Read Inputs,
3: Read Holding Registers,
4: Read Input Registers
. Currently function codes 1..4 are supported.
Slave
Number
Address/Slave number of the Modbus device.
Start
Address
Start address (offset) of the data.
Quantity Quantity of data to be read.
VariableType
You can choose the following variable types of the Modbus data to be read:
1: char : 8 bits,
2: unsigned char : 8 bits,
3: short : 16 bits,
4: unsigned short : 16 bits,
5: long : 32 bits,
6: unsigned long : 32 bits,
7: float : 32 bits,
8: double : 64 bits,
9: ascii-text : 8 bits / char
Real Type
Real type - determines, if the registers of real values have to be processed in reversed
order.
0: Normal order,
1: Reversed order,
2: Byte swap order,
3: Word swap order,
Real types 2 and 3 are available from V03.04.02.01.
Integer Byte
Order
It determines in which byte order format the read value will be processed (default: 0)
0: Normal order (big-endian)
1: Reversed order (little-endian byte swap)
2: Byte swap order (big-endian byte swap)
3: Word swap order (little-endian)
Note: Integer byte order is available for 16 bits and 32 bits variable types only, and it is
supported for the version starting from MindConnect Nano V03.04.02.13.
Response
Address
Offset
Offset of the data to return in register units.
Response
Quantity
Quantity of the returned data. Only for string data a value greater than 1 is supported.