LinuxCNC: homing with Mesa 7i76E, wiring and HAL

Subscribe to the channelNew chapters of the restoration and LinuxCNC projects
LinuxCNC homing with Mesa 7i76E: wiring of the inductive sensors and HAL configuration on the CNC milling machine. I go through how the position limits are wired to the card inputs, how I define the limit switch and home switch in the joint module, and which parameters I use so the axis homes at two speeds with a home offset.
Photos, data and more details on my website: https://dominicze.com/en/videos/linuxcnc-homing-with-mesa-7i76e-wiring-and-hal/
The video shows the homing of the X, Y and Z axes, the software limits and a test of the X axis amplifier fault by disconnecting the encoder.
Step-by-step Mesa 7i76E guide on Instructables: https://www.instructables.com/Mesa-7i76E-From-Scratch-From-the-Box-to-the-First-/
Full projects and every video, neatly organised, at https://dominicze.com
Chapters
- 00:00Inductive sensors for homing
- 00:24Manual versus automatic homing
- 00:39Wiring of the limit switches and drive fault
- 01:35Limit switch and home switch in the joint module
- 02:15X axis homing parameters
- 03:10Running the X axis homing
- 03:48Y axis configuration
- 04:08HAL and Y axis homing
- 05:01Z axis homing and software limits
- 06:27Amplifier alarm and fault test
What the video shows
- Two inductive sensors to home the machine, which used to be done by hand.
- 7i76E inputs: 0 and 1 for the X and Y positive limits, and 4 for the X-axis amplifier alarm.
- In the joint module, each sensor is used both as a limit switch and as a home switch.
- X-axis homing: it searches at 20 units per second, backs off until the switch releases and comes back at 1. The limits are ignored during homing and a home offset of 475 is applied, with limits from -5 to 470, so it never touches them again.
- The Y axis is set up the same way, with travel from -5 to 150. The soft limits stop it from overrunning.
- Fault test: with the encoder unplugged and the X axis moved, the amplifier alarm trips and LinuxCNC picks it up.
Details
| Inputs | 0 and 1 limits, 4 amplifier alarm |
|---|---|
| Search | 20, then 1 units/s |
| X axis | Limits -5 to 470, home offset 475 |
| Y axis | Limits -5 to 150 |



