background image

Documentation Number 232BSS4-0812m 

 

11 

 

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

www.bb-elec.com

 

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

www.bb-europe.com

 

 

Table 2.2: Send Only and Clear Buffer Control Characters 

Ports to Transmit or 

Clear Receive Buffer

 

Binary Value 

(x = Don’t Care)

 

Decimal 

Value

 

ASCII 

Character

 

None

 

xxxx0000

 

0 or 64

 

“@”

 

A Only

 

xxxx0001

 

1 or 65

 

“A”

 

B Only

 

xxxx0010

 

2 or 66

 

“B”

 

A & B

 

xxxx0011

 

3 or 67

 

“C”

 

C Only

 

xxxx0100

 

4 or 68

 

“D”

 

A & C

 

xxxx0101

 

5 or 69

 

“E”

 

B & C

 

xxxx0110

 

6 or 70

 

“F”

 

A, B, & C

 

xxxx0111

 

7 or 71

 

“G”

 

D Only

 

xxxx1000

 

8 or 72

 

“H”

 

A & D

 

xxxx1001

 

9 or 73

 

“I”

 

B & D

 

xxxx1010

 

10 or 74

 

“J”

 

A, B, & D

 

xxxx1011

 

11 or 75

 

“K”

 

C & D

 

xxxx1100

 

12 or 76

 

“L”

 

A, C, & D

 

xxxx1101

 

13 or 77

 

“M”

 

B, C, & D

 

xxxx1110

 

14 or 78

 

“N”

 

A, B, C, & D

 

xxxx1111

 

15 or 79

 

“O” 

 

Note:

 The 232BSS4 ignores the upper 4 bits of the control byte. If the 

Master device is incapable of sending characters outside the printable 
ASCII range, decimal 64 can be added to each of the control bytes and the 
switch will operate properly. 
 
Ignore Commands – “T” + one control byte specifying the length of time to 
ignore commands.  
 

 

The Ignore Commands command tells the 232BSS4 to ignore all 

commands from the Master device for a specific amount of time. This 
command is useful if the data coming from the Master device may 
contain switching commands. By switching to a port, then sending the 
Ignore Commands command, all data received on the Master port of the 
232BSS4 will be passed directly to the selected Slave port without 
checking for a command sequence until the programmed time has 
elapsed. The control byte at the end of the command tells the 232BSS4 
how long to ignore commands from the Master device. This byte is 
ASCII “0” – “9” (48 – 57 Decimal). Timer values for each Control byte 
are given in Table 2.3. 

Summary of Contents for 232BSS4

Page 1: ...wa Illinois USA of domestic and imported parts by 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Phone 815 433 5100 General Fax 815 433 5105 Website www b...

Page 2: ...alway Ireland Ph 353 91 792444 Fax 353 91 792445 www bb europe com This document contains information that is proprietary and confidential to B B Electronics Mfg Co Inc The methods described herein ar...

Page 3: ...R 16 BACK TO BACK OPERATION MUX DEMUX 17 CASCADING MULTIPLE SWITCHES 18 CHAPTER 3 PORT CONNECTIONS 21 DTE DCE EXPLANATION 21 CHAPTER 4 SETUP SOFTWARE 23 INTRODUCTION 23 CONNECTION 23 SOFTWARE INSTALLA...

Page 4: ...B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444...

Page 5: ...lso broadcast the same message to two or more Slave ports at once The 232BSS4 can be configured to send data automatically to the Master port from each of the Slave ports when data is present with an...

Page 6: ...ely Operating Temperature 0 to 70 C Data Connectors Master DB25 female DCE Slaves DB9 male x 4 DTE Dimensions 7 5 x 4 6 x 1 2 in 19 0 x 11 7 x 3 0 cm Setup Software PC compatible Windows 95 98 NT 2000...

Page 7: ...Ph 353 91 792444 Fax 353 91 792445 www bb europe com Checklist Examine the shipping carton and contents for physical damage If damage is found file a claim with the shipper immediately The following e...

Page 8: ...B B Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 www bb elec com B B Electronics Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444...

Page 9: ...iption of a non printable character The abbreviation dec will denote a decimal value The lower case letter h will be used to show a Hex value Items in italics are optional items only used in certain c...

Page 10: ...Master and Slaves are set up differently the port set for Seven data bits cannot transmit the eighth bit Parity Each port can be configured for Even Odd or No parity Because the Master port uses a sli...

Page 11: ...ers are buffered until the full command sequence is received If the 232BSS4 recognizes the data stream as a command sequence the sequence is not passed through the switch Options Initial Connections U...

Page 12: ...mand Select Port D Tx Rx D None Switching Command Deselect All Ports EOT None Switching Command Tx Only to Specific Ports S Dec 0 to 15 Use to Broadcast Clear Buffer on Specific Ports X Dec 0 to 15 Cl...

Page 13: ...B send Char1 Char2 Char3 B VB Example SwitchB CHR 27 CHR 2 B Turn Off all selected ports ASCII EOT character decimal 4 The Turn Off command deselects all ports No ports will transmit or receive to fr...

Page 14: ...ceive buffers to purge If the Master device is only interested in the most recent data from the Slaves this command can be used to delete old data from one or more of the Slave port buffers before it...

Page 15: ...11 15 or 79 O Note The 232BSS4 ignores the upper 4 bits of the control byte If the Master device is incapable of sending characters outside the printable ASCII range decimal 64 can be added to each of...

Page 16: ...ves Because the user doesn t know if a command sequence is imbedded in the raw data the switch must be set to ignore commands Note that these procedures are not needed if the binary file will be trans...

Page 17: ...Ignore Commands Using DTR The second method of ignoring command sequences is to set the 232BSS4 to ignore commands if DTR is low from the Master device This option is enabled through the setup softwa...

Page 18: ...e previous section Smart Switch Only Mode Options Initial Connections Upon power up the 232BSS4 can be initialized to allow the Master to send data to any of the Slave ports without any commands sent...

Page 19: ...tup software Times are set in milliseconds and can be anywhere in the range of 0 to 65 000 65 seconds A value of zero for the Inactivity Time would give the transmitting Slave port access to the Maste...

Page 20: ...to the same host Terminal HMI CPU Controller Terminal HMI Terminal HMI Terminal HMI Port A Port B Port C Port D MASTER PORT 232BSS4 12 VDC POWER B B elect ronics MANUFACTURING COMPANY www bb elec com...

Page 21: ...er through the configuration and automatically sets the Slave port preambles When two 232BSS4s are connected for Back to Back operation the Slave ports would typically be set up for a slower baud rate...

Page 22: ...PC Card Readers 12 6 3 9 1 2 11 10 5 4 7 8 Time Clocks Level 2 78 6 78 6 78 6 78 6 78 6 78 6 78 6 78 6 12 6 3 9 1 2 11 10 5 4 7 8 12 6 3 9 1 2 11 10 5 4 7 8 12 6 3 9 1 2 11 10 5 4 7 8 Port A Port B Po...

Page 23: ...Slave Devices that Automatically Send their Data For best results in an automatic system the 232BSS4s in the system should be set up the following way Set the switches to turn on the Auto Select featu...

Page 24: ...Set the switch on Level 1 for 0 Port Time Set the switch on Level 1 for a short Inactivity Time Somewhere around 5 milliseconds or so Set the switches on Level 2 for no Auto Select Set the command se...

Page 25: ...ice will receive data in on pin 2 on a DB 25 IBM PCs and serial printers are DTE devices modems are DCE devices Originally the RS 232 standard specified only a 25 pin D sub connector Since then the us...

Page 26: ...modem the Master port of another 232BSS4 or other device configured as a DCE a null modem adapter such as B B s model 232DTE is needed If the user chooses to use the DTR signal to tell the 232BSS4 wh...

Page 27: ...A serial COM port of the computer should be connected to the Master port of the 232BSS4 If the computer s serial port is a 25 pin D sub a straight through connection cable is required If the computer...

Page 28: ...is assigned to drive D If your drive is assigned another drive name replace that name for D in the instructions To install on your hard drive follow these steps Place the 232BSS4 setup CDROM in drive...

Page 29: ...the software reads the current configuration of the connected switch and displays the Main Screen Single Unit Main Screen All configuration of the 232BSS4 can be initiated from the Main Screen The ov...

Page 30: ...Master communications is handled through automatic switching and cannot be initialized Master Port Configuration This button displays the parameters for the Master Port including Data Rate the number...

Page 31: ...he configuration of both switches can be saved to disk loaded from a disk or printed This provides an easy method of configuring multiple switches with the same setup Operation Setup Back to Back unit...

Page 32: ...nit View Module Configuration Each unit s configuration can be reviewed on one screen by selecting the appropriate tab and clicking the View Module Configuration button Any changes from what was read...

Page 33: ...er to the 232BSS4 Step 5 Click Next Step 6 Select Save As from the File menu Save the configuration to disk Step 7 Disconnect the first 232BSS4 from the COM port Step 8 Connect the destination switch...

Page 34: ...32BSS4 0812 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...

Page 35: ...H 104 68 h 9 9 HT ctrl I 41 29 73 49 I 105 69 i 10 A LF ctrl J 42 2A 74 4A J 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...

Page 36: ...umber 232BSS4 0812Manual 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 3...

Page 37: ...pins are needed for hardware RTS CTS handshaking or if DTR is to be used to signal the Master port to accept commands See Appendix C for a block diagram of the 232BSS4 Master Port Connections Chart B...

Page 38: ...o 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 2 3 RD 3 2 TD 4...

Page 39: ...353 91 792445 Chart B 3 DCE Modem DB25 Connector to Master Port DCE Modem Serial Port DB25 Connector Signal Direction 232BSS4 Master Port DCE DB25 Connector 2 3 RD 3 2 TD 4 5 CTS 5 4 RTS 6 20 DTR 7 7...

Page 40: ...ector 232BSS4 Ports A D DTE DB9 Connector Signal Direction DTE PC Serial Port DB25 Connector 1 DCD 8 2 RD 2 3 TD 3 4 DTR 6 5 GND 7 6 DSR 20 7 RTS 5 8 CTS 4 Pins 1 4 6 looped back internally on the 232...

Page 41: ...nmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 1 DCD 8 2 RD 3 3 TD 2 4 DTR 20 5 GND 7 6 DSR 6 7 RTS 4 8 CTS 5 Pins 1 4 6 looped back internally on the 232BSS4 Chart B 8 Ports A D DTE to DCE M...

Page 42: ...tion Number 232BSS4 0812 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 Irela...

Page 43: ...Galway Ireland Ph 353 91 792444 Fax 353 91 792445 Appendix C Block Diagram 232BSS4 Block Diagram PORT A PORT B PORT C PORT D Microcontroller UART UART UART UART 3 2 7 8 6 1 4 5 TD RD RTS CTS DSR DCD D...

Page 44: ...mber 232BSS4 0812 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 3...

Page 45: ...urope com Appendix D Declaration of Conformity DECLARATION OF CONFORMITY Manufacturer s Name B B Electronics Manufacturing Company Manufacturer s Address P O Box 1040 707 Dayton Road Ottawa IL 61350 U...

Reviews: