Mesa 7I44-7I70/7I71

More
19 Dec 2011 23:16 #15876 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I am sure it would help my cause, but I still want to understand everything. If it gets done I will be sure to give you any feedback you would want.

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

More
20 Dec 2011 22:17 #15909 by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
"Another thing I have been trying to figure out is how do I see all the way through my configuration, meaning the pins on my input and output cards? Is there a command that show my configuration kind of like a directory tree? "

Sure: under the "Machine" menu in Axis select "Show HAL Configuration"

You will need to get the HAL file error free before you can do this but you should be close

Another way is to do it manually with halrun (this is an example terminal session)
(control_alt T to pop up a terminal)
halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2pci config="firmware=hm2/5i23/rmsvss6_8.bit num_pwmgens=6 num_resolvers=6 sserial_port_0=000XXXXX"
halcmd: show pin
halcmd: show parameter

Note the halcmd: is the prompt from halrun, (dont type it)

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

More
20 Dec 2011 22:31 #15911 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I may be close but I have no Idea......I have been reading the man hostmot2 and see that there eight pins for the resolver and six for the encoder? I am understanding the position language but not how to name the pins (what order) and how to make the arguement. does anyone have a sample Hal file for the resolver config? I think if I could see it done I would understand it better.

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

More
20 Dec 2011 22:55 #15913 by andypugh
Replied by andypugh on topic Re:Mesa 7I44-7I70/7I71
SRT wrote:

I have been reading the man hostmot2 and see that there eight pins for the resolver and six for the encoder? I am understanding the position language but not how to name the pins (what order) and how to make the arguement. does anyone have a sample Hal file for the resolver config? I think if I could see it done I would understand it better.


Well, it ought to wire just about exactly the same as an encoder. Except that "scale" probably needs to be the number of resolver cycles per unit distance. (typically there would be one resolver cycle per motor rev, but not always)
Then resolver.n.position gets wired to axis.n.motor-pos-fb

I am not sure you actually need anything more.

resolver.n.rawcounts is for the use of commutation routines with brushless motors, and the resets and indexes are for spindle use (threading/tapping)

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

More
21 Dec 2011 00:32 #15915 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
OK thank you I will keep working on it. Everybody has been a big help.

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

More
21 Dec 2011 02:09 - 21 Dec 2011 02:13 #15917 by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
Heres a quick hack of the demo hm2-servo config with resolvers replacing the encoders

freeby.mesanet.com/srt.zip

Other hal file changes from demo are:
PWM modes set to 2 (to match 7I49 analog outputs)
PWM frequency set to 24 KHz
Input scale set to 0.200 (right for .2 pitch screw and 1 electrical turn/physical turn resolver 1:1 with screw)

Note that there is a new firmware file included. please use this file and discard the old one
the old one has a bug (not something you would notice until you hooked up the resolvers)

I have not checked this any further than to verify that it loads and the axis position readout reads the resolvers
Last edit: 21 Dec 2011 02:13 by PCW. Reason: ommission

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

More
23 Dec 2011 17:53 #15965 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
I am just getting back to this after a few days away. Thank you for the help. I just downloaded the files and I will be studying them. I am sure you will be seeing some progress. Thanks again

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

More
23 Dec 2011 20:06 #15968 by PCW
Replied by PCW on topic Re:Mesa 7I44-7I70/7I71
Another detail, when you get around to setting up outputs with the 7I71 you should update your EMC2 2.5
to the latest from the buildbot (or pull and recompile if that's how you got EMC2 V 2.5)

There's a bug with SSERIAL bit output when the bit # is greater than 30 (the 7I71 uses bit numbers 0 through 47) This was just fixed yesterday (12/22)

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

More
27 Dec 2011 20:56 #16020 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
Well I was actually able to get a config that EMC does not reject. I know that does not make it usable but I was surprised when EMC started up using my config. Now I have to figure out how to wire it to the machine.

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

More
27 Dec 2011 22:02 #16021 by SRT
Replied by SRT on topic Re:Mesa 7I44-7I70/7I71
Ok I have EMC2 started with my config. In the Show Hal Configuration window I can see the resolver and the pwmgen coming off of the hm2_5i23 branch but I can not see the two 7i70 cards and the 7i71 card. I do however have 72 pins of GPIO on the parameter branch. Not knowing exactly what I am looking at yet does this seem right?

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

Moderators: PCWjmelson
Time to create page: 0.103 seconds
Powered by Kunena Forum