AGSweeney

Adam G. Sweeney · Open Source Industrial Automation

Motion, coordinated.

Firmware for Teknic ClearCore and ClearPath servos — coordinated multi-axis motion with arcs and real engineering units, an open EtherNet/IP motion stack with a ClearLink-compatible mode, and a robot tool changer running the same foundations in a production cell.

3 projects ClearCore + ClearPath servos EtherNet/IP motion transport MIT licensed
HardwareClearCore · ClearPath servos ToolchainMicrochip Studio 7 · SAME53 DFP LicenseMIT

Motion library · Teknic ClearCore

Real units. Real paths. No step math.

An enhanced Teknic ClearCore library that adds what the stock one lacks: two-motor coordinated motion along programmed paths — straight lines and circular arcs at constant velocity along the path, chained seamlessly without stopping. Motion is programmed in inches, millimeters, degrees, or revolutions with feed rates in the units machinists actually use, while the library handles every step-count conversion. Backward compatible with existing code, and G-code-friendly for CNC work.

Coordinated motionTwo-motor synchronized paths; arcs hold constant circumference velocity, not per-motor speed
Unitsin / mm / cm / m / rev / deg, with feeds in in/min, mm/min, mm/s, RPM, or steps/s
DeliveredComplete documentation, example projects, and API reference
Explore the library → github / EnhancedClearCoreLibrary
HardwareClearCore · ClearPath SD/MC series StatusActive R&D — interfaces evolving LicenseMIT (bundled components per notices)

Motion research · EtherNet/IP

An open motion controller in the making.

A research platform for multi-axis interpolated motion on ClearCore — linear and circular interpolation, buffered trajectory execution and motion queueing, and real-time command streaming from external controllers, carried over industrial transports. It speaks EtherNet/IP and offers ClearLink-compatible integration modes for machines built around Teknic's commercial controller. Openly a work in progress: architecture, interfaces, and firmware are under active development.

InterpolationMulti-axis linear + circular, buffered trajectories, continuous synchronized paths
InteroperabilityEtherNet/IP adapter with ClearLink-compatible integration modes for existing machines
ToolingMotionBench desktop diagnostics; builds on the Enhanced ClearCore Library
Explore the stack → github / ClearCore-Motion-Stack
HardwareClearCore · ClearPath SDSK · 10:1 gearbox RobotYaskawa Motoman DX200 LicenseMIT (OpENer / libClearCore / lwIP per notices)

Applied · Robot cell firmware

Six pockets. One network drop.

Production firmware for a 6-pocket rotary tool changer: a ClearPath SDSK servo drives the turret through a 10:1 gearbox — 36,000 counts per revolution, 6,000 per pocket — commanded by a Motoman DX200 over EtherNet/IP, tool selects out, turret status, position, and faults back. A hardware enable interlock, normally-closed E-stop, connection-loss motor cutout, and a six-code fault model with HLFB timeout handling keep it safe on the cell.

Motion500 RPM max, 1,000 RPM/s² accel, rising-edge homing, tool-in-pocket sensing
Interface6-byte status assembly in, 3-byte command assembly out, firmware-driven stacklight
SafetyEnable interlock, E-stop, connection-loss detection, explicit state machine with fault recovery
Explore the tool changer → github / Motoman_EnIP_ToolChanger