RFTSeries|6AxisForceTorqueSensor
©ROBOTOUSCo.,Ltd.www.robotous.com|support@robotous.com
10
3.5. Packet Structure
3.5.1. Packet Structure of CAN Interface
The message structure of a standard CAN communication is shown in the figure above.
Maximum data field size of a CAN packet is 8 bytes.
The force/torque sensor uses the arbitration field (message ID) and data field of CAN packet.
The command packet needs a message ID to send 1 byte command to the sensor.
Receiver ID of CAN communication is a message ID for receiving commands.
The default receiver ID is 100 (0x64).
Refer to Section 3.6 Packet Definition
for more information.
The response packet needs 2 message IDs to receive 16 bytes data from the sensor. In other words, it is made
of two sequential CAN packets.
Transmitter ID #1 and transmitter ID #2 are message IDs for the two sequential CAN packets,
respectively.
The default transmitter ID #1 is 1(0x01).
The default transmitter ID #2 is 2(0x02).
8 bytes data in a CAN packet with transmitter ID #1 occupies Data 1- Data 8 of the response packet
data field.
8 bytes data in a CAN packet with transmitter ID #2 occupies Data 9 – Data 16 of the response packet
data field.
3.5.2. Packet Structure of UART interface
Command Packet Structure
SOP
Data Field
Checksum EOP
Data 1 . . . Data 8
85(0x55) Command Data Field 170(0xAA)
Response Packet Structure
SOP
Data Field
Checksum EOP
Data 1 . . . Data 16
85(0x55) Response Data Field 170(0xAA)
RS-232, RS-422, and USB interfaces utilize UART communication.
UART packet structure consists of SOP (Start Of Packet), Data Field, Checksum and EOP (End Of Packet)
Message ID Data Field