
Page 45
Model TC80
CRC
2 Bytes
calculated
*N = Quantity of Registers
Error
Modbus ID (Slave Address)
1 Byte
1 to 247 (0x01 to 0xF7)
Error Code
1 Byte
0x86
Exception Code
1 Byte
01, 02, 03 or 04
CRC
2 Bytes
calculated
06
(0
X
06)
W
RITE
S
INGLE
R
EGISTER
This function code is used to write a single holding register in a remote device.
The Request Protocol Data Unit specifies the address of the register to be written. Registers are addressed
starting at zero. Therefore register number 1 is addressed as 0.
The normal response is an echo of the request, returned after the register contents have been written.
Request
Modbus ID (Slave Address)
1 Byte
1 to 247 (0x01 to 0xF7)
Function code
1 Byte
0x06
Register Address
2 Bytes
0x0000 to 0xFFFF
Register Value
2 Bytes
0x0000 to 0xFFFF
CRC
2 Bytes
calculated
Response
Modbus ID (Slave Address)
1 Byte
1 to 247 (0x01 to 0xF7)
Function code
1 Byte
0x06
Register Address
2 Bytes
0x0000 to 0xFFFF
Register Value
2 Bytes
0x0000 to 0xFFFF
CRC
2 Bytes
calculated
*N = Quantity of Registers
Error
Modbus ID (Slave Address)
1 Byte
1 to 247 (0x01 to 0xF7)
Error Code
1 Byte
0x86
Exception Code
1 Byte
01, 02, 03 or 04
CRC
2 Bytes
calculated
R
EGISTERS
Per the Modbus Application Protocol Specification (V1.1b)
Name
Meaning (2 bytes each register)
Number
of
Registers
Return
Data
Format
Read
Write
Requires
Storage
Initiate
Register #
dec
hex
Modbus ID (slave address)
Defined as 1 to 247 per the Modbus Application
Protocol Specification (V1.1b)
1
16 bit
Integer
RW
0
00
Data Format
Data Format of the User Bus to the T80 (0-DF8N2, 1-
DF8O1, 2-DF8E1, 3-DF8N1)
1
16 bit
Integer
RW
1
01
Baud Rate
Baud Rate of the User Bus to the T80 (0-1200, 1-
2400, 2-4800, 3-9600)
1
16 bit
Integer
RW
2
02
BusMessage
total message count detected by the slave (remote
device)
1
16 bit
Integer
R
3
03
BusCommunicationsError
total CRC error count
1
16 bit
Integer
R
4
04