7 Modbus TCP/IP Messaging32 YASKAWA ELECTRIC SIEP C730600 91C YASKAWA AC Drive Option SI-EM3 Technical Manual DataThis field contains multiple bytes of varying length based upon the Function Code for commands and based upon theresults of the command in the response. When sent by the master, this field contains details of the command that the slavewill require to carry out the function. When sent by the slave, this field contains details of the response and sometimeserror information. Modbus TCP/IP Option Function Details 03 (03 H) Read Multiple RegistersThis function code is used to read the contents of a contiguous block of registers. The command specifies the startingregister and the number of registers. The normal response packs two bytes per register. For each register in the response,the first byte contains the most significant bits and the second byte contains the least significant bits.Table 12 Read Multiple Registers (Command)Table 13 Read Multiple Registers (Response)Table 14 Read Multiple Registers (Error Response)Examples of Fault Response, Read Response, and Read Multiple Registers CommandTable 15 lists command examples to read register contents (register addresses 0020H to 0023H) from a drive with theslave address (unit identifier) 02H.Table 16 shows examples of responses indicating that multiple registers have been read successfully. The contents readfrom 0020H are 1770H, 1770H, 0109H, and 0000H.Table 17 shows examples of an error response when reading multiple registers. The exception code is 02H (indicating aregister number error).Table 15 Example Read Multiple Registers CommandDescription<1> N = Quantity of Registers (range is 1 - 16)Byte(s) Data (H)Slave Address 1 00 to FFFunction Code 1 03Starting Register 2 0000 to FFFFQuantity of Registers 2 N <1>Description<1> N = Quantity of RegistersByte(s) Data (H)Slave Address 1 00 to FFFunction Code 1 03Number of Data Bytes 1 2 x N <1>Register Values N <1> x 2 Values contained in slave registers.Description Byte(s) Data (H)Slave Address 1 00 to FFError Code 1 83Exception Code 1 See Modbus TCP/IP Exception Codes section.Description Data (H)Slave Address 02Function Code 03Starting Register Upper 00Lower 20Quantity of Registers Upper 00Lower 04