I have been working with ‘g-code comments’ using the convention in the centroid m-series operators manual that uses “colons” and “semicolons” to denote comments in a g-code program. Both the Peter Smid CNC programming Handbook and Machinery’s Handbook (page 1229) indicate the usage of Parentheses before and after the comment. I thought that use of parentheses for comments was an industry standard. Why is the method used by Centroid different.
steve
Question on G-code Comments
Moderator: cnckeith
-
- Posts: 18
- Joined: Fri Jan 05, 2018 11:59 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Question on G-code Comments
Steve
In Richmond, Virginia
In Richmond, Virginia
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8942
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Question on G-code Comments
you can use either.. try it:-)
";" and "(" both let cnc12 know that everything to the right is a comment
";" and "(" both let cnc12 know that everything to the right is a comment
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 18
- Joined: Fri Jan 05, 2018 11:59 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: Question on G-code Comments
Will it also work with a right parentheses ")"
Steve
In Richmond, Virginia
In Richmond, Virginia
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8942
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Question on G-code Comments
; this is a test
(this is a test)
G1 x3 f40 ; this is a test
G1 x3 f40 (this is a test)
are all valid g code comments.
(this is a test)
G1 x3 f40 ; this is a test
G1 x3 f40 (this is a test)
are all valid g code comments.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)