background image

 

232XS5-1005 Manual 

 

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445  

Smart Switch/Port Combiner Mode 

 
 

With the 232XS5 set up with a DTE master port, this mode 

allows Slave Ports A-E to select the master port using the RTS input 
line.  It also still allows selection from the master port via the 
preamble code described in the Smart Switch Only Mode section.  
Jumper “JP6-C” must be OFF (removed) to be in port combiner 
mode.  Port combiner mode is not accessible when the unit is set up 
as a port expander, so JP6-B must be ON (installed).  When RTS 
goes high on any of the five slave ports, it will establish a connection 
from that port to the master port.  This works on first-come-first-
served basis.  If multiple ports have their RTS lines high, the port 
that has been waiting the longest will be next to be connected to the 
master port.  For example (initial conditions -- no slave ports with 
RTS lines asserted.),  in chronological order, Port C asserts its RTS 
line, Port A asserts its RTS line, Port D asserts its RTS line and then 
Port C disasserts its RTS line.  When Port C asserts its RTS line, a 
connection will be made between the master port and Port C.  When 
Port C disasserts its RTS line, Port C will be disconnected and Port 
A will be connected to the master port.  When Port A disasserts its 
RTS, Port A will be disconnected and Port D will be connected to 
the master port. 
 
 

For example, port A is configured as a DTE port.  In order to 

establish a connection to the master port, port A must set RTS high 
(assert).  The 232XS5 would recognize this as a prompt for 
connection to the master port.  The connection would be dropped as 
soon as RTS on port A is brought low.  Ports B-E may raise RTS at 
any time to request a connection.  However, if port A is connected to 
the master port, any data sent from the devices on ports B-E to the 
232XS5 will be lost.  The 232XS5 does not have any buffering. 

Master

Port

Preamble code controls access to slave

ports if slave handshake line is not asserted

C

Slave

Port

Port Combiner Mode

Slave

Port

B

Slave

Port

A

Handshake line of any slave

port controls access to master por

Slave

Port

D

E

Slave

Port

 

  

232XS5-1005 

Manual 

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445  

10

 
 

NOTE:  

When a port is selected via the Master Port, the RTS 

lines will be ignored until the Master Port sends the turn off code. 
When the Master Port is selected by RTS, all preamble codes 
will be ignored.  The port combiner function is not available with 
the Master Port configured as a DCE or in expansion mode. 
 
 

A typical application would be to have RTS and CTS tied 

together on the master port.  When RTS on port A is asserted, CTS 
on port A will be asserted when a connection is established.  If a 
port is not connected to the master port, then CTS on that port will 
remain low.  Therefore, a port can monitor the handshake line to 
determine if a connection has been established. 

Enhanced Timer Mode -- Timer Features  

 

The 232XS5 has an enhanced mode, which offers special timer 

features.  The timer features can be used to prevent slave devices 
from receiving preamble commands, inadvertent switching from 
binary/graphic file transfers, and inactive slave devices from holding 
control of the master port.  The timer has two different modes:  an 
inactivity mode and an inadvertent switch mode.  When in inactivity 
mode, the 232XS5 will monitor the data lines.  If there is no activity 
for the specified time, the selected slave port will be disconnected 
from the master port.  When in inadvertent switch mode, the 
232XS5 will ignore switching commands for the specified period of 
time.  After this time has expired, the selected slave port will be 
disconnected from the master port. 
 

The timer functions are enabled via a jumper setting and 

through software commands.  

Jumper JP6-A must be OFF 

(removed) for the 232XS5 to be in enhanced mode.

  The 

software commands follow the same format as preamble codes 
used for switching.  There are two commands that must be sent to 
the 232XS5 to set the timer functions:  Set Timer Value and Set 
Timer Mode.  These commands require an additional byte for data.  
The Set Timer Value command requires the third byte to be an 
ASCII “T” character.  The data byte (fourth byte) must be a value 
between ASCII “0” and ASCII “9”.  A value of “0” is used to disable 
the timer.  The time set by the Set Timer Value command 
determines the length of time the 232XS5 wll wait before 
disconnecting an inactive port, or the length of time it will ignore 
switching commands from the master.  Refer to Table 7 for timer 
values.  For example, sending the following string to the 232XS5 will 
set the timer value to 5 seconds (assuming programmable character 
is the factory default of 2). 

 

Summary of Contents for 232XS5

Page 1: ...B B Electronics Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 92444 Fax 353 91 92445 www bb europe com 1997 B B Electronics Revised March 2005 2000 B B Electronics No part of this p...

Page 2: ...lation 15 Setup 15 Default Values 16 Selecting Ports 16 Parameters 16 Appendix A ASCII Character Codes A 1 Appendix B Cable Charts B 1 Chart 1 IBM PC DB25 Connector to Master Port B 1 Chart 2 IBM PC D...

Page 3: ...CTS DSR DTR and DCD The 232XS5 has an enhanced timer mode which offers special timer features The timer features can be used to prevent slave devices from receiving preamble commands inadvertently sw...

Page 4: ...4 Table 2 Mode Setup On Jumper Installed Off Jumper Removed X DON T CARE FACTORY DEFAULT Port Configuration In order to determine the proper port configuration of the 232XS5 it is necessary to have a...

Page 5: ...Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 6 Serial Data Configuration In order for the host device that is connected to the master port to select any of the five port...

Page 6: ...nce it is still selected and the letter B will show up on your port A device For information on preventing command codes from being received by slave devices refer to the Enhance Mode section NOTE The...

Page 7: ...0 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 10 NOTE When a port is selected via the Master Port the RTS lines will be ign...

Page 8: ...9 5 min 232XS5 1005 Manual B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Ltd Westlink Commercial Park Oranmore Galway Ireland P...

Page 9: ...Expansion Mode Address D C C Address C Slave Port B Slave Port A Slave Port A Address B Slave Port Slave Port A B Slave Port B C Slave Port D E Slave Port E Slave Port Expansion Port E Slave Port D S...

Page 10: ...rs as per their specific needs Comport Baud Rate and Data Bits Character Mode and User Defined Character may also be set for 232XSS and 232XS5 Modules 232XS5 1005 Manual B B Electronics Mfg Co Inc 707...

Page 11: ...ch character that gets sent from the PC to the Smart Switch This value must be specified so that it is equal to SW1 position 4 on the Smart Switch The Module must be set so that it is equal to the Sma...

Page 12: ...ctrl L 44 2C 76 4C L 108 6C l 13 D CR ctrl M 45 2D 77 4D M 109 6D m 14 E SO ctrl N 46 2E 78 4E N 110 6E n 15 F SI ctrl O 47 2F 79 4F O 111 6F o 16 10 DLE ctrl P 48 30 0 80 50 P 112 70 p 17 11 DC1 ctrl...

Page 13: ...2 4 7 5 8 6 6 7 5 8 1 20 4 IBM PC Serial Port DB9 Connector Signal Direction 232XS5 Master Port DCE DB9 Connector 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 B 2 Appendix B 232XS5 1005 Manual B B Electronics PO...

Page 14: ...ignal Direction 232XS5 Ports A E DTE DB9 Connector 1 4 2 3 3 2 4 6 5 5 6 4 7 8 8 7 B 4 Appendix B 232XS5 1005 Manual B B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Chart...

Page 15: ...onfigured as a DTE port with a modem connected see Chart 3 IBM PC Serial Port DB9 Connector Signal Direction 232XS5 Ports A E DCE DB9 Connector 3 3 2 2 7 6 8 4 6 4 5 5 1 8 4 7 Pins are tied together i...

Reviews: