Data Sheet
Analog, Digital, Pulse IO Configurations
Advanced Digital Motor Controller User Manual 301
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.
Syntax Serial: ^DINL cc aa
~DINL [cc]
Syntax Scripting: setconfig(_DINL, cc, aa)