
Section 5 Command Descriptions
5.44
ERASE
The
ERASE
command is used to delete a Macro and return
the occupied memory to the USER heap. A specific Macro
can be deleted or all can be
ERASE
d.
LOG
Data which is generated by a macro can be diverted from
the serial output into a
LOG
buffer with the
LOG
ON
command. This
LOG
buffer is also non-volatile and can be
read by the serial host with the
READ
LOG
command. This
feature is disabled by the
LOG
OFF
command.
ON
…
DOMACRO
The
ON
<
event
>
DOMACRO
command enables macro
execution upon detection of an event, such as SRQ being
asserted by a bus device. This feature is mutually exclusive
with the
ARM
command.
READ
The
READ
command allows the Macro buffer to be
transmitted back to the serial host. It is sent exactly as it
was built with the exception of the appended Macro
number to the
ENDM
portion. This command requires
making a copy of the specified Macro buffer.
TRACE
The
TRACE
ON
command allows the embedded macro
commands within the macro buffer to be echoed out the
serial port to the host computer as the Macro is executed.
This allows trace debugging during Macro execution. This
feature is disabled with the
TRACE
OFF
command.
SYNTAX MACRO[;][number]
[command
list…]
ENDM
or
MA[;][number]
[command
list…]
ENDM
number
is a Macro Buffer number from 0 to 99. If no number is
specified, Macro 0 is assumed.
Komentarze do niniejszej Instrukcji