-
 
No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.

industrial_modbus_tcp package from industrial_modbus_tcp repo

industrial_modbus_tcp

Package Summary

Tags No category tags.
Version 0.0.2
License BSD-3-Clause-Attribution
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://gitlab.com/InstitutMaupertuis/industrial_modbus_tcp.git
VCS Type git
VCS Version melodic
Last Updated 2024-08-06
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Fetch values over Modbus TCP and publish them on ROS topics

Additional Links

No additional links.

Maintainers

  • Victor Lamoine

Authors

  • Victor Lamoine - Institut Maupertuis

Institut Maupertuis logo

Overview

This package contains a ROS node and a RViz panel to allow users to fetch data over Modbus TCP and publish them on ROS topics.

It can be used through the service (command line or programming) and also thanks to a RViz panel.

  • Multiple handlers can be created to establish as many connections as needed to Modbus TCP servers
  • Multiple data can be fetched at the same time
  • For each data the rate, endiannes and topic can be specified

Supported types are:

  • bool
  • int8
  • uint8
  • int16
  • uint16
  • int32
  • uint32
  • int64
  • uint64
  • float32
  • float64

Depending on the data width multiple registers are fetched. Eg: int32 requires to fetch two modbus registers (16 bits each)

:information_source: The panel configuration is saved/loaded in the RViz configuration file, this includes the base topic and handlers configuration. You don’t need to configure the handlers again.

:warning: When trying to connect to an IP address that is not reachable / does not host a Modbus TCP server the service will hang for a very long time (~ 2 minutes)

Dependencies

rosdep

Install, initialize and update rosdep.

Compiling

Create a catkin workspace and clone the project:

mkdir -p catkin_workspace/src
cd catkin_workspace/src
git clone https://gitlab.com/InstitutMaupertuis/industrial_modbus_tcp.git
cd ..

Resolve ROS dependencies

rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y

Compile

catkin_make

User manual

rosrun industrial_modbus_tcp industrial_modbus_tcp &
rviz

Panels > Add New Panel > industrial_modbus_tcp/ModbusTCP

Base topic selection

Panel

Panel configure

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

No known dependants.

Recent questions tagged industrial_modbus_tcp at Robotics Stack Exchange