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

Page 17

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

485DSS3298 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 434-7094

Image 17
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents Appendix C Cable Charts Hardware Introduction ChecklistRS-485/422 Port SpecificationsPort Configuration RS-232 Port RS-422/485 Port Terminal Block Signal Description DirectionWire Mode RS-422/485 WiringComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode RS-422 Wiring Diagram RS-485 and RS-422 Termination Power SupplyOperation Distributed Smart Switch Commands Communication ConfigurationOn Command Command String Status Request Command OFF CommandSelect State ACK DIP Switch Setting the 485DSS AddressAddress Switch Binary File Transfer Software Description Hard Drive InstallationType CD\485DSS\PASCAL and press the Enter key Running Demonstration ProgramDecimal to HEX to Ascii Conversion Table Appendix a Ascii Character CodesDec/Hex Conversions Decimal Hexadecimal SymbolAppendix B Decimal/Hexadecimal/Conversions Decimal to Hexadecimal Conversion Hexadecimal to Decimal ConversionChart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE Port Appendix C Cable ChartsRS-232 DTE Port DB25 Connector Direction 485DSSDirection Terminal Blocks RS-485/422Class a Equipment
Related manuals
Manual 26 pages 3.35 Kb