Difference between revisions of "CanServo/Set Target Position on Servo Mode/en"
Jump to navigation
Jump to search
(Created page with " Please Read First: * CanServo/Register/Write/en Target = +60 deg * POSITION_NEW = 8192 + 60 * 16384 / 360 = 0x2AAA Servo's Config: * CanServo/MODE/CAN = 2.0B * Ca...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Target = +60 deg | Target = +60 deg | ||
Line 7: | Line 4: | ||
Servo's Config: | Servo's Config: | ||
* [[CanServo/MODE/CAN]] = 2.0B | * [[CanServo/MODE/CAN/en]] = 2.0B | ||
* [[CanServo/ID2/en]] = 0x123 | * [[CanServo/ID2/en]] = 0x123 | ||
* [[CanServo/ID1/en]] = 0x45 | * [[CanServo/ID1/en]] = 0x45 | ||
Line 17: | Line 14: | ||
** 'w' - message type: write 1 register | ** 'w' - message type: write 1 register | ||
** 0x45 - target servo id | ** 0x45 - target servo id | ||
** 0x1E - [[CanServo/POSITION_NEW/en]] | ** 0x1E - address of register [[CanServo/POSITION_NEW/en]] | ||
** 0xAA - low byte of 0x2AAA | ** 0xAA - low byte of 0x2AAA | ||
** 0x2A - high byte of 0x2AAA | ** 0x2A - high byte of 0x2AAA | ||
Please Read for detail: | |||
* [[CanServo/Register/Write/en]] |
Latest revision as of 15:45, 18 September 2021
Target = +60 deg
- POSITION_NEW = 8192 + 60 * 16384 / 360 = 0x2AAA
Servo's Config:
- CanServo/MODE/CAN/en = 2.0B
- CanServo/ID2/en = 0x123
- CanServo/ID1/en = 0x45
Please SEND CAN 2.0B PACKET:
- CAN ID = 0x123
- DLC = 5
- DATA
- 'w' - message type: write 1 register
- 0x45 - target servo id
- 0x1E - address of register CanServo/POSITION_NEW/en
- 0xAA - low byte of 0x2AAA
- 0x2A - high byte of 0x2AAA
Please Read for detail: