motor-driver

Official

Build robust EPICS model-3 motor drivers

AuthorBCDA-APS
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you write EPICS model-3 motor drivers that reliably translate motion commands into hardware protocol calls and continuously publish accurate per-axis status to EPICS records.

Core Features & Use Cases

  • Controller + Axis architecture: Implement an asynMotorController subclass for axis management and a per-axis asynMotorAxis subclass for motion and polling logic.
  • Deterministic motion commands: Provide move, moveVelocity, home, and stop methods that send the right controller commands for absolute/relative moves and jogging.
  • Correct status polling: Implement a critical poll() method that queries position/limits/moving state, sets motor status parameters, calls callbacks, and updates the poller’s fast/slow behavior.
  • IOC shell integration: Register an iocsh create function so the driver can be instantiated from st.cmd using a clean configuration interface.

Quick Start

Tell the AI to generate a new motor-driver module skeleton for your hardware by subclassing asynMotorController and asynMotorAxis, implementing move/home/stop/poll, and wiring iocsh registration for controller creation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: motor-driver
Download link: https://github.com/BCDA-APS/opencode-skills/archive/main.zip#motor-driver

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.