On Tue, 20 Aug 2019, John Dammeyer wrote:
Date: Tue, 20 Aug 2019 12:47:12 -0700
From: John Dammeyer <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: "'Enhanced Machine Controller (EMC)'" <[email protected]>
Subject: Re: [Emc-users] MESA 7i92H Saga
Asking again.
The only web link I found on this subject is 2 years old
https://forum.linuxcnc.org/39-pncconf/32347-5i25-7i76-pin-axis-9-motor-pos-cmd-does-not-exist
and their solution was not to use step/dir with the mesa board.
So is anyone actually using something like a mesa 7i92 with step/dir to the
spindle?
Or can someone explain why axis.9 is defined and how LinuxCNC attaches to it?
Thanks John
I think the best way to do this is to use a working configuration and add the
stepgen spindle control manually to the hal file. Its really not that complex
to do by hand, and if the configurator doesn't not know how to make a
step/dir controlled spindle and you add more stepgens by adding more axis you
will just have a mess...
1. You don't need any more axis
2. You will need to enable 6 stepgens (0..5) in the driver load line
3. You need to setup stepgen 5 in velocity mode and scale it appropriately
(scale will be pulses per turn if you link the stepgen rate to the spindle
speed in RPS or 60*steps per turn if you use the RPM spindle speed)
4. Next you need to net the spindle speed from motion to stepgen 5s velocity
command
5. You probable also should net stepgen 5's enable to motions spindle enable
(so the step rate is forced to 0 when the spindle is disabled)
Unless you have looked at a hal file these may seem pretty mysterious but here
are some things that should help:
http://linuxcnc.org/docs/html/hal/tutorial.html
also man pages:
man motion
man hostmot2
To show actual pins/parameter/signals of a running LinuxCNC instance:
halcmd show all > all.txt
all.txt now has all pins,parameters, signals and functions of you current
running LinuxCNC system, and can be a great copy/paste donor file so you dont
need to guess at names
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users