User Manual
Table Of Contents
- 1. Overview
- 2. RF Module Operation
- 3. XBee ZigBee Networks
- Introduction to ZigBee
- ZigBee Stack Layers
- Networking Concepts
- ZigBee Application Layers: In Depth
- Coordinator Operation
- Router Operation
- End Device Operation
- Channel Scanning
- 4. Transmission, Addressing, and Routing
- 5. Security
- 6. Network Commissioning and Diagnostics
- 7. Managing End Devices
- 8. XBee Analog and Digital IO Lines
- 9. API Operation
- API Frame Specifications
- API UART Exchanges
- Supporting the API
- API Frames
- AT Command
- AT Command - Queue Parameter Value
- ZigBee Transmit Request
- Explicit Addressing ZigBee Command Frame
- Remote AT Command Request
- Create Source Route
- AT Command Response
- Modem Status
- ZigBee Transmit Status
- ZigBee Receive Packet
- ZigBee Explicit Rx Indicator
- ZigBee IO Data Sample Rx Indicator
- XBee Sensor Read Indicator
- Node Identification Indicator
- Remote Command Response
- Over-the-Air Firmware Update Status
- Route Record Indicator
- Many-to-One Route Request Indicator
- Sending ZigBee Device Objects (ZDO) Commands with the API
- Sending ZigBee Cluster Library (ZCL) Commands with the API
- Sending Public Profile Commands with the API
- 10. XBee Command Reference Tables
- 11. Module Support
- Appendix A: Definitions
- Appendix B: Agency Certifications
- Appendix C: Migrating from ZNet 2.5 to XBee ZB
- Appendix D: Additional Information
XBee®/XBee‐PRO®ZBRFModules
©2011DigiInternational,Inc. 133
I/O Commands
I/OCommands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
IR
IO Sample Rate. Set/Read the IO sample rate to enable periodic sampling. For periodic
sampling to be enabled, IR must be set to a non-zero value, and at least one module pin
must have analog or digital IO functionality enabled (see D0-D8, P0-P2 commands). The
sample rate is measured in milliseconds.
CRE 0, 0x32:0xFFFF (ms) 0
IC
IO Digital Change Detection. Set/Read the digital IO pins to monitor for changes in the
IO state. IC works with the individual pin configuration commands (D0-D8, P0-P2). If a
pin is enabled as a digital input/output, the IC command can be used to force an
immediate IO sample transmission when the DIO state changes. IC is a bitmask that can
be used to enable or disable edge detection on individual channels. Unused bits should
be set to 0.
Bit (IO pin): 0 (DIO0)4 (DIO4)8 (DIO8)
1 (DIO1) 5 (DIO5) 9 (DIO9)
2 (DIO2) 6 (DIO6) 10 (DIO10)
3 (DIO3) 7 (DIO7) 11 (DIO11)
CRE : 0 - 0xFFFF 0
P0 PWM0 Configuration. Select/Read function for PWM0. CRE
0 = Disabled
1 = RSSI PWM
3 - Digital input,
monitored
4 - Digital output, default
low
5 - Digital output, default
high
1
P1 DIO11 Configuration. Configure options for the DIO11 line of the RF module. CRE
0 - Unmonitored digital
input
3- Digital input,
monitored
4- Digital output, default
low
5- Digital output, default
high
0
P2 DIO12 Configuration. Configure options for the DIO12 line of the RF module. CRE
0 - Unmonitored digital
input
3- Digital input,
monitored
4- Digital output, default
low
5- Digital output, default
high
0
P3
DIO13 Configuration. Set/Read function for DIO13. This command is not yet
supported.
CRE
0, 3-5
0 – Disabled
3 – Digital input
4 – Digital output, low
5 – Digital output, high
D0 AD0/DIO0 Configuration. Select/Read function for AD0/DIO0. CRE
1 - Commissioning button
enabled
2 - Analog input, single
ended
3 - Digital input
4 - Digital output, low
5 - Digital output, high
1
D1
AD1/DIO1 Configuration. Select/Read function for AD1/DIO1.
CRE
0, 2-5
0 – Disabled
2 - Analog input, single
ended
3 – Digital input
4 – Digital output, low
5 – Digital output, high
0
D2
AD2/DIO2 Configuration. Select/Read function for AD2/DIO2.
CRE
0, 2-5
0 – Disabled
2 - Analog input, single
ended
3 – Digital input
4 – Digital output, low
5 – Digital output, high
0










