AerDebug
U600 User’s Guide
4-38
Aerotech, Inc.
Version 1.4
4.6.64. PRGDUMP (filespec)
The PRGDUMP command displays the source code of a CNC program as it currently
exists on the axis processor card. Contrast this with the PRGTYPE command that shows
the CNC program as it exists on the PC processor. PRGTYPE shows the original source
code while PRGDUMP shows a textual decompiling of the current object code on the
axis processor. The user needs only to compile to obtain a PRGTYPE listing, but must
compile and download to obtain a PRGDUMP listing.
If a successful download was done just after the last compile of a program, then source
code on the axis processor should look virtually identical to the original source code (on
the PC), although there may be minor differences in spacing and grouping of terms in
expressions.
EXAMPLE:
PRGDUMP \U600\TEST.PGM
; display object code dump of test.pgm
4.6.65. PRGERRS (filespec)
The PRGERRS command displays any compile errors/warnings found when compiling
the CNC program.
EXAMPLE:
PRGERRS \U600\TEST.PGM
; any error’s?
4.6.66. PRGINFO (filespec)
The PRGINFO command returns information on a program that has been downloaded to
the axis processor card. It will display the number of program lines, double variables,
labels, and the program status.
EXAMPLE:
PRGINFO \U600\TEST.PGM
; tell me about my program!
4.6.67. PRGLOAD (filespec) [num_lines] [userline_offset]
The PRGLOAD command downloads a compiled program to the axis processor. If no
num_lines are provided, then the program is download normally. However, if the number
of lines parameter is provided, then the compiled program is downloaded as a circular
queue. If num_lines parameter is non-zero, the axis processor allocates a new queue of
num_lines size and downloads the program as the first lines in the queue. However, if
num_lines parameter is zero, the axis processor appends the program onto an existing
program queue. In either case the program lines will be placed down with user line
numbers starting at the userline_offset parameter. For an example of how PRGLOAD
works with queues, see the section on queues, under the Running CNC Programs Chapter.
EXAMPLE:
PRGLOAD \U600\TEST.PGM
;download test.pgm to axis processor
Summary of Contents for UNIDEX 600 Series
Page 19: ...Table of Contents U600 User s Guide xviii Aerotech Inc Version 1 4...
Page 27: ...Preface U600 User s Guide xxvi Aerotech Inc Version 1 4...
Page 163: ...AerPlot U600 User s Guide 6 6 Aerotech Inc Version 1 4...
Page 169: ...AerReg U600 User s Guide 8 4 Aerotech Inc Version 1 4...
Page 177: ...AerPlotIO U600 User s Guide 10 4 Aerotech Inc Version 1 4...
Page 179: ...Filter U600 User s Guide 11 2 Aerotech Inc Version 1 4...
Page 219: ...PrmSetup U600 User s Guide 13 2 Aerotech Inc Version 1 4...
Page 223: ...Glossary of Terms U600 User s Guide A 4 Aerotech Inc Version 1 4...
Page 353: ......