All things related to the Centroid Acorn CNC Controller
Moderator: cnckeith
amegger
Posts: 10 Joined: Sat Mar 10, 2018 9:53 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Post
by amegger » Fri Aug 29, 2025 2:43 pm
I am wanting to move my x-axis after the home position is set but I get an alarm "502 invalid g-code" at the G91. I found a post where someone else was using g91 in the home macro
viewtopic.php?t=9199
Any idea why this is giving an alarm?
Code: Select all
N100 ;Check for open home switch
IF !#[50000 + #9822] THEN M225 #100 "HomeAll switch tripped!!!\nPlease clear before Homing.\n\nPress Cycle Cancel to end Homing"
IF !#[50000 + #9822] THEN GOTO 100
;Perform Homing commands
M92/X L1
M26/X
G91 G1 X-0.030 F10.0
G90
M91/Z L1
M106/Z P-8 F1.0
M26/Z
M01
M106/Z P8 F1.0
Attachments
report_98F07B6F9A11-0629237380_2025-08-29_13-15-49.zip
(981.83 KiB) Downloaded 9 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
CentroidFrog
Tech Support
Posts: 173 Joined: Wed Jan 29, 2025 9:39 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Post
by CentroidFrog » Fri Aug 29, 2025 3:01 pm
G91 is not a valid G code for a lathe.
All G codes for lathe can be seen here in the lathe operator manual:
https://www.centroidcnc.com/centroid_di ... f#page=198
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
cncsnw
Community Expert
Posts: 4672 Joined: Wed Mar 24, 2010 5:48 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
Post
by cncsnw » Fri Aug 29, 2025 4:50 pm
Review the manual as suggested, then try:
(Note: Liking will "up vote" a post in the search results helping others find good information faster)