Subroutine error

More
5 years 2 months ago #217447 by andypugh
Replied by andypugh on topic Subroutine error
It looks like the problem might well be the lack of an M2 at the end of the subs.

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

More
5 years 2 months ago #217500 by beltramidave
Replied by beltramidave on topic Subroutine error

It looks like the problem might well be the lack of an M2 at the end of the subs.
I can most certainly add M2 to the end and see if it makes a difference, but none of my other subs have it and they work fine all the time.   I will try and report back,   Thanks

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

More
5 years 2 months ago #218132 by beltramidave
Replied by beltramidave on topic Subroutine error
Sorry for the lapse in replies.
Adding M2 to the end of my subroutine had no effect on my issue.

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

More
5 years 2 months ago #218145 by MaHa
Replied by MaHa on topic Subroutine error
in the ini file
OPEN_FILE = /home/probotix/Desktop/Warmup Routine.ngc

having spaces in .ngc files could cause problems...

in o100 SUB
o101 if [#1 NE #5400]

but after start, maybe there is no tool in spindle, #5400 , and then further down the routine, P#1 must be a valid toolnumber from tooltable
G10 L11 P#1 Z0 R0

i think you need to exclude read this when loading, with something like

   o800 IF     [#<_task> EQ 0]
   o800        RETURN [99]
   o800 ENDIF
   
 

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

Time to create page: 0.066 seconds
Powered by Kunena Forum