Program exceeds machine max. on axis X

More
19 Jun 2014 09:32 - 19 Jun 2014 11:27 #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.
Last edit: 19 Jun 2014 11:27 by krlynn. Reason: Discovered problem

Please Log in or Create an account to join the conversation.

More
19 Jun 2014 18:08 #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
The following user(s) said Thank You: krlynn

Please Log in or Create an account to join the conversation.

More
30 Jul 2016 16:40 #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 or Create an account to join the conversation.

More
30 Jul 2016 21:09 #78171 by krlynn
Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum