Modbus TCP Communication User Manual


#1

Hello,

I would like to control our MG400 using Modbus TCP directly from a C++ application.
Is there a user manual for the available Modbus commands?

Many thanks!
Iris


#2

Hi iris,

How do you want to use c++ program to control mg400? Modbus TCP is similar to our remote control function, which can only control the running and stopping of scripts. Why not directly use our special TCP/IP secondary development protocol to control MG400.

Best regards,


#3

Hello,

thank you for your reply. Actually the C++ api works fine for most our use case, but we have not managed to do the following:

  • enabling the robot through the C++ api. It seems we need to enable the robot using DobotStudio.
  • making the robot follow a continuous path

We were hoping to be able to do these things using the Modbus commands (since we are familiar with using modbus). Thank you for suggesting the TCP/IP secondary development protocol, it looks like this is exactly what we need!


#4

Hi,iris

This is a c++ secondary development demo : https://github.com/Dobot-Arm/TCP-IP-CPP
The API instructions are described here : https://github.com/Dobot-Arm/TCP-IP-Protocol/tree/EN-Version

I hope I can help you

Best regards,


#5

Yes, this is very helpful, thank you so much! :blush: