Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: mhw on July 14, 2017, 08:02:21 AM
-
I have a section of code that I have used in another program running on a T1H-DM1E. I have the serial port set up for ASCII. It then passes through a FA-ISOCON for conversion to 4 wire RS-485. I can't get this to work on the RS-232 POM of a BRX. Is there any differences between the two serial ports that could be causing this problem?
-
The Serial Comm POMs are slave only, for specific protocols. It cannot be used for ASCII/Custom protocols, or for Mastering.
The built-in serial port on your BRX can be configured for ASCII/Custom protocol, just like the built-in serial port on your T1H.
-
The Serial Comm POMs are slave only, for specific protocols. It cannot be used for ASCII/Custom protocols, or for Mastering.
The built-in serial port on your BRX can be configured for ASCII/Custom protocol, just like the built-in serial port on your T1H.
That's incorrect. The POM can definitely be master and custom protocol for serial. The only thing limited is the ECOMLT.
-
That's incorrect. The POM can definitely be master and custom protocol for serial. The only thing limited is the ECOMLT.
Sweet! So you can do MRX/MWX, STREAMOUT to POM serial, but not ECOMLT POM.
mhw, not sure what your issue is then. ;D
-
I have a section of code that I have used in another program running on a T1H-DM1E. I have the serial port set up for ASCII. It then passes through a FA-ISOCON for conversion to 4 wire RS-485. I can't get this to work on the RS-232 POM of a BRX. Is there any differences between the two serial ports that could be causing this problem?
I'm betting it's something related to the RTS/CTS.
-
I'm betting it's something related to the RTS/CTS.
Can you be more specific?
I have eliminated the FA-ISOCON from being the problem. I took it to the site that is working and installed it there.
-
I'm betting it's something related to the RTS/CTS.
Can you be more specific?
I have eliminated the FA-ISOCON from being the problem. I took it to the site that is working and installed it there.
Have never used one, but just wondering if the ISOCON needs RTS/CTS handshaking to control the RS485 side. The POM doesn't provide RTS/CTS as part of the basic configuration, but I'm pretty sure your can use SETUPSER to alter the config at runtime.
Other than that possibility, I'm not sure what could be different.
-
I have used those before, RTS is not required. They just work if the TX/RX lines and the baud rate is set correctly. Do you see any blinky lights on the ISOCON? If not, set up a test to transmit a repeated string of characters and then connect your RS232 out from the POM into a serial port on a PC running Puty.
-
I'm betting it's something related to the RTS/CTS.
You lost that bet. I got back on site today. One programming mistake,("STREAMOUT" the wrong control sequence)and one bad cable.
-
I'm betting it's something related to the RTS/CTS.
You lost that bet. I got back on site today. One programming mistake,("STREAMOUT" the wrong control sequence)and one bad cable.
Fortunately I don't gamble for a living. Glad it's working.