Resumo do conteúdo contido na página número 1
Five Port Expandable Smart Switch
Model 232XS5
Document ation Number 232XS5-1005
pn#4087-r2
This product designed and manufactured in Ottawa, Illinois USA
of domestic and imported parts by
International 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
www.bb-elec.com
Orders e-mail: orders@bb-elec.com -
Resumo do conteúdo contido na página número 2
TABLE OF CONTENTS Chapter 1: INTRODUCTION ..................................................1 Checklist....................................................................................2 Specifications ............................................................................2 Chapter 2: SETUP...................................................................3 Port Configuration .....................................................................4 Serial Data Configurati
Resumo do conteúdo contido na página número 3
There are five LED's on the 232XS5 to indicate which port is Chapter 1: INTRODUCTION connected to the master port. The master port has a DB-9S female connector and the slave ports have DB-9P male connectors. The 232XS5 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 shippin
Resumo do conteúdo contido na página número 4
Table 2. Mode Setup Chapter 2: SETUP Jumper JP6 The 232XS5 is set up using an eight-position dipswitch and a A B C Setting three-position set of jumpers. This dipswitch is used to set the ON X X Enhanced Disabled * communication format, port configuration and expansion switch OFF X X Enhanced Enabled address. The jumpers are used to set the smart switch/port X ON X Smart Switch * combiner mode, to enable/disable the enhanced features and to X OFF ON Expansion
Resumo do conteúdo contido na página número 5
Table 3. DCE MASTER PORT CHART Master Port A,B,C,D & E Ports Serial Data Configuration (DCE) Signal (DTE) In order for the host device that is connected to the master port Pin# Direction Description Pin# Direction to select any of the five ports, the Smart Switch must be set to 3 Input Transmit Data (TD) 3 Output match the host's communication format. Dipswitch “SW1” is used to 2 Output Receive Data (RD) 2 Input select the communication format of the Smart Switch. Switch 7
Resumo do conteúdo contido na página número 6
Chapter 3: Smart Switch Operation Programming the Second Character Smart Switch mode is selected when jumper “JP6-B” is ON The second character comes programmed as the ASCII STX (installed). In Smart Switch mode, the 232XS5 is constantly looking character (decimal 2). You can change this to any 8-bit character for the three character preamble code by monitoring the data that is you wish by reprogramming dipswitch “SW2”. “SW2” is an eight- being received on the master port from
Resumo do conteúdo contido na página número 7
Smart Switch/Port Combiner Mode NOTE: When a port is selected via the Master Port, the RTS Handshake line of any slave Preamble code controls access to slave lines will be ignored until the Master Port sends the turn off code. ports if slave handshake line is not asserted port controls access to master por Slave Slave Port Port 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
Resumo do conteúdo contido na página número 8
SetTV$ = CHR$(27) + CHR$(2) +”T” + “6” connected to the master port (following the first-come-first-served rule). Port C will then be placed at the “end of the line”. The “T” tells the 232XS5 it is the set timer value command and the If the data byte of the Set Timer Mode command is an ASCII “6” indicates which timer value to use. “1”, the timer will be setup to ignore switching commands. Sending the following string to the 232XS5 will set up the timer to ignore Table 7 - Timer Va
Resumo do conteúdo contido na página número 9
You could then send SWB$ to select port B of Expansion switch Expansion Mode unit address “C”. Similar strings could be used for turning on the Expansion Expansion Expansion other ports. To turn off the ports the string might look like this: Port Port Port Slave Slave Slave Slave Slave Slave Slave Slave Port Port Port Port Port Port Port Port TOFF$ = CHR$(27) + CHR$(2) + CHR$(4) E D E D D ED E When you are done with a port you can either select a new one Master Slave Address D C
Resumo do conteúdo contido na página número 10
Chapter 4: SOFTWARE Introduction Should the user wish to change the Module choice to another there is a Module menu choice with the three support Module types (PortMUX, The Smart Switch software allows the user to change Smart Switch ports 232XSS, and 232XS5). After changing the Module the user will be prompted on three different modules (232XSS, 232XS5, PortMUX). The Smart Switch to restart the Smart Switch software to reset the connection. software is designed as diagnostic s
Resumo do conteúdo contido na página número 11
Port Address COM 1 03F8h COM 2 02F8h COM 3 03E8h COM 4 02E8h The Baud Rate is the speed at which communication takes place between the PC and the Smart Switch. It must be specified so that it is equal to SW1 – 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 th
Resumo do conteúdo contido na página número 12
Appendix A: ASCII Character Codes DECIMAL to HEX to ASCII CONVERSION TABLE DEC HEX ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII 0 0 NUL ctrl @ 32 20 SP 64 40 @ 96 60 ` 1 1 SOH ctrl A 33 21 ! 65 41 A 97 61 a 2 2 STX ctrl B 34 22 “ 66 42 B 98 62 b 3 3 ETX ctrl C 35 23 # 67 43 C 99 63 c 4 4 EOT ctrl D 36 24 $ 68 44 D 100 64 d 5 5 ENQ ctrl E 37 25 % 69 45 E 101 65 e 6 6 ACK ctrl F 38 26 & 70 46 F 102 66 f 7 7 BEL ctrl G 39 27 ' 71 47 G 103 67 g 8 8 BS ctrl H 40 28 ( 72 48 H 104 6
Resumo do conteúdo contido na página número 13
Chart 3. Modem DB25 Connector to Master Port Appendix B: Cable Charts Async Modem 232XS5 All charts will indicate if the Master Port of the 232XS5 should Serial Port Signal Master Port (DTE) be configured as a DCE port or a DTE port. Refer to the Port DB25 Connector Direction DB9 Connector Configuration section of the manual for information on Master Port 2 <----------- 3 configurations. 3 -----------> 2 4 <----------- 6 Chart 1. IBM PC DB25 Connector to Master Port 5
Resumo do conteúdo contido na página número 14
Chart 5. IBM PC DB25 Connector to Ports A - E (DCE) Chart 7. IBM PC DB9 Connector to Ports A - E (DCE) Master port configured as a DTE port. Master port configured as a DTE port. IBM PC 232XS5 IBM PC 232XS5 Serial Port Signal Ports A - E (DCE) Serial Port DB25 Connector Direction DB9 Connector Signal Ports A - E (DCE) DB9 Connector Direction DB9 Connector 2 -----------> 3 1 <----------- 4* 3 <----------- 2 2 <----------- 2 4 -----------> 7 3 -----------> 3 5 <----------
Resumo do conteúdo contido na página número 15
Chart 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 232XS5 Serial Port Signal Ports A - E (DCE) DB9 Connector Direction 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. 232XS5-1005 Manual Appendix B