NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Hardware Driver Boards Mesa 7I44-7I70/7I71

Welcome, Guest
Username: Password: Remember me

TOPIC: Mesa 7I44-7I70/7I71

Re:Mesa 7I44-7I70/7I71 19 Dic 2011 15:16 #15876

  • SRT
  • SRT's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 140
  • Thank you received: 1
  • Karma: 1
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.
The administrator has disabled public write access.

Re:Mesa 7I44-7I70/7I71 20 Dic 2011 14:17 #15909

  • PCW
  • PCW's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1651
  • Thank you received: 87
  • Karma: 116
"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)
The administrator has disabled public write access.

Re:Mesa 7I44-7I70/7I71 20 Dic 2011 14:31 #15911

  • SRT
  • SRT's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 140
  • Thank you received: 1
  • Karma: 1
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.
The administrator has disabled public write access.

Re:Mesa 7I44-7I70/7I71 20 Dic 2011 14:55 #15913

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
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)
The administrator has disabled public write access.

Re:Mesa 7I44-7I70/7I71 20 Dic 2011 16:32 #15915

  • SRT
  • SRT's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 140
  • Thank you received: 1
  • Karma: 1
OK thank you I will keep working on it. Everybody has been a big help.
The administrator has disabled public write access.

Re:Mesa 7I44-7I70/7I71 20 Dic 2011 18:09 #15917

  • PCW
  • PCW's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1651
  • Thank you received: 87
  • Karma: 116
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: 20 Dic 2011 18:13 by PCW. Reason: ommission
The administrator has disabled public write access.
Moderators: PCW, jmelson
Time to create page: 1.420 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.