- Posts: 36
- Thank you received: 0
Program exceeds machine max. on axis X
12 years 4 months ago #48107
by krlynn
Program exceeds machine max. on axis X was created 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.
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.
12 years 4 months ago #48116
by ArcEye
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
Replied by ArcEye on topic Program exceeds machine max. on axis X
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.
10 years 3 months ago #78162
by clunc
Replied by clunc on topic Program exceeds machine max. on axis X
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.
Time to create page: 0.198 seconds
