MVI69L-MBS ♦ Platform
Reference
Modbus Serial Lite Communication Module
User Manual
ProSoft Technology, Inc.
Page 105 of 130
In this example, the master's Modbus packet contains the data byte and data
word counts that have NOT been doubled from the amount specified by Reg
Count due to the Float Flag set to N. The slave looks for the byte count in the
data packet to know the length of the data to read from the wire. Because of
insufficient byte count, some slaves read only half the data from the master's
transmission. Other slaves read all 8 bytes in this example because they know
where in the packet the data starts and ignore the byte count parameter inside
the Modbus packet.
Example #3: Master issuing Modbus command with FC 3 to transfer Float data from slave.
Float Flag:
Not applicable with Modbus Function Code 3.
Float Start:
Not applicable with Modbus Function Code 3.
DB Addr
- Tells the master where in its data memory to store the data obtained
from the slave.
Reg Count
- Tells the master how many registers to request from the slave.
Swap Code
- same as above.
Func Code
- Tells the master to read the register values from the slave. FC3.
Addr in Dev
- Tells the master where in the slave's database to obtain the data.
In the above example, the master's Modbus command to transmit inside the
Modbus packet is as follows.
Slave Address Function Code Address in Device Reg Count
DEC
01
3
6100
2
HEX
01
03
17 D4
00 02
In the above example the (Enron/Daniel supporting) slave's Modbus command to
transmit inside the Modbus packet is as follows.