Tool 485 interface questions

Hi, two questions regarding the tool interface:

  1. Which API call can be used to send and receive data on the tool RS485 channel ?
  2. Seems there is a typo in the manual, one of the cables should be 485 B (now they are both marked A). Which one is A and which one is B ?

image

if you look at the python API you see it uses modbus-rtu

xArm-Python-SDK/gripper.py at master · xArm-Developer/xArm-Python-SDK · GitHub and you can use it like this

    ret1 = self.arm_cmd.gripper_modbus_r16s(0x0801, 1)

for reding the first 16 bit value

1 Like