
FAA20 Embedded NEXCOM Vocoder
Board Manual
This manual has been prepared for the Federal Aviation Administration.
FA100-00107 (March 2004) – Rev 1.0.0 Page 87
8.3.22 MACRO
The MACRO command is used to create or playback a command
sequence. This command is typically used for factory troubleshooting of
FAA20 hardware device interfaces.
Table 33: MACRO Command Syntax
ATTRIBUTE DESCRIPTION
SYNTAX MACRO mcmd
PARAMETERS mcmd BEGIN = Begin recording a list of commands.
END = Stop recording a list of commands.
PLAY = Play the list of commands, once.
LOOP = Play the list of commands, continuously.
FLASH NO
Create macro to toggle the truncated timing state every 3 seconds.
OM1: macro begin
> MACRO BEGIN OK
COM1: trun on
> TRUN = ON
COM1: wait 3000
> WAIT = 3000
COM1: trun off
> TRUN = OFF
COM1: wait 3000
> WAIT = 3000
COM1: macro end
> MACRO END OK
EXAMPLES
Loop the macro
COM1: macro loop Command entered at terminal
> MACRO LOOP OK FAA20 response.
COM1: trun on Start of command sequence
> TRUN = ON …
COM1: wait 3000
> WAIT = 3000
COM1: trun off
> TRUN = OFF
COM1: wait 3000
> WAIT = 3000
COM1: MACRO LOOP
> MACRO LOOP OK
COM1: trun on FAA20 repeats command sequence
> TRUN = ON until the ESC key is pressed at the terminal.
To stop a looping macro, press the escape (ESC) key. The macro is
stopped after the current command sequence is completed.
The macro storage buffer is 100 characters. Command sequences must fit
within the available buffer space. Any previously stored macro is erased
when the MACRO BEGIN command is entered.
Komentáře k této Příručce