Apply parameter changes – RoboteQ AX2850 User Manual

Page 143

Advertising
background image

AX2550 Motor Controller User’s Manual

143

Accessing & Changing Configuration Parameter in Flash

Accessing & Changing Configuration Parameter in Flash

It is possible to use RS232 commands to examine and change the controller’s parameters
stored in Flash. These commands will appear cryptic and difficult to use for manual param-
eter setting. It is recommended to use the Graphical configuration utility described in
“Using the Roborun Configuration Utility” on page 177. Note that many parameters will
not take effect until the controller is reset or a special command is sent. The complete list
of parameters accessible using these commands is listed in “Automatic Switching from
RS232 to RC Mode” on page 165
. Reading and writing parameters is done using the fol-
lowing commands:

Read parameter

Syntax:

^mm

Reply:

DD

Where

mm= parameter number
DD= current parameter value

Example:
^00

Read value parameter 0

01

Controller replies, value is 01

Modify parameter

Syntax:

^mm nn

Reply:

+ if command was executed successfully
- if error

Where

mm= parameter number
nn= new parameter value

Examples:
^02 03

Store 03 into parameter 2

Notes:
All parameters and values are expressed with 2 hexadecimal digits

No changes will be made and an error will be reported (“-” character) when attempting to
read or write a parameter that does not exist or when attempting to store a parameter with
an invalid value.

Apply Parameter Changes

Description:
Many parameters will take effect only after the controller is reset. This command can be
used (instead of resetting the controller) to cause these parameters to take effect after only
a ~100ms delay.

Syntax:

^FF

Advertising