|
APIs, concepts, guides, and more
|
Learn RapidCode Python with these sample applications.
These Python examples, located in the examples/ folder under your RMP install directory (e.g., C:/RSI/X.X.X/examples/ or /rsi/examples/), show how to control the RMP EtherCAT motion controller with the RapidCode API. Use these projects to explore API features, validate configurations, and jump‑start your own apps.
These sample applications are provided to help you integrate the RMP motion controller into your own projects. They are not production-ready and may lack critical logic or safety mechanisms required for your specific application.
If you are working with real hardware, we strongly recommend wiring an external hardware emergency stop (e-stop) button. This safeguard is essential to protect both people and equipment, reducing the risk of injury or damage when using these sample applications.
| Python (Windows) | Python (Linux) |
|---|---|
| 3.10 | 3.9 / 3.10 / 3.11 |
| NumPy (Windows) | NumPy (Linux) |
|---|---|
| 1.22 | 1.23 / 1.24 / 1.25 / 1.26 |
Need support for another Python version? Contact tech@roboticsys.com.
Edit _constants.py before running the samples:
Verify the version:
Install a compatible NumPy (adjust the version for your platform):
| Windows path | Linux path |
|---|---|
| C:\RSI\10.X.X\examples\python | /rsi/examples/python |
Run a sample:
On Linux you can run python3 controller-create.py.