Program exceeds machine max. on axis X

More
12 years 4 months ago #48107 by krlynn
I wrote my first program today for a fairly simple handle. It failed execution and I got a message stating "Program exceeds machine maximum on axis x."

Reason was the program included an x coordinate instruction of "6500" instead of ".6500." I 'd gone over the code several times and missed it. When I told linuxcnc to attempt to run the program anyway, it issued a message identifying a problem on line 19. And there it was.

Please Log in to join the conversation.

More
12 years 4 months ago #48116 by ArcEye

When I told linuxcnc to attempt to run the program anyway, it issued a message identifying a problem on line 19. And there it was.


Well done, first stage of Linuxcnc self-sufficiency passed!

Andy and I keep trying to get across to people that error messages actually tell you what is wrong, unfortunately some of them require a bit more knowledge to know what they mean.

regards

Please Log in to join the conversation.

More
10 years 3 months ago #78162 by clunc
BTW, computer programmers have, since back in FORTRAN days, acquired the habit of adding a leading '0' to make that little decimal point more visible. Recommended.

Please Log in to join the conversation.

More
10 years 3 months ago #78171 by krlynn
Thanks.

Please Log in to join the conversation.

Time to create page: 0.198 seconds
Powered by Kunena Forum