REMAP function doesn't work

More
6 years 9 months ago #155946 by aleksamc
I try to study REMAP function and I read main Doc (Example for named parameter passing to NGC procedures)
but I get such error:
"NGC file not found: ngc=m400 - 45:REMAP = M400 modalgroup=10 argspec=Pg ngc=m400"

I make standart example:
1) I add to .ini file in [RS274NGC]
REMAP=M400 modalgroup=10 argspec=Pq ngc=400
2) Creat file <m400.ngc> in main linux configuration folder (also change it to standart nc-files
2.1) The code of it is from example:
Code:
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
3) linux doesn't starts.

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

More
6 years 9 months ago #155953 by tommylight

aleksamc wrote: "NGC file not found: ngc=m400 - 45:REMAP = M400 modalgroup=10 argspec=Pg ngc=m400"


You need to have actual files named m400.ngc in the same folder as the config, if i remember correctly as it was some years ago i used remap.

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

More
6 years 9 months ago #155977 by aleksamc
Yes, I have them in the same folder as .ini file, but it doesn't found it.
What I do wrong I don't know?

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

More
6 years 9 months ago #155984 by curtisa
Replied by curtisa on topic REMAP function doesn't work
Pretty sure your 400.ngc file needs to be saved in the location specified under the SUBROUTINE_PATH parameter in the [RS274NGC] section of your INI file.
The following user(s) said Thank You: tommylight, aleksamc

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

More
6 years 9 months ago #155998 by aleksamc
Yes, it's helped. Thanks a lot.

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

More
6 years 9 months ago - 6 years 9 months ago #156037 by aleksamc
-
Last edit: 6 years 9 months ago by aleksamc. Reason: was my gramar fault

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

Time to create page: 0.362 seconds
Powered by Kunena Forum