User Manual

Table Of Contents
DS402 Runtime Queries
Advanced Digital Motor Controller User Manual 277
S16 – Target Velocity (DS402)
Alias: MOTVEL HexCode: 03 CANOpen id: 0x6042
Description:
Read the target velocity in RPM for velocity mode. Positive values shall indicate forward
direction and negative 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
SAC – Velocity Acceleration (DS402)
Alias: SAC HexCode: 58 CANOpen id: 0x6048
Description:
Read the configured velocity acceleration.
Syntax Serial: ?SAC [ee]
Reply: SAC=nn
Syntax Scripting: nn = GetValue(_SAC, ee)
Argument: Element Type: Unsigned 8-bit
Min: 1 Max: 2 × Total number of motors
Result: Value Type: Unsigned 32-bit
Where:
ee =
1: Delta speed in 10×RPM for channel 1
2: Delta time in seconds for channel 1