![Digi XGI-20CZ7-E00-W0 Скачать руководство пользователя страница 140](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341140.webp)
Learn more about XBee Industrial Gateway
View your device data
Digi XBee Industrial Gateway
140
5. Configure the settings for sampling. There are several parameters for sampling methods and
rates:
Pull up Resistor Enable (PR)
/
Pull up
check box for each DIO:
DIO Change Detect (IC)
/
Detect
check box for each DIO: For digital input, the
DIO Change
Detect (IC)
parameter configures the pin for digital sampling. You can configure modules to
transmit a data sample immediately whenever a monitored digital IO pin changes state. The IC
command is a bitmask that you can use to set which digital IO lines should be monitored for a
state change. If one or more bits in IC is set, an IO sample will be transmitted as soon as a
state change is observed in one of the monitored digital IO lines. Change detection samples
are transmitted to the 64-bit address specified by the
Destination Address (DH/DL)
parameters.
Set this parameter to
0x2
to use. Each time the value of the specified DIO changes, the XBee
module sends an XBee packet with the new value of the DIO to XBee Industrial Gateway.
Another way to enable the IC parameter is to enable the
Detect
check box for a DIO set to
digital input.
I/O Sampling Rate (IR)
: For analog input, the
I/O Sampling Rate (IR)
parameter sets the
sampling rate, in milliseconds.
Periodic sampling allows an XBee/XBee-PRO module to take an IO sample and transmit it to a
remote device at a periodic rate. If
IR
is set to 0, periodic sampling is disabled. For all other
values of
IR
, data will be sampled after the number of milliseconds set by the
IR
parameter
have elapsed and then transmitted to a remote device. The
Destination Address
(
DH
/
DL
)
parameters determine the destination address of the IO samples. You can set
DH
and
DL
set to
0 to transmit to the coordinator, or to the 64-bit address of the remote device (
SH
and
SL
parameters). Only devices running API firmware can send IO data samples out their UART.
Devices running AT firmware will discard received IO data samples. A sleeping end device will
transmit periodic IO samples at the
IR
rate until the
ST
timer expires and the device can
resume sleeping.
The sampling setting for analog input must be configured. We want to sample the analog input
every 30 minutes, or 30000 milliseconds. Under I/O settings, in the
I/O Sampling Rate (IR)
setting, type
30000
.
6. Click
Apply
to save your changes.
View your device data
After you configure the I/O for your XBee nodes, you can view the data from the nodes. The device
data is available for viewing from the following locations:
n
View device data from Remote Manager
n
View device data and events in the Python log file for XBee Industrial Gateway
Содержание XGI-20CZ7-E00-W0
Страница 1: ...Digi XBee Industrial Gateway User Guide...