digital RS232 switch available?

johnfarrugi

Member
Join Date
Mar 2008
Location
London
Posts
99
I am using the serial port on a 5/03 to print labels to two different printers. Right now the user selects the printer they want to use by selecting the printer via a blackbox rs232 selector switch. I'd like to locate a selector switch which can be controlled via digital outputs from my PLC. I want to select the rs232 port by turning on a specific digital output. Does anyone know of an RS232 switch that can do this?
 
Black Box at one time made a software switch (I believe they called it a code operated switch) that would allow the PLC to send a couple characters to it that would switch between the various devices. I'm not sure if it is still available because the last I seen it used in a system was almost 10 years ago.
 
Don't laugh, it works

We had a small assembly machine, where the operator loaded components, use a handheld barcode scanner to read in information, then the machine cycled assembling the component, and we needed to print a new bar-code label.

We scrambled at the 11th hour, and installed a DPDT relay to switch the two key serial lines from the bar code scanner to the bar code printer.

The PLC serial port was connected common terminals of the DPDT realy , the scanner via NC contacts, once the machine cycled, we energized the relay connecting the printer to the plc via the N.O. contacts.

We used an Allen-Bradley relay with GOLD plated contacts. This machine ran production every day with NO issue. (60 cycles per hour)

You only need to manipulate pins 2 and 3 (RXD TXD)
 
Th later posters are describing the relay method, which in essence a switch would be anyway. They are emphasizing the gold contacts for low noise switching. Standard contacts may generate momentary noise while switching which could be interpreted as serial information by either side of the switch.
 
Th later posters are describing the relay method, which in essence a switch would be anyway. They are emphasizing the gold contacts for low noise switching. Standard contacts may generate momentary noise while switching which could be interpreted as serial information by either side of the switch.

That and eliminating contact oxidation. Standard contacts can oxidize and increase the resistance of the connection. Too much resistance and the serial signal can't get through.

Brian
 

Similar Topics

Question to anyone with ideas about my thoughts on upgrading a very vintage timer, which is being used to switch between 2 5hp domestic water...
Replies
14
Views
437
I have a PLC type PM856 from ABB with some I/O modules and I get an error from the Digital Inputs model type DI801. The unit status shows error...
Replies
0
Views
264
I am monitoring two BMXDDO3202K digital outputs for their behaviour, they are each for opening and closing, and so the on time affects how far the...
Replies
1
Views
285
On the laser displacement sensor now connected to my PLC, the manual says 4mA=643 and 20mA=64,877. However, I checked with a Fluke, injecting...
Replies
5
Views
890
I'm new to S7/TIA. There's no devices connected to the PLC yet. I've got a laser measurement sensor (Micro-Epsilon optoNCDT 1220). From the...
Replies
18
Views
2,957
Back
Top Bottom