Binary Command Example - HORNER HE200WCM910 User Manual

Wireless communication rs-232/485 rf modem
Table of Contents

Advertisement

Page 30 
 
 
EXAMPLE: Restore RF Modem Default Parameters using the Terminal tab:
Example: Both of the following examples change the RS-232/485 Modem's destination address to
0x1A0D (6669d) and save the new address to non-volatile memory.
Method 1 (One line per command)
Method 2 (Multiple commands on one line)
NOTE: Default parameter values of the RF Modem can also be restored by selecting the 'Restore'
button located on the Modem Configuration tab.
Modem Configuration tab
While RS-232/485 RF Modems operate out-of-box without configuration, the 'Modem
Configuration' tab of the RadioSet software can be used to activate advanced functions. The
following example illustrates use of the most commonly used features of the Modem
Configuration tab.
EXAMPLE: Read & Restore Default Parameters using the Modem Configuration tab:
The following steps show how to read currently stored modem parameter values; then restore
the modem parameters to their factory-default states.
1.
2.
3.
4.
5
6.
7.

Binary Command Example

To Send Binary Commands:
Example: Use binary commands to change the RS232-485 Modem's destination address to
0x1A0D and save the new address to non-volatile memory.
1.
2.
3.
4.
Note:
will hold off parameter bytes.
 
 
 
Issue AT Command
+++
ATRE<CR>
ATWR<CR>
ATCN<CR>
Issue AT Command
+++
ATRE, WR, CN<CR>
Open the RadioSet program:
Under the "PC Settings" tab, select the PC Serial Com Port from the dropdown list that will be
used to connect to the RF Modem.
Select a "Baud rate" to match the default RF data rate of the RF Modem. Use default values
for all other fields.
Select the "Modem Configuration" tab.
Select the "Read" button to read currently stored parameter values of the modem.
Select the "Restore" button to restore factory-default parameter values.
Select the "Write" button to save default values to non-volatile memory.
RT Command must be set to "1" in AT Command Mode to enable binary programming.
Assert CMD (Pin is driven high).
Send Bytes: 00
0D
1A
08
De-assert CMD (Pin is driven low).
is high when command is being executed. Hardware flow control must be disabled as
 
RS‐232/485 RF Modem Product Manual – MAN0782‐02 
System Response
OK<CR> (Enter into AT Command Mode)
OK<CR> (Restore modem default parameter values)
OK<CR> (Write new values to non-volatile memory)
OK<CR> (Exit AT Command Mode)
System Response
OK<CR>
OK<CR>
(Enter Binary Command Mode)
(Send DT (Destination Address) Command)
(Least significant byte)
(Most significant byte)
(Send WR (Write) Command)
(Exit Binary Command Mode)

Advertisement

Table of Contents
loading

Table of Contents