User Manual

Table Of Contents
Commands Reference
176 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
AX - Next Acceleration
Alias: NXTACC HexCode: 14 CANOpen id: 0x2012
Description:
This command is used for chaining commands in Position Count mode. It is similar to
AC except that it stores an acceleration value in a buffer. This value will become the next
acceleration the controller will use and becomes active upon reaching a previous desired
position. If omitted, the command will be chained using the last used acceleration value.
This command is not applicable if either of the acceleration (MAC) or deceleration (MDEC)
configuration value is set to 0.
Syntax Serial: !AX cc nn
Syntax Scripting: setcommand(_AX, cc, nn)
setcommand(_NXTACC, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Acceleration Type: Signed 32-bit
Min: 0 Max: 500000
Where:
cc = Motor channel
nn = Acceleration value in 0.1 * RPM/s
B - Set User Boolean Variable
Alias: BOOL HexCode: 16 CANOpen id: 0x2015
Description:
Set the state of user boolean variables inside the controller. These variables can then be
read from within a user MicroBasic script to perform specific actions.
Syntax Serial: !B nn mm
Syntax Scripting: setcommand(_B, nn, mm)
setcommand(_BOOL, nn, mm)
Number of Arguments: 2
Argument 1: VarNbr
Min: 1 Max: Total nbr of Bool Vars
Argument 2: Value Type: Boolean
Min: 0 Max: 1