Collaborations

LinuxCNC: homing with Mesa 7i76E, wiring and HAL

LinuxCNC: homing with Mesa 7i76E, wiring and HAL
Subscribe to the channelNew chapters of the restoration and LinuxCNC projects
Published
Duration7:21
Views1,037
SeriesLinuxCNC and control electronics
OriginalWatch on YouTube
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

  1. 00:00Inductive sensors for homing
  2. 00:24Manual versus automatic homing
  3. 00:39Wiring of the limit switches and drive fault
  4. 01:35Limit switch and home switch in the joint module
  5. 02:15X axis homing parameters
  6. 03:10Running the X axis homing
  7. 03:48Y axis configuration
  8. 04:08HAL and Y axis homing
  9. 05:01Z axis homing and software limits
  10. 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

Inputs0 and 1 limits, 4 amplifier alarm
Search20, then 1 units/s
X axisLimits -5 to 470, home offset 475
Y axisLimits -5 to 150

More from LinuxCNC and control electronics

What's next comes out on YouTube

Every week: restoration progress, new parts and what goes wrong, told as it is.

Subscribe to DominicZe