User Manual

Table Of Contents
Runtime Commands
Advanced Digital Motor Controller User Manual 203
P - Go to Absolute Desired Position
Alias: MOTPOS HexCode: 02 CANOpen id: 0x2001
Description:
This command is used in the Position Count mode to make the motor move to a specified
feedback sensor count value.
Syntax Serial: !P [cc] nn
Syntax Scripting: setcommand(_P, cc, nn)
setcommand(_MOTPOS, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Destination Type: Signed 32-bit
Min: -2147M Max: +2147M
Where:
cc = Motor channel
nn = Absolute count destination
Example:
!P 1 10000 : make motor go to absolute count value 10000.
PR - Go to Relative Desired Position
Alias: MPOSREL HexCode: 11 CANOpen id: 0x200F
Description:
This command is used in the Position Count mode to make the motor move to a feedback
sensor count position that is relative to its current desired position.
Syntax Serial: PR [cc] nn
Syntax Scripting: setcommand(_PR, cc, nn)
setcommand(_MPOSREL, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Delta Type: Signed 32-bit
Min: -2147M Max: +2147M