Does a router tells a device to close a TCP connection?

AI Thread Summary
A router does not instruct a slave device, such as the Moxa, to close a TCP connection if it loses connection with the master device (the HMI). Routers primarily function to route packets between devices without actively managing connections. The HMI, as the master, is responsible for communication and must explicitly send a close command to the Moxa. If a router or computer is placed between the HMI and Moxa, it may introduce issues that prevent proper communication, which could explain why the connection fails. The Moxa devices, particularly the Nport series, have been noted to have compatibility issues with Modbus communication. Additionally, using a direct connection, such as a crossover Ethernet cable, might resolve some connection problems that arise when a router is involved. Overall, routers do not manage TCP connections or send close requests; they merely facilitate packet transfer.
btb4198
Messages
570
Reaction score
10
Does a router tells a slave device to close a TCP connection, if the router loses connect from the master device ? So, I have a Qterm-g72 HMI and I am trying to connect it to a Moxa over TCP Modbus. This only works if a Computer or a router is between the Moxa and the HMI. I am trying to found out why. So, my question is does a computer or a router close the connection to the Moxa if it lose it from the HMI ? The HMI is the master so it does the talking and the Moxa is the slave. The Moxa does not know to lost the connection if the HMI does not tell is to close with TCP, so I wanted to know if the Computer or Router would do that ?
Also does anyone else think they might know why the HMI and the Moxa will not work with a router or a computer in between?
 
Computer science news on Phys.org
Which Moxa device are you using?
We had some serious issues with the Moxa Nport devices and Modbus.

But no a router doesn't provide any functionality other than routing the packets between device.

When you don't have the router installed does it work at all and then stop? Or just not work period?
Have you tried using a cross over ethernet cable?
 
@cpscdave Is correct. routers simply take packets and move them around. What makes your think a router is 'telling' some other network object to close a port? Routers are really dumb - they simply filter stuff, and sometimes drop what they have been instructed to - as bad packets. None of this explicitly requests a 'close operation' on anything that I know of.
 
Mine allows an automatic internet disconnection depending on idle time and a dayly forced shutdown (with probably an automatic restart.)
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Back
Top