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

 

Operation

 

 

The host computer of the RS-485 network controls each 

485DSS on the network by sending them command messages.  
These commands can turn a 485DSS on or off, and can also request 
status from an individual or from all of the 485DSS's on the network.  
The communication setup used to send and receive these 
commands are: 9600 baud, 8 data bits, no parity, and 1 stop bit.  
Each command consists of four characters: a start of message 
character, two address characters, and the command character.  All 
485DSS's on the network will receive the command message strings 
sent by the Host, but only the 485DSS with the matching address will 
execute the command.  Execution of the 

ON

 command raises the 

R

equest 

T

S

end (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 and receive data to the 
HOST. Executing the 

OFF

 command lowers the RTS line, 

disconnecting the RS-232 port from the network.  The RS-232 port of 
the 485DSS is 

OFF

 (not selected) at power up.  The 485DSS does 

not buffer or delay any data passing through the unit. 

ALL

 data that 

is sent from the RS-485 device will be passed through to the RS-232 
side while the unit is selected including the next set of command 
characters. 

 

The Host can poll any or all 485DSS's on the network using the 

request status command.  This allows the Host to determine if any 
485DSS is requesting access to the network by monitoring the 
handshake status character returned by the 485DSS.  The status 
character reflects the state of the input handshake signal 

C

lear 

T

S

end (CTS) on the RS-232 connector pin 5.  With this feature the 

Host has the ability to prioritize each 485DSS on the network.  Refer 
to Figure 2. 

Содержание 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...

Отзывы: