Debugging - Omron C200H-ASC11 Manual

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Debugging

7-8
Debugging
7-8-1
Overview
Breaks
Break at a
specified line
Break condition
Variable Monitor
Variable content monitor
(16 variables max.)
Tracing the Current Line Number
By internal program command
Save in the trace buffer, then mon-
itor
7-8-2
Breakpoint Function (BRKPT)
232
The debugging function allows you to stop the program at a specified line by
various methods so that the contents of variables can be monitored. It is also
possible to determine the position of the current line number.
Note The breakpoint function can be used to set a breakpoint in an interrupt sub-
routine, but it is not possible to continue executing the interrupt subroutine
after the breakpoint.
By command input
Break at multiple
from the terminal
lines (255 settings
max.)
Break after a
single line or
specified number
of lines
Execute up to the
specified line
By internal
Break at the
program command
specified line
By command input from
the terminal
TRON command
TRON[M] command to TRACE command
input
Each of the following debugging functions are described below.
• Break point function
• STEP function
• Variable monitor function
• Trace function
When a breakpoint is set at a specified line using the BRKPT command, the
program will stop at that point. Once it has stopped, a message indicating a
break in execution and the current line number will be displayed at the termi-
nal. The ASCII Unit will switch to Command Mode. Up to 255 breakpoints can
be set. To restart the program from the breakpoint, enter the CONT command
from the terminal.
Syntax
BRKPT (SET | DEL) line_No.
Input BRKPT
command
Input STEP
command
Input the RUN TO
line no.
STOP command
Break condition
Input WATCH command
Section 7-8
Program error

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents