Skip to content

Add Omron TM5X-700 robot support - #41

Merged
rmatsuda merged 2 commits into
BiomagLab:mainfrom
0nu:add-omron-support
Nov 21, 2026
Merged

rmatsuda merged 2 commits into
BiomagLab:mainfrom
0nu:add-omron-support

Conversation

@0nu

@0nu 0nu commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Part of the NeuroPilot project.

Summary

Add an Omron TM5X-700 driver for the MPI CBS robot cell.

This is the cleaned-up version of the earlier standalone Omron PR #39.

Changes

  • Add robot/robots/omron/omron.py.
  • Use Modbus TCP for pose, TCP speed, project state and emergency state.
  • Use the TMFlow script socket on port 5890 for linear, circular and dynamic
    motion commands.
  • Register ROBOT=omron.
  • Add the SITE=mpi entry with the 180 degree rz offset.
  • Add the Omron robot configuration.
  • Add pymodbus>=3.6,<4 to requirements.txt and environment.yml.
  • Import the driver lazily so other robots do not require pymodbus.
  • Document the robot-side setup: Modbus slave plus a TMFlow listen node on
    port 5890.

The driver implements the existing Robot interface, including
clean_errors.

0nu added 2 commits November 12, 2026 15:21
Add an Omron driver using Modbus TCP for state and the TM script socket for motion. Register ROBOT=omron, add the MPI site offset, the Omron robot configuration and the pymodbus dependency. The driver implements the current Robot interface, including clean_errors, and does not require MPI-specific relay topics.
Remove the commented-out socket implementation, add a module docstring and a README section covering the Modbus and TM script interfaces, the required .env values and the pymodbus dependency.
@rmatsuda
rmatsuda marked this pull request as ready for review November 21, 2026 12:07
@rmatsuda

Copy link
Copy Markdown
Collaborator

Thanks for adding support for a new robot! :D

@rmatsuda
rmatsuda merged commit ae17ce2 into BiomagLab:main Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants