EMC and 7i43

More
09 Jul 2011 23:49 #11343 by efinkg
Replied by efinkg on topic Re:EMC and 7i43
Another try, sorry.

File Attachment:

File Name: error-8a8f...293d.txt
File Size:5 KB
Attachments:

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

More
10 Jul 2011 00:13 #11344 by andypugh
Replied by andypugh on topic Re:EMC and 7i43
I really was expecting some more context…

All we have is what you already mentioned:
[ 156.592074] HAL: ERROR: duplicate variable '.in'
That error message is in the function that creates HAL pins.
I have tried to run your hal file myself, but can't make it work without the INI.

I can't see the problem. The only thing I can suggest is to change these lines:
loadrt abs names=
loadrt lowpass names=
loadrt near
to
loadrt abs
loadrt lowpass 
loadrt near

I am not at all sure about the advisability of using "names" with no arguments.

I think what is happening is that it is trying to create an abs function called <blank> and a lowpass called <blank> then when it creates the input pin for the abs, it calls it .in (<blank>.in ) and then the input pin for the lowpass ends up with the same name…

This, I think, is a bug for cmorley, as that looks like a pncconf-generated file..

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

More
10 Jul 2011 01:46 #11345 by efinkg
Replied by efinkg on topic Re:EMC and 7i43
That's the whole of the error file unless you need the information not given in the EMC error file.

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

More
10 Jul 2011 04:19 #11350 by cmorley
Replied by cmorley on topic Re:EMC and 7i43
This is an error in pncconf.
It has been fixed but the fix has not been released yet.

I'm thinking you added the pyvcp spindle speed display options and have spindle encoder feedback
anyways i can't quite remember if you can just remove the two lines completely or must fix them...
Need to see your whole config files to answer that or probably just the pncconf file.

i have no idea when the fix will be released

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

More
10 Jul 2011 07:16 #11351 by efinkg
Replied by efinkg on topic Re:EMC and 7i43
Attached is my pncconf, let me know if you need any more files, thanks.

File Attachment:

File Name: smurfette.txt
File Size:110 KB
Attachments:

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

More
10 Jul 2011 07:46 - 10 Jul 2011 08:36 #11352 by cncbasher
Replied by cncbasher on topic Re:EMC and 7i43
replace the lines as follows

loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle
loadrt scale names=scale.spindle
loadrt near

also add the following below line ' addf motion-controller servo-thread '

addf abs.spindle servo-thread
addf scale.spindle servo-thread
addf lowpass.spindle servo-thread


as said this is an error in pncconf , missing some setup lines in the hal file for the spindle speed scaling

change the bit file name to suit your config , should be all you need to do

replace your hal file with the one attached , and see how you get on .

File Attachment:

File Name: smurfette-...ead2.hal
File Size:9 KB
Attachments:
Last edit: 10 Jul 2011 08:36 by cncbasher.

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

More
10 Jul 2011 18:35 #11361 by efinkg
Replied by efinkg on topic Re:EMC and 7i43
Perfect.

I am now getting joint following errors, do the pncconf encoder and PWM generator pins map to the 7i33 silkscreened pin labels?

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

More
10 Jul 2011 18:56 #11362 by PCW
Replied by PCW on topic Re:EMC and 7i43
Joint following errors should be expected when a servo system is first setup.
You have about a 50 % chance of having feedback in the right direction initially
so the servo may just runaway until you get a following error. Also even if the feedback is
in the proper direction, the servos will need to be tuned before the following error is
within reasonable bounds.

I would recommend that you first verify that the encoders count properly
(and in the right directions) before trying motion with the drives enabled

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

More
10 Jul 2011 19:57 #11366 by cncbasher
Replied by cncbasher on topic Re:EMC and 7i43
they should map to P4 connector , i believe .

if your stuck post a list of your pin usage etc and if their connected to p3 or p4 and i'm sure we can check it over
which variant 7i33 are you using ?

pncconf was showing some wrong connections , so it depends on which version your using

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

More
11 Jul 2011 01:22 #11373 by efinkg
Replied by efinkg on topic Re:EMC and 7i43
I'm using a 7i43-4 connected to a 7i33TA through P4. My encoders are reading right, and the enable signal is going out at the right time, checked with a multimeter to be outputting 5v. The servo PWM are connected to Ground and Analog Out, with 6mhz PDM, but I'm getting no read on my multimeter when I check it, and I get an instant joint movement error.

All drive settings are stock, which probably will need to be updated and I'm trying to read information on that to see how I should progress there.

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

Time to create page: 0.292 seconds
Powered by Kunena Forum