Appendix C
Programming Console Operations
341
Debugging Operations
Operation/Description
Modes*
Key sequence
Debug Operation Enter
Used to debug the program while in
Program Mode. Program Input,
Program Clear, Instruction Insert,
and Instruction Delete operations are
not available. Unless the Data
Retention control bit is ON, all data in
the IR, AR, and LR areas will be
cleared when debug operation is
entered or exited.
P
(Debug operation
SHIFT
MONTR
CHG
SHIFT
MONTR
CLR
(Program mode
Debug operation)
Program mode)
Address Execution
Executes the program
instruction-by-instruction starting
from the current address. Press the
down key to go to the next address.
Word data can be monitored via the
Data Monitor operation.
P
EXT
PLAY
SET
REC
RESET
Next address
On
Off
Debug operation,
current address
Debug Execution
Executes the program from the
current address to the specified stop
address. Debugging will stop if
END(01) is encountered, or if CLR is
pressed.
P
EXT
CHG
CLR
[ Stop address ]
To cancel
Debug
operation
Address Trace
Traces up to 250 instructions from
the program. Tracing begins at the
address indicated by the trigger
address and the delay. The delay can
be in the range –249 to +250 (press
NOT to toggle between – and +).
Tracing continues up to the stop
address, or until a maximum of 250
instruction words have been
recorded. If END(01) is encountered,
the tracing will loop back to the
beginning address and continues
until 250 words have been traced and
recorded.
P
EXT
CHG
WRITE
WRITE
MONTR
CLR
[Stop address]
[Trigger address]
[Delay value]
To cancel
Debug
operation
Address Trace Read
Reads the Address Trace starting at
the trigger address. The up and down
arrow keys can be used to scroll
through the instructions
word-by-word.
P
CLR
MONTR
Error Message Read
Displays error messages in
sequence with most severe
messages displayed first. Press
monitor to access remaining
messages. In PROGRAM mode,
pressing MONTR clears the
displayed message from memory
and the next message is displayed.
R P M
CLR
FUN
MONTR
MONTR
*Modes in which the given instruction is applicable: R = RUN, M = MONITOR, P = PROGRAM