Difference between revisions of "CanServo/Protocol/V1.2"
Jump to navigation
Jump to search
(Removed redirect to CanServo/Protocol/V1.3) Tag: Removed redirect |
|||
Line 29: | Line 29: | ||
| 5 | | 5 | ||
| DATA BYTE 1 (High) | | DATA BYTE 1 (High) | ||
| | |||
|} | |||
{| class="wikitable" | |||
|- | |||
! POS | |||
! NAME | |||
! COMMENT | |||
|- | |||
| 0 | |||
| 'P' | |||
| Write 2 byte | |||
|- | |||
| 1 | |||
| TARGET SERVO ID | |||
| | |||
|- | |||
| 2 | |||
| ADDR LO | |||
| | |||
|- | |||
| 3 | |||
| bit 1:0 | |||
| ADDR HI | |||
|- | |||
| 3 | |||
| bit 7:2 | |||
| ADDR offset = 64 = -32~+32 | |||
|- | |||
| 4 | |||
| DATA 0 BYTE 0 (Low) | |||
| | |||
|- | |||
| 5 | |||
| DATA 0 BYTE 1 (High) | |||
| | |||
|- | |||
| 6 | |||
| DATA 1 BYTE 0 (Low) | |||
| | |||
|- | |||
| 7 | |||
| DATA 1 BYTE 1 (High) | |||
| | | | ||
|} | |} |
Revision as of 06:50, 9 September 2024
Write Command
POS | NAME | COMMENT |
---|---|---|
0 | 'p' | Write 2 byte |
1 | TARGET SERVO ID | |
2 | ADDR LO | |
3 | ADDR HI | |
4 | DATA BYTE 0 (Low) | |
5 | DATA BYTE 1 (High) |
POS | NAME | COMMENT |
---|---|---|
0 | 'P' | Write 2 byte |
1 | TARGET SERVO ID | |
2 | ADDR LO | |
3 | bit 1:0 | ADDR HI |
3 | bit 7:2 | ADDR offset = 64 = -32~+32 |
4 | DATA 0 BYTE 0 (Low) | |
5 | DATA 0 BYTE 1 (High) | |
6 | DATA 1 BYTE 0 (Low) | |
7 | DATA 1 BYTE 1 (High) |
- NOTE ! NO RETURN PACKET
Read Command
POS | NAME | COMMENT |
---|---|---|
0 | 'g' | Read 2 byte |
1 | TARGET SERVO ID | |
2 | ADDR LO | |
3 | ADDR HI |
Write and Read Command
- Use 'o' instead of 'p' on Write Command
Return Packet
POS | NAME | COMMENT |
---|---|---|
0 | 'y' | Return 2 byte |
1 | SERVO ID | |
2 | ADDR LO | |
3 | ADDR HI | |
4 | DATA BYTE 0 (Low) | |
5 | DATA BYTE 1 (High) |