On Mon, 13 Jan 2020, andy pugh wrote:
Date: Mon, 13 Jan 2020 10:27:58 +0000
From: andy pugh <bodge...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] MESA 7i92H Power
On Mon, 13 Jan 2020 at 05:18, John Dammeyer <jo...@autoartisans.com> wrote:
I have LinuxCNC with the parallel port configured to create 1kHz on PIN14 and
DIR on PIN16 out through the PMDX-126. Through my adaptor board I can run the
Bergerda AC Servo from 135 RPM all the way up to 2950 RPM. The PWM to 0V-10V
board was only $11.23 Cdn and works best with a max of 1kHz. Any higher and
the low end won't drop below about 500 RPM. [/quote]
I think that you will have trouble with a 1kHz servo thread and a 1kHz PWM.
That doesn't work for
setp hm2_7i92.0.pwmgen.00.pwm-freq 1000.0
How do I set the PWM frequency? Googling hm2_7i92 doesn't turn up anything
that is helpful.
The generic docs for Mesa card HAL is here:
http://linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#pwmgen
But to find that you do need to know that the Mesa firmware is called
Hostmot2, and that the docs section exists.
It should be setp hm2_7i92.0.pwmgen.00.pwm-frequency 1000.0
--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
?? George Fitch, Atlanta Constitution Newspaper, 1912
You dont need to guess about pin and parameter names.
With LinuxCNC running type:
halcmd show pin hm*
to show all Hostmot2 hardware pins
and
halcmd show param hm2*
to show all Hostmot2 hardware parameters
To create a list of all pins, parameters, and signals as a copy-paste donor
file:
halcmd show all > linuxcnc-names.txt
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users