B&B Electronics manual Setting the 485DSS Address, Address Switch, DIP Switch

Page 18

Unit 17 decimal (11 hex) waited 360 milliseconds and then sent a reply indicating no connection of the RS-232 port to the network and the CTS handshake line is in the high state.

If you were writing a program in BASIC to request status from address 5 decimal, you might form a string like this:

DSS05RS$ = CHR$(19) + "0" + "5" + CHR$(6)

You could then send DSS05RS$ to request status from 485DSS address 5. Use similar strings for requesting status from other individual 485DSS's.

If you were writing a program in BASIC to request status 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.

Setting the 485DSS Address

Assign each 485DSS on the RS-485 network its own unique address. To set the address use the eight position DIP switch on the 485DSS labeled “SW1”. Refer to Figure 2 for the location of the switch. To access this switch, you will need to remove the top cover of the 485DSS. Insert a small screwdriver in the slot in the side of the cover and twist to remove it. Each switch position is equal to a specific weight value. Set the 485DSS to any decimal address from 0 to 255. To assign the new address to the 485DSS, cycle the power on the unit.

Table 4. Address Switch

 

DECIMAL

HEX

DIP Switch 1

WEIGHT

WEIGHT

1

1

1

2

2

2

3

4

4

4

8

8

5

16

10

6

32

20

7

64

40

8

128

80

OFF = Weight False

ON = Weight True

Factory Default Address = 0

 

 

14

485DSS-0308 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

Image 18
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois 485DSS-0308 Manual CoverPage Table of Contents IiTable of Contents 485DSS-0308 Manual Checklist Hardware IntroductionSpecifications Port ConfigurationRS-485/422 Port RS-422/485 Port Terminal Block Signal Description Direction Signal Ground +12VDC Power Supply InputRS-232 Port Wire Mode Clear to Send Input Signal GroundRS-422/485 Wiring Frame Ground Transmit Data Output Receive Data InputComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode Power Supply RS-422 Wiring Diagram RS-485 and RS-422 TerminationOperation Communication Configuration Distributed Smart Switch CommandsDecimal Command StringOn Command HexOFF Command Status Request CommandPage ACK Setting the 485DSS Address Address SwitchDIP Switch Binary File Transfer Software Description Appendix a Ascii Character Codes 485DSS-0308 Manual Appendix aPage Dec/Hex Conversions Decimal Hexadecimal SymbolAppendix B Decimal/Hexadecimal/Conversions 485DSS-0308 Manual Appendix BHexadecimal to Decimal Conversion Decimal to Hexadecimal ConversionRS-232 DTE Port DB25 Connector Direction Appendix C Cable ChartsChart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE Port RS-232 DTE PortChart 6. RS-485 2-Wire Device to 485DSS RS-485/422 Port RS-485/422Device Direction Terminal Blocks
Related manuals
Manual 26 pages 24.25 Kb