Difference between revisions of "CanServo/Protocol/V1.2"
Jump to navigation
Jump to search
(Choiyh moved page CanServo/Protocol/V1.2 to CanServo/Protocol/V1.3) Tag: New redirect |
(Removed redirect to CanServo/Protocol/V1.3) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
== Write Command == | |||
{| class="wikitable" | |||
|- | |||
! 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) | |||
| | |||
|} | |||
* NOTE ! NO RETURN PACKET | |||
== Read Command == | |||
{| class="wikitable" | |||
|- | |||
! 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 == | |||
{| class="wikitable" | |||
|- | |||
! 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) | |||
| | |||
|} |
Revision as of 00:58, 26 July 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) |
- 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) |