- Posts: 8
- Thank you received: 0
O-Words to open files
16 years 4 months ago #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
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 to join the conversation.
16 years 4 months ago #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
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 to join the conversation.
16 years 4 months ago #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
Greg, you can't have caps in the called file name.
John
Please Log in to join the conversation.
16 years 4 months ago #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.
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 to join the conversation.
Time to create page: 0.233 seconds
