Difference between revisions of "CanServo/Protocol/V2.1"

From HITEC_HELP
Jump to navigation Jump to search
Line 16: Line 16:


* Message: Host -> Servo
* Message: Host -> Servo
** ZbWu - Set N Register's bit(s) by UID
** ZbWu - Write N Register's bit(s) by UID
*** UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
*** UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
** ZbRu - Get N Register's bit(s) by UID
** ZbRu - Read N Register's bit(s) by UID
*** UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), ...
*** UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), ...
** ZbXu - Set/Get N Register's bit(s) by UID
** ZbXu - Write/Read N Register's bit(s) by UID
** ZbWi - Set N Register's bit(s) by ID
** ZbWi - Write N Register's bit(s) by ID
*** ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
*** ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
** ZbRi - Get N Register's bit(s) by ID
** ZbRi - Read N Register's bit(s) by ID
*** ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), ...
*** ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), ...
** ZbXi - Set/Get N Register's bit(s) by ID
** ZbXi - Write/Read N Register's bit(s) by ID
* Mesasge: Servo -> Host
* Mesasge: Servo -> Host
** ZbVu - return n register's bit(s) by UID
** ZbVu - return n register's bit(s) by UID

Revision as of 03:56, 3 April 2026

Up

CAN Protocol Ver 2.1

  • 이 프로토콜은 V1.1 의 Write/Read Register's bit(s) 기능을 대체합니다.
  • All messages below are sent in T-Message format.
  • CAN ID
    • 0x7FF : Servo -> Host
    • 0x7FE : Host -> Servo

Write/Read N Register's bit(s) by ID or UID

  • Message: Host -> Servo
    • ZbWu - Write N Register's bit(s) by UID
      • UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
    • ZbRu - Read N Register's bit(s) by UID
      • UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), ...
    • ZbXu - Write/Read N Register's bit(s) by UID
    • ZbWi - Write N Register's bit(s) by ID
      • ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
    • ZbRi - Read N Register's bit(s) by ID
      • ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), ...
    • ZbXi - Write/Read N Register's bit(s) by ID
  • Mesasge: Servo -> Host
    • ZbVu - return n register's bit(s) by UID
      • UID (16), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...
    • ZbVi - return n register's bit(s) by ID
      • ID2 (4), ID1 (1), N(1), ADDR (2), bit 0.5, bits (0.5), Value (2), ...

History

2026_04_03

  • add V2.1

T-Message

CanServo/Protocol/T-Message