RS232 or RS485?

scarince

Lifetime Supporting Member
Join Date
Jan 2009
Location
Dayton, OH
Posts
152
I'm working on an application to have a ControlLogix 5561 communicate with a Telesis TMC420 pin stamp / dot peen controller.

The Telesis unit has a serial port only (no ethernet). I can configure it to use RS232 or RS485. It can be configured to run at up to 19200 baud.

I *think* the communication would be considered half-duplex since the 420 controller never initiates communication, it only responds to ASCII messages sent from the host.

The data sent from the Logix PLC to the Telesis will just be a part number/date code string. All strings end with an ASCII carriage return.

I have not selected a communications interface yet. I'm leaning towards the 1734-232ASC or 1734-485ASC. The PLC is far away from this station, so I don't want to try to use the on-board comm port.

I expect the serial cable run to be under 25 feet from the comms adapter to the Telesis controller.

Can anyone think of any considerations for selecting between the RS232 vs RS485? Is there any practical difference in an application like this?

Thanks!!
 
You could do RS232 at that length (<50 ft is the rule of thumb I believe?), but I prefer RS485 whether it's 1 ft or 200 ft. I'd do RS485. Safe bet.
 
The RS-232 communication is point to point and works in full duplex mode and the RS-485 is half duplex mode but works in a multi-point environment, so you have one sender and multiple receivers.. something to consider. Also the length for RS-232 is up to 50 ft I believe... but in this situation I don't think it would really matter to be honest.. Much more knowledgeable folks on here that could give you a better answer though.
 
The RS-232 communication is point to point and works in full duplex mode and the RS-485 is half duplex mode but works in a multi-point environment, so you have one sender and multiple receivers.. something to consider.

Technically RS232 is a point to point protocol but it will work in half duplex as long has you have a means of splitting the signal (with a radio modem for example). Having said that I don’t see anything in what’s being described that would favor one over the other however I also don’t see any reason not to use the onboard DF1 port. I’ve never had any issues with it on any AB equipment.
 
I like RS-232 devices over RS-485 because i can hook up a standard USB to serial adapter and use putty or hyperterminal when troubleshooting communications issues. RS-232 PC ports are usually easier to find than RS-485.
 
Always choose RS-485 when available it will be less susceptible to interference and disruption, those who follow you will be thankful.
👨🏻‍🏫

I'm working on an application to have a ControlLogix 5561 communicate with a Telesis TMC420 pin stamp / dot peen controller.

The Telesis unit has a serial port only (no ethernet). I can configure it to use RS232 or RS485. It can be configured to run at up to 19200 baud.

I *think* the communication would be considered half-duplex since the 420 controller never initiates communication, it only responds to ASCII messages sent from the host.

The data sent from the Logix PLC to the Telesis will just be a part number/date code string. All strings end with an ASCII carriage return.

I have not selected a communications interface yet. I'm leaning towards the 1734-232ASC or 1734-485ASC. The PLC is far away from this station, so I don't want to try to use the on-board comm port.

I expect the serial cable run to be under 25 feet from the comms adapter to the Telesis controller.

Can anyone think of any considerations for selecting between the RS232 vs RS485? Is there any practical difference in an application like this?

Thanks!!
 
I like RS-232 devices over RS-485 because i can hook up a standard USB to serial adapter and use putty or hyperterminal when troubleshooting communications issues. RS-232 PC ports are usually easier to find than RS-485.

Rs485 ones are easy to come by as well now. I agree 485 is more adaptable.
 
.......however I also don’t see any reason not to use the onboard DF1 port. I’ve never had any issues with it on any AB equipment.

So you bring up an interesting point.....I never considered just using the DF1 port. My cable run from the PLC might be 50 feet, that's why I was thinking about using the POINT I/O communication module.

Other than cost and maybe complexity, are there other pros/cons associated with just using the onboard port? Are there any issues with using the ASCII commands when using a port that is not the onboard port? I ask b/c I've never done either before.

Thanks.
 
So you bring up an interesting point.....I never considered just using the DF1 port. My cable run from the PLC might be 50 feet, that's why I was thinking about using the POINT I/O communication module.

Other than cost and maybe complexity, are there other pros/cons associated with just using the onboard port? Are there any issues with using the ASCII commands when using a port that is not the onboard port? I ask b/c I've never done either before.

Thanks.

One con IMO is that the newest CompactLogix and Controllogix processors do not have serial ports. If you make your program use the onboard port, you will have to re-engineer it later if you ever want to update to newer firmware. This could also make it harder to replace processors in the future because you are locked into a older model. It's not a huge deal now, but its something i would consider.
 
The easiest way to send ASCII data from AB to serial devices over distance.

You only have to load the ASCII string(s) into a single string tag in the PLC.
The RTA 435 will handle the serial part.

Flawlessly Robust.

http://www.rtaautomation.com/product/435nbx-2/

We used dozens for ASCII inputs from scanners, and ASCII outputs to printers and dot marking equipment
 
One con IMO is that the newest CompactLogix and Controllogix processors do not have serial ports. If you make your program use the onboard port, you will have to re-engineer it later if you ever want to update to newer firmware. This could also make it harder to replace processors in the future because you are locked into a older model. It's not a huge deal now, but its something i would consider.

That's a really good point that I hadn't thought of. Thanks!

The easiest way to send ASCII data from AB to serial devices over distance.

You only have to load the ASCII string(s) into a single string tag in the PLC.
The RTA 435 will handle the serial part.

Flawlessly Robust.

http://www.rtaautomation.com/product/435nbx-2/

We used dozens for ASCII inputs from scanners, and ASCII outputs to printers and dot marking equipment

I'm going to give that device a good look. Thanks Plastic!
 
I guess the way I look at it is that you’ve got a serial port on the processor that is there to do, among other things, what you are trying to do. Why add other components to do something that is already doable? Yes the serial ports are going away however I don’t believe that they (Rockwell) will ever create a firmware version for an existing processor with a serial port that will disable the serial port. If there is a concern that the processor might have to be replaced in the future then I would be looking at creating a system that doesn’t use serial at all.
 
I guess the way I look at it is that you’ve got a serial port on the processor that is there to do, among other things, what you are trying to do. Why add other components to do something that is already doable? Yes the serial ports are going away however I don’t believe that they (Rockwell) will ever create a firmware version for an existing processor with a serial port that will disable the serial port. If there is a concern that the processor might have to be replaced in the future then I would be looking at creating a system that doesn’t use serial at all.

I agree with you for DF1 or even Modbus with a SLC or Micrologix that supports Modbus well. When it comes to ASCII or other protocols, the time spent to get it all working right is often more expensive than adding a third party protocol converter.

I have been down the road of writing ASCII code in ladder for a PLC-5. After three days of debugging and handling all the what-ifs, I still ended up with a system that would stop talking about once a week. It was for a Keyence vision system and the only way I could recover comms was to power cycle the vision system. This was for a test application that was not critical but made me a believer in buying a protocol converter with all the bugs (hopefully) worked out by the vendor.
 
Since this thread is still going on, I'd just like to add that I've had trouble with RS232, with shielded cable, under a distance of 50 ft. I had a Sierra mass flow controller and added a DB9 extender cable in the line (total distance of maybe 12-15ft?), and was losing messages.

RS485 all the way.
 

Similar Topics

i have an device which can support serial (RS485,RS232),CAN protocol . i want to connect it to an existing MIB 1553B bus ,what device will I need...
Replies
0
Views
96
Hello: I have to connect a RS232 Modbus RTU slave that only has Tx, Rx and GND signals to a Modbus RTU master. However, all RS232 to RS485...
Replies
3
Views
233
HI All, does anyone know if you have to change a cp 341 rs232 and use a cp341 rs485, what changes have to be made to get it to...
Replies
0
Views
1,342
Hi guys Just wondering if anyone has succesfully read barcode data from these barcode scanners to a plc via rs232 or rs485? If so do you guys have...
Replies
0
Views
1,462
I have been using 1761 NET-ENI on my old SLC systems (1747-L532E) Does anyone recommend anything different, Besides changing the processors to...
Replies
11
Views
3,216
Back
Top Bottom