RoboteQ AX500 manual Reading & Changing Operating Parameters at Runtime

Models: AX500

1 154
Download 154 pages 41.77 Kb
Page 119
Image 119

Reading & Changing Operating Parameters at Runtime

Joystick Min, Max and Center Values

Address:

^12 - Joystick Center 1 MS

 

^13 - Joystick Center 1

LS

 

^14 - Joystick Center 2

MS

 

^15 - Joystick Center 2

LS

 

^16 - Joystick Min 1 MS

 

^17 - Joystick Min 1 LS

 

^18 - Joystick Min 2 MS

 

^19 - Joystick Min 2 LS

 

^1A - Joystick Max 1 MS

 

^1B - Joystick Max 1 LS

 

^1C - Joystick Max 2 MS

 

^1D - Joystick Max 2 LS

Effective:

Instantly

 

These parameters are the Gains values that are loaded after the controller is reset or pow- ered on. These Gains apply to both channels. Gains can be changed at Runtime, and values can be different for each channel using separate commands (see page 121).

Gains values are integer number from 0 to 63. This number is divided by 8 internal so that each increment equals 0.125.

Bit

Definition

See pages

7:0

8 bit value. Two registers used to form one 16 bit

page 90

 

number for each Joystick parameter.

 

 

Default values (in decimal):

 

 

Min = 4400

 

 

Center = 1600

 

 

Max = 3200

 

 

 

 

Reading & Changing Operating Parameters at Runtime

It is possible to change several of the controller’s operating modes, on-the-fly during nor- mal operation. Unlike the Configuration Parameters that are stored in Flash (see above), the Operating Parameters are stored in RAM and can be changed indefinitely. After reset, the Operating Parameters are loaded with the values stored in the Configuration Parameter flash. They are then changed using RS232 commands.

Use the command following commands to Read/Change the Operating Modes

Syntax: ^mm

Read Parameters at location mm

^mm DD Write Parameters DD in location DD

mm and DD are Hexadecimal values.

AX500 Motor Controller User’s Manual

119

Page 119
Image 119
RoboteQ AX500 manual Reading & Changing Operating Parameters at Runtime, Joystick Min, Max and Center Values