B&B Electronics 485DSS Cell Phone User Manual


 
14 485DSS3298 Manual
B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
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
DIP Switch 1
DECIMAL
WEIGHT
HEX
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