User Manual

Table Of Contents
Runtime Commands
Advanced Digital Motor Controller User Manual 195
In Velocity Mode the operation specific bits are mapped on Table 6. With bits 4, 5 and 6,
user can configure the available ramp related options as shown in Table 7.
TABLE 15-9 Definition of Bits 4, 5, and 6 in Velocity Mode
Bit Value Definition
4
0
Motor shall be halted. Slow down on quick stop ramp (EDEC) and stay in operation en-
abled
1 Velocity demand value shall accord with ramp output value
5
0 Ramp output value shall be locked to current output value
1 Ramp output value shall follow ramp input value
6
0 Ramp input value shall be set to zero
1 Ramp input value shall accord with ramp reference
Syntax Serial: !CW cc nn
Syntax Scripting: SetCommand(_CW, cc, nn)
Arguments: 2
Argument 1: Channel
Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Argument 2: Value
Type: Unsigned 16-bit
Where:
cc = Motor channel
nn = Control word value
PAC – Profile Acceleration (DS402)
Alias: PAC HexCode: 5E CANOpen id: 0x6083
Description:
This command is used to set the configured acceleration in 10×RPM/second.
Syntax Serial: !PAC cc nn
Syntax Scripting: SetCommand(_PAC, cc, nn)
Arguments: 2
Argument 1: Channel Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Argument 2 Value Type: Unsigned 32-bit