Collaborations

Mesa Card for LinuxCNC: What It Does & Which to Buy | LinuxCNC From Scratch #3

Mesa Card for LinuxCNC: What It Does & Which to Buy | LinuxCNC From Scratch #3
Subscribe to the channelNew chapters of the restoration and LinuxCNC projects
Published
Duration7:23
Views12
SeriesLinuxCNC from scratch
OriginalWatch on YouTube
The Mesa card is what lets LinuxCNC drive your mill, lathe or plasma table precisely: the PC sends an order every millisecond and the card generates the step and direction pulses. We go through the Mesa 7i76EU zone by zone (network, motors, inputs and outputs, 0-10 V spindle and expansion), the watchdog that disables the board’s outputs after 5 ms without a command, the spindle trap that can cost you an afternoon, and which one to buy: 7i76EU or 7i96S. Mesa 7i76E step-by-step guide on my website: https://dominicze.com/en/articles/mesa-7i76e-from-scratch/ The 7i76E in depth, with my F1's real configuration: https://dominicze.com/en/articles/mesa-7i76e-in-depth/ Episode 3 of "LinuxCNC From Scratch" — clear, animated, step by step. Full series page: https://dominicze.com/en/projects/linuxcnc-from-scratch/ Full playlist https://www.youtube.com/playlist?list=PLCny_PNTGDWo Episode 1 · How to install LinuxCNC step by step LinuxCNC 2.9: step-by-step installation | LinuxCNC From Scratch #1 Episode 2 · Is your PC good enough for LinuxCNC? Latency test Is Your PC Good Enough for LinuxCNC? Latency Test | From Scratch #2 Sources Official 7I76EU manual (Mesa Electronics) · https://www.mesanet.com/ Official hostmot2 driver docs (LinuxCNC) · https://linuxcnc.org/docs/stable/html/drivers/hostmot2.html Your turn: tell me in the comments which card you have (or are considering) and for what machine. We'll build the community list with your answers.

Chapters

  1. 00:00The milling machine that stops by itself
  2. 00:14What you'll learn today
  3. 00:35A shout-out to Ramón (Mesa 7i96S)
  4. 00:48The boss and the craftsman: PC, Mesa card and FPGA
  5. 01:26Why latency is no longer a problem
  6. 01:44The full path: PC, network, Mesa, driver and motor
  7. 02:16A 0.14 ms ping and the 5 ms watchdog
  8. 02:43The one case it won't save you: the E-stop
  9. 03:06The Mesa 7i76EU, zone by zone
  10. 03:18Network: direct cable, no router, no USB
  11. 03:31Motors: 5 step/direction outputs
  12. 03:4132 inputs and 16 isolated outputs
  13. 04:08The 0-10 V spindle trap
  14. 04:35Expansion, and my 7i76E vs the 7i76EU
  15. 05:02What's inside: 5 step generators
  16. 05:20Mesa's warranty and the card I repaired
  17. 05:39Which one to buy? 7i76EU or 7i96S
  18. 06:07Mesa cards with a parallel-port connector
  19. 06:22Next episode: first connection
  20. 06:46Tell me which card you have

What the video shows

  • How the work is shared, like a workshop with a boss and a craftsman. The computer is the boss: it reads the program, calculates the toolpaths, draws the screen and every millisecond says where each axis has to be. The Mesa card is the craftsman: it turns that order into pulses, millions per second, with an FPGA that works with every motor at once.
  • That's why latency stops being a problem: the computer only has to be on time once every millisecond, and the fine work, pulse by pulse, is done by the card. The same latency that was a fail with the parallel port is a pass with Mesa.
  • The full path: computer, network cable, card, two signals per motor (step and direction), driver and motor. On the way back, the limit switches, the E-stop and the probe go into the card and travel to the computer on the same trip. On the F1, a round-trip ping takes just over a tenth of a millisecond.
  • The watchdog: if the card stops receiving orders, because the cable comes loose or LinuxCNC stops, after 5 milliseconds it stops sending pulses and the motors stop dead. The only case where it doesn't save you: if only the screen freezes, LinuxCNC keeps sending orders. That's why the E-stop is always hardwired.
  • The 7i76EU area by area. Network: a direct cable and a port just for it, with no router, no Wi-Fi and no USB adapters. Motors: 5 step and direction outputs, which means 5 motors, not 5 axes. Inputs and outputs: 32 and 16, isolated, with two power supplies so that the isolation actually works.
  • The spindle trap: the 0 to 10 V output doesn't supply the 10 volts, it acts as a potentiometer. The 10 V come from the VFD, and if its reference isn't wired, the spindle won't turn. Next to it are spindle enable, direction and an encoder input.
  • The F1's 7i76E is the older sister of the 7i76EU, which replaces it: from the outside they are almost twins and they are configured the same way. It has 5 step generators: 3 for the axes, one for the spindle, which is a servo, and one reserved for the fourth axis.
  • Which one to buy? For a complete machine with plenty of inputs and outputs, the 7i76EU, the one used in the series. For a small machine or a plasma table, the 7i96S: also 5 motors, cheaper, with 11 inputs and 6 outputs, and powered at 5 V.
  • All of this, step by step and with the F1's real configuration, in the Mesa 7i76E from scratch and the 7i76E in depth.

Details

Card used in the seriesMesa 7i76EU
Watchdog5 ms
Motors5 step and direction outputs
Inputs and outputs32 and 16, isolated
Alternative7i96S: 11 inputs and 6 outputs, at 5 V

More from LinuxCNC from scratch

What's next comes out on YouTube

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

Subscribe to DominicZe