> On 31 Aug 2017, at 13:28, Pranav Pandey <[email protected]> wrote:
> 
> well, the first line states your problem. A file isn’t found. so you probably 
> have a path problem.
> please do read these informations carefully. because it will give you clues.
> 
> to get the location of the file (which should be available) on your system 
> type
> in the terminal: “sudo find / -name g22.ngc”
> 
> now before you start please do in the terminal “export DEBUG=5”
> 
> run machinekit
> 
> Done. The issue has been eliminated by using the following CRAMPS Config. 
> https://github.com/machinekoder/MendelMax-CRAMPS/blob/master/CRAMPS.ini
> 
> But now on importing the g-code I get the following errors:
> 
>  user-defined M190: missing: P

It clearly states you are missing a ‘P’ argument
so take a look at your g-code where M190 is used and see if it has a P argument

> 
> I found this information on the linuxcnc page regarding this error:
> 
> Assume the code is defined as
> 
> REMAP=M400 modalgroup=10 argspec=Pq ngc=m400
> and m400.ngc looks as follows:
> o<m400> sub
> (P is required since it's uppercase in the argspec)
> (debug, P word=#<P>)
> (the q argspec is optional since its lowercase in the argspec. Use as 
> follows:)
> o100 if [EXISTS[#<q>]]
>     (debug, Q word set: #<q>)
> o100 endif
> o<m400> endsub
> M2
> executing M400 will fail with the message user-defined M400: missing: P
> 
> executing M400 P123 will display P word=123.000000
> 
> executing M400 P123 Q456 will display P word=123.000000 and Q word set: 
> 456.000000
> 
> In my case I opened the M190.ngc file which looked like this
> 
> o<m190> sub
> #502=0; hbp index
> M68 E#502 Q#<P>
> M66 P#502 L3 Q1000
> o<m190> end sub
> 
> Also the REMAP code is defined as
> 
> REMAP=M190 modalgroup=10 argspec=P ngc=m190
> 
> What can be a possible reason for this error?
> 
> -- 
> website: http://www.machinekit.io <http://www.machinekit.io/> blog: 
> http://blog.machinekit.io <http://blog.machinekit.io/> github: 
> https://github.com/machinekit <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 [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/machinekit 
> <https://groups.google.com/group/machinekit>.
> For more options, visit https://groups.google.com/d/optout 
> <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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to