O-Words to open files

More
12 Jun 2010 14:28 #3121 by grewgood
O-Words to open files was created by grewgood
My "GFile1.ngc" contains the following

o<GFile1>sub

G91
G0X30
o<GFile>endsub
M2

My "Test2.ngc" file contains

o<GFile1>CALL
M2

I load Test2.ngc without any problem (in axis) but when I try run, there is no action. No error, no message.
I have tried a few variations. Any suggestions?

Thanks
Greg
Greg

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

More
12 Jun 2010 16:46 #3123 by ArcEye
Replied by ArcEye on topic Re:O-Words to open files
I refer you to this topic to which I previously posted

www.linuxcnc.org/component/option,com_ku...d,1672/lang,english/

As far as I could tell, calling named files does not work ( In 2.3 at least) but calling numbered files works fine.

regards

Arc Eye

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

More
13 Jun 2010 13:39 - 13 Jun 2010 13:50 #3128 by BigJohnT
Replied by BigJohnT on topic Re:O-Words to open files
Calling named files has worked since 2.3.

Greg, you can't have caps in the called file name.

John
Last edit: 13 Jun 2010 13:50 by BigJohnT.

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

More
14 Jun 2010 11:12 #3136 by andypugh
Replied by andypugh on topic Re:O-Words to open files
BigJohnT wrote:
Greg, you can't have caps in the called file name.
[/quote]

Indeed. The parser strips out all spaces and converts to lower case, so it is looking for the file "test2.ngc" and not finding it.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum