NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Gcode error

Re:Gcode error 05 Apr 2012 07:55 #18991

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4960
  • Thank you received: 87
  • Karma: 134
If when you load a G code file with loops Axis hangs up it is usually a loop that does not ever exit or loops a zillion times.

John
The administrator has disabled public write access.

Re:Gcode error 05 Apr 2012 08:15 #18993

  • ArcEye
  • ArcEye's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1338
  • Thank you received: 103
  • Karma: 129
Hi

JT beat me, the video looks like it is in an endless loop.

The errors are related to loading the .ngc file too which figures

Only thing to do is revert to the file that loaded and slowly introduce the changes until you hit a problem.
I would suspect that your substitution of 0 for 1000 is having an unforeseen effect in another section of the code.

regards
The administrator has disabled public write access.

Re:Gcode error 05 Apr 2012 09:11 #18996

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 689
  • Thank you received: 30
  • Karma: 53
O112 if [#<laenge> EQ 0]
#<laenge> = 1000
O112 endif

this should be a lower than or equals if equate , i under stand this to equate to 0 only and not a lower than or equals , so i recon it hangs up
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.937 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.