I build this machine:
I want that every Operator our company can use this machine so i made a gladevcp userinterface,
The glade panel is standalone and loads after the axis program.
All hal boxes in this panel are connectet with analog ports.
The gcode programm read these analog ports
The problem is when axis starts the analog ports are zero and axis shows an error message.
how can stop axis from sending this gcode error messages.
In the attach is this gcode programm. Error is in Line 115
Sorry for my bad english. This attachment is hidden for guests. Please log in or register to see it.
Attachments:
This attachment is hidden for guests. Please log in or register to see it.
O112 if [#<laenge> EQ 0]
#<laenge> = 1000
O112 endif
modified Gcode in the attachments
now i get no error massage but when i now start axis the interpreter hang up. This attachment is hidden for guests. Please log in or register to see it.
Attachments:
This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.
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.