background image

232XS2497 Manual 

 

15 

B&B Electronics  --  PO Box 1040  --  Ottawa, IL  61350 

PH (815) 433-5100  --  FAX (815) 433-5109

 

Chapter 4: SOFTWARE 

Introduction 

 

The Smart Switch software allows the user to change Smart Switch 

ports on three different modules (232XSS, 232XS5, PortMUX).  The Smart 
Switch software is designed as diagnostic software for the above modules.  
It will allow you a Module by Module connection to the individual port. 
 

Installation 

 

The software for the Smart Switch is designed to be run in any 

Windows environment.  To install it on your hard drive follow these steps: 
 

Method One 

 

Place the disk in drive A. 

 

Select Settings from the Start Button and click on Control Panel. 

 

In the Control Panel Window, double click on the Add/Remove 
Programs. 

 

Click on the “Install” button. 

 

Follow the instructions of the setup program. 

 

Method Two 

 

Place the disk in drive A. 

 

Select Programs from the Start Button and click on Windows Explorer. 

 

Click on the drive containing the SS Setup Disk. 

 

Double click on the file “Setup.exe”. 

 

Follow the instructions of the setup program. 

 

 

 

The following file will be located on your hard drive: 

 

 

SS.EXE  - The executable file for the Smart Switch. 

 

FILES.LST Contains a list and description of files installed on your 
hard drive. 

 

READ.ME Contains corrections and additions to the printed users 
manual. 

 

HISTORY.LST Contains a historic description of the product. 

 

 Setup 

  The Smart Switch program will prompt the user for the Module that is 

in use the first time that the software is run.  After the proper Module (i.e. 
PortMUX, 232XS5,etc.) is selected then a window specific to that Module 
will appear and the user may personalize communication parameters 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). 

 
 
 
 

Summary of Contents for 232XS5

Page 1: ...national Headquarters B B Electronics Mfg Co Inc 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Home Page www bb elec com Orders e mail orders bb elec com Fax 815 433 5109 Technical Support e mail support bb elec com Fax 815 433 5104 European Headquarters B B Electronics Ltd Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 92444 Fax 353...

Page 2: ...o change without notice and does not represent a commitment on the part of B B Electronics B B Electronics shall not be liable for incidental or consequential damages resulting from the furnishing performance or use of this manual All brand names used in this manual are the registered trademarks of their respective owners The use of trademarks or other designations in this publication is for refer...

Page 3: ...ansion Mode 13 Chapter 4 SOFTWARE 15 Introduction 15 Installation 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 DB9 Connector to Master Port B 1 Chart 3 Modem DB25 Connector to Master Port B 2 Chart 4 IBM PC DB25 Connector to Ports A E DTE B 2 Chart 5 IB...

Page 4: ...preamble code The third way the switch can be controlled is the expander mode in which up to four switches can be cascaded together to form up to 17 slave ports The master port can be configured as a DTE or DCE port by an internal switch setting If the master port is configured as a DTE port the five slave ports will become DCE ports The 232XS5 supports the following signals TD RD RTS CTS DSR DTR ...

Page 5: ...requires 12Vdc at 100ma which is provided through a 2 5mm power jack Checklist Examine the shipping carton and contents for physical damage If damage is found file a claim with the shipper immediately The following equipment should be in the shipping carton 1 RS 232 Smart Switch 2 Instruction Manual 3 1 3 5 floppy disk If any of the items above are not in the shipping carton contact the shipper im...

Page 6: ...o set the second character of the preamble After the switches and jumpers have been set to match your requirements you can put the unit back together Table 1 shows the settings for dipswitch SW1 and Table 2 shows the mode settings for JP6 jumpers FACTORY DEFAULT Table 1 Communication Port Setup Dipswitch SW1 1 2 3 4 5 6 7 8 Setting 0 0 0 X X X X X 1200 Baud 1 0 0 X X X X X 2400 Baud 0 1 0 X X X X ...

Page 7: ...rals The pinouts for this 9 pin connector have since become the EIA TIA 574 standard This standard specifies a DTE device that transmits on pin 3 and receives on pin 2 with the DCE having the opposite configuration If an IBM PC compatible DTE device is going to be connected to the 232XS5 master port the master port should be configured as a DCE port If a modem DCE device is going to be connected t...

Page 8: ...t Transmit Data TD 3 Output 2 Output Receive Data RD 2 Input 7 Input Request to Send RTS 7 Output 8 Output Clear to Send CTS 8 Input 4 Input Data Terminal Ready DTR 4 Output 6 Output Data Set Ready DSR 6 Input 1 Output Data Carrier Detect DCD 1 Input 5 Signal Ground SG 5 Master Port DTE Signal A B C D E Ports DCE Pin Direction Description Pin Direction 3 Output Transmit Data TD 3 Input 2 Input Rec...

Page 9: ...n Refer to Table 1 Always power down the smart switch when changing switch settings RS 485 Support RS 485 support may be provided by adding a Model 485SD9TB RS 232 to RS 485 converter or other recommended device to the slave ports of the 232XS5 Port power of about 30 mA may be applied through the DTR line Pin 4 of the slave ports with jumper JP1 JP5 Normally the jumpers are set to allow DTR to pas...

Page 10: ...equivalent decimal values are listed in Appendix A Example To turn on port B you would send the three ASCII characters ESC STX B If you were writing a program in BASIC to control the Smart Switch you would form a string like this SWB CHR 27 CHR 2 B You could then send SWB to select port B Similar strings could be used for turning on the other ports To turn off the ports the string might look like ...

Page 11: ... so that by itself or with the ESC character in front of it it is not a valid command to any of the devices on the port For instance on some printers ESC is the reset command If you tried to use the symbol decimal 64 for the second character you could reset your printer every time the preamble code was sent Note also that if your communication configuration is set for 7 data bits you cannot use th...

Page 12: ... 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 t...

Page 13: ...e 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 a...

Page 14: ...dicates to set up the timer as an inactivity timer When the timer is configured as an inactivity timer the 232XS5 will monitor the data lines TD RD for data If there is no activity for the specified timer value the slave port that is connected to the master port will be disconnected In smart switch mode the inactivity timer can be used to prevent the preamble codes from being received by the slave...

Page 15: ...ype file transfers For example smart switch mode the timer is configured to ignore switching commands for 5 seconds The select Port D command is sent to the 232XS5 Once Port D is connected a file of unknown data type so file may or may not contain a switching command sequence is to be transferred through the 232XS5 For a period of 5 seconds after Port D is connected no switching commands will be a...

Page 16: ...be the ASCII escape character decimal 27 The second character is user programmable by setting dipswitch SW2 SW2 comes from the factory programmed to the ASCII character STX decimal 2 The third character is the Expansion Switch Unit Address character A through D The fourth character should be the ASCII upper case letters A B C D or E decimal 65 66 67 68 or 69 respectively to select those ports To t...

Page 17: ...ipswitch SW2 NU Not Used Port C is used as the expansion port for unit addresses B thru D Command Characters Function 1st 2nd 3rd 4th Comments Select Port A ESC X A A Address A Select Port B ESC X A B Address A Select Port C ESC X A C Address A Select Port D ESC X A D Address A Select Port E ESC X A E Address A Select Port A ESC X B A Address B Select Port B ESC X B B Address B Select Port D ESC X...

Page 18: ... program Method Two Place the disk in drive A Select Programs from the Start Button and click on Windows Explorer Click on the drive containing the SS Setup Disk Double click on the file Setup exe Follow the instructions of the setup program The following file will be located on your hard drive SS EXE The executable file for the Smart Switch FILES LST Contains a list and description of files insta...

Page 19: ...l only detect invalid undefined comports Parameters The Port Address is the address where the serial communications port is located If this is unknown you can use the program PORTFIND EXE which is located on the disk To use PORTFIND EXE If you installed the software on your hard drive see the Installation section Type C and press the ENTER key Type CD SS UTIL and press the ENTER key Type PORTFIND ...

Page 20: ...W1 positions 1 3 on the Smart Switch The Number of Data Bits is the length of each 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 Smart Switch Module which you are using i e PortMUX if you are using a PortMUX The User Defined Character must be set so th...

Page 21: ... 106 6A j 11 B VT ctrl K 43 2B 75 4B K 107 6B k 12 C FF 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 Q 49 31 1 81 51 Q 113 71 q 18 12 DC2 ctrl R 50 32 2 82 52 R 114 72 r 19 13 DC3 ctrl S 51 33 3 83 53 S 115 73 s 20 14 DC4 ctrl T 52 34 4 84 54 T...

Page 22: ... Port configurations Chart 1 IBM PC DB25 Connector to Master Port Pins are tied together inside the 232XS5 they are not connected to ports A B C D or E Chart 2 IBM PC DB9 Connector to Master Port Pins are tied together inside the 232XS5 they are not connected to ports A B C D or E IBM PC Serial Port DB25 Connector Signal Direction 232XS5 Master Port DCE DB9 Connector 2 3 3 2 4 7 5 8 6 6 7 5 8 1 20...

Page 23: ... to ports A B C D or E of the smart switch refer to Charts 8 and 9 Chart 4 IBM PC DB25 Connector to Ports A E DTE Master port configured as a DCE port Pins are tied together inside the 232XS5 they are not connected to the master port Async Modem Serial Port DB25 Connector Signal Direction 232XS5 Master Port DTE DB9 Connector 2 3 3 2 4 6 5 4 7 5 8 8 20 7 IBM PC Serial Port DB25 Connector Signal Dir...

Page 24: ... are not connected to the master port Chart 5 IBM PC DB25 Connector to Ports A E DCE Master port configured as a DTE port IBM PC Serial Port DB25 Connector Signal Direction 232XS5 Ports A E DCE DB9 Connector 2 3 3 2 4 7 5 8 6 6 7 5 8 4 20 4 Pins are tied together inside the 232XS5 they are not connected to the master port IBM PC Serial Port DB9 Connector Signal Direction 232XS5 Ports A E DTE DB9 C...

Page 25: ... to the master port IBM PC Serial Port DB9 Connector Signal Direction 232XS5 Ports A E DCE DB9 Connector 1 4 2 2 3 3 4 4 5 5 6 6 7 7 8 8 Chart 8 IBM PC DB25 Connector to Ports A E DCE Master port configured as a DTE port with a modem connected see Chart 3 IBM PC Serial Port DB25 Connector Signal Direction 232XS5 Ports A E DCE DB9 Connector 2 3 3 2 4 6 5 4 6 4 7 5 8 8 20 7 Pins are tied together in...

Page 26: ...rt 9 IBM PC DB9 Connector to Ports A E DCE Master port configured 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 inside the 232XS5 they are not connected to the master port ...

Reviews: