Experimental Physics and Industrial Control System
Serial port parameter changes of a LAN/Serial adapter will work if
a) Your LAN/Serial adapter supports 'RFC2217' operation (most do -- check the adapter manual for details)
and
b) you're using ASYN R4-16 or better
and
c) you add 'COM' to the port configuration line -- drvAsynIPPortConfigure("MOXA1","192.168.127.254:4001 COM",0,0,0)
On May 24, 2012, at 7:30 AM, Dirk Zimoch wrote:
> Dirk Zimoch wrote:
>
>> I don't see where you set the baud rate. Use something like
>> asynSetOption ("MOXA1", 0, "baud", "9600")
>
> Well, this won't work. It works only if the Moxa maps its serial lines
> to local /dev/ttyXXX devices on your PC and you use it like a local
> serial line.
>
> With the TCP connection, you may need a different way to set the baud
> rate. I don't know how. See the Moxa manual.
>
> Dirk
>
--
Eric Norum
[email protected]
- References:
- "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" 洪春霞
- Re: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Dirk Zimoch
- Re: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Dirk Zimoch
- Navigate by Date:
- Prev:
Re: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Dirk Zimoch
- Next:
RE: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Dirk Zimoch
- Next:
RE: "@init handler failed" , "Record initialization failed" and "No reply from device within 1000 ms" Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024