"Unknown operation" error from an "if" statement
- UbuntuNinja
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
18 Jun 2013 03:16 #35754
by UbuntuNinja
"Unknown operation" error from an "if" statement was created by UbuntuNinja
Hello everybody, I have written a g code file comprised of subroutines designed to provide a quick and easy way of creating supports for a coil make of copper pipe on a CNC. I tried to load the file in LinuxCNC, and I received a message that said "Near line 70 of primary cutter.ngc: unknown operation." I think the error is being triggered by the "o110 if" code on line 69, because the code "o<turn> call" appears earlier in the file without causing any problems. Can somebody tell me if I have correctly identified the problem here, and if so, how I could fix it? I have looked at the LinuxCNC documentation page for o-codes and cannot find anything wrong with that line of code. The file is attached.
Thank you,
Cameron
Thank you,
Cameron
Please Log in or Create an account to join the conversation.
18 Jun 2013 03:53 - 18 Jun 2013 04:14 #35756
by nkp
gentle.compilertools.net/book/relations.html
Replied by nkp on topic "Unknown operation" error from an "if" statement
(if we are cutting the first support, cut an extra notch for the nth turn)
o110 if [#<_nsupport> eq 0]
o<turn> call
o<cut> call
o110 endif
Last edit: 18 Jun 2013 04:14 by nkp.
Please Log in or Create an account to join the conversation.
18 Jun 2013 05:37 #35758
by BigJohnT
Replied by BigJohnT on topic "Unknown operation" error from an "if" statement
I don't see a o<support> call and it is the outer loop.
JT
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds