![Digi XGI-20CZ7-E00-W0 Скачать руководство пользователя страница 77](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341077.webp)
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
77
n
low
or
false
: Sets the pin low (OFF). Other legal values include:
0, no, n, off
Request and reply examples
n
Request
This SCI request example configures DIO4 of the XBee node corresponding to the MAC address
00:13:a2:00:40:9f:6f:cb
to
high
. The command uses the attribute index to indicate the pin to
be configured instead of the name one:
<sci_request version="1.0">
<send_message>
<targets>
<device id="00000000-00000000-00409DFF-FF5C4C66"/>
</targets>
<rci_request version="1.1">
<do_command target="xbgw">
<set_digital_output addr="00:13:a2:00:40:9f:6f:cb"
index="4">1</set_digital_output>
</do_command>
</rci_request>
</send_message>
</sci_request>
Note
This example request uses a dummy device ID and XBee MAC address. You must use your
own XBee Industrial Gateway device ID and XBee MAC address to test this example.
Содержание XGI-20CZ7-E00-W0
Страница 1: ...Digi XBee Industrial Gateway User Guide...