Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed ports #5

Closed
andriypartyshev opened this issue Dec 9, 2020 · 8 comments
Closed

Closed ports #5

andriypartyshev opened this issue Dec 9, 2020 · 8 comments

Comments

@andriypartyshev
Copy link

andriypartyshev commented Dec 9, 2020

This is not so much an issue with the driver as with the ports on the tm5-900 controller. After having an issue where no connection was established i ran an nmap -Pn robot-ip and it returned a list of open ports (as i understood it) and none of them were 5890 or 5891 (or 502 for that matter (Modbus slave))
Is there a quick and easy fix for this issue?
Am i missing something that is not in the manual or is it a robot controller factory setup issue?

@karl-exwzd
Copy link

I have the same issue and would very much like some advice on how to proceed.

The ports are reported to be closed by nmap -Pn <robot_ip> as @medievalpunk said, yet in the TMflow terminal it is clearly written "Listen opens on 127.0.0.1:5890" and "Ethernet Slave opens on 127.0.0.1:5891" when the program is started.

Perhaps it should listen to 0.0.0.0 instead of 127.0.0.1, but I have no idea on where to set that setting...

@jvdtoorn
Copy link

@exwzd-kk I had the same problem. For me the problem was that I plugged the ethernet cable into the wrong port on the TM machine. It should be connected to the port labelled with 'GigE'.

To verify if your problem is solved, the shown IP that TMFlow listens on should not be 127.0.0.1 (localhost). It should be a local IP on the network, e.g. 192.168.x.x.

@karl-exwzd
Copy link

@julespalles Thank you for your input. Unfortunately, my machine does not feature markings next to the Ethernet ports.

Previously, the robot worked well with the deprecated driver. It seems the control interface ports have changed and therefore the system does not behave as before. I suspect I should change the IP setting somewhere... but where is that setting? I went though all the imaginable menus in TMFlow, perhaps I should try other Ethernet ports and hope it works automagically.

@jvdtoorn
Copy link

@exwzd-kk see my other comment, you should update TMFlow to version 1.80

@jvdtoorn
Copy link

jvdtoorn commented Dec 23, 2020

What is your output when running scripts/test_conncection.py from my techmanpy driver?

@karl-exwzd
Copy link

@julespalles I followed your suggestion and tested the other Ethernet ports on the robot, indeed that was the issue.

Now I see this in the logs: "Listen opens on 192.168.29.138:5890" and "Ethernet Slave opens on 192.168.29.138:5891".

I have TMFlow 1.80.5300.

@jvdtoorn
Copy link

@exwzd-kk great to hear that your problem is solved!

@carltech22
Copy link

Hello @TechmanRobotIncOwner and @karl-exwzd ,
I am experiencing a similar issue issue here where I'm not able to connect to the TM5-900 Omron robot running TMFlow 1.84.2200 because the listening node opens on 127.0.0.1:5890. I have tried just about everything to talk to the robot. I followed the manuals and online documentation exactly and still nothing works. I have setup a static IP address for the robot i.e 169.254.255.186 and I have configured my network settings on my laptop to be on the same network 169.254.255.20 and same subnet mask. I tried to connect to the robot via Hercules TCP Client using the robot's static IP on the same port and the connection times out. The log message on TMFlow says the following
"0x0004F000 Listen opens on 127.0.0.1:5890

Image
Image

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

No branches or pull requests

5 participants