|
APIs, concepts, guides, and more
|
Learn RapidCode C# with these sample applications.
These C# 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.
Verify that it is correctly installed by running
| General | |
|---|---|
| _constants.cs | Common configuration file for all sample apps (RMP path, default axis index, etc) |
| _helpers.cs | Helper functions and utilities used across sample applications |
| _setup.cs | Gets your controller/system ready for sample apps. (create controller, setup axis, etc) |
| Directory.Build.targets | MSBuild configuration that references RapidCode .NET dll and manages build settings |
Navigate to the sample apps folder
For example:
Run a sample app
For example:
If you wish to debug the sample apps with breakpoints and step-through debugging: