![Digi XGI-20CZ7-E00-W0 User Manual Download Page 73](http://html1.mh-extra.com/html/digi/xgi-20cz7-e00-w0/xgi-20cz7-e00-w0_user-manual_2496341073.webp)
Program XBee Industrial Gateway using
Python
XBee Industrial Gateway Python application and Remote
Manager
Digi XBee Industrial Gateway
73
Example: Send serial data from an XBee node to XBee Industrial Gateway
The following example assumes the microcontroller attached to the XBee device is a computer.
To send a serial data package from an XBee node on your network to XBee Industrial Gateway and
verify that it has been automatically uploaded to Remote Manager:
1. Attach one XBee node from your network to an XBIB device and connect it to your computer
using a serial or USB cable. This is the node that will send the serial data to XBee Industrial
Gateway.
2. Open XCTU. Add the XBee node that is connected to your computer to the list of radio modules.
3. Once XCTU has started and your XBee node is added to the list, select the node and click the
Consoles working mode
tab. The Console log window appears and displays the XBee
node’s serial console.
4. Connect the console.
5. Depending on the working mode (API or AT) of the XBee device, choose one of the following
options.
n
AT mode
:
a. Click the
Add new packet
button and paste the following text in the dialog:
Hello, World!
b. Once the packet is added to the list of packets, select it and click the
Send
selected packet
button.
n
API mode
:
a. Click the
Add new frame
button.
b. Paste the following text in the dialog:
7E 00 1B 10 01 00 00 00 00 00 00 00 00 FF FE 00 00 48 65 6C
6C 6F 2C 20 57 6F 72 6C 64 21 88
The previous text is a
Transmit Request
frame. You can also generate it by
yourself by clicking the
Edit
frame using the
Frames Generator
tool button:
c. After adding the frame to the list of frames, select the frame and click the
Send selected frame
button.
6. From a web browser, log in to