User Manual

Table Of Contents
Analog, Digital, Pulse IO Configurations
Advanced Digital Motor Controller User Manual 283
Example:
^AINA 1 17: Sets Analog channel 1 as command for motor 1. I.e. 17 = 1 (command) +16
(motor 1)
ALIN - Analog Linearity
HexCode: 18
Description:
This parameter is used for applying an exponential or a logarithmic transformation on an
analog input. There are 3 exponential and 3 logarithmic choices. Exponential correction
will make the commands change less at the beginning and become stronger at the end of
the joystick movement. The logarithmic correction will have a stronger effect near the start
and lesser effect near the end. The linear selection causes no change to the input.
Syntax Serial: ^ALIN cc nn
~ALIN [cc]
Syntax Scripting: setconfig(_ALIN, cc, nn)
Number of Arguments: 2
Argument 1: InputNbr
Min: 1 Max: Total Number of Analog Inputs
Argument 2: Linearity
Type: Unsigned 8-bit
Min: 0 Max: 6
Default: 0 = Linear
Where:
cc = Analog input channel
nn =
0: Linear (no change)
1: Exp weak
2: Exp medium
3: Exp strong
4: Log weak
5: Log medium
6: Log strong
Example:
^ALIN 1 1 : Sets linearity for channel 1 to exp weak
AMAX - Set Analog Input Max Range
HexCode: 15
Description:
This parameter sets the voltage that will be considered as the maximum command value.
The min, max and center are useful to set the range of a joystick or of a feedback sensor. In-
ternally to the controller, commands and feedback values are converted to -1000, 0, +1000.