i am trying to set up a remote access to our PLC. for that i have an embedded device hard wired to the plc (rs232). the embedded device forwards the rs232 traffic via tcp-rfc2217 to my host machine where i am running Serial Port redirector.
the connection to the embedded device is a GSM/UMTS link with RTT between 500-800 ms, sometimes over 2000ms
via lan it works perfectly but over the wan link its really slow and the software i am using to access the PLC (codesys) times out so i can only access the plc 3/10 times
is there a way to integrate a certain timeout period for each packet in serial port redirector?
i am really sorry, but unfortunately i dont have any gprs modem available to insert the simcards i am using for my embedded linux devices (they already have the modem built in)
is there anything else i can test?
i am looking for a setting to make the virtual port reliable even with high rtt's (400-1000ms)
e.g. com0com offers: AddRTTO=<n> - add <n> milliseconds to the total time-out period for read operations (0 by default) AddRITO=<n> - add <n> milliseconds to the maximum time allowed to elapse between the arrival of two characters for read operations (0 by default)
I tried to reproduce this issue. I set bandwidth to 9,6 kB with the help of NetLimiter and tried to work with Serial Port Redirector. I was working slowly but it worked.
Ok, is it possible to get "WireShark" logs? (http://www.wireshark.org/) It is freeware and it works on all computers with all operating systems. I need logs when it works correctly in local network and when it works via internet. I will compare these logs and will try to find the source of the issue. Also please let me know your IP addresses and the number of TCP port in Serila Port Redirector so I can configure filters in WireShark.
One more questions. What is the speed of COM port opening in codesys?