Hello Guest it is March 28, 2024, 08:39:17 AM

Author Topic: Manually writing g code for first time  (Read 3143 times)

0 Members and 1 Guest are viewing this topic.

Manually writing g code for first time
« on: July 01, 2012, 03:03:51 PM »
I thought I would check for any lost steps on my mill stepper motors . I wrote g code (as shown in manual page 5-15) in windows notepad.

F700
G21 G90
M98 P1234 L50
M30
o1234
G1 X100
g1 x0
M99

Run program but did not repeat as expected. I thought that the program would repeat 50 times.
 Also the last line (M99) for some reason did not appear in program run.
I would appreciate any suggestions.

Offline alenz

*
  •  137 137
    • View Profile
Re: Manually writing g code for first time
« Reply #1 on: July 01, 2012, 04:34:27 PM »
Make sure that there is a carriage return after the M99.
You will see lots of code ending with a %, i.e.

M99
%

That gives a visual verification that the M99 does indeed have a CR.
Al
Re: Manually writing g code for first time
« Reply #2 on: July 01, 2012, 05:42:30 PM »
Many thanks Al, I will edit code and try again