not understanding where to attach physical wires

More
10 Mar 2014 01:55 - 10 Mar 2014 01:58 #44608 by johns00056
I got a sample configuration to load in my computer. I have been through all the manuals, at least 100 times, and I am just not getting the part about hooking up wires to the 7i85 daughter board.

I have 5i25, 7i85 and 8i20 brushless servo drive powered up with the LEDs lit up as they should be.

I am confused by the dmesg. It lists pin numbers followed by numbers in parentheses . These numbers sort of look like they match up with the picture on page 6 of the 7i85 manual, except the labels are different.

The labels list something about muxed encoders, but the 7185 manual shows 3 encoder connectors and 5 serial communication connectors.

Looking at servogreen.hal I see only one place to connect a wire-GPIO 25 for the home switch.

on jog.hal I don't see any places to attach wires.





File Attachment:

File Name: jog.hal.zip
File Size:3 KB



File Attachment:

File Name: green_2014-03-09.zip
File Size:4 KB




File Attachment:

File Name: 7i85man.pdf.zip
File Size:117 KB
Attachments:
Last edit: 10 Mar 2014 01:58 by johns00056.

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

More
10 Mar 2014 01:59 - 10 Mar 2014 02:04 #44609 by johns00056
I have been told that the setup wizard will not work for my cards.


File Attachment:

File Name: pins1.zip
File Size:1 KB
Attachments:
Last edit: 10 Mar 2014 02:04 by johns00056.

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

More
10 Mar 2014 02:44 - 10 Mar 2014 02:59 #44610 by PCW
One thing at a time...

A good first step might be to connect encoder 0

According to the manual (pages 3 and 6) this connects to 7I85 pins 1 through 8 on TB3:
TB3 PIN 	FUNCTION 	DIR
1 		QA0 		TO 7I85
2 		/QA0 		TO 7I85
3 		GND 		FROM 7I85
4 		QB0 		TO 7I85
5 		/QB0 		TO 7I85
6 		+5V 		FROM 7I85
7 		IDX0 		TO 7I85
8 		/IDX0 		TO 7I85
Last edit: 10 Mar 2014 02:59 by PCW.

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

More
10 Mar 2014 02:59 #44611 by johns00056
Thank you for your response. The encoder hookups make perfect sense to me , so I will go ahead and do that.

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

More
13 Mar 2014 20:24 #44759 by johns00056
I got the encoder connected and it seems to work. The display counts up and down when I turn the motor by hand.

When I enable the 8i20 brushless servo drive the motor starts to turn slowly and continuously with low power. I can stop it with my fingers. (I have the drive belt off.)

I don't know how to home it.

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

More
13 Mar 2014 21:58 #44761 by PCW
Looks like the sample config is set up for magnetic (Thump) BLDC commutation init
(thats the "q" option) so it may in fact have initialized the motor commutation

If it continues to turn, thats a good thing (that means commutation is working)
But this is somewhat unlikely as these BLDC parameters would have to match your motor/encoder

from the sample file:

setp bldc.0.initvalue .3
setp bldc.0.scale -4000
setp bldc.0.poles 4

This is setup for a 1000 line (4000 count) encoder and a 4 pole motor
(it would also work to a 8 pole motor with a 2000 line encoder)

Do you know the encoder counts and number of motor poles?

Note that the motor current is quite limited until the NVMaxCurrent is set to the 8I20s
maximum (30A) but this is probably a good thin at this point

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

More
14 Mar 2014 00:15 #44764 by johns00056
It has a 2048 encoder and the motor is 8 poles.

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

More
14 Mar 2014 00:37 #44766 by PCW
OK so that means that you need:

setp bldc.0.initvalue .3
setp bldc.0.scale -8192
setp bldc.0.poles 8

If you have not already done so

note that the scale may need to be reversed (to 8192) depending on you final axis
directions, and encoder connections

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

More
14 Mar 2014 00:55 #44768 by johns00056
I did that, no change yet.

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

More
14 Mar 2014 01:10 #44769 by PCW
does the motor run continuously when enabled?

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

Time to create page: 0.397 seconds
Powered by Kunena Forum