Write single register 06 (06 h) – Yaskawa V1000-Series Option SI-EM3D/V Dual Port EtherNet Modbus TCP/IP Technical Manual User Manual
Page 27
Description
Byte
Data (Hex)
Number of Data Bytes
1
2 x N
<1>
Register Values
N
<1>
x 2
Values contained in slave registers.
<1> N = Quantity of Registers
Table 13 Read Multiple Registers Error Response
Description
Byte
Data (Hex)
Slave Address
1
00 to FF
Error Code
1
83
Exception Code
1
Refer to Modbus TCP/IP Exception Codes
Examples of Fault Response, Read Response, and Read Multiple Registers Command
Note:
In option software version VST800380, any invalid register in the range will return an error response.
In option versions VST800381 and later, invalid registers in the range will not return an error response provided at least 1 register is valid.
Invalid registers will be set to 0 in the response.
address (unit identifier) 02H.
shows examples of responses indicating that multiple registers have been read successfully. The contents read from
0020H are 1770H, 1770H, 0109H, and 0000H.
shows examples of an error response when reading multiple registers. The exception code is 02H (indicating a register
number error).
Table 14 Example Read Multiple Registers Command
Description
Data (Hex)
Slave Address
02
Function Code
03
Starting Register
Upper
00
Lower
20
Quantity of Registers
Upper
00
Lower
04
Table 15 Example Read Multiple Registers Response
Description
Data (Hex)
Slave Address
02
Function Code
03
Number of Data Bytes
08
Starting Register
Upper
17
Lower
70
Next Register
Upper
17
Lower
70
Next Register
Upper
01
Lower
09
Last Register
Upper
00
Lower
00
Table 16 Example Read Multiple Registers Error Response
Description
Data (Hex)
Slave Address
02
Error Code
83
Exception Code
02
n
Write Single Register 06 (06 H)
This function code is used to write to a single register in the drive. The command specifies the address of the register to be
written and the value to write. The normal response is an echo of the request, returned after the register contents have been
written.
7 Modbus TCP/IP Messaging
YASKAWA SIEP YAICOM 17A V1000 Option Dual-Port Modbus TCP/IP SI-EM3D/V Technical Manual
27