EasyManuals Logo

Galil Motion Control DMC-40x0 Series User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #214 background imageLoading...
Page #214 background image
204 REM DMC-40x0 Command Reference
REM
FUNCTION: Remark
DESCRIPTION:
REM is used for comments. The REM statement is NOT a controller command. Rather, it is
recognized by Galil PC software, which strips away the REM lines before downloading the
DMC file to the controller. REM differs from NO (or ‘) in the following ways:
(1) NO comments are downloaded to the controller and REM comments aren’t
(2) NO comments take up execution time and REM comments don’t; therefore, REM should be
used for code that needs to run fast.
(3) REM comments cannot be recovered when uploading a program but NO comments are
recovered. Thus the uploaded program is less readable with REM.
(4) NO comments take up program line space and REM lines don’t.
(5) REM comments must be the first and only thing on a line, whereas NO can be used to place
comments to the right of code on the same line.
NO (or ‘) should be used instead of REM unless speed or program space is an issue.
ARGUMENTS: REM n where
n is a text string comment
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line No
Controller Usage
ALL
RELATED COMMANDS:
NO (‘ apostrophe also
accepted)
No operation (comment)
EXAMPLES:
REM This comment will be stripped when downloaded to the controller
'This comment will be downloaded and takes some execution time
PRX=1000; 'this comment is to the right of the code

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-40x0 Series and is the answer not in the manual?

Galil Motion Control DMC-40x0 Series Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-40x0 Series
CategoryController
LanguageEnglish

Related product manuals