
12
2.3.4.6 Rotation speed
This register is used to set the speed of rotation.
The address is 0x0107. The description of this register is shown in Table 2.9.
Table 2.9 The speed of rotation
Function
Address
Description
Write
Read
Rotation speed
0x0107
Rotate at a set
speed.
1-100%
Read the current
setting.
The speed of rotation is 1-100(%)
,
The corresponding value is 0x0001 –0x0064(Hexadecimal).
Example:
Set 50% rotation speed (write):
Send:
01 06 01 07 00 32 B8 22
Return: 01 06 01 05 00 B4 B8 22
Read the current speed (read):
Send:
01 03 01 07 00 01 34 37
Return: 01 03 02 xx xx crc1 crc2
2.3.4.7 Rotation force
This register is used to set the force of rotation.
The address is 0x0108. The description of this register is shown in Table 2.10.
Table 2.9 The force of rotation
Function
Address
Description
Write
Read
Rotation force.
0x0108
Rotate at a set
force
20-100%
Read the current
setting.
Be careful
·
Rotation angle is represented by a reverse code.
If the rotation angle is positive, the reverse code of positive number is the same as the
original code.
For example, the inverse code of 360° is 0168 (0x).
Set 360% angle
: 01 06 01 05 01 68 98 49
When the rotation angle is negative, the inverse code of negative number is the reverse of
positive number bit by bit, and the sign bit is 1.
For example, the inverse code of - 360° is FE97 (0x).
Set -360% angle
: 01 06 01 05 Fe 97 99 F9