> On 9 Sep 2017, at 16:15, Sag ich Dir nich <stevie.rammst...@live.de> wrote:
> 
> okay it says:
> 
> machinekit@beaglebone:~/machinekit/nc_files$ bash M119
> M119: line 2: werkzeug_kontrollieren: No such file or directory
> machinekit@beaglebone:~/machinekit/nc_files$
> 
> but its in the directory where all the other files are (where it should be). 
> If i call this program via MDI it works.

Yes, but you use a shell script. Do some Google-Fu on that. It's like writing 
to the terminal like you would type it. And there apparently is no file 
"werkzeug_kontrollieren"  in that directory (beware of file extensions)

> 
> Am Samstag, 9. September 2017 16:02:48 UTC+2 schrieb Bas de Bruijn:
>> 
>> 
>> 
>> > On 9 Sep 2017, at 15:53, Sag ich Dir nich <stevie.r...@live.de> wrote: 
>> > 
>> > Hello, 
>> > 
>> > i try to call a Gcode program with an M-Code (M119) but nothing happens 
>> > except it executes something for a split second and then stops again 
>> > (without G-code name in the Tab) 
>> > 
>> > M119: 
>> > 
>> > #!/bin/bash 
>> > o<werkzeug_kontrollieren> call 
>> > exit 0 
>> > 
>> > i made this M-Code by creating a new file using Winscp, called it "M119" 
>> > then inserted the code, safed it and made it executable using "chmod +x" 
>> > and "chmod 777 M119" 
>> > 
>> > what could have possibly gone wrong? 
>> 
>> Your "M119" is a shell script. "o<werkzeug_kontrollieren> call" in your 
>> script does what? Probably throws an error. Check by running the script from 
>> a terminal. 
>> 
>> > 
>> > thanks 
>> 
> 
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machinekit+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to