Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Robot Omron TM7S when connected don't get position

#1
Hi,
I briefly describe the problem encountered:
- Ping : ok
- Connect : ok
- Get Position : Error

I have installed RoboDK version 5.9.0
This is the error log: 

Code:
Driver for RoboDK 5.9.0.25063
Disconnected
Stopped
Starting robot driver: C:/RoboDK/api/robot/TMDriver.py
Using RoboDK RoboDK v5.9.0
Starting...
Not started
Sending command...
Using Python version: sys.version_info(major=3, minor=10, micro=10, releaselevel='final', serial=0)
RoboDK Driver: C:/RoboDK/api/robot
RoboDK Driver for Omron-Techman v1.6.1
Command CJNT_FALSE: Get joints modbus
Command POSXYZ: get position xyz and rot
Command TOOLXYZ: get tool position xyz and rot
Command DELTA_DH: get robot kinematic signature
Working...
Working...
Disconnected
Connecting to robot 192.168.251.15:5890
Connecting...
Connecting...
Flow is in Listen mode: Listen1
Waiting for welcome message...
Ready
Sending command...
Unexpected error: Traceback (most recent call last):
Unexpected error: File "C:\RoboDK\api\robot\TMDriver.py", line 34, in <module>
Unexpected error: RunMain()
Unexpected error: File "C:\RoboDK\api\robot\TMDriver.py", line 1149, in RunMain
Unexpected error: File "C:\RoboDK\api\robot\TMDriver.py", line 733, in RunDriver
Unexpected error: File "C:\RoboDK\api\robot\TMDriver.py", line 852, in RunCommand
Unexpected error: File "C:\RoboDK\api\robot\TMDriver.py", line 520, in getJointsModbus
Unexpected error: NameError: name 'pymodbus' is not defined
Stopped
#2
I don't have access to the decompiled driver, so I can't give the best advice, but you could try manually installing/setting up pymodbus 3.0.2.

Alternatively, some solutions in this thread might be helpful:
https://robodk.com/forum/Thread-TM-5-Err...9#pid19059
#3
Pymodbus should be installed by default with the Python embedded version. If you use your custom version of Python, then make sure to install the pymodbus module.

Make sure to connect to the correct physical port on the controller with modbus connection (there is only 1 that allows a modbus connection).
  




Users browsing this thread:
1 Guest(s)