Remap Problems

More
15 Oct 2012 12:22 #25334 by LAIR82
Remap Problems was created by LAIR82
I ma having some problems with using the extended builtin m01. I copied the builtin to my nc file, and put,

REMAP=m01 ngc=extend_m1 modalgroup=5

in my INI and when I try to open linux I get the error;

Near line 0 of
/usr/share/axis/images/axix-lathe.ngc
maximum nesting of remmapped blocks
exceeded

but if I click OK linux will open, but when I try to open one of our programs I get the same error, only stating our program name instead of the axis image program

Any thoughts?

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

More
16 Oct 2012 14:43 #25376 by LAIR82
Replied by LAIR82 on topic Re:Remap Problems
I didn't realize I had to perform some terminal commands to mke this happen.

I did the terminal commands, added the lines to my INI, but I am still getting the nesting error.

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

More
16 Oct 2012 19:05 #25382 by LAIR82
Replied by LAIR82 on topic Re:Remap Problems
I have started to get this cleared up, after reading the extending emc section on the prerequisites (4 times) for using remap functions, its down to an error that comes up in the debug file of

initialize: module '/home/srt/linuxcnc-dev/python/toplevel.py' init failed:

traceback (most recent call last):

File "/home/srt/linuxcnc-dev/python/toplevel.py", line 1, in <module>
import remap

ImportError: No module named remap

Interp ctor : can't instantiate Python Plugin


It looks to me like the remap module is not imported correctly, but, there is a remap.py file in my python folder and the manual says it may be initially empty but it needs to be there.

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

More
18 Oct 2012 20:10 #25423 by mhaberler
Replied by mhaberler on topic Re:Remap Problems
A remap configuration involves a Python remap.py module, and possibly others.

If you copy configurations, make sure you copy all relevant files

also make sure you adjust the Python path so Python can find the modules in the new location.

This is described in the manual here: www.linuxcnc.org/docs/devel/html/remap/s...ap_embedded_python_a
and there are comments in each ini file under configs/sim/remap .

-m

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

More
18 Oct 2012 20:20 #25424 by mhaberler
Replied by mhaberler on topic Re:Remap Problems
LAIR82 wrote:

I ma having some problems with using the extended builtin m01. I copied the builtin to my nc file, and put,

REMAP=m01 ngc=extend_m1 modalgroup=5

in my INI and when I try to open linux I get the error;

Near line 0 of
/usr/share/axis/images/axix-lathe.ngc
maximum nesting of remmapped blocks
exceeded

but if I click OK linux will open, but when I try to open one of our programs I get the same error, only stating our program name instead of the axis image program

Any thoughts?


Yes. Do not introduce arbitrary leading zeros when redefining a builtin command.

Change it back to what it was in the example ini file which said: REMAP=M1 modalgroup=4 ngc=extend_m1

so it should read:

REMAP=m1 ngc=extend_m1 modalgroup=5

that should work.

-m

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

More
19 Oct 2012 11:52 #25437 by LAIR82
Replied by LAIR82 on topic Re:Remap Problems
It finally works. I checked the INI and the remap.py, fixed the INI and it took off.


Thanks Guys

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

More
27 Oct 2012 08:19 #25866 by jlviloria
Replied by jlviloria on topic Re:Remap Problems
Greetings.

Rick, sorry to hijack your thread.

But I have no way to reach you directly.

I have a problem, my servomotors move well servomotors attach the Z and it worked OK.
attach my. servomotors X, does not move the servomotor.

had a hydro-mechanical brake, but we removed away and nothing.

the machine still does not have the hydraulic system operating.

but I realize that it has a hydraulic cylinder on the X axis

Trying to read the manual (poor English) understand that the cylinder as a counterweight,

Without the hydraulic operating system I can not move my axis X?

or lack of maintenance will be?


Thanks,

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

More
28 Oct 2012 03:36 #25907 by SRT
Replied by SRT on topic Remap Problems
You are correct the x axis has a counter balance cylinder. I believe that you will have to get the hydraulics fired to move the x axis........How were you working on the tool change without the hydraulics?
The following user(s) said Thank You: jlviloria

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

More
28 Oct 2012 03:50 #25909 by LAIR82
Replied by LAIR82 on topic Remap Problems
I created a new thread about this it is "Cincinnati Millacron X axis slide".



Thanks

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

Time to create page: 1.129 seconds
Powered by Kunena Forum