Data Sheet

Commands Reference
224 Advanced Digital Motor Controller User Manual V1.8, August 28, 2017
Where:
ee =
1 : Header
2 : Bytecount
3 to 10 : Data0 to data7
nn = value
Example:
!CS 1 5 : Enter 5 in header
!CS 3 2 : Enter 2 in data 0
!CS 4 3 : Enter 3 in data 1
!CS 2 2 : Enter 2 in bytecount and send CAN frame
D0 - Reset Individual Digital Out bits
Alias: DRES HexCode: 09 CANOpen id: 0x200A
Description:
The D0 command will turn off the single digital output selected by the number that fol-
lows.
Syntax Serial: !D0 nn
Syntax Scripting: setcommand(_D0, nn)
setcommand(_DRES, nn)
Number of Arguments: 1
Argument 1: OutputNbr Type: Unsigned 8-bit
Min: 1 Max: Total number of Digital Outs
Where:
nn = Output number
Example:
!D0 2 : will deactivate output 2
Note:
Digital Outputs are Open Collector. Activating an outputs will force it to ground. Deactivat-
ing an output will cause it to float.
D1 - Set Individual Digital Out bits
Alias: DSET HexCode: 0A CANOpen id: 0x2009
Description:
The D1 command will activate the single digital output that is selected by the parameter
that follows.