background image

Documentation Number 232BSS4-2916m 

 

19 

 

 

Figure 2.3 shows a typical setup, with 16 devices sending 

information at random times to the PC. The switches at Level 2 receive the 
data and send it on to the Level 1 switch. The Level 1 switch buffers the 
data and sends it to the PC. Each of the switches will automatically send the 
data when it is available. If another port has access to the PC, the data will 
be buffered until a path is available. 
 
 
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 feature. 

 

Set the Port Timer to 0 

 

Set the Inactivity Timer on all of the switches to somewhere 
between 20 and 500 milliseconds, depending on the space 
between data packets and the response time required to 
each connected device. 

 

If you need your software to identify which port sent the data, 
set up the port preamble on the Level 2 switches. Set each 
port to have a unique preamble. The preamble can be 1, 2, 3, 
or 4 characters long, and any characters can be used. The 
preamble will be added to the beginning of each new data 
packet arriving at the PC. The data collection software on the 
PC should be written to recognize this preamble as an 
address or identifier of the data source. 

Содержание B+B SmartWorx 232BSS4

Страница 1: ...040 Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Phone 815 433 5100 General Fax 815 433 5105 Website www advantech bb com Sales e mail orders advantech bb com Fax 815 433 5109 Techn...

Страница 2: ...y and confidential to Advantech B B SmartWorx The methods described herein are for the exclusive use of Advantech B B SmartWorx authorized personnel Any unauthorized use or dissemination of the inform...

Страница 3: ...21 DTE DCE EXPLANATION 21 CHAPTER 4 SETUP SOFTWARE 23 INTRODUCTION 23 CONNECTION 23 SOFTWARE INSTALLATION 24 SOFTWARE UNINSTALL 24 SETUP TUTORIAL 25 APPENDIX A ASCII CHARACTER CODES 1 APPENDIX B CABL...

Страница 4: ...ii Documentation Number 232BSS4 2916m...

Страница 5: ...cally to the Master port from each of the Slave ports when data is present with an optional preamble identifying the port It can also provide two way communications between the Master port and one Sla...

Страница 6: ...6 x 1 2 in 19 0 x 11 7 x 3 0 cm Setup Software PC compatible Windows 95 98 NT 2000 XP Vista Supplied Accessories CDROM with Setup Program Instruction Manual Default Parameters When shipped the 232BSS4...

Страница 7: ...damage If damage is found file a claim with the shipper immediately The following equipment should be in the shipping carton 1 RS 232 Buffered Smart Switch model 232BSS4 2 Instruction Manual 3 2 3 5 f...

Страница 8: ...4 Documentation Number 232BSS4 2916m...

Страница 9: ...used to show a Hex value Items in italics are optional items only used in certain configurations The instances when these items are required will be explained in the text LED Indicators The 232BSS4 ha...

Страница 10: ...ort can be configured for Even Odd or No parity Because the Master port uses a slightly different UART it is not capable of receiving only seven bits thus seven data bits with no parity is not allowed...

Страница 11: ...equence the sequence is not passed through the switch Options Initial Connections Upon power up the 232BSS4 can be initialized to allow the Master access to any of the Slave ports without any commands...

Страница 12: ...rts S Dec 0 to 15 Use to Broadcast Clear Buffer on Specific Ports X Dec 0 to 15 Clear the Receive Buffer Ignore Commands T 0 to 9 Sets Timer Value Values in quotes are ASCII characters Dec is an abbre...

Страница 13: ...4 The Turn Off command deselects all ports No ports will transmit or receive to from the Master port until another command is received by the Master port The full command sequence to disable all port...

Страница 14: ...n be used to delete old data from one or more of the Slave port buffers before it is sent to the Master The lowest four bits of the control byte tell the 232BSS4 which ports buffers to purge Bit 0 rep...

Страница 15: ...ing 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 t...

Страница 16: ...are not needed if the binary file will be transferred from the Slave devices to the Master device No switching commands are used in the 232BSS4 with data from this direction so no inadvertent switchin...

Страница 17: ...This option is enabled through the setup software This method is useful if the length of the binary file transfers are not known The user would first raise DTR on the Master device then send the comm...

Страница 18: ...allow the Master to send data to any of the Slave ports without any commands sent The Master can also be set to broadcast to any or all of the Slave ports on power up This allows the switch to be used...

Страница 19: ...for the Inactivity Time would give the transmitting Slave port access to the Master until a Port Timeout was reached or until a specific Turn Off command was sent from the Master device Port and Inac...

Страница 20: ...R PORT 232BSS4 12 VDC POWER B B electronics MANUFACTURING COMPANY www bb elec com Ottawa IL 61350 USA Figure 2 1 Multiple Terminals to a Host Controller To configure the 232BSS4 as a four port splitte...

Страница 21: ...ation the Slave ports would typically be set up for a slower baud rate than the Master ports If the Master ports will not be running at a baud rate at least four times the speed of the Slaves or if th...

Страница 22: ...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 Port C Port D MASTER PORT 232BSS4 12 VDC POWER B B electronics MANUFACTURING COMPANY www...

Страница 23: ...hould be set up the following way Set the switches to turn on the Auto Select feature Set the Port Timer to 0 Set the Inactivity Timer on all of the switches to somewhere between 20 and 500 millisecon...

Страница 24: ...lliseconds or so Set the switches on Level 2 for no Auto Select Set the command sequences on the Level 2 switches to be unique from each other One suggestion is to use a 3 character command Use the fi...

Страница 25: ...nally the RS 232 standard specified only a 25 pin D sub connector Since then the use of a 9 pin D Sub supporting only a portion of the original RS 232 signals has been used extensively starting with t...

Страница 26: ...232DTE is needed If the user chooses to use the DTR signal to tell the 232BSS4 when to accept commands the DTR output from the Master device should be connected to pin 20 See Appendix B for a complet...

Страница 27: ...s serial port is a 25 pin D sub a straight through connection cable is required If the computer s serial port is a 9 pin D sub the cable should be an XT to AT adapter cable such as B B s model 232CAM...

Страница 28: ...tructions To install on your hard drive follow these steps Place the 232BSS4 setup CDROM in drive D Select RUN from the Windows START menu Type D SETUP and click OKAY Follow the instructions in the In...

Страница 29: ...le Unit Main Screen All configuration of the 232BSS4 can be initiated from the Main Screen The overall operation of the switch and each port s parameters can be individually selected and modified NOTE...

Страница 30: ...figuration This button displays the parameters for the Master Port including Data Rate the number of Data Bits Parity and if the port requires handshaking Slave Ports A D Configuration This button dis...

Страница 31: ...asy method of configuring multiple switches with the same setup Operation Setup Back to Back units are predefined for Auto Switch mode and a three character command The command characters can be set t...

Страница 32: ...appropriate tab and clicking the View Module Configuration button Any changes from what was read from the switch will be shown in red The page can then be printed to the default Windows printer for re...

Страница 33: ...disk Step 7 Disconnect the first 232BSS4 from the COM port Step 8 Connect the destination switch to the serial COM port of the PC Install the setup jumper Apply power to the 232BSS4 Step 9 Select File...

Страница 34: ...30 Documentation Number 232BSS4 0812 Manual...

Страница 35: ...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...

Страница 36: ...A 2 Appendix A Documentation Number 232BSS4 0812Manual 5...

Страница 37: ...ept commands See Appendix C for a block diagram of the 232BSS4 Master Port Connections Chart B 1 DTE PC DB25 Connector to Master Port DTE PC Serial Port DB25 Connector Signal Direction 232BSS4 Master...

Страница 38: ...B 2 Appendix B Cable Charts Documentation Number 232BSS4 2916 Manual 3 2 TD 4 20 DTR 5 7 GND 6 6 DSR 7 4 RTS 8 5 CTS Pins 6 8 20 looped back internally on the 232BSS4...

Страница 39: ...ignal Direction 232BSS4 Master Port DCE DB25 Connector 2 3 RD 3 2 TD 4 5 CTS 5 4 RTS 6 20 DTR 7 7 GND 20 6 DSR Pins 6 8 20 looped back internally on the 232BSS4 Chart B 4 DCE Modem DB9 Connector to Ma...

Страница 40: ...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 232BSS4 Chart B 6 Ports A D DTE to DTE PC DB9 Connector 232BSS4 Ports A D DTE DB9 Connector Signal Direction D...

Страница 41: ...S 4 8 CTS 5 Pins 1 4 6 looped back internally on the 232BSS4 Chart B 8 Ports A D DTE to DCE Modem DB9 Connector 232BSS4 Ports A D DTE DB9 Connector Signal Direction DCE Modem Serial Port DB9 Connector...

Страница 42: ...B 6 Appendix B Cable Charts Documentation Number 232BSS4 2916 Manual...

Страница 43: ...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 DTR GND 3 2 7 8 6 1 4 5 TD RD RTS CTS DSR DCD DTR GND 3 2 7 8 6 1 4 5 TD RD RTS CTS DSR DCD DTR GND 3 2...

Страница 44: ...C 2 Appendix C Documentation Number 232BSS4 0812 Manual...

Страница 45: ...Manual Documentation Number XXXxxx 0812 B 1...

Отзывы: