rsiconfig

XML Configuration Tool

What is XML Configuration?

The RMP Motion Controller is software-based and does not have flash memory, nor are its configurations stored in a file.

XML Configurations give your application the most flexibility for configuring the RMP as needed at runtime. This is better than using hard-coded values in your RapidCode application. Is also useful when upgrading to a new RMP version.

Why use the rsiconfig.exe utility?

Using the rsiconfig.exe utility will help guarantee that your RMP is correctly configured and ready to run before your RapidCode application starts. It also can help you generate XML configurations for your current settings.

Arguments

Argument

Use

rsiconfig

display help text

rsiconfig -generate

outputs settings.xml or to the file you specify based on your discovered network and settings

rsiconfig -example

outputs example.xml which you can use to create your own settings file by hand

rsiconfig -nonetwork

generate XML or set from XML without attempting to start the network (mainly used for software test

rsiconfig mysettings.xml

configures all settings using mysettings.xml

Generate XML Configurations

After you have your network started and all Axis settings configured via RapidSetup, use ‘rsiconfig.exe -generate’ to generate XML files:

This creates the file ‘settings.xml’ which is used to apply configurations to a freshly-started RMP in the future. It also creates the two Axis XML files (Axis 0.xml and Axis 1.xml).

Initialize and restore from XML files

To initialize a system and restore from XML files, use ‘rsiconfig settings.xml ’:

Here you can see that the expected node types and Axis settings were configured. rsiconfig.exe will return (-1) if there are unexpected nodes or an error restoring configurations.