astutoski - 2025-06-25

Hi everyone,

I’m completely new to CODESYS and have been teaching myself. And i Want to control an Axis using SM3RaspiStepper.
Following the example on the RaspiStepper home page, I set up an axis through a POU and tied the SMC_StartupDrive (Visu) template to my axis instance (sud). Unfortunately, the motor never moves and I don’t see any pulses on the PULSE pin (GPIO 23).

Hardware
-Raspberry Pi 4 B
-Nema 17 stepper motor
-A4988 stepper driver (EN pin permanently tied to GND)

Software / Runtime
-CODESYS 3.5 SP21 Patch 1 – Raspberry Pi runtime (demo)
-SoftMotion in demo mode
-Package: SM3_RaspiStepper 0.0.0.6

Axis parameters:
Pulse pin GPIO 23
Direction pin GPIO 24
Enable pin 0 (unused)
Disable pin 0 (unused)

Whether I start the axis from the visualization template or through Online Config Mode, the motor never spins.
In Online Config Mode I press Power β†’ the state changes from Standstill to Discrete_Motion, but the motor shaft is still locked and no step pulses appear on GPIO 23 (checked with a scope).

I can provide screenshots of the Visualization, PLC logs, or wiring pictures if that helps.
Any ideas on what I might be missing?
Happy to provide screenshots, project files, or scope captures if that helps.

Thanks in advance!