User Manual

Table Of Contents
Analog, Digital, Pulse IO Configurations
Advanced Digital Motor Controller User Manual 317
nn = 0 to 10000mV
Example:
^AMAX 4 4500 : Set Analog Input 4 Max range to 4500mV
Note:
Analog input can capture voltage up to around 5.2V. Setting the Analog maximum above
5200 mV, means the conversion will never be able to reach +1000
AMAXA - Analog Input Action at Max
HexCode: 1B
Description:
This parameter selects what action should be taken if the maximum value that is defined
in AMAX is reached. The list of action is the same as these of digital inputs. For example,
this feature can be used to create soft limit switches, in which case the motor can be
made to stop if the feedback sensor in a position mode has reached a maximum value.
Syntax Serial: ^AMAXA cc (aa + mm)
~AMAXA [cc]
Syntax Scripting: setconfig(_AMAXA, cc, aa)
Number of Arguments: 2
Argument 1: InputNbr
Min: 1 Max: Total Number of Analog Inputs
Argument 2: Action
Type: Unsigned 8-bit
Min: 0 Max: 255
Default: 0 = No action
Where:
cc = Analog input channel
aa =
0: No action
1: Safety stop
2: Emergency stop
3: Motor stop
4: Forward limit switch
5: Reverse limit switch
6: Invert direction
7: Run MicroBasic script
8: Load counter with home value
mm = mot1*16 + mot2*32 + mot3*48
Example:
^AMAXA 3 33 : Stops motor 2. I.e. 33 = 1 (safety stop) + 32 (motor2)