User Manual

Table Of Contents
Commands Reference
288 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
DINA - Digital Input Action
HexCode: 0F
Description:
This parameter sets the action that is triggered when a given input pin is activated. The
action list includes: limit switch for a selectable motor and direction, use as a deadman
switch, emergency stop, safety stop or invert direction. Embedded in the parameter is the
motor channel(s) to which the action should apply.
Syntax Serial: ^DINA cc (aa + [mm])
~DINA [cc]
Syntax Scripting: setconfig(_DINA, cc, aa)
Number of Arguments: 2
Argument 1: InputNbr
Min: 0 Max: Total Number of Digital Inputs
Argument 2: Action
Type: Unsigned 8-bit
Min: 0 Max: 255
Default: 0 = No actions
Where:
cc = Input channel number
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:
^DINA 1 33 : Input 1 as safety stop for Motor 1. I.e. 33 = 1 (safety stop) + 32 (Motor1)
DINL - Digital Input Active Level
HexCode: 10
Description:
This parameter is used to set the active level for each Digital input. An input can be made
to be active high or active low. Active high means that pulling it to a voltage will trigger
an action. Active low means pulling it to ground will trigger an action. This parameter is a
single number for all inputs.