Mesa 7i92M Support

More
01 Mar 2017 21:24 #88847 by tuffduck33
tuffduck33 replied the topic: Mesa 7i92M Support
That makes me feel better. Where do we start?
More
02 Mar 2017 00:18 #88853 by tuffduck33
tuffduck33 replied the topic: Mesa 7i92M Support
Is there a way I can send you the files I have?
More
02 Mar 2017 00:35 #88854 by andypugh
andypugh replied the topic: Mesa 7i92M Support
Just attach the HAL and INI to a message here.

You said you could jog one axis, if I understand correctly?
More
02 Mar 2017 01:28 #88857 by tuffduck33
tuffduck33 replied the topic: Mesa 7i92M Support
I can jog all three axis. Cannot home or run a program. It only works when the charge pump is off.
Attachments:
More
02 Mar 2017 13:13 #88870 by andypugh
andypugh replied the topic: Mesa 7i92M Support
To start with the charge-pump:
I think you should have a PWM on the correct pin, but to check.

First open a terminal and clear the dmesg log
sudo dmesg -c
Now start linuxcnc from the GUI.
Then clear the terminal (or open a new one) and type
dmesg
halcmd show pin
halcmd show param
Copy and paste all that output to text file, and attach that to a message here.
More
02 Mar 2017 20:43 #88898 by tuffduck33
tuffduck33 replied the topic: Mesa 7i92M Support
Hello, here is what showed on the screen.
Attachments:
More
02 Mar 2017 22:36 #88902 by andypugh
andypugh replied the topic: Mesa 7i92M Support
Unfortunately the output of dmesg and the first part of "show pin" has disappeared (probably off the top)
Perhaps do them one at a time.

However, we probably have enough info to activate the charge pump. It needs to be 10 kHz and 50% duty cycle, to add the following to your HAL file (probably at the bottom)
# G540 Charge Pump
setp  hm2_7i92.0.pwmgen.00.value 0.5
setp hm2_7i92.0.pwmgen.pwm_frequency 10000
net emcmot.00.enable => hm2_7i92.0.pwmgen.00.enable

That should get the charge pump working.

Does that make sense? It is worth mentioning that emcmot.00.enable is a signal defined earlier in the HAL file, and a) Could be called anything, as long as it has the same name everywhere it is used (and I don't like that name as it looks too much like a "system" name, and it isn't. and b) In modern Linuxcnc the "newsig" command is not needed.
More
03 Mar 2017 00:05 - 03 Mar 2017 00:05 #88905 by PCW
PCW replied the topic: Mesa 7i92M Support
The pwmgen is used for the spindle analog output on the G540
The chargepump is fed by a stepgen (stepgen 4 on the first connector)

You can get a clean pin-out of your current config with:

mesaflash --device 7i92 --readhmid

(with the default 192.168.1.121 IP address)

if your 7I92M is set for IP address 10.10.10.10 you would need:

mesaflash --device 7i92 --addr 10.10.10.10 --readhmid
Last Edit: 03 Mar 2017 00:05 by PCW.
More
03 Mar 2017 00:06 #88906 by andypugh
andypugh replied the topic: Mesa 7i92M Support

PCW wrote: The pwmgen is used for the spindle analog output on the G540
The chargepump is fed by a stepgen (stepgen 4 on the first connector)


In that case, ignore most of what I just typed. :-)
More
03 Mar 2017 00:13 #88907 by tuffduck33
tuffduck33 replied the topic: Mesa 7i92M Support
Charge pump still a no go. I redid the terminal commands singly and attached the results. I was sent a newer hal and ini from Mesa and have attached them as well.
Attachments:
Moderators: cmorley
Time to create page: 0.085 seconds
Powered by Kunena Forum