background image

485DSS-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  – Westlink Commercial  Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

 

RS-232 Port 

  

The RS-232 DTE port is an asynchronous port that supports TD 

and RD signals.  In order to make the proper connections to the RS-
232 port. It is necessary to have a basic understanding of the terms 
DCE and DTE.  The original design for connecting RS-232 devices 
together uses DB25 connectors, and connects a DTE (

D

ata 

T

erminal 

E

quipment) device to a DCE (

D

ata 

C

ommunication 

E

quipment) 

device.  Each device will have inputs on pins that correspond to 
outputs on the same pins of the other device.  For example, a DTE 
device transmits data out on pin 2 and a DCE device receives data in 
on pin 2.  IBM PC's are DTE devices and modems are DCE devices.  
Only TD and RD of the RS-232 port pass through to the RS-485 port 
when the 485DSS is ON.  The 485DSS raises and lowers the RTS 
output signal on the RS-232 port to reflect the connect state of the 
port.  This signal can notify the RS-232 device to start 
communicating to the Host or it can be an alarm output.  The Host 
can monitor the CTS input line to determine if the RS-232 device is 
requesting access to the network.  This input line could also be an 
alarm input.  

NOTE:

  If using RTS or CTS lines as alarms the user 

may have to design additional circuitry to properly interface to the 
alarm circuits.  Refer to cable charts in Appendix C for making your 
own cables. 

Table 1.  RS-422/485 Port 

Terminal 
Block 
Signal 

 
 
Description 

RS-422/485 
Signal 
Direction of 
Port 

FR GND

 

Frame Ground 

<------> 

TD(A)(-)

 

Transmit Data (A)(-) 

Output 

 TD(B)(+)  Transmit Data (B)(+)  Output 

 RD(A)(-)  Receive Data (A)(-) 

Input 

 RD(B)(+)  Receive Data (B)(+) 

Input 

 GND 

Signal Ground 

<------> 

+12VDC  Power Supply 

Input 

Содержание 485DSS

Страница 1: ...91 792444 Fax 353 91 792445 Distributed Smart Switch Model 485DSS Documentation Number 485DSS 0812 This product Designed and Manufactured In Ottawa Illinois USA of domestic and imported parts by B B...

Страница 2: ......

Страница 3: ...RS 232 DTE DB25P Connector Chart 4 RS 422 485 Wiring 4 2 Wire Mode 4 Table 3 Component Values For Send Data Timing 5 Figure 3 RS 485 Wiring Diagram 6 4 Wire Mode 6 Figure 4 RS 422 Wiring Diagram 7 RS...

Страница 4: ...4 Fax 353 91 792445 CHART 1 IBM PC DB25 CONNECTOR TO C 1 485DSS RS 232 DTE PORT C 1 CHART 3 RS 232 DCE DEVICE W DB25 CONNECTOR TO C 1 485DSS RS 232 DTE PORT C 1 CHART 2 IBM PC DB9 CONNECTOR TO C 1 485...

Страница 5: ...nects one RS 232 device to an RS 485 multi node network as shown in Figure 1 To accomplish this the 485DSS converts RS 232 to an addressable RS 485 node A unique address from 0 to 255 is user assigned...

Страница 6: ...and a RS 232 port The RS 485 422 signals are on terminal blocks Table 1 shows you the pinouts and Figure 2 shows you the location of the terminal blocks The RS 232 signal in the DTE configuration conn...

Страница 7: ...es data in on pin 2 IBM PC s are DTE devices and modems are DCE devices Only TD and RD of the RS 232 port pass through to the RS 485 port when the 485DSS is ON The 485DSS raises and lowers the RTS out...

Страница 8: ...s data lines with an A and B designator Some RS 485 equipment uses a and designator In almost all cases the A line is the equivalent of the line and the B line is the equivalent of the line See Figure...

Страница 9: ...factory selected for 9600 baud allowing the send data control to operate at 9600 baud or higher These two components disable the RS 485 driver approximately 1 millisecond after transmitting the last...

Страница 10: ...ure 3 RS 485 Wiring Diagram 4 Wire Mode To configure the 485DSS for RS 485 or 422 four wire mode place the jumper in the 4W position Refer to Figure 4 for connecting information and Figure 2 for the j...

Страница 11: ...ermination place the jumper in the IN position Refer to Figure 2 for the location of this jumper If there is no need for termination place the jumper in the OUT position For more discussion of termina...

Страница 12: ...cution of the ON command raises the Request To Send RTS output line on pin 4 of the DB25 connector and connects the RS 232 port to the RS 485 network Once ON selected the RS 232 device can transmit an...

Страница 13: ...ignals of the 485DSS connect to a DB25 male connector An eight position switch located in the top center of the 485DSS sets the 485DSS s unique address Communication Configuration Before the HOST can...

Страница 14: ...the command character ON Command This command turns on an individual 485DSS and asserts the RTS output handshake line on pin 4 of the DB25 connector This command allows the RS 232 device connected to...

Страница 15: ...address characters are printable keeps the RS 232 device from outputting any printable characters NOTE This command permits only the use of the broadcast characters in the address field Command charac...

Страница 16: ...on not selected to the network and a 1 decimal 49 indicates the RS 232 port has a connection selected to the network The fifth character indicates the state of the CTS handshake input line on pin 5 of...

Страница 17: ...to the network on unit 11 and the CTS handshake line is in the high state Example 2 Request status from all the 485DSS s on the network HOST transmits Xoff DC2 DC2 ACK 19 18 18 6 decimal 13 12 12 6 h...

Страница 18: ...tatus from all the 485DSS s on the network you might form a string like this DSSALLRS CHR 19 CHR 18 CHR 18 CHR 6 You could then send DSSALLRS to request status from all the 485DSS s on the network Set...

Страница 19: ...address to 123 decimal 7B hex turn on switches 1 2 4 5 6 and 7 1 2 8 16 32 64 123 NOTE It is important that the address you select is not already being used on the network Binary File Transfer When t...

Страница 20: ...ands to the 485DSS The DSS_DEMO EXE is a DOS executable program written in QuickBasic that will send turn on turn off and status request commands to the 485DSS The program also monitors reply messages...

Страница 21: ...Electronics Mfg Co Inc 707 Dayton Rd PO Box 1040 Ottawa IL 61350 Ph 815 433 5100 Fax 815 433 5104 B B Electronics Westlink Commercial Park Oranmore Galway Ireland Ph 353 91 792444 Fax 353 91 792445 A...

Страница 22: ......

Страница 23: ...cimal symbol having a value from 0 to 9 The hexadecimal base 16 numbering system represents each position in successive powers of 16 with each hex symbol having a value of 0 to 15 Since each hex posit...

Страница 24: ...value of the hexadecimal symbol Example Convert 10FC hexadecimal to decimal Decimal 1st Hex digit x 4096 2nd Hex digit x 256 3rd Hex digit x 16 4th Hex digit 10FC hex equals 4348 decimal 4348 decimal...

Страница 25: ...rt Configuration section of this manual for more information Chart 1 IBM PC DB25 Connector to 485DSS RS 232 DTE Port IBM PC Serial Port DB25 Connector Signal Direction 485DSS RS 232 DTE Port DB25 Conn...

Страница 26: ...DTE Port RS 232 DCE Serial Port DB9 Connector Signal Direction 485DSS RS 232 DTE Port DB25 Connector 2 3 3 2 5 7 7 4 8 5 Chart 5 RS 422 485 4 Wire Device to 485DSS RS 422 485 Port RS 422 485 4 Wire D...

Отзывы: