Advanced programming, Sample config: modify rf destination address – B&B Electronics Zlinx ZP Series User Manual

Page 23

Advertising
background image

Manual Documentation Number: ZP24D-250RM-SR-2508

19

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com

Advanced Programming

Sample Config: Modify RF Destination Address












Setup
The programming examples in this section require the installation of a hyper terminal program and a serial
connection to a PC. (B&B stocks RS-232 and USB boards to facilitate interfacing with a PC.)

Mount the RF module to an interface board, then connect the module assembly to a PC.

Launch the terminal software and select the 'PC Settings' tab. Verify the baud and parity settings of the
Com Port match those of the RF module.

NOTE: Failure to enter AT Command Mode is most commonly due to baud rate mismatch. Ensure the
‘Baud’ setting on the ‘PC Settings’ tab matches the interface data rate of the RF module. By default,
the BD parameter = 3 (which corresponds to 9600 bps).


‘CR’ stands for carriage return:

Method 1 (One line per command)

Send AT Command

System Response_

+++

OK <CR> (Enter into Command Mode)

ATDL <Enter>

{current value} <CR> (Read Destination Address Low)

ATDL1A0D <Enter>

OK <CR> (Modify Destination Address Low)

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)

ATDL <Enter>

{current value} <CR> (Read Destination Address Low)

ATDL1A0D,WR,CN <Enter>

OK, OK, OK <CR> (Command execution is triggered upon each
instance of the comma)

Advertising