beautypg.com

Advanced programming, Ommands, At commands – B&B Electronics ZP9D-115RM-LR - Manual User Manual

Page 22

background image

22

Manual Documentation Number: ZP9D-115RM-LR-0812

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

AT Commands

Example: Using Hyper Terminal Software to change the module's DT (Destination
Address) parameter and save the new address to non-volatile memory. A serial
connection to a PC is required.

Method 1 (One line per command)

Send AT Command

System Response

+++

OK (Enter into Command Mode)_

ATDT

{current value} (Read Destination Address)_

ATDT1A0D

OK (Modify Destination Address)_

ATWR

OK (Write to non-volatile memory)_

ATCN

OK (Exit Command Mode)

Method 2 (Multiple commands on one line)

Send AT Command

System Response

+++

OK (Enter into Command Mode)

ATDT

{current value} (Read Destination Address)

ATDT1A0D,WR,CN

OK (Execute commands)













Note: When using hyper terminal to program a modem, PC com port settings must match the baud
(interface data rate), parity & stop bits parameter settings of the module.

Note: Do not send commands to the module during flash programming (when parameters are
being written to the module registry).

Wait for the OK sys tem response that follows the ATWR command before entering the next
command or use flow control.