APPENDIX A
Programming Instructions
Introduction. The AM43 is capable of accepting certain commands and taking appropriate action such as a device reset.
The commands are also used to configure various options, such as baud rate selection. All programming is done through the
PC (USB) interface.
Although programming can be done while the unit is operating, it is easier to stop data flow while programming is being
done. This can be done with the “stop device” command, or all inputs can simply be disconnected or turned off. With the
device connected to a computer, a terminal window (e.g., Hyperterminal) is used for programming.
Commands typed into the terminal window are sent to the AM43, which will check their validity and take appropriate action.
All commands begin with an “@” character followed by another character which defines the action to take. Some actions
will need additional characters (options) to more specifically define the action. A list of command characters and options is
given in Table A-1.
Programming Example
An example will demonstrate how to program the AM43. With the device connected to a computer and a terminal window
open and configured for the correct COM port, we are ready to send a command. If the device is currently receiving data, we
can stop the data flow by typing
@<
This causes the data flow to stop. If we now type
@?
We will get a list of the current configuration options.
TABLE A-1 AM43 Commands (Factory presets are shown in bold.)
Command
Action Options Comments
< Stop device (n/a) Stop data flow (i.e., for
programming)
> Reset (restart)
device
(n/a) Same as power disconnect-
reconnect
? Help / query
configuration
(n/a) Shows help / shows current
device configuration
B or b High baud rate
(INh/OUTh)
0,1,2,3 4800, 9600, 19200, or 38400
I or i IN1 baud rate
select
0,1
0 4800
1 9600
T or t OUT–TLK
switchover
0,1
0 Enable
1 Disable
E or e Error reporting
on/off
0,1
1 OFF
2 ON
Assume you now want to reconfigure the high baud rate for 19,200. By typing @B2 the high baud rate will be reconfigured
to 19,200. It will remain configured this way unless it is reconfigured sometime in the future. To verify the configuration
change was accepted, you can again type @? which will show the current configuration. In this particular case, the actual
baud rate change does not take effect unless power is removed and reapplied (forced reset) or the ‘reset’ command (@>) is
sent.
The “@I” command is rarely used but is available for certain specialized users. It is used to increase IN1 baud rates to 9600.
The “@E” command turns error reporting on or off. Turning error reporting off does not affect operation of the error
(yellow) LED.
The “@T” command, OUT– TLK switchover, is described in “TLK output”.