Log in

View Full Version : G-code Error ?



cpf
11-01-2021, 01:38 PM
Would some one be able to inform me if there is an issue with this g code ? I am simply trying to cut a board a metre up and it is cutting at 80/90cm . When looking at the drivers they read ER 020. Looking online this seems to be an error in the G code. Once the Y axis drivers show this error code the Y axis does then not move.

T1M6
G17
G0Z20.000
G0X0.000Y0.000S22000M3
G0X0.000Y1013.175Z6.000
G1Z-4.333F3000.0
G1X1220.000F4000.0
G0Z6.000
G0X0.000
G1Z-8.667F3000.0
G1X1220.000F4000.0
G0Z6.000
G0X0.000
G1Z-13.000F3000.0
G1X1220.000F4000.0
G0Z6.000
G0Z20.000
G0X0.000Y0.000
M30

Ulsterman
11-01-2021, 05:41 PM
Type of Machine ?
No tool offset that could still be active with a radius/diameter number in it ?

cpf
11-01-2021, 06:17 PM
we have a CNC superstar

ZASto
11-01-2021, 07:34 PM
That smells as the servo following error.
Check your Y axis for binding.

G-code looks normal, I can't see no errors in it.
Cutting in X direction 3 passes, total depth of 13mm.

cpf
12-01-2021, 08:12 AM
Thanks for checking that for us ! it seems to be the the y axis is for some reason not working correctly. its reading that it meets its limit but it under the limit by about 12cm. does any one know how we can reset the home and resolve this ?

ZASto
12-01-2021, 11:56 AM
What controller do you use on your machine?
Settings of the controller?
You know, my crystal ball has not returned from polishing, yet :wink: