CAD CAM EDM DRO - Yahoo Group Archive

gcode comments was Re: RE: Cutviewer program - file renaming

Posted by ballendo@y...
on 2001-01-25 02:38:44 UTC
Smoke,

The standard gcode character for identifying comments is the "(" .
Some controls will require a closing parenthesis also, but most just
stop reading the line/block when they encounter a "(" left
parenthesis.

Some controls (usually HPGL related) use a semicolon ";" as the 'end
of line/block' character. Some will assume a linefeed also, others
will require an implicit linefeed (the 'enter' key).

BTW, non-standard characters are used for these two functions in many
programs. One can often tell what language the controller programmer
used to create the code since "'" (used in BASIC) and "*/" (used in C)
are found used to define comments in several cnc controller
programs...

Hope this helps.

Ballendo

P.S. These types of characters are sometimes referred to as
"delimiters". Which means they are the character used to determine
when one thing ends (its' limit) and possibly another begins...

>I did find that you can (one you learn how) save some time by setting
>up your tools and stock size in advance right in your text program.
>you have to precede them with a semi-colon and (in my case if I want
>to run the program on the schools machine) surround the whole
>statement with a set of parentheses ().
>Smoke

Discussion Thread

ballendo@y... 2001-01-25 02:38:44 UTC gcode comments was Re: RE: Cutviewer program - file renaming Smoke 2001-01-25 10:35:41 UTC Re: [CAD_CAM_EDM_DRO] gcode comments was Re: RE: Cutviewer program - file renaming