Robotiq 2-Finger Adaptive Gripper
Instruction Manual
Robotiq inc. © 2016
58
4.7.4 Master read & write multiple registers FC23
Function code 23 (FC23) is used for reading the status of the Gripper (robot input) and activating functionalities of the Gripper (robot output) simultaneousl
. Examples of such data are Gripper status, object status, finger position, etc. Action requests are speed, force, etc.
y
Example of reading and writing multiple registers FC23:
This message reads registers 0x07D0 (2000) and 0x07D1 (2001), which contains Gripper Status, Object Detection, Fault Status and Position Request
Echo. It also sets the position request, speed and force of the Gripper by writing to registers 0x03E9 (1001) and 0x03EA (1002).
Request is:
09 17 07 D0 00 02 03 E9 00 02 04 00 E6 3C C8 2D 0C
Bits
Description
09
SlaveID
17
Function Code 23 (read and write multiple registers)
07D0
Address of the first requested register, read
0002
Number of registers requested (2), read
03E9
Address of the first register written to
0002
Number of registers
to (3)
written
04
Number of data bytes to follow (2 registers X 2 bytes/registers = 4 bytes)
00E6
Value written to register 0x03E9
3CC8
Value written to register 0x03EA
2D0C
Cyclic Redundancy Check (CRC)
Response is:
09 17 04 01 00 09 E6 F6 C1
Bits
Description
09
SlaveID
17
Function Code 23 (read and write multiple registers)
04
Number of data bytes to follow (2 registers x 2 bytes/register = 4 bytes)
1000
Content of register 07D0
09E6
Content of register 07D1
F6C1
Cyclic Redundancy Check (CRC)
Note that the content of the response might change depending on the Gripper's status.