Hello,
I’m currently developing a machine that requires multi-axis motion control using Step/Dir signals for servo or stepper drives.
Traditionally, I would use a dedicated MCU (e.g., STM32-based board) to generate deterministic Step/Dir pulses and handle limit switches. However, I’m now considering using a Raspberry Pi–based PLC (industrial Linux controller) as the main motion controller instead of a separate MCU.
For examle:
The idea would be:
-
Raspberry Pi–based PLC running Linux
-
Generating Step/Dir outputs directly
-
Handling limit switch inputs
-
Managing machine logic in the same controller
My main questions are:
-
How realistic is it to use a Raspberry Pi–based PLC to generate high-frequency, low-jitter Step pulses?
-
From a practical standpoint, is this approach stable enough for multi-axis coordinated motion, or is a dedicated MCU still strongly recommended?
I’m trying to evaluate whether consolidating everything into a single Raspberry Pi–based PLC is a clean architectural solution, or whether separating real-time motion (MCU) from higher-level control (Linux/PLC) remains the more robust approach.
Any real-world experience or technical insight would be greatly appreciated.
Thank you.