User Manual

Table Of Contents
Motor Configurations
Advanced Digital Motor Controller User Manual 299
Where:
cc = Motor channel
nn = Amps *10
Example:
^ALIM1 455: Set Amp limit for Motor 1 to 45.5A
Note:
Default value is typically set to 75% of the controllers max amps as defined in the data-
sheet
ATGA - Amps Trigger Action
HexCode: 2C
Description:
This parameter sets what action to take when the Amps trigger is activated. The list is the
same as in the DINA digital input actions. Typical use for that feature is as a limit switch
when, for example, a motor reaches an end and enters stall condition, the current will
rise, and that current increase can be detected and the motor be made to stop until the
direction is reversed. Embedded in the parameter is the motor channel(s) to which the
action should apply.
Syntax Serial: ^ATGA cc (aa + mm)
~ATGA [cc]
Syntax Scripting: setconfig(_ATGA, cc, aa)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Action
Type: Unsigned 8-bit
Min: 10 Max: 255
Default: 0 = No action
Where:
cc = Motor 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