Mesa 7i76e setup help!

More
9 years 10 months ago #84713 by rodw
Replied by rodw on topic Mesa 7i76e setup help!
Also I found that with a shared home/limit switch, you have to position the sensor using HOME_OFFSET so that it is no longer enabled otherwise you will get a limit switch error as you exit the homing sequence.
The following user(s) said Thank You: TheFabricatorAG

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

More
8 years 8 months ago #106440 by grossman83
Replied by grossman83 on topic Mesa 7i76e setup help!
I got my cnc lathe retrofit up and running a few years ago, and now I'd like to add two mpg wheels for X and Z. The problem is that I'm unsure as to how to set my 7i92 into Software Process Data Mode 2 as described in the 7i76 manual on page 24. (In case you're wondering I think I did my retrofit before there was a 7i76e so I've got the 7i76 plugged into a 7i92... this is basically a hacked way of having a 7i76e).

What I would like to do now to improve the usability of my lathe is to wire up the two mpg wheels, with an increment selector switch (0.0001/click, 0.001/click, 0.01/click) and a few other buttons such as tool length offset set (X,Z) and G54 set (Z only since it's a lathe and there isn't much point in having the G54 not on the Z axis).

Here's a brief description of what I've already got wired up and working
spindle encoder into the high speed encoder/counter on the 7i76
X servo step/dir enable wired into axis 0
Z servo step/dir enable wired into axis 2
Tool changer (it's a geneva mechanism with a vane sense hall effect chip) wired in and working with some custom ladder logic
Spindle speed/dir wired up to the analog output of the 7i76

Here are my .hal and .ini files.

Any help would be greatly appreciated. AGAIN, THE ONLY ISSUE I HAVE IS I HAVE NO IDEA HOW TO ENABLE SOFTWARE PROCESS DATA MODE 2. I've seen stuff on here about setting serial=2, but I don't have any serial in my .ini or .hal

Here's a link with pics/videos of the lathe from when I got it and ripped out all the electrical guts to how it is now more or less with some pics/videos of parts I've made. Many thanks to all the contributors to linuxcnc and these forums without which it would have been impossible to get this up and running.
goo.gl/photos/NEwdRg1oR9mfZdzk8

Thanks,
Marc

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

More
8 years 8 months ago #106446 by PCW
Replied by PCW on topic Mesa 7i76e setup help!
in you ini file, changing:
CONFIG="num_encoders=1 num_stepgens=3"
to:
CONFIG="num_encoders=1 num_stepgens=3 sserial_port_0=20xx"
should do it

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

More
8 years 8 months ago #106447 by grossman83
Replied by grossman83 on topic Mesa 7i76e setup help!
I've fixed my own problem by trying a bit harder than I originally had. Sorry for the trouble. I simply added this to my .ini file:
instead of it saying:
[HOSTMOT2]
DRIVER=hm2_eth board_ip="192.168.1.121"
#DRIVER=hm2_eth board_ip="10.10.10.10"

BOARD=7i92
CONFIG="num_encoders=1 num_stepgens=3"

I changed the last line to:
CONFIG="num_encoders=1 num_stepgens=3 sserial_port_0=2"

and I can confirm that it's in software mode 2 because I see the two extra "encoders" as well as the field voltage when I run:
halcmd show pin
They show up in my case as: hm2_7i92.0.7i76.0.0.fieldvoltage and hm2_7i96.0.7i76.enc0.count and enc1.count

Sorry for the hassle
-Marc

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

More
8 years 8 months ago #106448 by rodw
Replied by rodw on topic Mesa 7i76e setup help!
with my 7i76e its done here
Code:
loadrt hm2_eth board_ip="10.10.10.10" config="firmware=/home/plasma/linuxcnc/configs/Plasma3.10.01/7i76e_7i76x1_PktD.bit num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=2xxxx"

with
Code:
sserial_port_0=2xxxx

Yours will be similar, just be aware you are setting a bitmapped field so read the docs for the component you use.

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

More
8 years 8 months ago #106449 by grossman83
Replied by grossman83 on topic Mesa 7i76e setup help!
Just noticed PCW replied right when I had. Many thanks, but one remaining question. If there is a software mode 2 and you get it by selecting sserial_port_0=2 as I have, but you say to put 20xx (instead of 2) what are the x's for? Are there other modes that I don't know about? What are they placeholders for?

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

Time to create page: 0.291 seconds
Powered by Kunena Forum