LinuxCNC Dual-Head Gantry Setup Assistance Request

  • akim14
  • Away
  • Junior Member
  • Junior Member
More
01 Jun 2025 20:14 #329526 by akim14
Thank you so much I am still having problems setting up the limit and home switches in the main hal , I used mesa CT here are my files, I noticed you used the code down below but i cant seem to replicat it without error


# --- MIN-HOME-X ---
net min-home-x <= hm2_5i25.0.7i77.0.0.input-00-not

# --- MAX-X ---
net max-x <= hm2_5i25.0.7i77.0.0.input-01-not

# --- MIN-HOME-Y ---
net min-home-y <= hm2_5i25.0.7i77.0.0.input-02-not

# --- MAX-Y ---
net max-y <= hm2_5i25.0.7i77.0.0.input-03-not

# --- MIN-Z ---
net min-z <= hm2_5i25.0.7i77.0.0.input-07-not

# --- MAX-HOME-Z ---
net max-home-z <= hm2_5i25.0.7i77.0.0.input-06-not

# --- MIN-W ---
net min-w <= hm2_5i25.0.7i77.0.0.input-05-not

# --- MAX-HOME-W ---
net max-home-w <= hm2_5i25.0.7i77.0.0.input-04-not

# --- X_READY ---
#net X_Ready <= hm2_5i25.0.7i77.0.0.input-08

# --- Y_READY ---
#net Y_Ready <= hm2_5i25.0.7i77.0.0.input-09

# --- Z_READY ---
#net Z_Ready <= hm2_5i25.0.7i77.0.0.input-10

# --- W_READY ---
#net W_Ready <= hm2_5i25.0.7i77.0.0.input-11

# --- Z_SPINDLE_RUNNING ---
net Z_Spindle_running <= hm2_5i25.0.7i77.0.0.input-12 => and2.0.in0

# ---setup home / limit switch signals---

net min-home-x => axis.0.home-sw-in
net min-home-x => axis.0.neg-lim-sw-in
net max-x => axis.0.pos-lim-sw-in
Attachments:

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

More
02 Jun 2025 17:45 #329560 by Todd Zuercher
Replied by Todd Zuercher on topic LinuxCNC Dual-Head Gantry Setup Assistance Request
Well you are using different Mesa cards than I was, and I was using a much older version of Linuxcnc. You won't be able to copy what I had verbatim.

I looks like you are using a 7i95, so for the X axis limits and home, with the home/limit combined at the min limit, you might use something like this.
# --- X - Home-Limits --- 
net min-home-x <= hm2_7i95.0.input-00 => joint.0.neg-lim-sw-in => joint.0.home-sw-in 
net max-x <= hm2_7i95.0.input-01 => joint.0.pos-lim-sw-in

In your posted hal file it has the vaariable call from your ini file "[MESA](BOARD)". This tells the hal file to use what you have set in the ini file in the "[MESA}" section, what is set on the line "BOARD =", which in your case is "7i95".

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

  • akim14
  • Away
  • Junior Member
  • Junior Member
More
04 Jun 2025 01:48 #329648 by akim14
Thank you. That did help a lot

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

Time to create page: 0.151 seconds
Powered by Kunena Forum