User Manual

Table Of Contents
Commands Reference
248 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
ROM – Modes of Operation (DS402)
Alias: ROM HexCode: 5A CANOpen id: 0x6060
Description:
Read the configured modes of operation.
Syntax Serial: ?ROM [cc]
Reply: ROM=nn
Syntax Scripting: nn = GetValue(_ROM, cc)
Argument: Channel Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Result: Value Type: Signed 8-bit
Where:
cc = Motor channel
nn = Modes of operation
S – Target Velocity (DS402)
Alias: MOTVEL HexCode: 03 CANOpen id: 0x6042, 0x60FF
Description:
Read the target velocity in RPM. Positive values shall indicate forward direction and nega-
tive values shall indicate reverse direction.
Syntax Serial: ?S [cc]
Reply: S=nn
Syntax Scripting: nn = GetValue(_S, cc)
nn = GetValue(_MOTVEL, cc)
Argument: Channel: Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Result: Value Type: Signed 16-bit
Min: -500000 Max: 500000
Where:
cc = Motor channel
nn = Target velocity in RPM