Mesa 7i92M Support

More
03 Mar 2017 01:03 #88908 by PCW
Replied by PCW on topic Mesa 7i92M Support
Since the chargepump is fed with stepgen 4, the setup is different, something like:

setp hm2_7i92.0.stepgen.04.steplen 50000
setp hm2_7i92.0.stepgen.04.position-scale 1
setp hm2_7i92.0.stepgen.04.step_type 0
setp hm2_7i92.0.stepgen.04.control-type 1
setp hm2_7i92.0.stepgen.04.velocity-cmd 10000
net machine-is-enabled => hm2_7i92.0.stepgen.04.enable

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

More
03 Mar 2017 17:38 - 03 Mar 2017 17:39 #88944 by andypugh
Replied by andypugh on topic Mesa 7i92M Support
In addition to what PCW has above:

You need to remove the PWM-related lines that I misled you into adding.

You need to enable all of the stepgens: In the INI change
CONFIG="num_encoders=0 num_stepgens=3"
to
CONFIG="num_encoders=0 num_stepgens=5"

In PCW's example he has used machine-is-on for the enable signal. I think that in your config that is called emcmot.00.enable

Are you actually using the parallel port too? If not:
Remove these lines from the HAL, they are for the parallel port:
loadrt hal_parport cfg="0 out"
loadrt charge_pump
addf parport.0.read servo-thread
addf charge-pump servo-thread
addf parport.0.write servo-thread

Also, if you are not using the parallel port, The following lines need to be changed to use the GPIO on the G540, not the parallel port.
# --- JOG-X-POS ---
net jog-x-pos <= parport.0.pin-03-in
# --- JOG-Y-NEG ---
net jog-y-neg <= parport.0.pin-05-in
# --- JOG-Z-POS ---
net jog-z-pos <= parport.0.pin-07-in
# --- JOG-A-POS ---
net jog-a-pos <= parport.0.pin-09-in
# --- HOME-X ---
net home-x <= parport.0.pin-11-in
# --- HOME-Y ---
net home-y <= parport.0.pin-12-in
# --- HOME-Z ---
net home-z <= parport.0.pin-13-in
Last edit: 03 Mar 2017 17:39 by andypugh.

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

More
03 Mar 2017 20:51 #88955 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
I have attached copies of my latest ini and hal files along with the error message that comes up when I run linuxcnc. I am not usuing the computer's paraport just the one on the mesa card which is cabled to the g540.
Attachments:

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

More
03 Mar 2017 21:16 #88958 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
Debug file information:
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
./LinuxCNC_Mesa7i92.hal:4: Warning: File contains DOS-style line endings.
Note: Using POSIX realtime
inifile: warning: File contains DOS-style line endings.
./LinuxCNC_Mesa7i92.hal:9: parameter or pin 'hm2_7i92.0.watchdog.timeout_ns' not found
6823
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components



Why on earth are you editing LINUX files on a Windows computer?
Make a new config and edit ONLY with gedit or mousepad or xed.
And also do not press the "insert" button by accident, that will also mess up the Hal and Ini files.
Regards,
Tom

P.S.
I am following this thread from the start, but have been and will be very busy for some time, as soon as i get some spare time i can test your config and firmware easily and make it work and attach it here, i have a 7i92M, just let me know what you need and how, and if it can wait a couple of days.

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

More
03 Mar 2017 21:26 #88960 by andypugh
Replied by andypugh on topic Mesa 7i92M Support


./LinuxCNC_Mesa7i92.hal:9: parameter or pin 'hm2_7i92.0.watchdog.timeout_ns' not found.


I think this is because your HAL file has lost the "board_ip" parameter for hm2_eth, so the card simply isn't being found.

hm2_7i92.0.watchdog.timeout_ns does appear in the parameter list that you made earlier, so it must be that it isn't there _now_ but that line was OK before.
The following user(s) said Thank You: tommylight

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

More
03 Mar 2017 21:34 #88961 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
Andy, thank you very much.
That is not my error, i just copied and pasted from his attached files.
I have set several configs for 7i92 without a single issue, and flashed 2 firmwares already.
Thanks to you and PCW, i never had any issue in setting up Mesa cards, only when i needed a firmware for SSI encoders, that was taken care of by PCW in record time.
Sorry for causing the confusion, will be more careful in the future.
With utmost respect,
Tom

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

More
03 Mar 2017 22:02 #88967 by andypugh
Replied by andypugh on topic Mesa 7i92M Support
No confusion, messy editing on my part.

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

More
04 Mar 2017 00:28 #88975 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Found the corruption problem - USB drive. Linuxcnc computer - shop - no internet - room temp 6 degrees. Distance from house -internet - heat is 100 ft at -12 degrees - hence usb drive. No linux computers in the house. Files cleaned up. here is the results of error file.

The goal: to get a 3 axis cnc working because the original paraport is failing. The G540 was originally connected directly to it and working until a week ago. I ordered the Mesa board and here I am. Yes I can wait, no problem there, just very thankful for the help.
Attachments:

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

More
04 Mar 2017 01:22 #88976 by andypugh
Replied by andypugh on topic Mesa 7i92M Support
That still looks like you lost the board_ip setting in the "loadrt hm2_eth" line.

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

More
05 Mar 2017 01:00 #89013 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
The following lines need to be changed to use the GPIO on the G540, not the parallel port. Directions on the web on how to accomplish this, not easy to find.

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

Moderators: cmorley
Time to create page: 0.158 seconds
Powered by Kunena Forum