Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     135
D3
AD3/DIO3 Configuration. Select/Read function for AD3/DIO3.
CRE
0, 2-5
0 – Disabled
2 - Analog input, single 
ended
3 – Digital input
4 – Digital output, low
5 – Digital output, high
0
D4
DIO4 Configuration. Select/Read function for DIO4.
CRE
0, 3-5
0 – Disabled
3 – Digital input
4 – Digital output, low
5 – Digital output, high
0
D5
DIO5 Configuration. Configure options for the DIO5 line of the RF module. 
CRE
0 = Disabled
1 = Associated
        indication LED
3 = Digital input
4 = Digital output, default 
low
5 = Digital output, default 
high
1
D8
DIO8 Configuration.  Set/Read function for DIO8.  This command is not yet supported. CRE
0, 3-5
0 – Disabled
3 – Digital input
4 – Digital output, low
5 – Digital output, high
LT
Assoc LED Blink Time.  Set/Read the Associate LED blink time.  If the Associate LED 
functionality is enabled (D5 command), this value determines the on and off blink times 
for the LED when the module has joined a network.  If LT=0, the default blink rate will be 
used (500ms coordinator, 250ms router/end device).  For all other LT values, LT is 
measured in 10ms.
CRE
0, 0x0A - 0xFF (100 - 
2550 ms)
0
PR
Pull-up Resistor. Set/read the bit field that configures the internal pull-up resistor status 
for the I/O lines.  "1" specifies the pull-up resistor is enabled.  "0" specifies no pullup.(30k 
pull-up resistors)
Bits:"
0 - DIO4 (Pin 11)
1 - AD3 / DIO3 (Pin 17)
2 - AD2 / DIO2 (Pin 18)
3 - AD1 / DIO1 (Pin 19)
4 - AD0 / DIO0 (Pin 20)
5 - RTS / DIO6 (Pin 16)
6 - DTR / Sleep Request / DIO8 (Pin 9)
7 - DIN / Config (Pin 3)
8 - Associate / DIO5 (Pin 15)
9 - On/Sleep / DIO9 (Pin 13)
10 - DIO12 (Pin 4)
11 - PWM0 / RSSI / DIO10 (Pin 6)
12 - PWM1 / DIO11 (Pin 7)
13 - CTS / DIO7 (Pin 12)
CRE
0 - 0x3FFF
0 - 0x1FFF
RP
RSSI PWM Timer. Time the RSSI signal will be output on the PWM after the last RF data 
reception or APS acknowledgment.. When RP = 0xFF, output will always be on.
CRE
0 - 0xFF [x 100 ms]
0x28 (40d)
%V
Supply Voltage.  Reads the voltage on the Vcc pin. Scale by 1200/1024 to convert to 
mV units. For examplee, a %V reading of 0x900 (2304 decimal) represents 2700mV or 
2.7OV.  
CRE
-0x-0xFFFF [read only]
-
V+
Voltage Supply Monitoring. The voltage supply threshold is set with the V+ command. 
If the measured supply voltage falls below or equal to this threshold, the supply voltage 
will be included in the IO sample set. V+ is set to 0 by default (do not include the supply 
voltage). Scale mV units by 1024/1200 to convert to internal units. For example, for a 
2700mV threshold enter 0x900. 
Given the operating Vcc ranges for different platforms, and scaling by 1024/1200, the 
useful parameter ranges are:
XBee  2100-3600 mV 0,0x0700-0x0c00
PRO  3000-3400 mV, 0,0x0a00-0x0b55
S2B  2700-3600 mV, 0,0x0900-0x0c00
CRE
0-0xFFFF 0
TP
Reads the module temperature in Degrees Celsius. Accuracy +/- 7 degrees. 
1° C = 0x0001 and -1° C = 0xFFFF. Command is only available in PRO S2B.
CRE
0x0-0xFFFF -
I/O Commands
AT
Command
Name and Description
Node 
Type
1
Parameter Range
Default