How to control the FT300 with python?
Unofficial method to read FT 300 data over Modbus RTU using Python
Context
Robotiq’s FT 300 Force Torque Sensor is designed to communicate primarily through URCap or industrial protocols. However, some users may wish to access sensor data using Python and Modbus RTU, especially for prototyping or integration with custom systems.
⚠️ Disclaimer: Robotiq does not officially support Python integration. This article shares insights from community usage and offers general guidance.
Prerequisites
Before starting, ensure you have the following:
-
FT 300 sensor powered and connected via RS-485
-
Modbus RTU interface on your host system (USB-RS485 adapter, or similar)
-
Python environment (Python 3.x recommended)
-
Python libraries
Connection Parameters
These are the typical default parameters for communicating with the FT 300 via Modbus RTU:
Check your user manual or sensor configuration if defaults have been changed.
Reading Force & Torque Data
The sensor's force and torque data are stored in Modbus holding registers.
Sample Python Code
Below is a simplified Python program to read the force and torque data: Link
Conclusion
It is possible to interface with the FT 300 sensor using Python and Modbus RTU, though this method is not officially supported by Robotiq.
Always refer to the FT 300 user manual for up-to-date details on register maps and communication specs.