This is not working. I send commands and I don't get a response. The notes on the RS-232/GPIB converter says it needs full flow control. My startup script has these commands to talk to the Moxa:
drvAsynIPPortConfigure("serial2", "gsets11:4002 COM", 0, 0, 0)
asynSetOption(serial2,0,baud,19200)
asynSetOption(serial2,0,bits,8)
asynSetOption(serial2,0,stop,1)
asynSetOption(serial2,0,parity,none)
asynSetOption(serial2,0,crtscts,Y)
Any idea why this would not work, when it did work with a local serial port?
I am baffled. You can configure the Moxa box remotely by setting the asyn options?
Honestly, I would never ever have expected that to work. Is that a Windows thing? Wait... or does the Moxa emulate a modem - AT commands and all?
Like Maren, I would always use the web interface on the Moxa to configure the serial line, before connecting with a telnet client to test and finally have the asyn IOC connect.
Really interesting.
~Ralph