Manual Documentation Number: MDRxxxxA-807
9
Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018
www.blackbox.com -- Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746
10) Advanced Programming
For information about entering and exiting AT and Binary Command
Modes, refer to the Command Mode section.
AT Command Example
To Send AT Commands
(Using the Terminal tab of Wireless Data Extender
Software)
Example: Both of the following examples change the module’s destination address to
0x1A0D and save the new address to non-volatile memory.
Method 1 (One line per command)
Send AT Command
System Response
+++
OK <CR> (Enter into Command Mode)
ATDT <Enter>
current Destination Address <CR> (Read)
ATDT1A0D <Enter>
OK <CR> (Change destination address)
ATWR <Enter>
OK <CR> (Write to non-volatile memory)
ATCN <Enter>
OK <CR> (Exit Command Mode)
Method 2 (Multiple commands on one
line)
Send AT Command
System Response
+++
OK <CR> (Enter into Command Mode)
ATDT <Enter>
current Destination Address <CR> (Read)
ATDT1A0D,WR,CN <Enter>
OK <CR> (Execute commands)
Note: In order to use a host PC and the Wireless Data Extender Software
Terminal tab to send data to the module, PC com port settings must match
the baud, parity & stop bit parameters stored in the module.
Use the “PC Settings” tab to configure PC com port settings to match
module parameter values.
10
Manual Documentation Number: MDRxxxxA-807
Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018
www.blackbox.com -- Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746
Binary Command Example
To Send Binary Commands:
Note: (pin 1) is de-asserted high when commands are being executed.
Hardware flow control must be disabled as will hold off parameter bytes.
Command Reference Table
Zlinx Commands
(The module expects numerical values in hexadecimal.
“d” denotes decimal equivalent.)
AT
Command
Binary
Command
AT
Command
Name
Range
Command
Category
# Bytes
Returned
Factory
Default
AM v4.30*
0x3A (58d)
Auto-set MY
-
Networking
& Security
- -
AT
0x05 (5d)
Guard Time
After
0x02 –
0xFFF
F [x
100
msec]
Command
Mode
Options
2
0x0A
(10d)
BD v4.2B*
0x15 (21d)
Baud Rate
Stand
ard
baud
rates:
0 – 6
(custo
m
rates
also
suppor
ted)
Serial
Interfacing
2
factory-
set RF
data rate
Example: Use binary commands to change the
Zlinx Module’s destination address to
0x1A0D and save the new address to non-volatile memory.
1. RT Command must be set to “1” in AT Command Mode to enable binary
programming.
2. Assert CMD (Pin 5 is driven high).
(Enter Binary Command Mode)
3. Send Bytes (parameter bytes must be 2 bytes long):
00
(Send DT (Destination Address) Command)
0D
(Least significant byte of parameter bytes)
1A
(Most significant byte of parameter bytes)
08
(Send WR (Write) Command)
4. De-assert CMD (Pin 5 is driven low)
(Exit Binary Command Mode)