- Posts: 19311
- Thank you received: 4655
Subroutine error
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.
- beltramidave
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 84
- Thank you received: 4
5 years 2 months ago #217500
by beltramidave
Replied by beltramidave on topic Subroutine error
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, ThanksIt 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.
- beltramidave
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 84
- Thank you received: 4
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.
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.
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
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.162 seconds