Strange RS232 behaviour

MartinW

Member
Join Date
Apr 2008
Location
UK
Posts
70
Hi,

I replaced a PC on one of our machines yesterday. The existing PC had 2 RS232 ports on a half-height expansion card. The ports were connected to two RS232-422 converters, which were in turn connected to a motion controller, and a CP341 Siemens S7-300 PtP unit. Comms were working fine.

I replaced the PC for a new (Win 7) unit with a USB-RS232 adaptor with two ports. I connected the two devices. The communications with the motion controller was just fine, worked first time with no problems.

I could not get the comms to the CP341 at all. I tried changing a setting on the RS232-422 converter for RTS from "auto" to "RTS" but this made no difference.

The COM ports were correctly addressed and I had previously verified both ports by connecting a null modem cable to them and talking on both ports and receiving a reply.

Because of time pressures, I did not make any other attempts to debug the problem. Since the PC had one on-board com port, I decided to use this. I reconfigured the software to use Com1 instead of Com5, and it worked first time.

The RS232-422 converters should have been a constant and in my experience RS232 is less finicky than RS422 with differences in voltage levels etc.

What could the problem have been that it worked with one device and not the other, but resolved by using a "real" serial port?

thanks

Martin
 
Voltage levels. RS232 spec is +/- 12V, but you can get away with less.
Real port will have about +/- 9 Volt levels.
USB is powered by 5 volts, so levels most likely will be +/- 5 Volts.
 

Similar Topics

Hello all, I am facing an issue with my Commander SK that I cannot solve on my own, I am struggling on it since several days :confused: The...
Replies
9
Views
1,052
Hi. I'm doing an upgrade of an old 1400e to a new panel view plus 7 standard using ftv studio v 12,which will be communicating to a slc 5/04 via...
Replies
15
Views
2,631
Can someone explain the jumper between the elements? Does it do anything? See attached jpeg.
Replies
4
Views
689
We have an OPC server getting data from a Compactlogix PLC. The PLC also communicates with a Panelview and a couple VFDs via Ethernet/IP...
Replies
3
Views
1,165
I have a small system controlled by a Siemens S7-1200 PLC. I created a totalizer function block (TIA v17), where I'm counting total revolutions...
Replies
16
Views
3,138
Back
Top Bottom