Back to discussions page
Communication in Modbus RTU
/ Most recent by syed
Robotiq_Customer Posts: 123 Apprentice
Catherine_Bernier Posts: 144 HandyHey there.
Are you using the Robotiq tested adapter?
If not, this might be the problem as the pinout might not be correct.
Make sure to refer to this image:
The simplest way to proceed would be to contact our application engineer and get the Robotiq tested adapter for this application.
For more info on the wiring, you can get access to the support manual here.
Catherine Bernier, Jr. Eng.Application Engineer at Robotiq
This was the problem... My converter wasn't setup properly.
Thanks for your support!
I'm also trying to do the same thing, trying to communicate with FT300 with Arduino using RS485 to RS232 adapter and then using RS232 to TTL converter. I not good at coding, so please can someone help me with the code to read the values on Arduino.
The following arduino library looks like a reference for Modbus communication:
I found some interesting video about how to communicate in Modbus RTU with ardiuno. I recommand you check that:
I did not tested but based on those videos, I would make a program like the following to display force and torque on Ardiuno console on PC side:
#define MAX485_DE 3
#define MAX485_RE_NEG 2
//Init in receive mode
//Modbus communication runs at 19200 baud (according to FT300 manual 4.4.1 ModbusRTU)
//Modbus slave ID 9 (according to FT300 manual 4.4.1 ModbusRTU)
//Callbacks allow us to configure the RS485 transceiver correctly
//Read registers where is written force and torque value (according to FT300 manual 4.4.1 ModbusRTU)
//Register : Description
//Read 6 registers starting from address 180
if (resultMain == node.ku8MBSuccess)
Serial.println(node.getResponseBuffe(0x00 / 100.0f);
Serial.println(node.getResponseBuffe(0x01 / 100.0f);
Serial.println(node.getResponseBuffe(0x02 / 100.0f);
Serial.println(node.getResponseBuffe(0x03 / 100.0f);
Serial.println(node.getResponseBuffe(0x04 / 100.0f);
Serial.println(node.getResponseBuffe(0x05 / 100.0f);
I am using FT300 force torque sensor.
I am trying to communicate with sensor from C++ (to read values of forces and torques), however, i am not good at coding. Can anyone help in providing code to read data in C++ (visual studio)
Thanks in advance
You can find more details about modbus communication in ft300 manual.
Can you kindly guide over this?