Commenting Programs - Galil Motion Control DMC-14 5 Series Manual

Table of Contents

Advertisement

Commenting Programs

Using the command, NO
The DMC-14XX provides a command, NO, for commenting programs. This command allows the user
to include up to 78 characters on a single line after the NO command and can be used to include
comments from the programmer as in the following example:
#PATH
NO 2-D CIRCULAR PATH
VMXY
NO VECTOR MOTION ON X AND Y
VS 10000
NO VECTOR SPEED IS 10000
VP -4000,0
NO BOTTOM LINE
CR 1500,270,-180
NO HALF CIRCLE MOTION
VP 0,3000
NO TOP LINE
CR 1500,90,-180
NO HALF CIRCLE MOTION
VE
NO END VECTOR SEQUENCE
BGS
NO BEGIN SEQUENCE MOTION
EN
NO END OF PROGRAM
Note 1: The NO command is an actual controller command. Therefore, inclusion of the NO
commands will require process time by the controller.
Note 2: On the DMC-1415/1416/1425 controllers, an apostrophe ' may be used instead of the NO
command to document a program
Using REM Statements with the Galil Terminal Software.
If you are using Galil software to communicate with the DMC-14XX controller, you may also include
REM, remark, statements. 'REM' statements begin with the word 'REM' and may be followed by any
comments which are on the same line. The Galil terminal software will remove these statements when
the program is downloaded to the controller. For example:
#PATH
REM 2-D CIRCULAR PATH
VMXY
REM VECTOR MOTION ON X AND Y
VS 10000
REM VECTOR SPEED IS 10000
VP -4000,0
REM BOTTOM LINE
CR 1500,270,-180
94
Chapter 7 Application Programming
i
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
DMC-14x5/6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-14 6 seriesDmc-1415Dmc-1416Dmc-1425

Table of Contents