Collaborations

LinuxCNC and control electronics

LinuxCNC setup and control electronics: Mesa 7i76E card, homing and HAL, MPG pendants, touch plate and pneumatic control.

Subscribe to the channelNew chapters of the restoration and LinuxCNC projects

Why LinuxCNC

LinuxCNC is a free numerical control that runs on a PC with Linux and a realtime kernel. It doesn't depend on a closed controller card: motion control, the G-code interpreter and the machine logic, through HAL, all live on the computer itself. That makes it possible to adapt it to any machine, connect whatever you need and write your own components, like the one for the wireless display.

On all my machines I use the same base: Debian with a realtime kernel, a Mesa 7i76E card over Ethernet and the Probe Basic interface. That way what I learn on one works for all of them.

The Mesa 7i76E card

ConnectionDedicated Ethernet to the PC, separate from the home network
Axes5 hardware step and direction generators
Inputs32 isolated, for limits, home, probes and drive alarms
Outputs16 isolated, for relays, coolant, brakes and enables
Spindle0 to 10 V analogue output for the drive, with run and direction
EncoderOne encoder input, for example for the spindle

What the series covers

Installing the 7i76E. The control cabinet with the card fitted, the driver wiring, swapping the old parallel-port PC for one with Ethernet, and setting the card's jumper to fix its address. Also a detail about enabling closed-loop motors that the documentation leaves out.

Homing and HAL. How the inductive sensors are wired, how the limit and home switches are declared for each joint, the parameters for a two-speed homing search with a home offset, and a test that triggers a drive alarm on purpose.

Coolant. Outputs 0 and 1 on the card drive a 24 V relay board: M7 opens the air solenoid valve, M8 switches on the flood coolant and M9 turns both off.

Touch plate and touch off. The contact plate on input 7, checking the signal with Halmeter, the Z probing routine launched from an MDI button, and a check against a 1-2-3 block.

MPG pendant. The first test of the wireless WHB04B pendant with LinuxCNC.

Episodes in order

5 videos and 2 shorts. From first to last.

Shorts

Short clips from the series.

To understand it in depth

Articles with the theory and the steps behind what you see in the videos.

What's next comes out on YouTube

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

Subscribe to DominicZe