background image

10 

 

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

 

The Command String 

 

All Command Strings consist of four ASCII characters.  The first 

character is the start of message character, "

X-off

" (decimal 19).  

The second and third characters represent the hexadecimal address 
of an individual 485DSS.  The address range is from 0 to 255 (HEX 
"00" to "FF").  Some commands require the use of the broadcast 
character 

"DC2"

 (decimal 18) as the second and third characters in 

the command.  The fourth character is 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 the 485DSS to 
access the RS-485 network.  The address field in the command 
string specifies which 485DSS is to turn on.  All other 485DSS's on 
the network will turn off if the address field does not match their 
address setting. 

Command character: 

SOH

  (decimal 1) 

Example 1:  To turn on the 485DSS set to address 15 decimal (0F 

hex).  

 

 

       

HOST transmits:    Xoff   “0”   “F”   SOH 

 

 

 

 

 

          ( 19     48    70     1 decimal) 

 

 

 

 

           ( 13     30    46     1 hex) 

 

 

Example 2:  To turn on the 485DSS set to address 33 decimal (21 

hex). 

 

 

       

HOST transmits:    Xoff   “2”   “1”   SOH 

 

 

 

 

 

          ( 19     50    49     1 decimal) 

                                                 ( 13     32    31     1 hex) 

Command Syntax:   X-off   ____   ____  ____ 

 

 

 

        |       | 

   | 

|  

 

 

 

        |       | 

   | 

Command character. 

 

 

 

        |       |         Least signf. address character. 

 

 

 

        |       Most signf. address character. 

 

 

 

       Start of message character.  

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

Отзывы: