User Manual

UFACTORY
18
On the problem of users using communication protocols to organize
data in big endian and little endian:
In this article, data analysis is big-endian analysis.
3.4.2. Read xArm Gripper Register
3.4.2.1. Register Function
Read Register
Request
MBTP Header
Transaction Identifier
2 Bytes
Protocol Identifier
2 Bytes
Length
2 Bytes
Unit Identifier
1 Byte
Internal Use
Internal Use
1 Byte
Modbus RTU Data
Slave ID (Gripper)
1 Byte
Function Code
1 Byte
Register Starting Address
2 Bytes
Quantity of Registers
N*x2 Bytes
Response
MBTP Header
Transaction Identifier
2 Bytes
Protocol Identifier
2 Bytes
Length
2 Bytes
Unit Identifier
1 Byte
Status Value
1 Byte
Internal Use
Internal Use
1 Byte
Modbus RTU Data
Slave ID
1 Byte
Function Code
1 Byte
Byte Count
1 Byte
Registers Value
N*x2 Bytes
N* = Quantity of Registers
Address = Register Starting Address