Check the serial to ethernet converter. Is it RS232, RS422, or RS485? (check physical switches on the converter)
Check the ethernet converter configuration to get the correct serial parameters, baud rate, nb of stop bits, etc
Check the string terminator as well. The ethernet converter may append a terminator which is not in the initial protocol.
If everything is configured correctly, changing interface from ethernet to serial of a stream device should be seemless. (Of course, you changed the physical connection, but also the asyn command from drvAsynIPPortConfigure to drvAsynSerialPortConfigure, right?)
--
Emmanuel
Date: Mon, 19 Aug 2013 16:30:07 +0300
Subject: Response Time
From:
[email protected]To:
[email protected]Hello,
I've been trying to connect to my machine by RS232.
I use streamDevice and Asyn Module.
When we send command "*IDN?", we expect to get "THERMO OK" from the machine.
I try the same connection on TCP/IP. I used serial to ethernet converter and communicated with the machine. No problem occured. But when I eliminated the converter and directly connected to the PC on RS232 port, I got the following error when I send the command.
I guess the problem is about response time. How can I configure the response time? Or if it is not response time problem, how can I fix it?
ERROR:
"2013/08/19 16:23:15.340949 thermoConn IDN: No reply from device within 1000 ms"