In MEMOBUS/Modbus communications, the master sends commands to the slave, then the slave responds. The master and slave send their messages in the configuration in Figure 1. The length of the data changes when the description of the command (function) changes.

Figure 1. Message Format